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

Improve the documentation of createrepo_c.RepomdRecord.fill #18

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

Improve the documentation of createrepo_c.RepomdRecord.fill #18

ghost opened this issue Jun 9, 2015 · 0 comments

Comments

@ghost
Copy link

ghost commented Jun 9, 2015

The example createrepo_c/examples/python/simple_createrepo.py calls createrepo_c.RepomdRecord.fill with createrepo_c.SHA256. It would be nice if you could document this method parameter and explain why it is a good idea to call it. It seems that createrepo segfaults if the method is called without any argument.
Would it be possible to pass the checksum type to the constructor? It would save me few
letters and one variable name :)
(filed a separate report #28)

It also seems that it may raise some exceptions. Could it be documented, please?

@ghost ghost changed the title Document createrepo_c.Repomd.fill Elaborate on the usage of createrepo_c.RepomdRecord.fill Jun 9, 2015
@ghost ghost changed the title Elaborate on the usage of createrepo_c.RepomdRecord.fill Improve the documentation of createrepo_c.RepomdRecord.fill Jun 9, 2015
@dmach dmach closed this as completed Feb 10, 2021
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