Summary: | unpack shouldn't be case-insensitive in currently-standardised EAPIs | ||
---|---|---|---|
Product: | Portage Development | Reporter: | David Leverton <levertond> |
Component: | Core - Ebuild Support | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ulm |
Priority: | Normal | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=476730 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 476734 | ||
Bug Blocks: | 484436 |
Description
David Leverton
2013-07-13 18:46:12 UTC
Add a QA Notice: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=71e00ea28ef86f083ed25a1de0c963970b0b5681 (In reply to Zac Medico from comment #1) > Add a QA Notice: > > http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit; > h=71e00ea28ef86f083ed25a1de0c963970b0b5681 Isn't there a more compact way to express this? ;-) Like a list of all allowed suffixes? Small typo here: lha|lzh) + if ___eapi_unpack_is_case_sensitive && \ + [[ " LHA LHa lha lhz " != *" ${suffix} "* ]] ; then + eqawarn "QA Notice: unpack called with" \ + "suffix '${suffix}' which is unofficially supported" \ + "with EAPI '${EAPI}'." \ + "Instead use 'LHA', 'LHa', 'lha', or 'lhz'." + fi "lhz" should be "lzh" (twice). We've fixed the same typo in PMS some time ago: http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=bcf9387d47a2ebd3237be2b4abb2f01693db8350 (In reply to Ulrich Müller from comment #2) > Isn't there a more compact way to express this? ;-) Like a list of all > allowed suffixes? Well, I think it's more friendly for users to see a shorter list of alternatives in the message. Also, the list gets quite long if you consider all possible tar.* combinations. > "lhz" should be "lzh" (twice). Thanks, fixed now: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=71e22fb4dbccc41c93f4b05dc193a557769ba6bc This is fixed in 2.2.2. |