silverstripe/supported-modules

There is no license information available for the latest version (dev-main) of this package.

Metadata about Silverstripe CMS supported modules and other repositories maintained by Silverstripe

dev-main 2024-06-18 05:40 UTC

This package is auto-updated.

Last update: 2024-07-18 05:49:42 UTC


README

Metadata and some supporting PHP logic for determining which branches of various GitHub repositories relate to which versions of Silverstripe CMS.

Important

Only the main branch of this repository is maintained.

You can fetch the JSON by simply fetching the raw copy of repositories.json file, e.g. https://raw.githubusercontent.com/silverstripe/supported-modules/main/repositories.json.

If you've included this module as a compser dependency then you can use SilverStripe\SupportedModules\MetaData::getAllRepositoryMetaData() which will fetch the latest version of the JSON file from raw.githubusercontent.com.

Format

There are several sections in the repositories.json file, denoting different categories of repositories:

  • supportedModules: Repositories representing supported modules. If cow cares about it, it should probably be in this category.
  • workflow: Repositories which hold GitHub actions and workflows.
  • tooling: Repositories used to help streamline Silverstripe CMS maintenance
  • misc: All repositories we need to track which don't fit in one of the above categories.

Each of the above sections holds an array of JSON objects with the following data:

Adding a repo

You can easily retrieve the githubId via the following API call:

https://api.github.com/repos/my-org/my-repo