Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 890624 - ebuild-format: Restrict D to src_install and pkg_preinst
Summary: ebuild-format: Restrict D to src_install and pkg_preinst
Status: RESOLVED FIXED
Alias: None
Product: Quality Assurance
Classification: Unclassified
Component: Policies (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Quality Assurance Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-13 08:04 UTC by Ulrich Müller
Modified: 2023-01-14 16:47 UTC (History)
0 users

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


Attachments
ebuild-format: Restrict D to src_install and pkg_preinst (0001-ebuild-format-Restrict-D-to-src_install-and-pkg_prei.patch,1.71 KB, patch)
2023-01-13 08:05 UTC, Ulrich Müller
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(+)