#470 [RFE] Extract some information into the created review bug
Opened a year ago by pemensik. Modified a year ago

fedora-create-review creates bug with review. I think it might include some information extracted from spec file. I think URL bug field might be filled from Url: spec field. That would make checking for latest version more straightforward.

It could be extracted by command:
- rpmspec -P *.spec | grep -i '^\s*URL:' | cut -d: -f2-

It might be useful to list also exported subpackages:
- rpmspec -q *.spec

In the bug text. I think also listing sources and patches from spec would be useful, using:
- spectool -S *.spec
- spectool -P *.spec

Would create simple overview what is included in the package. And maybe how difficult review might be. It might also make a hint about used source language for that package, which would be often useful too.

Since we use a tool to upload review, it might fill extra information without extra work from the user.


I am not familiar with the code but in case we don't already extract such information, we should consider using https://github.com/packit/specfile for this.

Login to comment on this ticket.

Metadata