Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 890624

Summary: ebuild-format: Restrict D to src_install and pkg_preinst
Product: Quality Assurance Reporter: Ulrich Müller <ulm>
Component: PoliciesAssignee: Gentoo Quality Assurance Team <qa>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild-format: Restrict D to src_install and pkg_preinst

Description Ulrich Müller gentoo-dev 2023-01-13 08:04:49 UTC
This used to be specified in PMS (see https://gitweb.gentoo.org/proj/pms.git/commit/?id=ede65b5d136640575479c9c9a3162ee4d2be953e), but makes more sense as a tree policy.
Comment 1 Ulrich Müller gentoo-dev 2023-01-13 08:05:44 UTC
Created attachment 848336 [details, diff]
ebuild-format: Restrict D to src_install and pkg_preinst
Comment 2 Larry the Git Cow gentoo-dev 2023-01-14 16:45:38 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/policy-guide.git/commit/?id=12f1e30e82a0ecedd91e77edfbb519366edb17b0

commit 12f1e30e82a0ecedd91e77edfbb519366edb17b0
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2023-01-13 07:49:00 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2023-01-13 08:04:54 +0000

    ebuild-format: Restrict D to src_install and pkg_preinst
    
    This used to be specified in PMS (see commit ede65b5 in proj/pms.git),
    but makes more sense as a tree policy.
    
    Also exclude pkg_postinst, because nothing in the Gentoo repository
    appears to use D there, and in the postinst phase the directory will
    be empty of files anyway.
    
    Bug: https://bugs.gentoo.org/890624
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 ebuild-format.rst | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)