Andreas Bauer wrote:
On Tuesday, 8. May 2007 16:10, Andreas Bauer wrote:
On Friday, 4. May 2007 23:24, Dr. Peter Poeml wrote:
I'm looking at https://api.opensuse.org/apidocs, and there is is /source/<project>/_config as well as /build/<project>/<repository>/_buildconfig,
The former returns "HTTP Error 501: Not Implemented" to a GET request.
This is the one you're looking for. The backend has it implemented and working, the error is produced by the frontend which is sending strange question marks to the backend. Will be fixed.
Works now.
And how can I use it? apidocs shows only GET method. I need to modify it: Just now I can only work-around it by a lower mentioned (permanently raising) sed script. More expressions should come to prevent ugly %if %suse_version hell in spec files. /^%prep/i%debug_package 1,/^BuildRequires:/{ /^BuildRequires:/a# Auto added by sync_SuSE_to_BS:\ %if 0%{?opensuse_bs}\nBuildRequires: pkg-config\n%endif } 1,/^BuildRequires:/{ /^BuildRequires:/a# Auto added by sync_SuSE_to_BS:\ BuildRequires: mDNSResponder-devel } /^%prep/i%debug_package s/^\(Requires:.*\) libexpat-devel\(^\| \)/\1\2/ T1 a# Auto modified by sync_SuSE_to_BS:\n%if %suse_version > 1020\nRequires: libexpat-devel\n%else\nRequires: ex pat\n%endif :1 s/^\(BuildRequires:.*\) libexpat-devel\(^\| \)/\1\2/ T2 a# Auto modified by sync_SuSE_to_BS:\n%if %suse_version > 1020\nBuildRequires: libexpat-devel\n%else\nBuildRe quires: expat\n%endif :2 s/^\(Requires:.*\) libopenssl-devel\(^\| \)/\1\2/ T3 a# Auto modified by sync_SuSE_to_BS:\n%if %suse_version > 1020\nRequires: libopenssl-devel\n%else\nRequires: openssl-devel\n%endif :3 s/^\(BuildRequires:.*\) libopenssl-devel\(^\| \)/\1\2/ T4 a# Auto modified by sync_SuSE_to_BS:\n%if %suse_version > 1020\nBuildRequires: libopenssl-devel\n%else\nBuild Requires: openssl-devel\n%endif :4 s/^\(Requires:.*\) texlive-devel\(^\| \)/\1\2/ T5 a# Auto modified by sync_SuSE_to_BS:\n%if %suse_version > 1020\nRequires: texlive-devel\n%else\nRequires: tet ex\n%endif :5 s/^\(BuildRequires:.*\) texlive-devel\(^\| \)/\1\2/ T6 a# Auto modified by sync_SuSE_to_BS:\n%if %suse_version > 1020\nBuildRequires: texlive-devel\n%else\nBuildReq uires: tetex\n%endif :6 s/^\(Requires:.*\) texlive\(^\| \)/\1\2/ T7 a# Auto modified by sync_SuSE_to_BS:\n%if %suse_version > 1020\nRequires: texlive\n%else\nRequires: tetex\n%e ndif :7 s/^\(BuildRequires:.*\) texlive\(^\| \)/\1\2/ T8 a# Auto modified by sync_SuSE_to_BS:\n%if %suse_version > 1020\nBuildRequires: texlive\n%else\nBuildRequires: tetex\n%endif :8 -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sbrabec@suse.cz Lihovarská 1060/12 tel: +420 284 028 966 190 00 Praha 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org