You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.markdown 4.2KB

10 jaren geleden
10 jaren geleden
10 jaren geleden
12 jaren geleden
10 jaren geleden
10 jaren geleden
10 jaren geleden
10 jaren geleden
10 jaren geleden
11 jaren geleden
10 jaren geleden
10 jaren geleden
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. Gitblit
  2. =================
  3. Gitblit is an open source, pure Java Git solution for managing, viewing, and serving [Git](http://git-scm.com) repositories. It can serve repositories over the GIT, HTTP, and SSH transports; it can authenticate against multiple providers; and it allows you to get up-and-running with an attractive, capable Git server in less than 5 minutes.
  4. More information about Gitblit can be found [here](http://gitblit.com).
  5. <a href='https://bintray.com/gitblit/releases/gitblit/_latestVersion'><img src='https://api.bintray.com/packages/gitblit/releases/gitblit/images/download.png'></a>
  6. License
  7. -------
  8. Gitblit is distributed under the terms of the [Apache Software Foundation license, version 2.0](http://www.apache.org/licenses/LICENSE-2.0).
  9. The text of the license is included in the file LICENSE in the root of the project.
  10. Java Runtime Requirement
  11. ------------------------------------
  12. Gitblit requires at Java 7 Runtime Environment (JRE) or a Java 7 Development Kit (JDK).
  13. Getting help
  14. ------------
  15. | Source | Location |
  16. | ------------- |--------------------------------------------------------|
  17. | Documentation | [Gitblit website](http://gitblit.com) |
  18. | Issues | [Google Code](http://code.google.com/p/gitblit) |
  19. | Forums | [Google Groups](https://groups.google.com/forum/#!forum/gitblit) |
  20. | Twitter | @gitblit or @jamesmoger |
  21. | Google+ | +gitblit or +jamesmoger |
  22. Contributing
  23. ------------
  24. GitHub pull requests or Gitblit Tickets are preferred. Any contributions must be distributed under the terms of the [Apache Software Foundation license, version 2.0](http://www.apache.org/licenses/LICENSE-2.0).
  25. **Workflow**
  26. Gitblit practices the [git-flow][1] branching model.
  27. - **master** is the current stable release + fixes accumulated since release.
  28. - **develop** is the integration branch for the next major release.
  29. - **ticket/N** are feature or hotfix branches to be merged to **master** or **develop**, as appropriate.
  30. **Feature Development**
  31. Development of new features is mostly done using [Gitblit Tickets][2] hosted at [dev.gitblit.com][3]. This allows continuous dogfooding and improvement of Gitbit's own issue-tracker and pull-request mechanism.
  32. **Release Planning**
  33. Release planning is mostly done using Gitblit Milestones and Gitblit Tickets hosted at [dev.gitblit.com][3].
  34. **Releasing**
  35. When Gitblit is preparing for a release, a **release-{milestone}** branch will be created, tested, & fixed until it is ready to be merged to **master** and tagged as the next major release. After the release is tagged, the **release-{milestone}** branch will also be merged back into **develop** and then the release branch will be removed.
  36. Building Gitblit
  37. ----------------
  38. Gitblit uses submodules.
  39. Make sure to clone using `--recursive` OR to execute `git submodule update --init --recursive`.
  40. [Eclipse](http://eclipse.org) is recommended for development as the project settings are preconfigured.
  41. 1. Import the gitblit project into your Eclipse workspace.
  42. *There will be lots of build errors.*
  43. 2. Using Ant, execute the `build.xml` script in the project root.
  44. *This will download all necessary build dependencies and will also generate the Keys class for accessing settings.*
  45. 3. Select your gitblit project root and **Refresh** the project, this should correct all build problems.
  46. 4. Using JUnit, execute the `com.gitblit.tests.GitBlitSuite` test suite.
  47. *This will clone some repositories from the web and run through the unit tests.*
  48. 5. Execute the *com.gitblit.GitBlitServer* class to start Gitblit GO.
  49. Building Tips & Tricks
  50. ----------------------
  51. 1. If you are running Ant from an ANSI-capable console, consider setting the `MX_COLOR` environment variable before executing Ant.<pre>set MX_COLOR=true</pre>
  52. 2. The build script will honor your Maven proxy settings. If you need to fine-tune this, please review the [settings.moxie](http://gitblit.github.io/moxie/settings.html) documentation.
  53. [1]: http://nvie.com/posts/a-successful-git-branching-model
  54. [2]: http://gitblit.com/tickets_overview.html
  55. [3]: https://dev.gitblit.com