Now more possible errors are shown (such as using use-modules outside of a module set,
using global options inside a module, etc.), and other minor improvements should be there.
svn path=/trunk/KDE/kdesdk/scripts/kdesrc-buildrc.xml; revision=1208525
This commit adds two options (not yet documented in the DocBook):
1. git-repository-base, which defines a new repository alias (kde-git in the sample file)
In order to actually use this repository alias, you can use a new type of module
(unimagineatively called a "module-set") like so:
global
...
end global
module-set $repo_name
use-modules <list of git modules e.g. akonadi attica soprano k3b etc.>
end module-set
No other options are supported in a module-set at this point. kdesrc-build treats a
module-set as if you'd simply manually declared a new module for each item you passed
to use-modules, and sets the "repository" option for each new module to the base URL
(as determined by repo_name), with the module name tacked on.
kdesrc-build will filter any trailing .git off of the virtual module name.
If you still want to add options for a module, you can simply manually declare a module
of that name after the module-set, and choose options there (it won't change the build
order though).
Hopefully this makes it that much easier to use the plethora of git modules that have
been getting successfully transferred over to git.kde.org. PLEASE let me know if I've
broken something here or otherwise improperly implemented it. CC'ing dfaure since I
figure he'll be interested and/or have feedback.
CCMAIL:dfaure@kde.org
svn path=/trunk/KDE/kdesdk/scripts/kdesrc-build; revision=1204410
* It is now controlled by an option 'build-when-unchanged' which defaults to true,
so the optimization must now be explicitly enabled.
* The build is only skipped if the module was successfully installed (as determined
by the persistent data recorded last run).
* A command-line option, --force-build is added, along with
--no-build-when-unchanged to be symmetric with the rc-file option.
The new command line option and rc-file option are also documented and added to the
Kate/Kwrite syntax highlighting file.
BUG:248826
FIXED-IN:1.12.1
svn path=/trunk/KDE/kdesdk/doc/scripts/kdesrc-build/; revision=1168981
* Update the kwrite/kate syntax highlighting for kdesrc-buildrc to include all
current options (that I know of :P)
* Update the kwrite/kate syntax highlighting for kdesrc-buildrc to scan module
names correctly (noted by the fact that kwrite was making groups within groups
for extragear/foo modules).
svn path=/trunk/KDE/kdesdk/scripts/kdesrc-buildrc.xml; revision=1168570
Old kdesvn-buildrc files are still accepted, and the persistent data should also be read
just like it was before (although it will be written out with a different name from now
on).
svn path=/trunk/KDE/kdesdk/scripts/kdesvn-buildrc.xml; revision=1143246
* Fix options available in kate syntax highlighting file for kdesvn-buildrc and fix the
space/tab consistency while I'm at it.
svn path=/trunk/KDE/kdesdk/scripts/kdesvn-build; revision=1063683