Skip to content

Commit ec27559

Browse files
Merge branch 'release/0.2.0'
2 parents abf9e3a + 1854135 commit ec27559

File tree

2 files changed

+77
-10
lines changed

2 files changed

+77
-10
lines changed

CHANGELOG.md

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,22 @@
22

33
---
44

5+
# 0.2.0
6+
<details>
7+
<summary>Version Details</summary>
8+
<p>
9+
Release Date: *2017-07-24*
10+
<a href="https://github.com/arcticicestudio/styleguide-git/milestone/2">Milestone</a>
11+
<a href="https://github.com/arcticicestudio/styleguide-git/projects/3">Project Board</a>
12+
</p>
13+
</details>
14+
15+
## Features
16+
### Style Guide
17+
❯ Added [branch naming][src-branch-naming] conventions and guidelines for [core][src-branch-naming-core]- and [story branches][src-branch-naming-story] following the [gitflow][gitflow] branching model. (#3 in PR #6)
18+
19+
❯ Added conventions and guidelines for [tags][src-tags] following the [Arctic Versioning Specification][arcver]. (#4 in PR #5)
20+
521
# 0.1.0
622
<details>
723
<summary>Version Details</summary>
@@ -16,15 +32,21 @@
1632
### Style Guide
1733
❯ Added the initial style guide [introduction][src-introdcution], information about the [structural split of changes][src-structural-split], [bad practices][src-structural-split-bad-practices] and the main chapter about [commit messages][src-commit-messages] with the [summary][src-commit-messages-summary], [body][src-commit-messages-body] and [footer][src-commit-messages-footer] elements and their [structure][src-commit-messages-structure]. (#1 in PR #2)
1834

35+
[arcver]: https://github.com/arcticicestudio/arcver
1936
[checkstyle-github]: https://github.com/checkstyle/checkstyle
2037
[checkstyle-jetbrains-plugin]: https://plugins.jetbrains.com/plugin/1065-checkstyle-idea
2138
[checkstyle-version]: https://github.com/checkstyle/checkstyle/releases/tag/checkstyle-8.0
39+
[gitflow]: http://nvie.com/posts/a-successful-git-branching-model/
2240
[scrot-ide-setup-intellij-checkstyle-activate]: https://raw.githubusercontent.com/arcticicestudio/styleguide-java/develop/src/assets/scrot-ide-setup-intellij-checkstyle-activate.png
23-
[src-introdcution]: https://github.com/arcticicestudio/styleguide-git#introduction
24-
[src-structural-split]: https://github.com/arcticicestudio/styleguide-git#structural-split-of-changes
25-
[src-structural-split-bad-practices]: https://github.com/arcticicestudio/styleguide-git#bad-practices
41+
[src-branch-naming]: https://github.com/arcticicestudio/styleguide-git#branch-naming
42+
[src-branch-naming-core]: https://github.com/arcticicestudio/styleguide-git#core-branches
43+
[src-branch-naming-story]: https://github.com/arcticicestudio/styleguide-git#story-branches
2644
[src-commit-messages]: https://github.com/arcticicestudio/styleguide-git#commit-messages
27-
[src-commit-messages-structure]: https://github.com/arcticicestudio/styleguide-git#elements-and-their-structure
28-
[src-commit-messages-summary]: https://github.com/arcticicestudio/styleguide-git#message-summary
2945
[src-commit-messages-body]: https://github.com/arcticicestudio/styleguide-git#message-body
3046
[src-commit-messages-footer]: https://github.com/arcticicestudio/styleguide-git#message-footer
47+
[src-commit-messages-structure]: https://github.com/arcticicestudio/styleguide-git#elements-and-their-structure
48+
[src-commit-messages-summary]: https://github.com/arcticicestudio/styleguide-git#message-summary
49+
[src-introdcution]: https://github.com/arcticicestudio/styleguide-git#introduction
50+
[src-structural-split]: https://github.com/arcticicestudio/styleguide-git#structural-split-of-changes
51+
[src-structural-split-bad-practices]: https://github.com/arcticicestudio/styleguide-git#bad-practices
52+
[src-tags]: https://github.com/arcticicestudio/styleguide-git#tags

README.md

Lines changed: 50 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
<p align="center"><img src="https://rawgit.com/arcticicestudio/styleguide-git/develop/src/assets/styleguide-git-banner-typography.svg"/></p>
22

3+
<p align="center"><a href="https://github.com/arcticicestudio/styleguide-git/blob/v0.2.0/CHANGELOG.md"><img src="https://img.shields.io/badge/Changelog-0.2.0-81A1C1.svg?style=flat-square"/></a> <a href="https://github.com/arcticicestudio/arcver"><img src="https://img.shields.io/badge/Versioning-ArcVer-81A1C1.svg?style=flat-square"/></a></p>
4+
35
<p align="center">The Arctic Ice Studio Git Style Guide.</p>
46

57
---
68

7-
To present [Git commits](https://git-scm.com/docs/git-commit) in an organized, standardized, and easy-to-read manner, this official style guide describes how the content should be structured, organized, spelled and formatted in all Arctic Ice Studio projects.
9+
To present Git [commits](https://git-scm.com/docs/git-commit) and [branches](https://git-scm.com/docs/git-branch) in an organized, standardized, and easy-to-read manner, this official style guide describes how the content should be structured, spelled and formatted in all Arctic Ice Studio projects.
810

911
There are only some strict rules but mostly guidelines since we are more interested in content than formatting and the review process may help contributors to conform to this guide later on.
1012

@@ -75,10 +77,53 @@ This metadata block **must contain the GitHub issue ID** and is **separated from
7577

7678
**Multiple issues are separated by a comma** and **additional references** can be added in the next lines.
7779

78-
## Development
80+
## Branch Naming
81+
82+
> A branch should reflect the story of the commits it contains using a valuable and useful name to clarify its purpose during the development lifecycle and the persistency in the history.
83+
84+
Arctic Ice Studio follows the [gitflow][gitflow] branching model with the deviations and additional conventions described below.
85+
86+
Branches are an important major component for building open source projects regardless of the size. A well maintained branch merge story in the history will help to increase the long-term overall quality.
87+
88+
### Core Branches
89+
90+
The two infinite development lifecycle core branches must be lowercase named `master` and `develop`.
91+
92+
### Story Branches
93+
94+
The lowercase name of a limited development lifecycle story branch must reflect the *type* separated by a slash from the *issue ID* and followed by the short and descriptive *title* using hypen delimiters.
95+
96+
`<TYPE>/<ISSUE_ID>-<TITLE>`
97+
98+
Example: `feature/gh-17-tokenizer-api`
7999

80-
[![](https://img.shields.io/badge/Changelog-0.1.0-81A1C1.svg?style=flat-square)](https://github.com/arcticicestudio/styleguide-git/blob/v0.1.0/CHANGELOG.md) [![](https://img.shields.io/badge/Workflow-gitflow--branching--model-81A1C1.svg?style=flat-square)](http://nvie.com/posts/a-successful-git-branching-model) [![](https://img.shields.io/badge/Versioning-ArcVer_0.8.0-81A1C1.svg?style=flat-square)](https://github.com/arcticicestudio/arcver)
100+
**Story Type Prefixes**
101+
102+
* `feature`
103+
* `improvement`
104+
* `bugfix`
105+
* `test`
106+
* `task`
107+
* `subtask`
108+
* `release`
109+
110+
Every branch must contain *issue ID* which is important to automatically fire some hooks to track the commit in the related GitHub repository issues and pull requests and is **required to contribute to a project**.
111+
112+
A `release` branch is used to prepare a new [tagged](#tags) release version.
113+
114+
## Tags
115+
116+
Arctic Ice Studio follows the [gitflow][gitflow] branching model with the deviations and additional conventions described below using the [Arctic Versioning Specification][arcver].
117+
118+
All version tags are created in the `master` [core branch](#core-branches) to specify which commits reflects a release version as defined by the `release` [branch name](#branch-naming) prefix.
119+
120+
* **Only use annotated tags**. Allows to include the name of the project followed by the version number to the commit message.
121+
* **Always add the `v` prefix character to version tags**. Clarifies the tag type as specified by ArcVer.
122+
* **Every version tag must be signed**. Ensures that the version has been tested and approved by the project owner or an authorized project contributor.
123+
124+
---
81125

82-
<p align="center"> <img src="http://arcticicestudio.com/favicon.ico" width=16 height=16/> Copyright &copy; 2017 Arctic Ice Studio</p>
126+
<p align="center">Copyright &copy; 2017 Arctic Ice Studio<br><a href="http://www.apache.org/licenses/LICENSE-2.0"><img src="https://img.shields.io/badge/License-Apache_2.0-5E81AC.svg?style=flat-square"/></a></p>
83127

84-
<p align="center"><a href="http://www.apache.org/licenses/LICENSE-2.0"><img src="https://img.shields.io/badge/License-Apache_2.0-5E81AC.svg?style=flat-square"/></a>
128+
[arcver]: https://github.com/arcticicestudio/arcver
129+
[gitflow]: http://nvie.com/posts/a-successful-git-branching-model

0 commit comments

Comments
 (0)