Our community has grown tremendously, and our students and instructors do a lot to adapt materials, correct bugs, and enhance this curriculum as they prepare for the classroom. For this reason, if you have the time, we ask that you contribute your work back to the master repository and use the documentation below as a guide.
Included in this file is information about:
- iOS-precourse-onboarding GitHub Community
- Contributing Guidelines for Issues or Pull Requests
- Using Labels Appropriately
- Contributor Expectations
Note: A lot of the language in this Readme has been taken and adapted from GitHub's guidelines about contributing to open-source projects.
We've broken down the community as follows:
-
Maintainers (write access to the repository): Instructional Designers & Product Managers
-
Contributors (everyone who can open and have a pull request merged into a project): Instructors, Subject Matter Experts
-
Community Members (users who often use and care deeply about the project and are active in discussions for future updates): GA Producers & Regional Directors'
Contributing back should take the form of issues or pull requests depending on the nature of the contribution. Contributions via GitHub pull requests and issues should only be created for curriculum or WDI fundamentals. Production-related feedback or questions should be submitted via GA's helpdesk.
If you find a bug in a lesson, lab, or Readme file (and you don’t know how to fix it) if have higher-level questions about the scope or sequence of a unit or lesson, or have a general question about the curriculum, create an issue!
Here are a few tips when creating an issue:
-
Check existing issues for your issue. Duplicating an issue is slower for both parties so search through open and closed issues to see if what you’re running into has been addressed already.
-
Be clear about your feedback or question by using a label and thorough details in your issue description: what lesson were you using? what should have happened that didn't happen? how would you change a week? etc.
-
Include error messages, logs, or screenshots
-
Paste error output or logs in your issue or in a Gist. If pasting them in the issue, wrap it in three backticks so that it renders nicely.
If you’re able to patch the bug, create a new lesson/lab, or correct some syntax/spelling yourself – fantastic! Make a pull request with your changes! Be sure you’ve read our styleguide and follow accordingly as it will speed up the merging process. Once you’ve submitted a pull request, the owners and maintainers will carefully review your code/suggestions to determine whether or not more action is needed or the request should be merged or closed.
Here are a few tips when creating a pull request:
-
All pull requests should be submitted from a feature branch on your local fork, straight to generalassembly-studio/adi-course-materials/master.
-
Before submitting a pull request, please make sure your local feature branch is up to date with generalassembly-studio/adi-course-materials/master:
$ git remote add upstream [email protected]:generalassembly-studio/adi-course-materials
$ git fetch --all
$ git checkout -b my-feature-branch upstream/master
-
Contribute in the style of this repository to the best of your abilities. This may mean using indents, semi colons or comments differently than you would in your own repository, but makes it easier for the maintainer to merge, others to understand and maintain in the future. Again, look at our styleguide for more information.
-
If you're submitting a new lesson, lab, or homework resource, create a feature branch for each individual resource. Lesson branch naming should follow the same naming style and convention we use for folders. For example:
$ git checkout master
On branch master
nothing to commit, working directory clean
$ git checkout -b intro-to-relational-data-modeling
Switched to a new branch intro-to-relational-data-modeling
- If a lesson/lab/homework both have the exact same name, just denote which with
-lesson
or-lab
.
$ git checkout -b layouts-partials-and-views-lesson
... or ...
$ git checkout -b layouts-partials-and-views-lab
- Again, if submitting a new lesson or lab resource, please make sure the resources are in the standard lesson and lab templates.
Once you’ve opened a pull request, a discussion may start around your proposed changes. Other contributors and users may chime in, but ultimately the decision is made by the maintainer(s) and the owner. You may be asked to make some changes to your pull request, if so, add more commits to your branch and push them – they’ll automatically go into the existing pull request.
If your pull request is merged – great! If it is not, no sweat, it may not be what the project maintainer had in mind, or they were already working on it.
As discussed, please use labels to make it easier for owners and maintainers to work through and address issues and merge pull requests. Take a look at the labels and label use cases below:
-
Bug Fix: Used by contributors for either pull requests that contain solutions or issues reporting a bug
-
Discussion/Question: Used by maintainers, owners, or contributors on issues for higher-level discussions or questions about the curriculum
-
Duplicate: Used by maintainers or owners to classify duplicate issues or pull requests
-
Enhancement/Suggestion: Used by contributors to suggest changes in an issue or enhance a lesson/lab for various reasons
-
Help Wanted: Used by maintainers, owners, or contributors to invite others to collaborate; this will be used in conjunction with assignment
-
Needs Review: Used by maintainers or owners to call for technical support or a second set of eyes
-
Needs Revision: Used by maintainers or owners to notify contributors that more work is needed before a merge
-
New Resource: Used by contributors to submit a new lesson, lab, or homework
Given the bandwidth of the owners and maintainers, issues and pull requests will be addressed about once a week, by a group of owners and maintainers, going forward. The outcome of the issue or pull request is likely to fall into one of three buckets:
-
Merged / Addressed - The feedback, solution, new resource, or bug fix is merged in or addressed immediately. Bug fixes will take priority and, as long as merge conflicts are not an issue, will be merged, immediately.
-
Prioritized for Product Sprint - If the feedback or pull request cannot be addressed in the time dedicated each week, but the owners and maintainers acknowledge the immediate impact, the pull request or issue will be brought to the next sprint planning meeting (these occur every two weeks) and appropriate time will be budgeted to address and work through the issue or pull request.
-
Logged into the feedback log - If the feedback or pull request cannot be addressed in the time dedicated each week, and the owners and maintainers do not see the immediate value in prioritizing this feedback, it will be closed and logged into the product feedback log to be used for future iterations and releases of the curriculum.
Expect all your issues or pull requests to be commented on by an owner or maintainer. If after a week, a dialogue does not ensue and further detail or action is needed, the issue or pull request may be closed.