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

Simplify the usage of createrepo_c.RepomdRecord #28

Closed
ghost opened this issue Jun 9, 2015 · 0 comments
Closed

Simplify the usage of createrepo_c.RepomdRecord #28

ghost opened this issue Jun 9, 2015 · 0 comments

Comments

@ghost
Copy link

ghost commented Jun 9, 2015

It would save me few letters and one variable name if I could create the createrepo_c.RepomdRecord using a single function :)

E.g. it could be:

  • createrepo_c.RepomdRecord(typename, filename, createrepo_c.SHA256) and it will create a "filled" record
  • or similarly createrepo_c.RepomdRecord.create_filled(typename, filename, createrepo_c.SHA256)
  • or even createrepo_c.RepomdRecord.filled_from_file(xmlfile, createrepo_c.SHA256)
  • or even repomd.set_record_auto(typename, filename, createrepo_c.SHA256)
  • or even repomd.set_filerecord(xmlfile, createrepo_c.SHA256)

(it overlaps with #19)

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