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

Support by-hash mirrors #10

Open
nthykier opened this issue Jun 6, 2016 · 1 comment
Open

Support by-hash mirrors #10

nthykier opened this issue Jun 6, 2016 · 1 comment

Comments

@nthykier
Copy link
Member

nthykier commented Jun 6, 2016

So we can avoid needing to wait for the dinstall/dak lock.

@nthykier
Copy link
Member Author

nthykier commented Jun 6, 2016

InRelease parsing:

import os
import apt_pkg

try:
  fd = apt_pkg.open_maybe_clear_signed_file('InRelease')
  tagFile = apt_pkg.TagFile(fd)
  ...  
finally:
  os.close(fd)

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