Perl Module VCI::VCS:Bzr

Asked by Vijaya Kumar on 2011-08-08

Hi,

I would like to understand the usage of this VCI perl module in Bazaar (VCI::VCS:Bzr).
Do anyone has the clear documents or the list of methods used in this module?

Any other tools or methods to call Bazaar commands into my script (perl/shell) ?

Thanks & Regards,
Vijay

Question information

Language:
English Edit question
Status:
Answered
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Last query:
2011-08-08
Last reply:
2011-08-09
Martin Pool (mbp) said : #1

Hi Vijaya,

Probably best to ask Max, who I think wrote this. What is it you need to do?

Vijaya Kumar (vijayakumar-cm) said : #2

We are moving our code into bazaar, so we need an automated script to do the following, once the script triggered:

1. Check for any new tag(release tag) in bazaar , if any new release tag added then build the code with that tag.
2. Else take the latest revision and make a build.

In our case build is just executing the makefile, so i need to understand how to automate the bazaar action.

Ex: our release tag has common naming conventions with different versions, BAZAAR_TAG_V1.0.1 and the version gets increased for every release, is there any command to get the latest tag in this series?. (like if i need to fetch BAZAAR_TAG_V1.0.27 which is latest).

Regards,
Vijay

Max Kanat-Alexander (mkanat) said : #3

Hey Vijaya. Currently VCI doesn't have any support for tags, I believe, but I think it wouldn't be too hard to add. You'd just do "bzr tags" and then store the result in a hash somewhere (probably in the Project object) and add an x_tag to Bzr Commit objects that references that hash.

Can you help with this problem?

Provide an answer of your own, or ask Vijaya Kumar for more information if necessary.

To post a message you must log in.