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

Better approach to versions.smackspec #16

Open
robsimmons opened this issue Nov 19, 2011 · 1 comment
Open

Better approach to versions.smackspec #16

robsimmons opened this issue Nov 19, 2011 · 1 comment

Comments

@robsimmons
Copy link
Member

as magenbluten says in comments to #15, the $SMACKAGE_HOME/versions.smackspec could become the victim of catastrophic success.

one a side note i would like to see a switch to sqlite (or say sql in general) for keeping the repo index. the txt file storage will become inefficient if more queries are to be made and more packages get added...

This is worth keeping in mind, though the time it takes to do ~1000 "git ls-remote" will be a problem long before the time or space that it takes to store 100 versions of 1000 packages becomes noticeable to the user.

@gian
Copy link
Member

gian commented Nov 19, 2011

Yeah, I'm happy to run the risk that we might need to rewrite the version index code when we get to having thousands of packages. In the meantime I'd prefer to not introduce another dependency (or any non-text file solution) to solve a problem we don't have yet.

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

2 participants