MENTOR
- @natalialuzuriaga
- Software Engineer, CMS OSPO, Archiving Repositories
- #dsac-ospo on Slack
BRIEF DESCRIPTION
Currently, repo-sunsetter is a GitHub Action that automates tasks to archive GitHub repositories. We would like to create a CLI that is able to do the same work locally for non-GitHub repositories + private/internal repositories where GitHub Actions is not enabled. The CLI should perform the following tasks:
- Adds an archival notice to the README
- Update the code.json file to mark its archival status
- Prints out a checklist to the CLI based on the maturity model tier of the repository
SCOPING
1 week
SKILLS NEEDED
Python, CLI, shell scripting
REQUIRED DELIVERABLES
- Read through the repo-sunsetter repository and experiment with the action to get a sense of how it works.
- Set up Python CLI in this repository. Consider using CLI libraries like Click.
- README: Append an archival notice to the README. May be able to use the subaction script for this work
- Metadata: read the code.json file and update the code.json to mark the repository as archived.
- Checklist: Print out a checklist to the CLI based on the maturity model tier of the repository. May be able to use the subaction scripts to retrieve the maturity model tier number and print the checklist.
- Write and perform tests to verify the functionality of the tool
- Update documentation accordingly with usage of the new CLI
DESIRED DELIVERY WINDOW
NOTES/INSPO
Resources on how we archive projects:
ACKNOWLEDGEMENTS
MENTOR
BRIEF DESCRIPTION
Currently, repo-sunsetter is a GitHub Action that automates tasks to archive GitHub repositories. We would like to create a CLI that is able to do the same work locally for non-GitHub repositories + private/internal repositories where GitHub Actions is not enabled. The CLI should perform the following tasks:
SCOPING
1 week
SKILLS NEEDED
Python, CLI, shell scripting
REQUIRED DELIVERABLES
DESIRED DELIVERY WINDOW
NOTES/INSPO
Resources on how we archive projects:
ACKNOWLEDGEMENTS