Skip to content
Devansh Shah edited this page Oct 3, 2020 · 98 revisions

Lab 2

Due Date

Friday Oct 2 by Midnight.

Please complete this BEFORE you start on Release 0.2

Overview

This week we are getting ready to start Release 0.2 and Hacktoberfest. To get you ready, we'll practice contributing and submitting pull requests to other repos we don't own. This lab will help you practice the following:

  • forking and cloning other projects
  • creating branches to work on new features and fix bugs
  • working on code you didn't write, trying to maintain the original style and not break things
  • creating pull requests
  • collaborating with other developers on GitHub
  • updating your pull requests to include fixes for review comments

Step 1. Pick a Project

Pick another student's link checker project from the Release 0.1 Submissions list. You can work on any project other than your own.

Step 2. Pick a Feature and File an Issue

File an issue to add one of the optional Release 0.1 features or suggest one of your own. Describe what you want to do, and mention that you'd like to work on this.

Step 3. Fork, Clone, Branch

Fork the other student's project on GitHub, then clone your fork. Next, create a branch for your work. If you filed Issue #5, name your branch issue-5:

git checkout -b issue-5

Step 4. Write the Code

Edit the existing code to implement your feature. Make sure you write your code as closely to the style of the original author as possible. Make it look like the same person wrote all the code. Pay attention to how they name things, how they do formatting, where they put things, etc.

Make sure your changes don't break the original code. Test, test, test, and test again. When you're satisfied that things are working, proceed to step 5.

Step 5. Update the Docs or Other files

If your code added a feature, it's likely that you need to update other files too. Perhaps the docs need to be updated? Check to see if your changes require updates to any other files.

Step 6. Create a Pull Request

When you're finished Steps 1-5, create a pull request. Start by pushing your branch to your fork on GitHub (i.e. your origin). Assuming you were working on a branch called issue-5:

git push origin issue-5

Obviously you should rename issue-5 to the correct branch name.

Follow these steps to create a Pull Request from your branch. Pay attention to the following:

  1. Pick the correct branch in your repo (e.g., issue-5 for you and master for the original repo). You want your work to get merged into the original project's master branch eventually
  2. Write a complete title for your pull request. For example, "Add feature x"
  3. Write a complete description of what you did, including info that this Fixes #5 (or whatever Issue number you are fixing). GitHub will automatically link an Issue and Pull Request for you if you use the correct syntax.

Step 7. Get Feedback and Update your Pull Request

Find the original repo's author on Slack, and get them to review your Pull Request. It is likely that they will ask you to make changes (NOTE: if you are reviewing someone else's changes to your repo, please ask them to change something so they can practice this part, even if it's small).

When you are asked to make changes, go back to your code and make sure you are on the same branch that you submitted. For example, git checkout issue-5 to get on the issue-5 branch.

Edit the code to address the reviewer's comments. Make sure you deal with all of them! When you're done, add another commit to this branch:

git checkout issue-5
git add file1
git commit -m "Updating x, y, and z based on review feedback"
git push origin issue-5

Again, change issue-5 to whatever branch you are working on. Once you've done this, go back to the Pull Request on GitHub and leave a comment telling the reviewer you have completed all their changes.

Repeat this cycle as many times as necessary for the project owner to Approve your changes and merge your work.

Step 8. Write a Blog Post

Write a blog post about the process of contributing a change to another project. In your post, include links to everything you discuss (e.g., the project repo, your pull request). Discuss what you did, the changes you made for your feature, and the process of getting your work accepted. What problems did you have? What did you learn? What would you do differently next time?

If your repo received a pull request, please also talk about what it was like to get a submission. How much did you need the author to change? How did that process go?

Submission

NOTE: these pull requests do not count toward your Release 0.2 requirements.

When you have completed all the requirements above, please add your details to the table below.

Name Blog Post (URL) Your PR (URL) PR(s) to Your Repo, if any (URL)
Example Name https://example.com/blog/1 https://github.com/example/tool-name/pulls/6 https://github.com/example2/another-tool-name/pulls/8
Joseph (Joey) Assal https://osd600-joey-assal.blogspot.com/2020/09/osd-600-lab-2.html https://github.com/strawberries73/OSD600-Journey-on-rocky-trails/pull/4 https://github.com/joey2031/OSD600-Release0.1/pull/6 and https://github.com/Seneca-CDOT/topics-in-open-source-2020
Chris Pinkney https://dev.to/chrispinkney/quick-open-source-lab-3-update-162j Here & Here Here & Here
Khoi Nguyen Vu (Tony) https://medium.com/@tonyknvu/yay-my-app-got-its-7th-feature-with-me-doing-nothing-or-very-little-1a8f3409dead https://github.com/isabellaliu77/urlChecker/pull/7 https://github.com/tonyvugithub/GoURLsCheckerCLI/pull/6
Hyunji Lee https://hyunjijanelee.blogspot.com/2020/10/open-source-project-lab2-pull-request.html https://github.com/lixiaoqity/testLink/pull/7 Here & Here & Here
Paul Sin https://osd600.blogspot.com/2020/09/lab-2.html https://github.com/rogercyyu/cligon-url-checker/pull/6 N/A
Jennifer Croft https://dev.to/strawberries73/osd600-lab-2-the-first-pr-233g https://github.com/joey2031/OSD600-Release0.1/pull/6 https://github.com/strawberries73/OSD600-Journey-on-rocky-trails/pull/4
Tim Roberts https://dps909tddr.tech.blog/lab-2-my-first-pr/ https://github.com/Metropass/url_tester/pull/2 N/A
Ekaterina Grinberg https://medium.com/@egrinberg/lab-2-dps909-4a8de0fd9eab https://github.com/Supercraft888/lFinder/pull/10 -
Minh Huy Nguyen https://x7z.net/first-pull-request-lab2-osd https://github.com/tuidamon/Webpage-status-checking-tool/pull/4 https://github.com/VietnameZe/insane-cli/pull/7
Mintae Kim https://mintaedotblog.wordpress.com/2020/10/02/lab2-first-pull-request/ https://github.com/rjayroso/haystack-link-checker/pull/5 https://github.com/sonechca/Dead_Link_Checker/pull/5
Roger Yu https://ryudeveloper.wordpress.com/2020/10/01/lab-2-one-more-feature/ https://github.com/yuanLeeMidori/OSD600.GoodLinkOrBadLink/pull/8 https://github.com/rogercyyu/cligon-url-checker/pull/6
Eunbee Kim https://ekim105.wordpress.com/2020/10/01/git-pull-request/ https://github.com/jossiey/LinkChecker-CmdLC/pull/10 https://github.com/eunbeek/findBrokenGlass/pull/8
Pedro Fonseca https://medium.com/@pedrofonsecadev/newissue-then-pullrequest-1161d67a47e3 https://github.com/Shinh18/urltester/pull/1 N/A
Muskan Shinh https://muskanshinh.wordpress.com/2020/10/02/lab-2/ https://github.com/chawlapalak/Url-Inspector/pull/7 https://github.com/Shinh18/urltester/pull/1
Kimin Lee https://dev.to/klee214/find-wrong-urls-of-your-files-inside-your-projects-a57 https://github.com/hyunjiLeeTech/URL-FI/pull/6 N/A
Plamen Velkov https://plamenvelkovtech.blogspot.com/2020/10/open-source-progression-lab-2.html PR-1 & PR-2 PR-1 & PR-2
Stella Jung https://sostellajung.blogspot.com/2020/10/experience-about-contribution-to-fix.html https://github.com/joelazwar/linkChek/pull/6 N/A
Royce Ayroso-Ong https://medium.com/@roycedev/giving-back-to-the-community-63e5791d2c91 https://github.com/NesaByte/Bapples/pull/10 PR-1 & PR-2
Yuan-Hsi Lee https://dev.to/yuanleemidori/pull-request-3l81 https://github.com/abuZayed15/check-link/pull/14 and https://github.com/Wei-J-Huang/dlcheck/pull/8 https://github.com/yuanLeeMidori/OSD600.GoodLinkOrBadLink/pull/8 https://github.com/yuanLeeMidori/OSD600.GoodLinkOrBadLink/pull/9
Abdulbasid Guled https://dev.to/hyperthd/preparing-for-hacktoberfest-lab-2-5c73 https://github.com/chrispinkney/He-s-Dead-Jim/pull/17 https://github.com/IcemanEtika/deadlinkz/pull/3 https://github.com/HyperTHD/URLAutomationMachine/pull/3
Nesa Bertanico https://nesabyte.wordpress.com/2020/10/01/bapples-wants-to-be-written-in-python/ https://github.com/rjayroso/haystack-link-checker/pull/11 https://github.com/NesaByte/Bapples/pull/10
Jie Yang https://jyangblogs.wordpress.com/2020/10/02/reflection-on-pull-request/ https://github.com/eunbeek/findBrokenGlass/pull/8 https://github.com/jossiey/LinkChecker-CmdLC/pull/10
Leon Li https://gonewiththewind1982.blogspot.com/2020/10/pull-requests.html https://github.com/zjjiang2/project-checkurl/pull/8 https://github.com/lixiaoqity/testLink/pull/7
Zongwei Yang https://dev.to/yzwdroid/lab-1-first-pr-1ome https://github.com/1jz/WISA/pull/10#issue-496292834 https://github.com/yzwdroid/goURL/pull/4
Junyong Liu https://jliu396.blogspot.com/2020/10/osd-lab2-pull-request.html https://github.com/StellaJung-Student/http-parser/pull/7 N/A
Nathan Pang https://osdnathanp.wordpress.com/2020/10/02/lab-2/ https://github.com/mamadou-diallo/HTML-Link-Reviewer-/pull/6 Here or Here
Sanjida Afrin https://medium.com/@safrin2/will-you-accept-my-pull-request-9bd7b4005e34 PR-1 & PR-2 https://github.com/sanji11/find-broken-link/pull/11
Philip Golovin https://1jz.tech.blog/2020/10/02/leaving-my-mark/ https://github.com/tonyvugithub/GoURLsCheckerCLI/pull/6 1 and 2
Mohammed Niaz Ul Haque https://dev.to/niazulhaque/first-ever-pr-job-hunting-starts-hacktober-is-here-5dbe https://github.com/joelazwar/linkChek/pull/8
Raymond Rambo https://dev.to/fluentinstroll/what-is-rejection-even-16ip https://github.com/danishalim/URLChecker/pull/3
Jongwon Jang https://jongwon-jang.blogspot.com/2020/10/w3-lab2-first-pull-request.html https://github.com/jiyoungsin/OSD_A1_Tool/pull/7 N/A
Mamadou Diallo https://mamadou--diallo.blogspot.com/2020/10/improving-others-code.html https://github.com/NathanPang001/PYLinkChecker/pull/7 https://github.com/mamadou-diallo/HTML-Link-Reviewer-/pull/6
Ruby Anne Bautista https://medium.com/@rabautista/of-becoming-a-contributor-6d37b971ec36 https://github.com/Metropass/url_tester/pull/6 N/A
Michael Brackett https://dev.to/mljbrackett/osd-lab2-4ecf https://github.com/sonechca/Dead_Link_Checker/pull/5 N/A
Matthew Stewardson https://matthew-k-stewardson.blogspot.com/2020/10/week-3-lab-2.html https://github.com/yzwdroid/goURL/pull/4 N/A
Alexander Hugh https://medium.com/@ahugh2000/making-changes-and-more-cli-stuffs-23f1e88d5634 https://github.com/sanji11/find-broken-link/pull/11 https://github.com/Supercraft888/lFinder/pull/14 and https://github.com/Supercraft888/lFinder/pull/12
Badal Sarkar http://badalsarkar.ca/blog-opensource/opensource/My-First-PR/ https://github.com/VietnameZe/insane-cli/pull/7
Bing Pan https://dev.to/bpan2/learning-from-working-on-other-s-project-1o8h https://github.com/badalsarkar/Blink/pull/3 N/A
Palak Chawla https://www.blogger.com/blog/post/edit/8121618679391583778/8276136230877741527?hl=en https://github.com/egrinberg/Utest/pull/3 https://github.com/chawlapalak/Url-Inspector/pull/7
Jasper Mui https://wordpress.com/block-editor/post/muioverflow.wordpress.com/95 https://github.com/Wei-J-Huang/dlcheck/pull/11
Matthew Ross https://os-discovery.blogspot.com/2020/10/pulling-my-weight.html https://github.com/Jasper-Mui/me-check-links/pull/5 https://github.com/matt-ross16/CheckMyLinks/pull/10
Wei Huang https://weihuangosd.blogspot.com/2020/10/first-github-pull-request.html https://github.com/zjjiang2/project-checkurl/pull/10 https://github.com/Wei-J-Huang/dlcheck/pull/11
Joel Azwar https://joelazwaros.blogspot.com/2020/10/pull-requestin.html https://github.com/abuZayed15/check-link/pull/15 https://github.com/joelazwar/linkChek/pull/6
Thomas-Jayrell LeBlanc https://tjstavern24697521.wordpress.com/2020/10/02/lab-2-pull-requests/ https://github.com/slaterslater/gustavo/pull/1 https://github.com/IcemanEtika/deadlinkz/pull/3
Abu Zayed Kazi https://www.abuzayed.ca/my-blog/osd600/2020/10/03/lab2-the-prep-for-hacktoberfest/ https://github.com/yuanLeeMidori/OSD600.GoodLinkOrBadLink/pull/9 PR-1 & PR-2
Isabella Liu https://dev.to/isabellaliu77/lab-2-update-756 https://github.com/1jz/WISA/pull/12 https://github.com/isabellaliu77/urlChecker/pull/7
Mohammed Ahmed (Mo) https://medium.com/@moho472/working-on-github-162238d7dc1b PR-1, PR-2, PR-3 Ruby's, Tim's
Zong Jin Jiang https://zjjiang2.blogspot.com/2020/10/lab-2-blog.html https://github.com/Jasper-Mui/me-check-links/pull/7 https://github.com/zjjiang2/project-checkurl/pull/10
Devansh Shah https://dev.to/zg3d/fork-issue-pull-merge-3bd6 https://github.com/hyunjiLeeTech/URL-FI/pull/7 , https://github.com/joey2031/OSD600-Release0.1/pull/8.
Clone this wiki locally