Open Bug 248203 Opened 20 years ago Updated 16 years ago

bugzilla-change script to complement bugzilla-submit

Categories

(Bugzilla :: Bugzilla-General, defect)

2.17.7
defect
Not set
normal

Tracking

()

People

(Reporter: justdave, Unassigned)

References

Details

Attachments

(1 file)

I have a bugzilla-change script based on bugzilla-submit, which makes all of the existing parameters optional, but requires a bug ID, and submits to process_bug.cgi. Will upload shortly.
Attached file bugzilla-change 0.1
This has been made use of... I was probably lucky and didn't encounter any errors. :) The error checking hasn't been modified (much) from bugzilla-submit, and the errors that process_bug.cgi produces might not all be the same...
It would be nice to find a way to reuse the bugzilla-submit code, somehow. But then it would really require a Bugzilla.py module and a setup.py to install. How do you feel about this, Dave?
why not? is there a reason it needs to be installed, or can we just ask them to set PYTHONPATH appropriately to find it? (Or is there a way to set that at runtime?)
You can definitely set PYTHONPATH first, even in runtime, but then the problem is finding out *where* the user placed his Bugzilla.py file. Installing into the site-packages directory is a "good thing". We can make a simple distutils thing that does installation in about 5 minutes.
*** Bug 235082 has been marked as a duplicate of this bug. ***
Anything more come out of modularizing this into Bugzilla.py? thanks
Reassigning bugs that I'm not actively working on to the default component owner in order to try to make some sanity out of my personal buglist. This doesn't mean the bug isn't being dealt with, just that I'm not the one doing it. If you are dealing with this bug, please assign it to yourself.
Assignee: justdave → general
QA Contact: mattyt-bugzilla → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: