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

[RFC] Change repo layout from current/ to packages/<ARCH>/<LIBC>/ #142

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

0x5c
Copy link

@0x5c 0x5c commented Sep 11, 2022

This is my attempt to implement a new, more predictable repository layout, as previously discussed on IRC.

There are a number of open questions:

  • What should the actual layout be? The current implementation goes with packages/<ARCH>/<LIBC>/. The other options that I can think of are
    • packages/<ARCH>-<LIBC>/
    • packages/<XBPS_ARCH>/
    • packages/<ARCH>/ with glibc and musl combined in the same dir (like the current aarch64 situation)
  • This pr does not currently change the layout of subrepos relative to the main one. Should the contents of the main repo for an arch-libc combo also be moved to a main subdirectory? main, nonfree, etc would all be at the same level.
  • How should the current mirrors be migrated to the new structure? Would it only be a matter of letting rsync do the job or would a one-time script be needed?

Todo

  • Buildsync
    • Update to buildsync-*.nomad for new paths
      Still a bit nebulous to me how exactly would that be done.
  • Mirrors
    • Nginx rules for compatibility with old paths
    • Testing the rules

These allow serving packages on the old paths for compatibility.
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.

1 participant