Summary: | [Future EAPI] Less strict naming rules for files in updates directory | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | Ulrich Müller <ulm> |
Component: | PMS/EAPI | Assignee: | PMS/EAPI <pms> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | esigra, mgorny, pacho |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=296713 | ||
Whiteboard: | in-eapi-8 | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 174380 |
Description
Ulrich Müller
2019-08-23 16:00:55 UTC
(In reply to Ulrich Müller from comment #0) > "All files in this directory will be processed, unless their name begins > with a dot. Any subdirectories will be ignored." Make this "All regular files in this directory will be processed, unless their name begins with a dot." If we allow arbitrary names in profiles/updates then I wonder how we're supposed to order the updates, given that order sometimes matters. (In reply to Zac Medico from comment #2) > If we allow arbitrary names in profiles/updates then I wonder how we're > supposed to order the updates, given that order sometimes matters. pkgcheck is supposed to report all the common cases, and make developers use idempotent updates. PMS doesn't specify any ordering right now: https://projects.gentoo.org/pms/7/pms.html#x1-360004.4.4 As a matter of fact, I had complained about this in bug 296713, but ciaranm convinced me that the wording is fine as it is. (We could add the sentence I suggested in bug 296713 comment #14 if you think that it would clarify things.) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/portage.git/commit/?id=09d783eb12ed1f93550d86f1ee2437012ffc7cc2 commit 09d783eb12ed1f93550d86f1ee2437012ffc7cc2 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2021-05-12 16:10:10 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2021-05-24 04:40:21 +0000 Relax update filenames as permitted for EAPI 8 Bug: https://bugs.gentoo.org/692774 Signed-off-by: Michał Górny <mgorny@gentoo.org> Signed-off-by: Zac Medico <zmedico@gentoo.org> lib/portage/update.py | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/pms.git/commit/?id=a14e130eacbd19fb8e835d2d385ac94ba693f23a commit a14e130eacbd19fb8e835d2d385ac94ba693f23a Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2021-05-16 16:44:50 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2021-06-05 08:55:33 +0000 EAPI 8 has less strict naming rules in the updates directory Bug: https://bugs.gentoo.org/692774 Signed-off-by: Ulrich Müller <ulm@gentoo.org> eapi-differences.tex | 5 ++++- tree-layout.tex | 25 +++++++++++++++++++++---- 2 files changed, 25 insertions(+), 5 deletions(-) |