Skip to content
This repository was archived by the owner on Jul 6, 2020. It is now read-only.

Commit fd0a189

Browse files
committed
removed_unnecessary_files
1 parent 028b20b commit fd0a189

File tree

2 files changed

+17
-36
lines changed

2 files changed

+17
-36
lines changed

.github/CONTRIBUTING.md

Lines changed: 17 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -45,51 +45,28 @@ git checkout -b your-branch-name
4545
2. Commit and push code to your branch:
4646

4747
- Commits should be self-contained and contain a descriptive commit message.
48-
48+
4949
- Please make sure your code is well-formatted and adheres to PEP8 conventions (for Python) and the airbnb style guide (for JavaScript). For others (Lua, prototxt etc.) please ensure that the code is well-formatted and the style consistent.
50-
50+
5151
- Please ensure that your code is well tested.
52-
52+
5353
- If you have to check for any linting issues, run the following command before creating the pull request:
5454
```ng lint```
55-
5655
- For running the testcases locally use ```ng test``` command.
5756

5857
- Also, For Pretifying the Frontend Code Use ```HTML/JS/CSS Pretifier```.
5958

6059
- For installing the Sublime Package Control Manager in Sublime-Text Editor use [this](https://packagecontrol.io/installation#st2) link. Also, If Sublime Package Control Manager is installed then install ```HTML/JS/CSS Pretifier```.
61-
6260
3. Once the code is pushed, create a pull request:
63-
6461
- On your GitHub fork, select your branch and click “New pull request”. Select “master” as the base branch and your branch in the “compare” dropdown.
6562
If the code is mergeable (you get a message saying “Able to merge”), go ahead and create the pull request.
6663

6764
- Check back after some time to see if the Travis checks have passed, if not you should click on “Details” link on your PR thread at the right of “The Travis CI build failed”, which will take you to the dashboard for your PR. You will see what failed / stalled, and will need to resolve them.
6865

6966
- If your checks have passed, your PR will be assigned a reviewer who will review your code and provide comments. Please address each review comment by pushing new commits to the same branch (the PR will automatically update, so you don’t need to submit a new one). Once you are done, comment below each review comment marking it as “Done”. Feel free to use the thread to have a discussion about comments that you don’t understand completely or don’t agree with.
67+
- Once all comments are addressed, the reviewer will give an LGTM (‘looks good to me’) and merge the PR.
7068

71-
- Once all comments are addressed, the maintainer will approve the PR.
72-
73-
4. Once you get reviewed by a mentor and done with all the required changes, squash all the commits:
74-
75-
```
76-
git checkout <branch_name>
77-
git rebase -i HEAD~N (N is the number of commits to be squashed)
78-
```
79-
80-
Then a screen will appear with all N commits having "pick" written in front of every commit.Change pick to s for the last N-1 commits and let it be pick for the first one.
81-
82-
Press esc button and type ":wq" to save the change and close the screen. Now a new screen will appear asking you to change commit message. Change it accordingly and save it.
83-
84-
```
85-
git push origin <branch_name> --force
86-
```
87-
88-
For further query regarding rebasing, visit https://github.com/todotxt/todo.txt-android/wiki/Squash-All-Commits-Related-to-a-Single-Issue-into-a-Single-Commit
89-
90-
Once rebasing is done, the reviewer will approve and merge the PR.
91-
92-
5. Rules for great commit messages:
69+
4. Rules for great commit messages:
9370

9471
- Write your commit message in the imperative: "Fix bug" and not "Fixed bug" or "Fixes bug."
9572

@@ -105,21 +82,26 @@ Once rebasing is done, the reviewer will approve and merge the PR.
10582

10683
- Describe why a change is being made.
10784

108-
6. Commit message is important as it should answers/should do the following:
85+
5. Commit message is important as it should answers/should do the following:
10986

11087
- How does it address the issue?
11188

11289
- What effects does the patch have?
11390

114-
- Hints at improved code structure
91+
- hints at improved code structure.
11592

116-
- Provide concise explaination to the user about limitations of the current code, like a bug or an issue
117-
118-
7. Examples of a great commit message:
93+
- Describe limitations of the current code.
94+
95+
- The reader should properly understand why the necessary changes were made.
96+
97+
- Commit messages are crucial as they are a concise explanation of what upgrades have been made.
98+
99+
6. Examples of great commit messages:
119100

120101
- Add CPU arch filter scheduler support
121-
122-
- Fix submission worker crash issue
102+
103+
- Fix crash issue
123104

124105
- Change design template
106+
125107
***Congratulations, you have successfully contributed to Project EvalAI!***

src/app/components/challenge/challengesettings/challengesettings.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ export class ChallengesettingsComponent implements OnInit {
137137
}
138138
}
139139

140-
141140
validateEmail(email) {
142141
if (email === '') {
143142
return true;

0 commit comments

Comments
 (0)