Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 640016 - git-r3: overriding submodule version
Summary: git-r3: overriding submodule version
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-06 12:08 UTC by Nikita Zlobin
Modified: 2018-03-02 10:32 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikita Zlobin 2017-12-06 12:08:09 UTC
Would be great to make it possible in git-r3 workflow to update submodules to certain commits, specified by hash, or simply "latest" value, to have it set to HEAD.

To update all submodules to HEAD (or "latest") following command is enough:
$ git submodule foreach git pull origin master
(from https://stackoverflow.com/questions/5828324/update-git-submodule-to-latest-commit-on-origin).

May relate to eclasses for other VCS, appart git (have seen report about mercurial in BGO).
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-12-06 14:01:23 UTC
Please provide a real-ebuild use case for this.
Comment 2 Nikita Zlobin 2017-12-08 20:12:43 UTC
There was issue, writing ebuild for xfce4-sntray-plugin, which includes vala-dbusmenu as submodule. This submodule had one build system bug, currently fixed, but superproject still links to old commit. Its author however claimed about preference to update submodules...

It is rather that kind of case, when i just through an idea, expecting that anyone else will meet it)