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 <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 /issue_trackers | grep -A 5 "openSUSE Bugzilla" <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> -- mit freundlichen Gruessen/with best regards, Carsten Hoeger Open-Xchange GmbH -------------------------------------------------------------------------------- Open-Xchange AG, Rollnerstr. 14, 90408 Nürnberg, Amtsgericht Nürnberg HRB 24738 Vorstand: Rafael Laguna de la Vera, Carsten Dirks Aufsichtsratsvorsitzender: Richard Seibt European Office: Open-Xchange GmbH, Martinstr. 41, D-57462 Olpe, Germany Amtsgericht Siegen, HRB 8718, Geschäftsführer: Frank Hoberg, Martin Kauss US Office: Open-Xchange. Inc., 530 Lytton Avenue, Palo Alto, CA 94301, USA --------------------------------------------------------------------------------