Skip to content

Latest commit

 

History

History
119 lines (60 loc) · 6.34 KB

github-contribution-guideline.md

File metadata and controls

119 lines (60 loc) · 6.34 KB

Contribution Guide using Github

This guide describes the process and the conventions for contributing an article using the tools provided by GitHub.

Prerequisites

  1. Get a Github Account if you not yet have one

  2. (optional) Registered as a public member of the "Zühlke Github Community" (see advanced contribution topics)

Announce

  1. Check for Duplicates: Is there already an article about your topic?

    • Please check our Backlog of Articles whether there is already an article existing or planned for similar topic.

    • If there is already a similar article, you can contact the author and find a solution (leave the subject to the author, offer your help as reviewer or co-author, take the subject over, or write a second article in response or extension to the first article, ...).

  2. Announce a Topic:

Discuss

It proved to be useful to discuss about an articles content before writing the article. Ask your colleagues, maybe they have some valuable input!

  • Use the Issues on Github: discuss directly in the issue you created - and don't miss to give feedback to other announced articles.

  • Use Yammer, a coffee break, a team event or similar

Write

Content Conventions:

  • short enough to be read in 10 minutes: size should be less than 2 A4 pages long in printout PDF version (that is between 400 and 750 words)

  • reflects on a single subject only (better make several articles, if you have too much material / ideas to write about)

  • matches our Vision: it is about practicaly proven concepts, best practices, cultural philosophies or great ideas that we use in our daily work at Zühlke.

  • the subject is related to our work and the advice concrete enough to consider.

  • the subject is something you have experience on in some real projects and not just theoretical ideas

Structural Conventions:

Language Conventions:

Work directly with GitHub:

We are using this Git repository, so contributing an article is as easy as contributing source code in any project. Every article is written in your personal fork of the repository as a simple markdown (*.md) file and reviewed and published by using Pull Requests.

If this sounds complicated to you, just carefully follow these very easy steps to create a new article directly on the github web page:

  1. Use this link to fork the Zuehlke/fifty-shades repository.

  2. Navigate to the articles folder in your forked repository. The URL looks something like: https://github.com/{username}/fifty-shades/tree/develop/articles

  3. Enter a unique name for your article file followed by the *.md file extension. Example: my-funny-article.md (can be changed later)

  4. Copy the content of Article Example as template to start with into the file

  5. Adjust authorName and authorGithubUsername at the top of the file

  6. Commit the new file

Congratulations, you have created the article file in your repository! You can now continue to work on your article incrementally directly in GitHub. If you prefer your own text editor: feel free to use your own "clone-edit-commit-push"- workflow with your local git client.

Please apply the following formal rules:

  • Use GitHub Flavored Markdown Syntax in the markdown file.

  • It is good practice to prefix your commit message with the issue number of your article. Example: #15 add article to Table of Content.

Please note that we are using a public repository - everything you commit can be read by everyone.

Peer Review

To get your article reviewed you have can simply send the URL of your forked repository to a reviewer.

If you'd like to use the review features of Github you can open a pull request and send it to a peer as follows:

  1. Open a pull request with your article to get it reviewed.

    Look out for the "New Pull Request" button. The base fork is "Zuehlke/fifty-shades" and the head fork is "{you}/fifty-shades".

    Use the issue number of your article prefixed with #in the pull request title

  2. Find some colleagues (at least one!) that will review your article. Send her/him a mail with the URL to the pull request.

  3. As a reviewer you can use GitHubs Review Feature to give feedback

  4. As an author, after receiving feedback, you modify your content (or ignore the feedback) and commit the modified version into your fork. The Pull Request will automatically be updated. And don't forget to thank your reviewer!

Lead Author Review

When the article is ready to be published, ask a lead author for a review.

  1. If you do not already have a pull request, create a pull request with your article to get it reviewed

    Look out for the "New Pull Request" button. The base fork is "Zuehlke/fifty-shades" and the head fork is "{you}/fifty-shades".

    Use the issue number of your article prefixed with #in the pull request title

  2. Ask a Lead Authors for final review and publication using email or leave a comment in the pull request saying "ready for lead author review".

  3. The assigned lead author will finally merge your pull request, when all the review comments are resolved. He will also close the issue.

  4. Once published, you can still correct or improve it, by doing new pull requests from your fork of the repository.