-
Notifications
You must be signed in to change notification settings - Fork 1
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
Make sure .spec and .spec in SRPM are the same #5
Comments
I am not sure spec URL should even be required, if we are able to do all things without it. I think the spec file is much easier to work with. But srpm will always contain also spec file. I do not see a need to bother user with uploading two different things, when one can be delivered from the other one. Instead it might make sense to use the service to extract spec file from the linked SRPM and attach it as attachment to the review bug. Similarly if the spec contains only resources fetchable by spectool -g, then we should not require the user to provide srpm manually. Many reviews need any of those files. Especially if I use something like git for spec file, then the need to upload somewhere also srpm is quite annoying. Could we just say aloud we ignore unnecessary spec and instead provide link to extracted spec from the srpm? Why should we enforce duplicate copies? |
I think we can't just yet because AFAIK the But I quite like the idea. Maybe we should propose it on some official place? |
I think we might have then create bug or pull request to fedora-review tool. I understand it is useful for manual reviews. But when automated tool is involved, I do not see a reason for manual preparation, when the same can be obtained by automated step. Creating spec from srpm is as easy as Both fedora-review and fedora-create-review can extract spec file without bothering the user about it. I do not see a reason to force user to provide it extra way. Yes, I guess we should raise that idea to wider audience. |
Created issue on Fedora-review upstream: https://pagure.io/FedoraReview/issue/469 |
The
fedora-review
tool itself checks it but this won't work for Copr, and therefore even for us.copr-review-service
finds "SRPM URL" link in RHBZ and sends it to Copr.rpm
,.src.rpm
, and.spec
files that all came from the initial SRPMfedora-review
on the results and those two .spec files will always be the sameWe need to do the check manually.
The text was updated successfully, but these errors were encountered: