Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 867747 Details for
Bug 912208
git-r3.eclass: expose git commit used in pkg_info
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
horrible-hack-poc.patch
file_912208.txt (text/plain), 502 bytes, created by
Sam James
on 2023-08-13 07:03:45 UTC
(
hide
)
Description:
horrible-hack-poc.patch
Filename:
MIME Type:
Creator:
Sam James
Created:
2023-08-13 07:03:45 UTC
Size:
502 bytes
patch
obsolete
>diff --git a/eclass/git-r3.eclass b/eclass/git-r3.eclass >index e9fdf2ac3a42e..4cf5a3f06cae1 100644 >--- a/eclass/git-r3.eclass >+++ b/eclass/git-r3.eclass >@@ -1075,6 +1075,12 @@ git-r3_pkg_needrebuild() { > # 'export' locally until this gets into EAPI > pkg_needrebuild() { git-r3_pkg_needrebuild; } > >+git-r3_pkg_info() { >+ echo "${EGIT_COMMIT}" >+ echo "${EGIT_BRANCH}" >+ echo "${EGIT_VERSION}" >+} >+ > fi > >-EXPORT_FUNCTIONS src_unpack >+EXPORT_FUNCTIONS src_unpack pkg_info
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 912208
: 867747