DSACMS / repo-scaffolder

Templates and commandline tools for creating repositories for US Federal open source projects
Creative Commons Zero v1.0 Universal
21 stars 8 forks source link

MAINTAINERS.md needs to be properly slugified at all tiers (updated w/ new branch) #110

Closed CreativeNick closed 1 month ago

CreativeNick commented 1 month ago

MAINTAINERS.md needs to be properly slugified at all tiers

Problem

The cookiecutter.json files in tiers 2-4 need to be updated to account for MAINTAINERS.md.

Solution

Update each cookiecutter.json and post_gen_project.py file for each respective tier to account for the new variables in MAINTAINERS.md. Add Python and looping functionality to ask user for maintainer information.

Result

cookiecutter.json, post_gen_project.py, and contributers.yml files for tiers 2, 3, and 4 are fully updated with the new variables (name, github username, role, and affiliation) that are found in MAINTAINERS.md. Tier 2 will ask for the user to input each maintainer's name, username, role, and affiliation in 1 singular table. Tiers 3 and 4 will ask the user for the usernames of each maintainer, reviewer, and approver (3 separate lists in total).

CreativeNick commented 1 month ago

@IsaacMilarky @natalialuzuriaga Just pushed some changes/fixes based on your feedback!

CreativeNick commented 1 month ago

@IsaacMilarky @natalialuzuriaga Pushed another commit, fixed the "@" bug and re-implemented the original method of adding in the list of formatted usernames.