{"id":19359860,"url":"https://github.com/codacy/codacy-meta-repo","last_synced_at":"2025-06-22T20:35:16.161Z","repository":{"id":48704684,"uuid":"284994997","full_name":"codacy/codacy-meta-repo","owner":"codacy","description":null,"archived":false,"fork":false,"pushed_at":"2023-07-14T14:55:08.000Z","size":29,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-06-22T02:03:39.347Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codacy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-08-04T13:53:31.000Z","updated_at":"2023-07-14T14:55:10.000Z","dependencies_parsed_at":"2024-11-10T07:16:30.686Z","dependency_job_id":"97a2a5fc-6144-4489-a0d2-b5c1a0d912ab","html_url":"https://github.com/codacy/codacy-meta-repo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codacy/codacy-meta-repo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codacy%2Fcodacy-meta-repo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codacy%2Fcodacy-meta-repo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codacy%2Fcodacy-meta-repo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codacy%2Fcodacy-meta-repo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codacy","download_url":"https://codeload.github.com/codacy/codacy-meta-repo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codacy%2Fcodacy-meta-repo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261363292,"owners_count":23147534,"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":"2024-11-10T07:16:22.173Z","updated_at":"2025-06-22T20:35:11.151Z","avatar_url":"https://github.com/codacy.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Codacy meta-repo\n\nIt allows to do operations on multiple **public** repos of this organization.\n`common` is considered to be the source of truth for files that are copied\namong different repositories.\n\n## Requirements\n\n* Node\n* https://github.com/octokit/rest.js\n* https://github.com/mateodelnorte/meta\n  * https://github.com/mateodelnorte/meta-loop\n    * `npm install meta-loop -g`\n* PERSONAL_GITHUB_TOKEN with read:org\n\n## Using codacy-meta-repo\n\nFeel free to check [meta](https://github.com/mateodelnorte/meta) for better understanding\nthe underlying tool. This repository has some scripts to help you on operations for\nall tracked repositories.\n\n### Updating and cloning the tracked repositories\n\nRunning `./meta_update.sh` will track and download all public repositories\non Codacy organization on GitHub.\n\n### Commiting the contents of `common`\n\nRunning `./commit_common.sh` will copy and replace the contents in `common`\nfolder to every tracked repository.\nMeaning that after changes on any file on the `common` folder, you can\nrely on this script to commit those changes.\n\n### Other operations on all tracked repositories\n\n`meta` will perform operations on all tracked repositories,\nfor example, to push changes on all the repositories, you can:\n\u003e meta git push\n\nYou can also rely on `meta loop` for non-git operations,\nfor instance, to perform an `ls` on each tracked repo, you can:\n\u003e meta loop ls\n\n## Underlying behaviour of the scripts\n\n### `meta_update.sh`\n\nRepositories are tracked based on the contents of `.meta`, repositories\nare added and cloned with:\n`meta project import [repo] [url]`\n\nThe `./meta_update.sh` script will fetch the names and urls of the public\nrepositories with the help of `update_repo_list.js`.\n\n### `update_repo_list.js`\n\nUses [octokit](https://github.com/octokit/rest.js) to fetch the public\nrepositories information - name and url - and outputs them to `.repos.txt`\nfor consumpiton at the `meta project import` step.\n\n### `commit_common.sh`\n\nRelies on `meta loop` to copy and replace the contents in `common`\nfolder to every tracked repository.\nAfter the files are added to every repository, it uses `meta git` to\nstage and commit those files on each respective repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodacy%2Fcodacy-meta-repo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodacy%2Fcodacy-meta-repo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodacy%2Fcodacy-meta-repo/lists"}