This project manages (manually) the topology and hierarchies used on the Contributary website.
Right now, all changes are submitted via PR and manually built and deployed into AWS.
To submit a project
- Create an issue in this repo
- Fork the repo
- Create a branch
- Add the project (
"user"
or"org"
) in the appropriate topology file in src/ - If you want to submit all repositories, use a wildcard selector
"*"
- Submit a PR!
// adding a user and a specific repository
{
"name": "Torvalds",
"type": "user",
"repositories": [{
"name": "linux"
}]
}
// adding an organization and all its repositories
{
"name": "ContributaryCommunity",
"type": "org",
"repositories": ["*"]
}
Read more about the architecture of the project, checkout the Contributary wiki.
For contributing to this project and testing the output locally, you will need
yarn lint
- Validatse all JS and JSON passes lintingyarn develop
- Runs the build task but write to agit
ignored tmp/ directoryyarn build
- Runs the build and outputs to the version controlled data/ directory, for release timeyarn release
- Task to run at release time, to upload data/topology.json to S3
- Merge all changes into master
- Run
yarn release
- Review and commit any changes to data/ to master
- Bump package.json,
git tag
and push everything to master