[kdesrc-build] [Bug 362687] Enable kdesrc-build to handle Git Submodules

2024-03-03 Thread Andrew Shark
https://bugs.kde.org/show_bug.cgi?id=362687

Andrew Shark  changed:

   What|Removed |Added

 Resolution|--- |MOVED
 CC||ash...@linuxcomp.ru
 Status|REPORTED|RESOLVED

--- Comment #4 from Andrew Shark  ---
Duplicates https://invent.kde.org/sdk/kde-builder/-/issues/40

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

[kdesrc-build] [Bug 362687] Enable kdesrc-build to handle Git Submodules

2023-09-01 Thread Andrew Shark
https://bugs.kde.org/show_bug.cgi?id=362687

Andrew Shark  changed:

   What|Removed |Added

 CC||win...@kde.org

--- Comment #3 from Andrew Shark  ---
*** Bug 418259 has been marked as a duplicate of this bug. ***

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

[kdesrc-build] [Bug 362687] Enable kdesrc-build to handle Git Submodules

2017-01-02 Thread Andreas Cord-Landwehr
https://bugs.kde.org/show_bug.cgi?id=362687

--- Comment #2 from Andreas Cord-Landwehr  ---
Sorry for the late answer, completely forgot about this :/
Qt5 would be an example where I could imagine to use it. With Qt's own
configuration system however, I am not sure how easy it will be to build it
with kdesrc-build. My specific use case is that I would like to add QtCreator
to kdesrc-build, which uses submodules. Within KDE I cannot recall any use of
submodules except the kf5-books project (which is a very special corner-case
that we do not have to add to kdesrc-build :)
Deactivating it by default seems completely fine for me.

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

[kdesrc-build] [Bug 362687] Enable kdesrc-build to handle Git Submodules

2016-06-04 Thread Michael Pyne via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362687

--- Comment #1 from Michael Pyne  ---
Is this for Qt5? Reason I ask is that I can imagine good reasons why someone
would not want to have git automatically pull down every possible Qt5 submodule
just because someone was innocently meaning to get qtbase.

So assuming we go with making it an option, the way I would probably implement
this would be to refactor the existing Updater::Git module (in
modules/ksb/Updater/Git.pm) to allow for customization of clones and updates,
make a subclass of Updater::Git that uses the customization to actually conduct
a submodule-aware clone/update/etc., and then have an option for the module
that causes kdesrc-build to create the new subclass instead of Updater::Git
when creating the scmType for the module (probably in ModuleSet.pm's
_initializeNewModule).

This does leave open the difficulty that this would only work with non-"KDE
Project" modules (which are already a separate subclass) but this seems fine
given our current git repository structure, unless you know of other places
where submodules are used for KDE repos.

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