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

Remove orphaned packages #42

Merged
merged 3 commits into from
Feb 21, 2025
Merged

Remove orphaned packages #42

merged 3 commits into from
Feb 21, 2025

Conversation

jeremyd2019
Copy link
Contributor

This should be equivilant to git-for-windows/git-sdk-64#96

jeremyd2019 and others added 3 commits February 20, 2025 10:27
automake1.10 (removed)
automake1.6 (removed)
automake1.7 (removed)
automake1.8 (removed)
automake1.9 (removed)
autotools (new: 2022.01.16-2)
crypt (removed)
libcrypt (removed)

Signed-off-by: Jeremy Drake <[email protected]>
This repeats the exercise from git-for-windows/git-sdk-arm64#35

This trick was performed by:

  f() {
    comm -23 \
      <(git -C / ls-files $1\* |
        sort) \
      <(git -C /var/lib/pacman/local/ grep ^$1 \*/files |
        sed -n 's,^.*:\(.*[^/]\)$,\1,p' |
        sort)
  }
  f usr/bin |
  xargs -d '\n' -r git -C / rm
  f mingw |
  xargs -d '\n' -r git -C / rm

Signed-off-by: Jeremy Drake <[email protected]>
@dscho
Copy link
Member

dscho commented Feb 21, 2025

The corresponding git-artifacts run succeeded.

Thank you @jeremyd2019 for cleaning up after me!

@dscho dscho merged commit 7d79bfd into main Feb 21, 2025
1 check passed
@dscho dscho deleted the remove-orphaned-packages branch February 21, 2025 09:34
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.

2 participants