DEV Community

a-parris21
a-parris21

Posted on

Lab 4 - config file support & remote repos

Implementing config support in another repo

For Lab 4, I added support for reading and parsing a JSON config file to Stefan's SSG.

The code itself was difficult at first since I am not incredibly familiar with Python but it got easier as I continued once I was accustomed to the syntax structure (since Python itself is fairly easily).

I did run into quite a few problems since, as I stated, I am not very familiar with programming in Python. However, since Python is a fairly easy-to-use language, it did not take me long to become familiar with the necessary syntax and logic in order to implement and test this config file feature.

Using Git was very easy this time for cloning the repo, creating a topic branch and updating the branch regularly with changes. I have performed these tasks via the Git CLI before so it was easy to do it again for Lab 4.

Reviewing and Testing using remotes

For Lab 4, Maxim implemented the config support for my repo.

This was my first time using Git's features for reviewing and testing via remote repos/branches. This was also my first time getting acquainted with remote-tracking branches. I thought they sounded complicated at first but they were actually fairly easy to use.

Additionally, Maxim's code did not generate any errors when I tested it and it functioned as intended. So after reading and testing it a few times, I just had to accept the PR since there was nothing that required fixing.

Top comments (0)