Skip to content
This repository was archived by the owner on Aug 30, 2023. It is now read-only.

Commit 1d91987

Browse files
shivaylambaRishav986
authored andcommitted
Merged all commits again
Update details Update README.md Make final update to ReadME Create CONTRIBUTING.md Add Challenge 1 Update challenge_1.md Update challenge_1.md Create challenge_2.md Create challenge_3.md challenge 4 Merged all commits Signed-off-by: Rishav986 <starsiwach132003@gmail.com> Signed-off-by: Rishav986 <starsiwach132003@gmail.com> Signed-off-by: Rishav986 <starsiwach132003@gmail.com> Squashed Challenge7 Signed-off-by: Rishav986 <starsiwach132003@gmail.com> Create challenge_8.md Signed-off-by: Rishav986 <starsiwach132003@gmail.com> Signed-off-by: Rishav986 <starsiwach132003@gmail.com> Create Rishav986-2.md Signed-off-by: Rishav986 <starsiwach132003@gmail.com> Revert "Create Rishav986-2.md" Signed-off-by: Rishav986 <starsiwach132003@gmail.com> Update Rishav986.md Signed-off-by: Rishav986 <starsiwach132003@gmail.com> Create challenge_11.md Signed-off-by: Rishav986 <starsiwach132003@gmail.com> Create challenge_12.md Signed-off-by: Rishav986 <starsiwach132003@gmail.com> Update challenge_12.md Signed-off-by: Rishav986 <starsiwach132003@gmail.com> Create challenge_13.md Signed-off-by: Rishav986 <starsiwach132003@gmail.com> Update challenge_13.md Signed-off-by: Rishav986 <starsiwach132003@gmail.com> Create challenge_14.md Signed-off-by: Rishav986 <starsiwach132003@gmail.com> Challenge15 Signed-off-by: Rishav986 <starsiwach132003@gmail.com> small update Signed-off-by: Rishav986 <starsiwach132003@gmail.com> Challenge 15 - Added my name in challengers list. Signed-off-by: Rishav986 <starsiwach132003@gmail.com>
0 parents  commit 1d91987

20 files changed

+297
-0
lines changed

CONTRIBUTING.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
## Contributing Guidelines
2+
3+
Thank you for considering contributing to the repository. This guide details all the general information that one should know before contributing to the project.
4+
Please stick as close as possible to the guidelines. That way we ensure that you have a smooth experience contributing to this project.
5+
6+
### General Rules :
7+
These are in general rules that you should be following while contributing to an Open Source project :
8+
9+
- Be Nice, Be Respectful (BNBR)
10+
- Check if the Issue you created, exists or not.
11+
- While creating a new issue make sure you describe the issue clearly.
12+
- Make proper commit messages and document your PR well.
13+
- Always add Comments in your Code and explain it at points, if possible add Doctest.
14+
- Always create a Pull Request from a Branch; Never from the Main.
15+
- Follow proper code conventions because writing clean code is important.

Challenges/challenge_1.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
## Welcome to Challenge 1
2+
3+
Welcome to the first challenge!
4+
We will start off with an easy task.
5+
6+
Task:
7+
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:
8+
9+
```
10+
name: Add your name here
11+
github_user_name: add your github username here
12+
```

Challenges/challenge_10.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
## Welcome to Challenge 10
2+
3+
Welcome to the 10th challenge!
4+
5+
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.
6+
7+
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.
8+
9+
You can read more about how to sign commits [here](https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits)
10+
11+
Task:
12+
1. Setup the ability to sign commits locally in your systems
13+
2. Whenever committing in the future always try to use signed commits
14+
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:
15+
```
16+
---
17+
name: your_name
18+
github_user_name: YOUR-GITHUB-USERNAME
19+
url_of_github_issue: Link_of_the_github_issue_created_in_first_challenge
20+
your_favroite_programming_language: Add your favorite programming language here
21+
---
22+
```

Challenges/challenge_11.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
## Welcome to Challenge 11
2+
3+
Welcome to the 11th challenge!
4+
5+
Today's challenge is simple.
6+
7+
Task:
8+
1. Create another branch from your current branch created in previous challenges (Don't create a new branch from main).
9+
2. Share screenshot of this new branch in the issue created in previous challenge

Challenges/challenge_12.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
## Welcome to Challenge 12
2+
3+
Welcome to the 12th Challenge
4+
5+
Today's challenge is a re-practice of the 7th Challenge (https://github.com/scaleracademy/scaler-september-open-source-challenge/blob/main/Challenges/challenge_7.md?plain=1)
6+
7+
So focus for this challenge will be to practice the ``git rebase`` command. We still see a number of Pull requests that have a lot more commits than there should be, therefore we give you a chance to correct it again.
8+
9+
Ensure to practice the ``git rebase`` command by creating your own local git repository. You can checkout this guide: https://www.freecodecamp.org/news/git-squash-explained/
10+
11+
Task:
12+
1. Practice git rebase, and how to squash commit using git rebase in your local projects
13+
2. Once done, try to squash the commits in your pull request in the Challenge repository
14+
3. We also see a lot of challengers are not signing their commits. Refer to Challenge 10: https://github.com/scaleracademy/scaler-september-open-source-challenge/blob/main/Challenges/challenge_10.md and ensure to sign your commits.

Challenges/challenge_13.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
## Welcome to Challenge 13
2+
3+
Welcome to the 13th Challenge
4+
5+
Today's challenge involves how to use ``git stash`` command effectively. You can refer on how to stash your commits [here](https://git-scm.com/book/en/v2/Git-Tools-Stashing-and-Cleaning)
6+
7+
Task:
8+
1. Inside the branch you created in the previous challenge ``your-username-details`` create a new file inside the ``contributors/<YOUR-GITHUB_USERNAME>/`` directory.
9+
2. Use the git stash command to move these changes to the stash area
10+
3. Delete the content from the stash area and share a screenshot of this inside the Github issue you created in the first challenge

Challenges/challenge_14.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
## Welcome to Challenge 14
2+
3+
Welcome to the 14th Challenge
4+
5+
Today is the first part of the two challenges related to resolving merge conflicts. You can take a look at [this article](https://www.atlassian.com/git/tutorials/using-branches/merge-conflicts) to learn more about merge conflicts.
6+
7+
As part of the challenge, try to create a scenario of a merge conflict locally in your system for a project that you can create.
8+
9+
Task:
10+
1. Follow the article shared above and try to reproduce a case of merge conflict in your system for a project and try to resolve it
11+
2. Share appropriate screenshot in the issue created in the first challenge.

Challenges/challenge_15.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
## Welcome to Challenge 15
2+
3+
Welcome to the 15th Challenge
4+
5+
In this 2 part challenge, we will try to emulate and fix merge conflicts via git.
6+
7+
Today is the first part of this challenge:
8+
9+
Task:
10+
1. Update your Forked Repo From the Original Repo. Also ensure that your branch ``your-user-name-details`` is also synced with the latest changes from the original repository
11+
12+
2. In your branch ``your-user-name-details`` open the add your name to the list of challengers inside the ``challengers-list.md`` file by following the format in the file.
13+
14+
3. Push your change to reflect in the Pull Request created in previous challenges
15+

Challenges/challenge_2.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
## Welcome to Challenge 2
2+
3+
Welcome to the second challenge!
4+
Today we will focus on how to fork and create a clone of a Github repository
5+
6+
Task:
7+
1. Create a fork of this repository
8+
2. Clone the forked project locally in your system using the ``git clone`` command
9+
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:
10+
- URL of your forked repository
11+
- A screenshot of the cloned project in your system

Challenges/challenge_3.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
## Welcome to Challenge 3
2+
3+
Welcome to the third challenge!
4+
Today we will focus on how to create a new branch in a git repository
5+
6+
Task:
7+
1. Following up on the [previous task](https://github.com/scaleracademy/scaler-september-open-source-challenge/blob/main/Challenges/challenge_2.md), create a new branch locally in your forked clone repository
8+
2. The branch name should be as follows: ``your_github_username-details``. Example: ``shivaylamba-details``
9+
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:
10+
- Screenshot showing the list of all the current branches inside of your forked clone repository

0 commit comments

Comments
 (0)