{"id":34638668,"url":"https://github.com/generoi/packagist","last_synced_at":"2026-03-14T09:06:31.093Z","repository":{"id":256252950,"uuid":"850318503","full_name":"generoi/packagist","owner":"generoi","description":null,"archived":false,"fork":false,"pushed_at":"2025-12-12T04:23:46.000Z","size":2748,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-12-13T12:15:10.606Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://generoi.github.io/packagist/","language":null,"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/generoi.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-08-31T12:51:49.000Z","updated_at":"2025-11-17T15:41:55.000Z","dependencies_parsed_at":"2024-09-09T21:43:22.481Z","dependency_job_id":"198ce939-c274-43af-b06a-0bb536a20d60","html_url":"https://github.com/generoi/packagist","commit_stats":null,"previous_names":["generoi/packagist"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/generoi/packagist","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/generoi%2Fpackagist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/generoi%2Fpackagist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/generoi%2Fpackagist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/generoi%2Fpackagist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/generoi","download_url":"https://codeload.github.com/generoi/packagist/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/generoi%2Fpackagist/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28005414,"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","status":"online","status_checked_at":"2025-12-24T02:00:07.193Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-12-24T17:12:36.724Z","updated_at":"2025-12-24T17:12:37.334Z","avatar_url":"https://github.com/generoi.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# generoi.github.io/packagist\n\n### Add a plugin\n\n1. Create repository with a basic `composer.json`\n\n    ```json\n    {\n      \"name\": \"generoi/\u003cplugin-slug\u003e\",\n      \"type\": \"wordpress-plugin\",\n      \"description\": \"Plugin name\",\n      \"homepage\": \"https://woocommerce.com/products/...\"\n    }\n    ```\n\n2. Add `.github/workflows/build.yml` which checks for plugin updates, makes releases and triggers packagist update ([`generoi/github-action-update-plugins` README has morere examples](https://github.com/generoi/github-action-update-plugins?tab=readme-ov-file#github-workflows-plugins)).\n\n    ```yml\n    name: Build\n    on:\n      workflow_dispatch:\n      schedule:\n        - cron: '5 4 * * *'\n    jobs:\n      build:\n        uses: generoi/github-action-update-plugins/.github/workflows/wccom-update.yml@master\n        secrets:\n          ACCESS_TOKEN: ${{ secrets.WCCOM_ACCESS_TOKEN }}\n          ACCESS_TOKEN_SECRET: ${{ secrets.WCCOM_ACCESS_TOKEN_SECRET }}\n        with:\n          slug: 'woocommerce-subscriptions'\n          changelog_extract: \"'/[0-9\\\\-]+ - version/ { if (p) { exit }; if ($4 == ver) { p=1; next } } p \u0026\u0026 NF' changelog.txt\"\n      update-satis:\n        needs: build\n        if: needs.build.outputs.updated == 'true'\n        uses: generoi/packagist/.github/workflows/update.yml@master\n        secrets:\n          token: ${{ secrets.PACKAGIST_UPDATE_PAT }}\n    ```\n\n3. Add [`@generoi/deploy`](https://github.com/orgs/generoi/teams/deploy) as a collaborator with `read` access. **Do _NOT_ grant write access.**\n\n4. Change the [`PACKAGIST_UPDATE_PAT`](https://github.com/organizations/generoi/settings/secrets/actions/PACKAGIST_UPDATE_PAT) secret permissions to be allowed to be used by the repository.\n\n5. Add the plugin to [`satis.json`](./satis.json) in this repository.\n\n6. Trigger an initial build which will download the latest plugin version, commit it, tag it, push it, release it and if successful trigger a rebuild in this repository.\n\n7. Whenever a new version is found using the cron schedule, the plugin will be updated, released and finally a rebuild of this repository will be once again triggered.\n\n### Prerequisites\n\n- [`GENEROI_DEPLOY_PAT`](https://github.com/organizations/generoi/settings/secrets/actions/GENEROI_DEPLOY_PAT) action secret containg a Personal Access Token of `@generoi/deploy` with Conents (read) access. This is used by this repo to read plugin tags/contents from every package listed in `satis.json`. [(settings link)](https://github.com/organizations/generoi/settings/personal-access-tokens/367034)\n- [`PACKAGIST_UPDATE_PAT`](https://github.com/organizations/generoi/settings/secrets/actions/PACKAGIST_UPDATE_PAT) action secret containg a Personal Access Token of a user with _write_ access to this repository. The token is limited to only this repository with Contents (write) access. [(settings link)](https://github.com/organizations/generoi/settings/personal-access-tokens/944959)\n- [`WCCOM_ACCESS_TOKEN`](https://github.com/organizations/generoi/settings/secrets/actions/WCCOM_ACCESS_TOKEN) and [`WCCOM_ACCESS_TOKEN_SECRET`](https://github.com/organizations/generoi/settings/secrets/actions/WCCOM_ACCESS_TOKEN_SECRET) action secrets which contain the OAuth2 tokens stored in wp_options of the store which is connected to WooCommerce.\n- `LICENSE_KEY` is added as a Repository Secret to each relevant plugin repository. The secret contains the license key.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeneroi%2Fpackagist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeneroi%2Fpackagist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeneroi%2Fpackagist/lists"}