Monday, September 23, 2019

DPS909 Fall 2019 - Release 0.1 


About release 0.1


This project was created to make us understand how to understand and read other's codes successfully and to work with GitHub to understand how to create branches, forking, and others methods to contribute to another repository.

Learning Outcomes


We were asked to create a notepad application for the last week's activity, once we all finished submitting and hosting our web app, release 0.1 was basically to go through each and everyone's code to read and better understand how they implemented the activity. 

This was quite interesting as everyone had their own way of designing it a bit differently and our 2 tasks were to : 
  1. Find a bug which is not design related but rather to fix or improve something in the existing code.
  2. The second was to add a new feature to any of the repositories.

My release 0.1


Bug Fix


I began to hunt for bug fixes which were not already being fixed by others, and it was really difficult to find an error as almost everyone implemented it well. Some issues were popping up due to Github hosts and others were occurring due to other javascript modules that they have used. I found one in particular which was giving a type error in the console of the browser. 

So, before we code or clone the project, we were asked to issue a bug report to their repositories and then fork they application. Once we successfully have done that, we create a different branch with the same number of the issue report number. Then I was able to clone the repo to the local machine and I was able to produce a fix for the issue. Once the fix is running fine, I began committing the code issued a pull request to merge with code.

New feature 


For my second task, I was asked to add a new feature for one of the repositories. I was also giving a list of useful features list, which can be added to the notes app in the second week's activity. Using this list, I was able to code a counter function for one of the application as a new feature.

Just like the first time I was able to create an issue, forks the repo, clone it to my computer, created a new branch, committed the new codes and created a pull request.

Conclusion 


Github really helps you in contributing to other projects without interfering with their correct work, it is in some ways, gives us the opportunity to connect to people and understand how to work with others.

No comments:

Post a Comment