Discussion:
[jboss-user] [JBoss Tools] - Tagging/branching of JBoss Tools Core subcomponents
Max Rydahl Andersen
2013-02-11 14:16:58 UTC
Permalink
Max Rydahl Andersen [https://community.jboss.org/people/maxandersen] created the document:

"Tagging/branching of JBoss Tools Core subcomponents"

To view the document, visit: https://community.jboss.org/docs/DOC-48350

--------------------------------------------------------------
Our recent move to git caused some confusion on how we tag/branch components in JBoss Tools core components.

h1. Current versioning

To avoid future confusion here are the short version of the current approach:

1. Each component has its own version in manifest.mf/pom.xml
2. The git repositories should use tag/branches based on jbosstools version (jbosstools-<version>x for branches, jbosstools-<version> for tag)
3. In Jira use the jbosstools version for reporting/targeting issues.

The advantage of the above is that git & jira use the same version and no need to juggle multiple versions for git nor for jira queries.

i.e. with a unified tag like "jbosstools-4.1.0.Alpha1" you can find which version is used of a specific component for a specific jboss tools release easily.

h1. Future Versioning
The disadvantage of the above is it assumes components are always released/rebuilt for each JBoss Tools release.
This is something we would like to move away from requiring to allow for smaller updates (only download what actually changed) and
faster build times (aggregation is faster than always build from source).

What we need to get to a model where:

1. Each component has its own version in manifest.mf/pom.xml
2. The git repositories should use tag/branches based on component version

Is to solve (or ignore ;) following issues:

* Jira ?* jira does not have support for versions per component, thus need project per component.* How to get query to see which issues are missing/left ?


* Git* how to know which version is included in jboss tools release ?* can we use submodules to model this ?
* use eclipse's map file approach ?
* Something else ?
*
--------------------------------------------------------------

Comment by going to Community
[https://community.jboss.org/docs/DOC-48350]

Create a new document in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=102&containerType=14&container=2128]
Max Rydahl Andersen
2013-02-11 17:39:38 UTC
Permalink
Max Rydahl Andersen [https://community.jboss.org/people/maxandersen] modified the document:

"Tagging/branching of JBoss Tools Core subcomponents"

To view the document, visit: https://community.jboss.org/docs/DOC-48350

--------------------------------------------------------------
Our recent move to git caused some confusion on how we tag/branch components in JBoss Tools core components.

h1. Current Tag/Branching strategy

To avoid future confusion here are the short version of the current approach:

1. Each component has its own version in manifest.mf/pom.xml
2. The git repositories should use tag/branches based on jbosstools version (jbosstools-<version>x for branches, jbosstools-<version> for tag)
3. In Jira use the jbosstools version for reporting/targeting issues.

The advantage of the above is that git & jira use the same version. i.e. with a unified tag like "jbosstools-4.1.0.Alpha1" you can find which version is used of a specific component for a specific jboss tools release easily.

This means from git you always know which branch/tag to checkout for a component to get matching version to a specific jboss tools core build/release.

With Jira we would need to introduce a project for each individual component since Jira does not support version per components and thus jira queries for knowing current status of JBIDE suddenly gets very complex.

h1.
Discussion about improvements/future tagging can be found https://community.jboss.org/docs/DOC-48351 https://community.jboss.org/wiki/FutureStrategyForTaggingJBossToolsCore
--------------------------------------------------------------

Comment by going to Community
[https://community.jboss.org/docs/DOC-48350]

Create a new document in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=102&containerType=14&container=2128]
Nick Boldt
2013-02-13 01:03:29 UTC
Permalink
Nick Boldt [https://community.jboss.org/people/nickboldt] modified the document:

"Tagging/branching of JBoss Tools Core subcomponents"

To view the document, visit: https://community.jboss.org/docs/DOC-48350

--------------------------------------------------------------
Our recent move to git caused some confusion on how we tag/branch components in JBoss Tools core components.

h1. Current Tag/Branching strategy

To avoid future confusion here are the short version of the current approach:

1. Each component has its own version in manifest.mf/pom.xml/feature.xml* This can be set quickly using mvn -Dtycho.mode=maven org.sonatype.tycho:tycho-versions-plugin:set-version -DnewVersion=1.2.3-SNAPSHOT

2. The git repositories should use tag/branches based on jbosstools version:* Branches: jbosstools-<version>*x* ("x" used to differentiate a branch from a tag)*
*Tags:            jbosstools-<version> (no "x" suffix)

3. In Jira use the jbosstools version for reporting/targeting issues.

The advantage of the above is that git & jira use the same version. i.e. with a unified tag like "jbosstools-4.1.0.Alpha1" you can find which version is used of a specific component for a specific jboss tools release easily.

This means from git you always know which branch/tag to checkout for a component to get matching version to a specific jboss tools core build/release.

With Jira we would need to introduce a project for each individual component since Jira does not support version per components and thus jira queries for knowing current status of JBIDE suddenly gets very complex.

h1.
Discussion about improvements/future tagging can be found https://community.jboss.org/docs/DOC-48351 https://community.jboss.org/wiki/FutureStrategyForTaggingJBossToolsCore
--------------------------------------------------------------

Comment by going to Community
[https://community.jboss.org/docs/DOC-48350]

Create a new document in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=102&containerType=14&container=2128]
Loading...