Yes, we’re already in the middle of September and here’s my week 2 preptember report!

TLDR: Big PR to close the language support issue on GitFichas and a couple of other minor PRs.

I finally updated the language support with the help of GitHub Copilot in agent mode and now GitFichas is capable of supporting multiple languages instead of just Portuguese and English, so big win for localization.

Si hablas espaƱol… we are looking for contributions in translations to Spanish. If you speak other languages they are also welcome!

Recap

Last week I kicked off preptember by fixing a major issue with GitFichas where Mermaid charts weren’t rendering properly in the browser. The solution was to switch from client-side rendering to pre-generating SVG files using the Mermaid CLI.

I also added several new features including a one-command setup script, GitHub Copilot instructions for contributors, automated SVG generation, and improved documentation. The goal was to prepare GitFichas for the influx of Hacktoberfest contributions by making it more welcoming and easier to contribute to.

Issues closed and pull requests merged this weekend

This is the list of work done:

  • Issue #204: Update the language selection;
  • PR #205: This PR implemented the multi-language support and closed the issue above šŸŽ‰
  • PR #207: which updated the content from the contact page in both Portuguese and English;
  • PR #206: Fixed a minor error in logic introduced in a previous weekend PR for the in browser mermaid rendering.
  • PR #208: Tiny rendering adjustments

Now story time…

Using Copilot and vibe coding for non-vibe-coders

For the first time I had Copilot not only do the bulk of the work but also review its own work in a PR.

I’m not much of a vibe coder, I can’t just simply say ā€œKeepā€ to the changes AI makes and not bat an eye on it before committing. That’s just not me.

But the closest I get is to ask the AI to do something and then review it, then provide specific feedback on what is not working, and ask it to fix what is broken. That type of process works well but is definitely not as fast as just blindly accepting whatever output I get.

Nonetheless, the PRs I put in place this weekend took me about 6 hours of unfocused work. If I had been more focused, it probably would’ve taken me 4 hours, but it is a weekend after all.

But I can say with complete certainty that without any AI help, between writing new code, refactoring pre-existing code, testing, preview deployments, adjustments, and forgotten edge cases, this would probably take me about two days to get it done.

Not only that, it would probably mean that the production deployment would probably wait till next weekend to be deployed since I’d like to have more time to review my own work before shipping it.

Using Copilot to review pull requests

And speaking of review… This was the first time that I had Copilot do the review for me and it was interesting to say the least.

It called my attention to the documentation I forgot to update, as well to the fact that my PR did not follow the project guidelines. šŸ˜‚

Let me explain. So far GitFichas had only support for two spoken languages: Portuguese and English. And the way the localization was implemented it didn’t allow for any other translations to be easily added. So part of the project documentation made it clear that the content on the website was only in those two initial languages.

So I definitely smirked when Copilot pointed out that my PR was going against the project’s own guidelines for only supporting Portuguese and English.

Screenshot of GitHub Copilot review comment identifying that the PR goes against project guidelines by adding support for languages other than Portuguese and English

Anyways it served as a well-placed reminder to not only update the documentation (which I did prompted by another similar comment) but also the Copilot instructions as they are used in the reviews.

What’s Next

The list of issues for next weekends is the following:

I also plan on going back to pull requests I left unattended over the year.

In particular the #166 in the PyLadiesCon repository. Mariatta if you are reading this: I’m terribly sorry it took me this long to get back to it, next weekend I’ll get the conflicts resolved so we can merge it.

Side note: Have you seen your list of pull requests lately? Mine seems to never reach zero. šŸ˜‚

Join me

If you are thinking about contributing to open source during Hacktoberfest, start working now on figuring out possible projects you want to contribute to. Make a list of them, fork and clone the repos, check out the contribution guides, and start getting ready because October is fast approaching.

As always, check out GitFichas on GitHub and if you need help figuring out your contributions send me a note in one of the many social places out there! šŸŽ‰