Can we use svn2cl on launchpad buildbots?

Asked by i30817

I've done a build bot for doxbox and currently i'm merging a packaging bzr repo - but that repo has the changelog outdated - and i don't want to have to maintain it.

I've read dosbox autogenerates it's changelog with svn2cl on the svn local repo. I'm asking if there is some way to do this in the launchpad recipe bellow. However, note if you're not familiar with launchpad that the code mirrors that it uses don't use svn (everything is periodically imported into a bzr repo) and that recipes don't allow internet access.

https://code.launchpad.net/~i30817/+recipe/dosbox-patched

I'm aware that this would require at a bare minimum something like a 'bzr2cl' or something, and would probably need changing the timeline of package compilation... but i think a changelog generation hook is a worthwhile automatism for the projects that can support it don't you?

Question information

Language:
English Edit question
Status:
Answered
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Curtis Hovey (sinzui) said :
#1

The recipe cannot run svncl, but you can use it in the normal make/build process.

You can include svn2cl either in you build tree or add it as a build dep to the debian/control file.
svncl can be run as a step in a makefile rule, or you can add a rule debian/rules to run it. For example, if you use debian helper (dh) you could have a rule run svncl before the dh_auto_configure step.

override_dh_auto_configure:
        svncl
        dh_auto_configure

Can you help with this problem?

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

To post a message you must log in.