{"id":21946376,"url":"https://github.com/shaleh/copyright-tools","last_synced_at":"2026-04-28T23:04:11.039Z","repository":{"id":147633086,"uuid":"49460107","full_name":"shaleh/copyright-tools","owner":"shaleh","description":"Tools for updating copyrights in files","archived":false,"fork":false,"pushed_at":"2024-03-03T06:30:41.000Z","size":25,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-27T18:09:43.335Z","etag":null,"topics":["automation","git","python"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shaleh.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-01-11T23:04:13.000Z","updated_at":"2024-01-20T15:19:17.000Z","dependencies_parsed_at":"2025-01-27T18:12:35.180Z","dependency_job_id":null,"html_url":"https://github.com/shaleh/copyright-tools","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaleh%2Fcopyright-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaleh%2Fcopyright-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaleh%2Fcopyright-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaleh%2Fcopyright-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shaleh","download_url":"https://codeload.github.com/shaleh/copyright-tools/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244990071,"owners_count":20543614,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","git","python"],"created_at":"2024-11-29T04:31:23.579Z","updated_at":"2026-04-28T23:04:06.006Z","avatar_url":"https://github.com/shaleh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Copyright Tools\n\n== Available Tools\n\n=== tools/update_copyright_year.py\nUse the name provided by --copyright-name to find the appropriate copyright\nline and update its year.\n\n    update_copyright_year.py --copyright-name \"Foo Corp, Inc.\" *.py\n\nWill find a line like:\n\n    # Copyright (c) 2015 Foo Corp, Inc.\n\nand update it to be:\n\n    # Copyright (c) 2015-2016 Foo Corp, Inc.\n\nOnly comment lines are checked. Right now the assumption is that '#' or ';'\nmarks a comment.\n\n=== tools/update_copyright_name.py\nReplaced --old-copyright with --new-copyright in the files specified.\n\n    update_copyright_name.py --old-copyright \"Foo Corp, Inc.\" --new-copyright \"Bar Corp, Inc.\"\n\nWill find a line like:\n\n    # Copyright (c) 2015 Foo Corp, Inc.\n\nand update it to be:\n\n    # Copyright (c) 2015 Bar Corp, Inc.\n\nOnly comment lines are checked. Right now the assumption is that '#' or ';'\nmarks a comment.\n\n=== helpers/pre-review This is a hook intended for use with 'git review'.\nPut it in ~/.config/git-review/hooks/pre-review and chmod +x it.\nThis will run update_copyright_year on all of the files in the current commit\nthat is about to be reviewed.\n\n== Hacking\n\n=== Tests\n- ``./setup-tests.sh`` creates the virtualenv's you need.\n- ``./run-tests.sh`` will run them. TEST_ENV= controls which env to run.\n- ``./cleanup-tests.sh`` for when you are done\n\nIssues or pull requests welcomed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshaleh%2Fcopyright-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshaleh%2Fcopyright-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshaleh%2Fcopyright-tools/lists"}