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

pack-generation wouldn't work with alternate DBs #260

Closed
Byron opened this issue Nov 21, 2021 · 0 comments
Closed

pack-generation wouldn't work with alternate DBs #260

Byron opened this issue Nov 21, 2021 · 0 comments

Comments

@Byron
Copy link
Member

Byron commented Nov 21, 2021

When finding an entry by location (as used by pack generation code) it will compare by pack_id.

Earlier it was a hash over the path of the pack, but recently became just an index of an iteration in order to prevent any possibility of clash.

Re-introducing the hash could work, but it's probably better to remove the idea of alternates as a bunch of compound DBs entirely and see repositories as a list of paths with objects to build a combined view of objects there.

Related to #259

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

No branches or pull requests

1 participant