For every build that we create a build number should be available

Registered by Saptarshi on 2009-03-09

We should be adding a build number for every code commit that is done. It will mean that we are able to understand which code has been included in the build. Instead of showing the build date in the About, which is somewhat useless... we should be showing the build number.

Blueprint information

Status:
Complete
Approver:
Saptarshi
Priority:
Undefined
Drafter:
Saptarshi
Direction:
Needs approval
Assignee:
Saptarshi
Definition:
Pending Approval
Series goal:
Accepted for trunk
Implementation:
Implemented
Milestone target:
milestone icon 2.0.4
Started by
Saptarshi on 2010-03-05
Completed by
Lars Helge Ă˜verland on 2010-03-09

Related branches

Sprints

Whiteboard

Started working on implementing buildnumber. Get build number from the bzr revno and put this into a manifest file. This manifest needs to be packaged with the war file. This manifest file is read each time the about screen is is displayed.

(2010-03-05): I have found a way to add the revision, but it means that the person who is building the war file needs to have bazaar installed. It will normally be so and hence this seems to be a good approach to get the revision number.
In addition to revision number, since we are dealing with DVCS, it also makes a lot of sense to be able to add branch name. But for the branch name to be appear, we will need to be able to connect to the repository online. This means when building the war, the developer needs to be connected online

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.