Carsten Höger
Hi,
On 13 Oct 2015, at 14:03 , Adrian Schröter
wrote: osc api /issue_trackers > trackers
edit the file and change
<issue-tracker> <name>bnc</name> <kind>bugzilla</kind> <description>openSUSE Bugzilla</description> <url>https://bugzilla.opensuse.org/</url> <show-url>https://bugzilla.opensuse.org/show_bug.cgi?id=@@@</show-url> <regex>(?:bnc|BNC|bsc|BSC|boo|BOO)\s*[#:]\s*(\d+)</regex> <label>boo#@@@</label> - <enable-fetch>true</enable-fetch> + <enable-fetch>false</enable-fetch> </issue-tracker>
and run
osc api -X PUT /issue_trackers -T trackers
?
you need to use a POST here.
Ah, yes, sure.
But, doesn’t seem to work:
buildservice:~> cat issue_trackers <issue-tracker> <name>bnc</name> <kind>bugzilla</kind> <description>openSUSE Bugzilla</description> <url>https://bugzilla.opensuse.org/</url> <show-url>https://bugzilla.opensuse.org/show_bug.cgi?id=@@@</show-url> <regex>(?:bnc|BNC|bsc|BSC|boo|BOO)\s*[#:]\s*(\d+)</regex> <label>boo#@@@</label> <enable-fetch>false</enable-fetch> </issue-tracker>
buildservice:~> osc api -X POST /issue_trackers -T issue_trackers
osc api -e /issue_trackers/bnc doesn't work either. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org