Skip to content

Update guidelines.md #45

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open

Conversation

yemisi-o
Copy link
Contributor

@yemisi-o yemisi-o commented Nov 9, 2019

Updates the guidelines with branch naming conventions and additional details for creating pull requests

Closes #36

Modified the default admin credentials to match what is stated in the
Readme
Modified the default login credentials for new admin to correspond with
what is stated in the Readme
Added branch naming convention and updated pull request guidelines
* Pull Requests (PRs) must have clear title and description
* PR description should include a reference to the issue number
* Every team member should be added as a reviewer to any PR created
* No push/changes should be made directly to develop or master branch without going through a review process
* Everyone on the team is responsible for reviewing code and ensuring quality code standard
* Review process starts when the feature developer creates a merge request to the develop branch.
Copy link
Collaborator

@mazma1 mazma1 Nov 11, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't get this part. Does creating a "merge request" mean the same thing as a PR?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, they mean the same thing in this case

@@ -9,7 +9,7 @@

exports.create = {
User: [
{ 'name.first': 'Admin', 'name.last': 'User', 'email': 'omisi2018@gmail.com', 'password': 'admin', 'isAdmin': true },
{ 'name.first': 'Admin', 'name.last': 'User', 'email': 'adminuser@shecodeafrica.com', 'password': 'anadmin', 'isAdmin': true },
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a way to abstract these admin details without breaking the app? I don't think its best having them exposed

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will look into this. The details are dummy data but if we can abstract it, that will be better

* Changes made should be properly tested before a PR is created
* Pull Requests (PRs) must have clear title and description
* PR description should include a reference to the issue number
* Every team member should be added as a reviewer to any PR created
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One thing I think will encourage peer review is to have a staging environment ASAP so each PR gets a review app. That way, I don't necessarily have to pull code changes just to see how stuff works.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I agree. It will save us all the time of having to pull code changes and I will update the guidelines once we have that set up

@mazma1
Copy link
Collaborator

mazma1 commented Nov 11, 2019

Overall, well detailed guidelines. I guess we'll get a pass for current open PRS 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update guidelines.md
2 participants