Giter VIP home page Giter VIP logo

sportchef's Introduction

SportChef

Sports Competition Management Software with a modern and fast architecture. Java based backend with a RESTful JSON API and a HTML 5 client.

Copyright (C) 2015 Marcus Fihlon

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

How to contribute to SportChef

Source code management

GIT Workflow Rules

  1. Fork the repository only, if you want to contribute. If read only access is enough for you, simply clone this repository directly or download the ZIP file.
  2. Don’t modify the master branch directly. Touch the master branch only when merging in a feature branch.
  3. Use feature branches for every kind of modifications, including fixes. Name the branch with the issue number and the title, prefixed with the type of your contribution (e.g. "enhancement") as a directory. If there is no issue for your change, create one.
  4. When you commit your work, always mention the issue number in the commit message.
  5. When you merge the feature branch into the master branch, don’t use fast forward (-no-ff)!
  6. After merging, tag the master branch for archiving. Use the same name for the tag as for the feature branch, prefixed by “archive/“.
  7. If it is no longer in use, delete the feature branch.
  8. When you push the master branch from your clone to your fork, push the archiving tag, too!
  9. To get your changes integrated into this repository, create a pull request on GitHub

Example of the GIT Workflow

  1. If not already done, fork the SportChef repository using GitHub and clone your fork locally:
    git clone https://github.com/[YourUsername]/sportchef
  2. Create the feature branch:
    git checkout -b enhancement/42-update-dropwizard
  3. Make your changes and commits:
    git add build.gradle
    git commit -m ‘#42 Updated DropWizard to 0.7.1’
  4. Keep the feature branch up-to-date:
    git rebase master
  5. Merge the feature branch to the master branch:
    git checkout master
    git merge --no-ff enhancement/42-update-dropwizard
  6. Tag the master branch for archiving:
    git tag archive/enhancement/42-update-dropwizard
  7. Delete the feature branch:
    git branch -d enhancement/42-update-dropwizard
  8. Push changes to your own fork:
    git push origin master
    git push origin archive/enhancement/42-update-dropwizard
  9. Create a pull request using GitHub.

Keep your fork in sync

If you fork this repository, GitHub will not keep your fork in sync with this repository. You have to do it on your own.

  1. If not already done, add this repository as an upstream to your repository:
    git remote add upstream https://github.com/McPringle/sportchef.git
  2. Verify that this repository was added successfully:
    git remote -v
  3. Fetch branches and commits from this repository to your local branch upstream/master:
    git fetch upstream
  4. If you are not on your local master branch, check it out:
    git checkout master
  5. Merge the changes from this repository into your repository:
    git merge upstream/master
  6. Push your updated repository to your GitHub fork:
    git push origin master

Frequently Asked Questions

  1. When I try to push, I get a non-fast-forward updates were rejected error.
    Your local copy of a repository is out of sync with, or behind the upstream repository, you are pushing to. You must retrieve the upstream changes, before you are able to push your local changes.

sportchef's People

Contributors

mcpringle avatar yanni555 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.