Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unpack: Don't display "Unpacking ..." for skipped files, match file extensions case-sensitively #1379

Closed
wants to merge 4 commits into from

Conversation

ulm
Copy link
Member

@ulm ulm commented Sep 9, 2024

As discussed in #gentoo-pms.

PMS currently says that "Any unrecognised file format shall be skipped silently." This wording was added with the draft of what later became EAPI 4: https://gitweb.gentoo.org/proj/pms.git/commit/?id=634c32f231e1bc94d64588e2b2edf0ad1ca60f1f

The commit message doesn't give any rationale for "silently". It may well be that the wording is a remnant of the rejected unpack --if-compressed item. See the discussion in the 2009-04-23 council meeting (starting at 21:35).

Patch for PMS (presumably, replacing "silently" with "without raising an error") will follow.

@thesamesam
Copy link
Member

Please, if possible, include the PR description within the commit message(s) where appropriate, so that the relevant info is encoded just in the git repo.

bin/phase-helpers.sh Outdated Show resolved Hide resolved
PMS says that "Any unrecognised file format shall be skipped silently."
This wording was added with the draft of what later became EAPI 4:
https://gitweb.gentoo.org/proj/pms.git/commit/?id=634c32f231e1bc94d64588e2b2edf0ad1ca60f1f

The commit message doesn't give any rationale for "silently".
It may well be that the wording is a remnant of the rejected
"unpack --if-compressed" item.

See the discussion in the 2009-04-23 council meeting:
https://projects.gentoo.org/council/meeting-logs/20090423.txt
(starting at 21:35).

Signed-off-by: Ulrich Müller <[email protected]>
This fixes PMS compliance and at the same time simplifies the code.

Signed-off-by: Ulrich Müller <[email protected]>
Signed-off-by: Ulrich Müller <[email protected]>
Signed-off-by: Ulrich Müller <[email protected]>
@ulm
Copy link
Member Author

ulm commented Sep 10, 2024

Merged.

@ulm ulm closed this Sep 10, 2024
@ulm ulm deleted the unpack branch September 10, 2024 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants