{"id":25130774,"url":"https://github.com/mattdibi/copyright-check","last_synced_at":"2025-10-23T10:30:38.982Z","repository":{"id":276449732,"uuid":"927584388","full_name":"mattdibi/copyright-check","owner":"mattdibi","description":"Copyright checker","archived":false,"fork":false,"pushed_at":"2025-02-08T09:46:29.000Z","size":55,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-08T10:28:07.985Z","etag":null,"topics":[],"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/mattdibi.png","metadata":{"files":{"readme":"README.md","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":"2025-02-05T07:46:17.000Z","updated_at":"2025-02-08T09:43:21.000Z","dependencies_parsed_at":"2025-02-08T10:38:14.156Z","dependency_job_id":null,"html_url":"https://github.com/mattdibi/copyright-check","commit_stats":null,"previous_names":["mattdibi/copyright-check"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattdibi%2Fcopyright-check","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattdibi%2Fcopyright-check/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattdibi%2Fcopyright-check/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattdibi%2Fcopyright-check/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mattdibi","download_url":"https://codeload.github.com/mattdibi/copyright-check/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237808210,"owners_count":19369606,"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":[],"created_at":"2025-02-08T13:18:34.926Z","updated_at":"2025-10-23T10:30:38.976Z","avatar_url":"https://github.com/mattdibi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# copyright-check\nCopyright checker\n\n\u003e [!WARNING]\n\u003e Development moved to [https://github.com/eclipse-kura/copyright-check](https://github.com/eclipse-kura/copyright-check)\n\n## Requirements\n\n- [libmagic](https://pypi.org/project/python-magic/)\n\n## Usage\n\n```bash\nusage: copyright-check [-h] [-d] -c CONFIG file [file ...]\n\nCheck copyright headers\n\npositional arguments:\n  file                 file(s) to check\n\noptions:\n  -h, --help           show this help message and exit\n  -d, --debug          Print debug information\n  -c, --config CONFIG  set path to the config yaml file\n\nExample usage: copyright-check -c config.yaml $(git diff --name-only) **/*.java\n```\n\n## Example configuration\n\n```yaml\n# Enable or disable the copyright date check\nbypass_year_check: false\n# In the template the user can specify two variables: {years} and {holder}\n# - {years} will match the copyright years (regex: `\\d{4}(,\\s\\d{4})?`)\n# - {holder} will match the copyright holder (regex: `[\\w\\s\\.]+`)\ntemplate_java: |\n  ******************************************************************************\n   * Copyright (c) {years} {holder} and/or its affiliates and others\n   *\n   * This program and the accompanying materials are made\n   * available under the terms of the Eclipse Public License 2.0\n   * which is available at https://www.eclipse.org/legal/epl-2.0/\n   *\n   * SPDX-License-Identifier: EPL-2.0\n   *\n   * Contributors:\n   *  {holder}\ntemplate_xml: |2\n      Copyright (c) {years} {holder} and/or its affiliates and others\n\n      This program and the accompanying materials are made\n      available under the terms of the Eclipse Public License 2.0\n      which is available at https://www.eclipse.org/legal/epl-2.0/\n\n      SPDX-License-Identifier: EPL-2.0\n\n      Contributors:\n       {holder}\n# Ignore specific files and paths. The syntax and semantics are the same as in the .gitignore file.\nignore:\n  - ignore.java\n```\n\n## Running tests\n\nFrom the root of the project run:\n\n```bash\nuv run pytest\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattdibi%2Fcopyright-check","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmattdibi%2Fcopyright-check","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattdibi%2Fcopyright-check/lists"}