From eeeac3fab89200c88737b4cf6721149cfb1ef77e Mon Sep 17 00:00:00 2001 From: shahnok007 <91981968+shahnok007@users.noreply.github.com> Date: Mon, 5 Sep 2022 19:54:45 +0530 Subject: [PATCH 1/9] Create shahnok007.md --- contributors/shahnok007/shahnok007.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 contributors/shahnok007/shahnok007.md diff --git a/contributors/shahnok007/shahnok007.md b/contributors/shahnok007/shahnok007.md new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/contributors/shahnok007/shahnok007.md @@ -0,0 +1 @@ + From fe39d2d464bf2db35b6733a55ce1b61d713a4eda Mon Sep 17 00:00:00 2001 From: shahnok007 <91981968+shahnok007@users.noreply.github.com> Date: Mon, 5 Sep 2022 19:56:49 +0530 Subject: [PATCH 2/9] Update shahnok007.md --- contributors/shahnok007/shahnok007.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/contributors/shahnok007/shahnok007.md b/contributors/shahnok007/shahnok007.md index 8b1378917..b11e18281 100644 --- a/contributors/shahnok007/shahnok007.md +++ b/contributors/shahnok007/shahnok007.md @@ -1 +1,4 @@ - +--- +name: SHAHNAWAZ KHAN +github_user_name: shahnok007 +--- From fcb10c16050ad187274135f93d728a4f48b952f9 Mon Sep 17 00:00:00 2001 From: shahnok007 <91981968+shahnok007@users.noreply.github.com> Date: Tue, 6 Sep 2022 14:56:41 +0530 Subject: [PATCH 3/9] Update shahnok007.md --- contributors/shahnok007/shahnok007.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contributors/shahnok007/shahnok007.md b/contributors/shahnok007/shahnok007.md index b11e18281..5448aea14 100644 --- a/contributors/shahnok007/shahnok007.md +++ b/contributors/shahnok007/shahnok007.md @@ -1,4 +1,6 @@ --- name: SHAHNAWAZ KHAN github_user_name: shahnok007 +url_of_github_issue: https://github.com/scaleracademy/scaler-september-open-source-challenge/issues/16 + --- From a7910730d78c943f7b4fb151546fe07f9b5ee57f Mon Sep 17 00:00:00 2001 From: Shivay Lamba Date: Thu, 1 Sep 2022 11:02:02 +0530 Subject: [PATCH 4/9] squashing the files Update details Update README.md Make final update to ReadME squashing them Create CONTRIBUTING.md Add Challenge 1 Update challenge_1.md Update challenge_1.md Create challenge_2.md --- CONTRIBUTING.md | 15 ++++++++++ Challenges/challenge_1.md | 12 ++++++++ Challenges/challenge_2.md | 11 ++++++++ README.md | 58 ++++++++++++++++++++++++++++++++++++++- 4 files changed, 95 insertions(+), 1 deletion(-) create mode 100644 CONTRIBUTING.md create mode 100644 Challenges/challenge_1.md create mode 100644 Challenges/challenge_2.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 000000000..5ed6b25df --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,15 @@ +## Contributing Guidelines + +Thank you for considering contributing to the repository. This guide details all the general information that one should know before contributing to the project. +Please stick as close as possible to the guidelines. That way we ensure that you have a smooth experience contributing to this project. + +### General Rules : +These are in general rules that you should be following while contributing to an Open Source project : + +- Be Nice, Be Respectful (BNBR) +- Check if the Issue you created, exists or not. +- While creating a new issue make sure you describe the issue clearly. +- Make proper commit messages and document your PR well. +- Always add Comments in your Code and explain it at points, if possible add Doctest. +- Always create a Pull Request from a Branch; Never from the Main. +- Follow proper code conventions because writing clean code is important. diff --git a/Challenges/challenge_1.md b/Challenges/challenge_1.md new file mode 100644 index 000000000..ca104e9bf --- /dev/null +++ b/Challenges/challenge_1.md @@ -0,0 +1,12 @@ +## Welcome to Challenge 1 + +Welcome to the first challenge! +We will start off with an easy task. + +Task: +Create a [new issue](https://github.com/scaleracademy/scaler-september-open-source-challenge/issues/new) on this repository with the following details to be added to the content of the issue: + +``` +name: Add your name here +github_user_name: add your github username here +``` diff --git a/Challenges/challenge_2.md b/Challenges/challenge_2.md new file mode 100644 index 000000000..ebf050b64 --- /dev/null +++ b/Challenges/challenge_2.md @@ -0,0 +1,11 @@ +## Welcome to Challenge 2 + +Welcome to the second challenge! +Today we will focus on how to fork and create a clone of a Github repository + +Task: +1. Create a fork of this repository +2. Clone the forked project locally in your system using the ``git clone`` command +3. Add a new comment to the issue you created in the [first task](https://github.com/scaleracademy/scaler-september-open-source-challenge/blob/main/Challenges/challenge_1.md). The comment should have the following: +- URL of your forked repository +- A screenshot of the cloned project in your system diff --git a/README.md b/README.md index f61ab9b42..6c03e71e7 100644 --- a/README.md +++ b/README.md @@ -1 +1,57 @@ -# scaler-september-open-source-challenge \ No newline at end of file +# Scaler September Open Source Challenge + + +

+ +

+
+ +## What is the Scaler September Open Source Challenge? +Link for [Notion page](https://scalerdiscord.notion.site/scalerdiscord/Open-Source-September-Scaler-Discord-Community-f9306c7dc15a464ba1b6ea7ee30cdf0d). + +Every day throughout September, for those who have enrolled, we will share one task.  +Participants will need to use their knowledge of Git and Github for each task, and the difficulty level of the tasks will rise daily. + +The primary objective? To help the community become better at contributing to open source and building projects. + +## Learning Outcomes +1. Learn how to contribute to open source projects. Learn the basics of creating issues, pull requests, Git and Github +2. Celebrate with new rewards every time you reach a milestone! + +## How to participate? + +### Step 1 + +Accept the challenge by filling out this form: [https://bit.ly/opensourcesepbyscaler](https://bit.ly/opensourcesepbyscaler) + +### Step 2 + +If you haven't already, create an account on Github, and brush up on your skills in Git and Github. + +### Step 3 + +Head to the official [Scaler Open Source challenge repository](https://github.com/scaleracademy/scaler-september-open-source-challenge/). Star it. + +Keep track of the README, as a new task will be added every day. + +Please go through the task for that day and solve it. + +### Step 4 + +Don't forget to share your progress within the community if you want those rewards! + +## Prizes +Consistency is what we're after. As a result, we have several levels or awards based on how consistently you complete the assignments. +You won't be qualified for the remaining tasks of the challenge if you are unable to complete and submit a task on any given day. + +Here is the reward [tier list](https://scalerdiscord.notion.site/3eabe9a1900c4b8685ae55acb5c33cbe?v=001e8d4c287f4d96bae935c5d45de521). + +## Contact Us +For all communications and queries, you can join our [Discord Server](https://discord.com/invite/scaler). + +## Resources +1. Launch Video for the September Challenge: [Guide to Github and the Open Source Challenge](https://youtu.be/70nx_YxE56Q) +2. Git Tutorial: [Full Git Tutorial](https://www.youtube.com/watch?v=ZtfZGVQWjew) +3. Find good first issues to contribute to: [Good First issues](https://goodfirstissue.dev/) +4. Getting started with Github: [All you need to know about Github](https://www.youtube.com/watch?v=8WYXWs96xxc) +5. How to contribute to Open Source: [Open Source contribution guide](https://www.youtube.com/watch?v=ABty2r3nDyU) From 76ea0784c7543eb7bf99561acbc24abdac54bd20 Mon Sep 17 00:00:00 2001 From: shahnok007 <91981968+shahnok007@users.noreply.github.com> Date: Thu, 8 Sep 2022 01:48:05 +0530 Subject: [PATCH 5/9] update shahnok007.md --- contributors/shahnok007/shahnok007.md | 1 - 1 file changed, 1 deletion(-) diff --git a/contributors/shahnok007/shahnok007.md b/contributors/shahnok007/shahnok007.md index 5448aea14..1a3584f55 100644 --- a/contributors/shahnok007/shahnok007.md +++ b/contributors/shahnok007/shahnok007.md @@ -2,5 +2,4 @@ name: SHAHNAWAZ KHAN github_user_name: shahnok007 url_of_github_issue: https://github.com/scaleracademy/scaler-september-open-source-challenge/issues/16 - --- From c62b555b720284786b8e6a91c765fc56a28692bd Mon Sep 17 00:00:00 2001 From: shahnok007 <91981968+shahnok007@users.noreply.github.com> Date: Thu, 8 Sep 2022 15:38:19 +0530 Subject: [PATCH 6/9] Create shahnok007-2.md --- contributors/shahnok007-2.md | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 contributors/shahnok007-2.md diff --git a/contributors/shahnok007-2.md b/contributors/shahnok007-2.md new file mode 100644 index 000000000..56e35e3d2 --- /dev/null +++ b/contributors/shahnok007-2.md @@ -0,0 +1,2 @@ +#challenge 8 completed +#upadate in shahnok007-details From e65769e2ae009b95d582913d514d7dde11d2fc62 Mon Sep 17 00:00:00 2001 From: shahnok007 <91981968+shahnok007@users.noreply.github.com> Date: Thu, 8 Sep 2022 15:40:22 +0530 Subject: [PATCH 7/9] Update shahnok007-2.md --- contributors/shahnok007-2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contributors/shahnok007-2.md b/contributors/shahnok007-2.md index 56e35e3d2..ad43ca022 100644 --- a/contributors/shahnok007-2.md +++ b/contributors/shahnok007-2.md @@ -1,2 +1,2 @@ #challenge 8 completed -#upadate in shahnok007-details +#update in shahnok007-details From e2a21e213030ab173df796233a1b5f1db7d406b4 Mon Sep 17 00:00:00 2001 From: Shivay Lamba Date: Thu, 8 Sep 2022 11:53:19 +0530 Subject: [PATCH 8/9] create shahnok007-2.md --- Challenges/challenge_8.md | 11 +++++++++++ contributors/shahnok007-2.md | 2 ++ 2 files changed, 13 insertions(+) create mode 100644 Challenges/challenge_8.md create mode 100644 contributors/shahnok007-2.md diff --git a/Challenges/challenge_8.md b/Challenges/challenge_8.md new file mode 100644 index 000000000..a143bd663 --- /dev/null +++ b/Challenges/challenge_8.md @@ -0,0 +1,11 @@ +## Welcome to Challenge 8 + +Welcome to the 8th challenge! + +Today's challenge is simple. But along side the task, please give the [following article](https://www.atlassian.com/git/tutorials/undoing-changes/git-reset) a read, as this will be used in Challenge 9. + + +Task: +1. Inside the branch you created during the prior challenges in your forked repository, make a new file by the name of ``your-github-username-2.md`` and add any details you may want to add to this markwdown file and push the change + +2. Ensure the change appears in the Pull request created in previous challenges diff --git a/contributors/shahnok007-2.md b/contributors/shahnok007-2.md new file mode 100644 index 000000000..ad43ca022 --- /dev/null +++ b/contributors/shahnok007-2.md @@ -0,0 +1,2 @@ +#challenge 8 completed +#update in shahnok007-details From 578ebb9e3288e4e808b30db35196fd4fc95a9368 Mon Sep 17 00:00:00 2001 From: shahnok007 Date: Sun, 11 Sep 2022 01:50:23 +0530 Subject: [PATCH 9/9] signing the commits Signed-off-by: shahnok007 --- Challenges/challenge_10.md | 22 ++++++++++++++++++++++ Challenges/challenge_9.md | 19 +++++++++++++++++++ bb | 0 contributors/shahnok007/shahnok007-2.md | 2 ++ shahnok007.md | 4 ++++ 5 files changed, 47 insertions(+) create mode 100644 Challenges/challenge_10.md create mode 100644 Challenges/challenge_9.md create mode 100644 bb create mode 100644 contributors/shahnok007/shahnok007-2.md create mode 100644 shahnok007.md diff --git a/Challenges/challenge_10.md b/Challenges/challenge_10.md new file mode 100644 index 000000000..bbe1a7709 --- /dev/null +++ b/Challenges/challenge_10.md @@ -0,0 +1,22 @@ +## Welcome to Challenge 10 + +Welcome to the 10th challenge! + +Today's challenge is based on the concept of signing your commits. Signing the commits is a way of showing that only authentic commits are being made. + +A lot of open source projects have DCO which stands for [Developer Certification of Origin](https://github.com/apps/dco) including this repository itself and it tries to verify that each commit is signed or not. In case your commit is not signed it will reflect in the pull request that it doesn't pass the DCO test. + +You can read more about how to sign commits [here](https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits) + +Task: +1. Setup the ability to sign commits locally in your systems +2. Whenever committing in the future always try to use signed commits +3. Make a new signed commit to the pull request that you have made in previous challenges by making this change to the ``yourusername.md`` file: +``` +--- +name: your_name +github_user_name: YOUR-GITHUB-USERNAME +url_of_github_issue: Link_of_the_github_issue_created_in_first_challenge +your_favroite_programming_language: Add your favorite programming language here +--- +``` diff --git a/Challenges/challenge_9.md b/Challenges/challenge_9.md new file mode 100644 index 000000000..895473b94 --- /dev/null +++ b/Challenges/challenge_9.md @@ -0,0 +1,19 @@ +## Welcome to Challenge 9 + +Welcome to the ninth challenge! + +Today's task is a continuation of yesterday's task [Task 8](https://github.com/scaleracademy/scaler-september-open-source-challenge/blob/main/Challenges/challenge_8.md?plain=1). + +Yesterday the task was to create an additional commit in your branch. And today's focus will be to remove that commit that has been pushed from the pull request created in previous challenges. The main purpose of this is because there can be times when you might push an unncessary or wrong commit and you way want to remove it from your pull request. + +This can be done by using the following command: ``git reset`` + +Here is an article you can refer to for understanding how git reset works: https://www.atlassian.com/git/tutorials/undoing-changes/git-reset#:~:text=a%20shared%20repository.-,Summary,Index%2C%20and%20the%20Working%20Directory. + +So the task is to identity the commit id of the commit you want to remove, use the git reset command, and remove the commit from the pull request by force pushing into it. + + +Task: +1. Identify the commit id that needs to be removed (you should have created this in the 8th Challenge) +2. Use git reset and force push, to remove the commit from your pull request. +3. Share a screenshot of this, in the issue you created in previous challenges. diff --git a/bb b/bb new file mode 100644 index 000000000..e69de29bb diff --git a/contributors/shahnok007/shahnok007-2.md b/contributors/shahnok007/shahnok007-2.md new file mode 100644 index 000000000..ad43ca022 --- /dev/null +++ b/contributors/shahnok007/shahnok007-2.md @@ -0,0 +1,2 @@ +#challenge 8 completed +#update in shahnok007-details diff --git a/shahnok007.md b/shahnok007.md new file mode 100644 index 000000000..7ddf0a775 --- /dev/null +++ b/shahnok007.md @@ -0,0 +1,4 @@ +name: SHAHNAWAZ KHAN +github_user_name: shahnok007 +url_of_github_issue: https://github.com/scaleracademy/scaler-september-open-source-challenge/issues/16 +your_favroite_programming_language: C++