#5 fedpkg --debug doesn't do anything
Closed: Invalid None Opened 8 years ago by crobinso.

fedpkg --debug is a valid cli option but in fact doesn't seem to do anything. Looking at the code, everything is triggered on the flag set by --verbose. So the attached patch just sets the verbose flag if --debug is passed
0001-fedpkg-Abide-debug.patch


Ping, any comment here?

Sorry about the long response time.

This issue is actually coming from rpkg and would better be fixed there. Instead of having two options that do the same thing I would probably go with removing the --debug global option entirely and only keeping --verbose.

Anyway, all patches must be signed off to be merged.

If --debug is set and error occurred, traceback is printed instead of just error message. This is very useful for debugging but I'm not sure this would be helpful for regular uses.

Let's close this issue then... I would appreciate it if one of yall could take care of the patch, since it sounds like there's different ideas about how to fix it, and I'm just a drive-by contributor :)

Login to comment on this ticket.

Metadata
Attachments 1