Merging Branches

Lab 3 of the OSD-600 course provided a great opportunity to practice using Git and GitHub, beginning of the assignment was a huge mess, I was forgetting to switch between branches and one of the new features  took me quite a while to complete because of how the previous version of the DLCheck project code was implemented, I ended up having to make some changes to the previous existing code instead of simply adding new code.

After a bit of playing around with Git and re-watching lectures to refamiliarize myself with the commands, it all became very clear to me how branches work and how to utilize various git commands, such as git log, git checkout, git status etc.

For this lab, two new features were added to the tool, one of them being allowing command line arguments such as --good, --bad, -all to be passed to filter the output by the URL's response status code. 



The other feature is to check the environment variable CLICOLOR before displaying the URLs back to the screen, if the value CLICOLOR is 0, colored output will be disabled, if CLICOLOR's value is 1, colored output is allowed. At first, I wasn't sure how this could be done in Node.js, but luckily I was able to find a tutorial on it on YouTube which guided me through the process of implementing this feature.

After the implementation of those features, I have followed the instructions and merged the branches with the main branch smoothly without any problems. Aside from adding new features, I have also looked at the feedbacks given by the community (Professor and Classmates) and updated some of the problematic codes and documentations.

Links:

Repo: https://github.com/Wei-J-Huang/dlcheck

Issue 12: https://github.com/Wei-J-Huang/dlcheck/issues/12

Issue 13: https://github.com/Wei-J-Huang/dlcheck/issues/13

Merge for issue 12: https://github.com/Wei-J-Huang/dlcheck/commit/8775371348a41288fcd976caab03a92fecf2dbc3?branch=8775371348a41288fcd976caab03a92fecf2dbc3&diff=unified

Merge for issue 13: https://github.com/Wei-J-Huang/dlcheck/commit/6f4b9f0705e9eadf29e19af4add886b5baa960b9

Comments

Popular posts from this blog

Working on the Telescope Project

Hacktoberfest -1

Using Code Formatter and Linter