How organized workflow in a bash-prompt repository

Asked by Sergey Kryazhevskikh

There is no trunk branch. It is only one 'stable' serie.

How you plan to release stable version? Where is a place for development process?

Question information

Language:
English Edit question
Status:
Solved
For:
bash-prompt Edit question
Assignee:
Sergey Kryazhevskikh Edit question
Solved by:
Sergey Kryazhevskikh
Solved:
Last query:
Last reply:
Revision history for this message
Sergey Kryazhevskikh (soliverr) said :
#1

bash-prompt is very simple project. Here is no any branches of code. Engeneering workflow provided by means of bazaar `tag'.

Project organized as follows.

1. HEAD is always trunk for development.
 You can get current source by
 $ bzr branch lp:bash-prompt

2. See available tags

 $ bzr tags
 rc1 4
 rc2 8
 stable 8

 $ bzr tags --show-ids
 rc1 <email address hidden>
 rc2 <email address hidden>
 stable <email address hidden>

3. Developing process

You can make changes and commit to trunk (HEAD). You can build 'devel' version packages from trunk with help of Launchpad or by other build services.

4. Build 'stable' version of bash-prompt package

If you decide that trunk is stable enough, you must move `stable' tag of sources as follows.

4.1 Final commit
 $ bzr commit -m 'Change version in redhat spec'
 Committing to: /mnt/my-backup/src/launchpad/bash-prompt/
 modified redhat/bash-prompt.spec
 Committed revision 9.

4.2 Push branch to Launchpad
 $ bzr push lp:bash-prompt
 Pushed up to revision 9.

4.3 Move `stable' tag forward to current HEAD revision
 $ bzr log -r 9 --show-ids
 ------------------------------------------------------------
 revno: 9
 revision-id: <email address hidden>
 parent: <email address hidden>
 committer: Kryazhevskikh Sergey <email address hidden>
 branch nick: bash-prompt
 timestamp: Wed 2013-01-16 18:07:34 +0600
 message:
   Change version in redhat spec

$ bzr tag --force -r revid:<email address hidden> stable
 Created tag stable.
$ bzr tag --force -r revid:<email address hidden> stable -d lp:bash-prompt
 Created tag stable.

4.4 Verify tags
 $ bzr tags --show-ids
 rc1 <email address hidden>
 rc2 <email address hidden>
 stable <email address hidden>

4.5 There is bash-prompt-stable recipe on LaunchPad build system to build tag `stable' daily