Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 764422 - git-r3.eclass: Please document EGIT_OVERRIDE_* for manpage
Summary: git-r3.eclass: Please document EGIT_OVERRIDE_* for manpage
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: NeedPatch
Depends on:
Blocks:
 
Reported: 2021-01-08 05:03 UTC by jospezial
Modified: 2022-08-08 19:06 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 jospezial 2021-01-08 05:03:30 UTC
https://gitweb.gentoo.org/repo/gentoo.git/commit/eclass/git-r3.eclass?id=17d7a4564177b1985e4b7e8f23a8efbc4d5c32ae
"git-r3.eclass: Support more flexible EGIT_OVERRIDE_* APIs for user"

Please add more documentation about that into the git-r3.eclass so that it goes into the manpage and at https://devmanual.gentoo.org/eclass-reference/git-r3.eclass/index.html .
Please add examples for EGIT_OVERRIDE_COMMIT_DATE and EGIT_COMMIT_DATE.

I wanted to use the date 20210106 for a git based pre-release ebuild but it only works if I convert it to 2021-01-06 . For this I have to do extra work in the ebuild. Would this be possible to implement it in the eclass?
There should be a check for wrong date format and not fetch head instead.

Is it advised to use EGIT_OVERRIDE_* instead of EGIT_COMMIT_* also in the ebuild file or on the command line only?
Comment 1 jospezial 2021-07-28 23:43:24 UTC
I tried:
EGIT_OVERRIDE_COMMIT_DATE_PLASMA_*="2021-07-12" emerge -v1 kwin plasma-workspace kwayland-server

but it looks as wildcards in are not possible in variables.
bash says: -su: EGIT_OVERRIDE_COMMIT_DATE_PLASMA_*=2021-07-12: Kommando nicht gefunden.
(command not found)

So how can I do a @live-rebuild but checkout the kde gits at specific date?
I don't want to write EGIT_OVERRIDE_COMMIT_DATE_... for every single one.
EGIT_COMMIT_DATE would do it for all packages I rebuild.