https://bugs.kde.org/show_bug.cgi?id=321667

Michael Pyne <mp...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/sdk/ |https://invent.kde.org/sdk/
                   |kdesrc-build/-/commit/26461 |kdesrc-build/-/commit/a825e
                   |b97d3f53c09024bc602ddaca3c9 |c00f754dae8edc158f90405fa9b
                   |04a3b043                    |61ad611e

--- Comment #28 from Michael Pyne <mp...@kde.org> ---
Git commit a825ec00f754dae8edc158f90405fa9b61ad611e by Michael Pyne.
Committed on 11/01/2014 at 21:06.
Pushed by ashark into branch 'docbook_historied_per_file'.

rc-file: Add specific "option override" entry type.

Add a specific config file grouping (which acts just like a module
declaration), to allow for specifying options to override a
previously-declared module.

The use case here is for a module-set: You can specify options which
apply to an entire module-set when declaring the module-set, and then
override those options with any changes in a later "options"
declaration.

These declarations can stack too, so this can also be useful for
multi-level file includes (but this is less useful since an "options"
declaration requires a specific module, it doesn't work on module-sets;
in that case you'd want to have the different module-sets in your
most-specific included config files instead of in a base file).

Tested on my personal test case for bug 321883, and on a --pretend run,
and with a bug 321883 test case modified to not pre-declare the
overridden module first.

Example:
    module-set kde-mm
        repository kde-projects
        use-modules kde/kdemultimedia
    end module-set

    options kmix # Not mentioned before this line
        branch KDE/4.11
    end options

In this case kmix would use KDE/4.11 branch while juk (and the rest of
kde-mm) would use whatever the global branch or branch-group was
(probably 'master').

Original commit: 38ea9975
https://invent.kde.org/sdk/kdesrc-build/-/commit/38ea997502e18313e6fe0f7120dee9ed8544bd82

M  +67   -1    doc/kdesrc-buildrc/kdesrc-buildrc-overview.docbook

https://invent.kde.org/sdk/kdesrc-build/-/commit/a825ec00f754dae8edc158f90405fa9b61ad611e

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to