Bug 150676 - kdesvn-build should warn when duplicate modules are present in config file.
Summary: kdesvn-build should warn when duplicate modules are present in config file.
Status: RESOLVED FIXED
Alias: None
Product: kdesrc-build
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources All
: NOR minor
Target Milestone: ---
Assignee: Michael Pyne
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-10 16:58 UTC by Andreas Pakulat
Modified: 2007-10-12 11:10 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-10-10 16:58:27 UTC
Version:            (using KDE KDE 3.94.0)
Installed from:    Compiled From Sources
OS:                Linux

This might not be possible to fix with the current format of the .kdesvn-buildrc file, but it would be good if kdesvn-build would at least warn if I put 2 modules into the rc file that have the same "name". I tried to build plasma from keg and playground today and thats impossible even when changing the dest-dir because kdesvn-build ignore's the first module.
Comment 1 Michael Pyne 2007-10-12 06:07:09 UTC
Fixed as of revision 724355, which adds a warning in this case.

Note that if you want to install the same module twice (or have two of the sample module present) it's possible to use e.g. the override-url to have two modules reference the same svn directory.  You can use dest-dir to rename the module on-disk, but I would still not recommended having them overlap.
Comment 2 Andreas Pakulat 2007-10-12 11:10:15 UTC
Uhm, I don't have the same module twice. They're different module's just named the same. In particular I'd like to build 

trunk/extragear/plasma and /trunk/playground/base/plasma

without having to checkout extragear or playground/base, so I have two entries with "model plasma", but both have their own dest-dir and module-base-path set.