Bug 154811 - support for disabling svn up for specific modules
Summary: support for disabling svn up for specific modules
Status: RESOLVED WORKSFORME
Alias: None
Product: kdesrc-build
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Michael Pyne
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-29 14:08 UTC by Andreas Pakulat
Modified: 2007-12-30 10:27 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Pakulat 2007-12-29 14:08:20 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources

It would be cool if there was an option to disable the svn up for a specific module, but still build that moduel.

Use case: When using git for one or two modules its really annoying to do with kdesvn-build. Either one builds them manually or you have to comment them and do a kdesvn-build --svn-only and the re-uncomment them and do a kdesvn-build --no-svn.
Comment 1 Michael Pyne 2007-12-30 06:18:50 UTC
The normal --no-svn option can be applied to a module to have it skipped.  To be honest I think I confused option names when rewriting the updating code for the parallel update code since at first I thought the manual-update option suited this (it's for something else though).

This did uncover a spurious error message about set_option() being called early which I will have to track down though.

Use --no-svn like this:

$ kdesvn-build -p kdelibs kdebase --kdelibs,no-svn=1
<<<  Build Process  >>>
Building kdelibs (1/2)
        Waiting for source code update.
        No source update needed for kdelibs
<snip>

Building kdebase (2/2)
        Waiting for source code update.
        Source update complete for kdebase: 0 files affected.
<snip>

You can also add no-svn to the kdesvn-buildrc file for the appropriate module and it will work.  In that case you must override no-svn on the command line to get it to update again though (using --modulename,no-svn=0)
Comment 2 Andreas Pakulat 2007-12-30 10:27:38 UTC
Ok, then the documentation on kdesvn-build.kde.org needs an update. It doesn't list the no-svn option and thus I thought this was missing and I didn't find any documentation elsewhere.