scaffoldr v0.1.0: A Retrospective - Lessons and What's NextThis series covered how scaffoldr v0.1.0 worked under the hood - the CLI setup, file generation, git automation, GitHub API integration, issue creation, branch protection, and CI generation. v0.2.0 haOct 12 · 3 min readbytelogger.hashnode.dev
Generating CI Workflows During ScaffoldEvery project scaffoldr creates in v0.1.0 gets a working CI setup out of the box - tests and linting run automatically on every push and pull request. No separate step, no manual GitHub Action setup. Oct 6 · 4 min readbytelogger.hashnode.dev
Automating Issue Creation and Branch ProtectionWith the repo created, the last two pieces of scaffoldr new were opening a starter set of issues and locking down main so nothing gets pushed to it directly. Default issues, with room to override scafSep 27 · 4 min readbytelogger.hashnode.dev
Running Git Commands from Python Once scaffold writes all the project files, it needs to turn the directory into an actual git repository - run git init, stage everything, and make the first commit. I went with running the git binarySep 13 · 3 min readbytelogger.hashnode.dev
Rendering and Writing Files in PythonWith the CLI shell in place, the next problem was what scaffoldr init actually creates. In v0.1.0, every project got the same directory structure and files - README, CONTRIBUTING guide, pyproject.tomlSep 1 · 3 min readbytelogger.hashnode.dev