Skip to content

Commit 3cbfebb

Browse files
committed
Simplify build and contribution process back to master/trunk development
1 parent 2b1e029 commit 3cbfebb

File tree

2 files changed

+4
-38
lines changed

2 files changed

+4
-38
lines changed

README.markdown

+1-24
Original file line numberDiff line numberDiff line change
@@ -31,27 +31,7 @@ Getting help
3131
Contributing
3232
------------
3333

34-
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).
35-
36-
**Workflow**
37-
38-
Gitblit practices the [git-flow][1] branching model.
39-
40-
- **master** is the current stable release + fixes accumulated since release.
41-
- **develop** is the integration branch for the next major release.
42-
- **ticket/N** are feature or hotfix branches to be merged to **master** or **develop**, as appropriate.
43-
44-
**Feature Development**
45-
46-
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.
47-
48-
**Release Planning**
49-
50-
Release planning is mostly done using Gitblit Milestones and Gitblit Tickets hosted at [dev.gitblit.com][3].
51-
52-
**Releasing**
53-
54-
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.
34+
GitHub pull requests 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).
5535

5636
Building Gitblit
5737
----------------
@@ -75,6 +55,3 @@ Building Tips & Tricks
7555
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>
7656
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.
7757

78-
[1]: http://nvie.com/posts/a-successful-git-branching-model
79-
[2]: http://gitblit.com/tickets_overview.html
80-
[3]: https://dev.gitblit.com

release.template

+3-14
Original file line numberDiff line numberDiff line change
@@ -60,23 +60,12 @@ ant publishSite
6060
# merge to master
6161
echo ""
6262
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
63-
echo "Merging release ${project.version} to master"
63+
echo "Updating build identifier for next release cycle"
6464
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
6565
echo ""
6666
git checkout master
67-
git merge --no-ff -m "Merge release ${project.version}" ${project.commitId}
6867
ant nextPointReleaseCycle
6968

70-
# merge to develop
71-
echo ""
72-
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
73-
echo "Merging release ${project.version} to develop"
74-
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
75-
echo ""
76-
git checkout develop
77-
git merge --no-ff -m "Merge release ${project.version}" ${project.commitId}
78-
ant nextMinorReleaseCycle
79-
8069
# push Maven repository to origin
8170
echo ""
8271
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
@@ -90,7 +79,7 @@ cd ${project.directory}
9079
# push project branches
9180
echo ""
9281
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
93-
echo "Pushing master, develop, gh-pages, and tag ${project.tag}"
82+
echo "Pushing master, gh-pages, and tag ${project.tag}"
9483
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
9584
echo ""
96-
git push origin master develop gh-pages ${project.tag}
85+
git push origin master gh-pages ${project.tag}

0 commit comments

Comments
 (0)