Summary: | sys-apps/portage: when using git repo directly, version should include git sha1 | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Agostino Sarubbo <ago> |
Component: | Repoman | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED OBSOLETE | ||
Severity: | enhancement | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Agostino Sarubbo
2013-11-04 09:38:19 UTC
seems to me like it already does: local _version=$(cd "${S}/.git" && git describe --tags | sed -e 's|-\([0-9]\+\)-.\+$|_p\1|') _version=${_version:1} einfo "Setting portage.VERSION to ${_version} ..." the ebuild output: >>> Preparing source in /var/tmp/portage/sys-apps/portage-9999/work/portage ... * Producing ChangeLog from Git history... * Setting portage.VERSION to 2.2.7_p67 ... * Adding FEATURES=xattr to make.globals ... patching file make.conf.example >>> Source prepared. so you'll have to cc the specific person whose commit you saw go by so we can figure out why their system isn't logging things correctly. or maybe they're running `repoman` directly from the git repo. Tom, aren't you? The git repository is in use here, not the ebuild. |