Hi,
I'm looking at python-bugzilla way of cloning the bug.
Can anyone help me out with this?
Thanks, Deepshikha
On 11/19/2018 06:04 AM, Deepshikha Khandelwal wrote:
Hi,
I'm looking at python-bugzilla way of cloning the bug.
Can anyone help me out with this?
There's no bugzilla API for bug cloning, it's entirely a web UI thing, so there's not a simple way to do it.
Jakub had patches in the past for this and I know he rebased them recently. Jakub would you mind attaching them here?
My opinion on making this part of the python-bugzilla API hasn't changed but maybe we can stuff this in a contrib/ script in the git repo. Maybe in time it can turn into a /usr/bin/bugzilla command but I'd like to see how it goes as an add on script first. So Jakub if you're motivated that could be a way forward with this
Thanks, Cole
Hi Cole, +++ Cole Robinson [12/12/18 11:38 -0500]:
On 11/19/2018 06:04 AM, Deepshikha Khandelwal wrote:
Hi,
I'm looking at python-bugzilla way of cloning the bug.
Can anyone help me out with this?
There's no bugzilla API for bug cloning, it's entirely a web UI thing, so there's not a simple way to do it.
Jakub had patches in the past for this and I know he rebased them recently. Jakub would you mind attaching them here?
Yes, please see the attachment. It's a patch for
/usr/lib/python2.7/site-packages/bugzilla/base.py
Please keep in mind that some fields are commented-out (not cloned), because doing that creates too much noise on other products.
My opinion on making this part of the python-bugzilla API hasn't changed but maybe we can stuff this in a contrib/ script in the git repo. Maybe in time it can turn into a /usr/bin/bugzilla command but I'd like to see how it goes as an add on script first. So Jakub if you're motivated that could be a way forward with this
I'm not sure. As I mentioned, cloning every information in the BZ creates blockers and upsets managers. We'd probably need a silent/loud cloning at least. Let me think about it.
Thanks, Cole
Best regards,
On 12/12/18 11:38 AM, Cole Robinson wrote:
On 11/19/2018 06:04 AM, Deepshikha Khandelwal wrote:
Hi,
I'm looking at python-bugzilla way of cloning the bug.
Can anyone help me out with this?
There's no bugzilla API for bug cloning, it's entirely a web UI thing, so there's not a simple way to do it.
Jakub had patches in the past for this and I know he rebased them recently. Jakub would you mind attaching them here?
My opinion on making this part of the python-bugzilla API hasn't changed but maybe we can stuff this in a contrib/ script in the git repo. Maybe in time it can turn into a /usr/bin/bugzilla command but I'd like to see how it goes as an add on script first. So Jakub if you're motivated that could be a way forward with this
I hve versions of the code for both Ruby and Python. I am happy to post them but I can not attribute where I got them from. If folks are ok, and wont yell about possible plagirism, I am happy to share.
-- bk
On 12/12/2018 12:01 PM, Bryan Kearney wrote:
On 12/12/18 11:38 AM, Cole Robinson wrote:
On 11/19/2018 06:04 AM, Deepshikha Khandelwal wrote:
Hi,
I'm looking at python-bugzilla way of cloning the bug.
Can anyone help me out with this?
There's no bugzilla API for bug cloning, it's entirely a web UI thing, so there's not a simple way to do it.
Jakub had patches in the past for this and I know he rebased them recently. Jakub would you mind attaching them here?
My opinion on making this part of the python-bugzilla API hasn't changed but maybe we can stuff this in a contrib/ script in the git repo. Maybe in time it can turn into a /usr/bin/bugzilla command but I'd like to see how it goes as an add on script first. So Jakub if you're motivated that could be a way forward with this
I hve versions of the code for both Ruby and Python. I am happy to post them but I can not attribute where I got them from. If folks are ok, and wont yell about possible plagirism, I am happy to share.
Sure if you have a standalone python script, doesn't hurt to send it over IMO
Thanks, Cole
python-bugzilla@lists.stg.fedorahosted.org