--- coprs_frontend/coprs/templates/api.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/coprs_frontend/coprs/templates/api.html b/coprs_frontend/coprs/templates/api.html index c711768..76866e7 100644 --- a/coprs_frontend/coprs/templates/api.html +++ b/coprs_frontend/coprs/templates/api.html @@ -83,7 +83,7 @@ copr_url = http://copr.fedoraproject.org "repos": [ { "yum_repos": { - "fedora-19-i686": "https://copr-be.cloud.fedoraproject.org/results/jdaniels/log4j/fedora-19-i68..." + "fedora-19-i686": "https://copr-be.cloud.fedoraproject.org/results/jdaniels/log4j/fedora-19-i68...", "fedora-19-x86_64": "https://copr-be.cloud.fedoraproject.org/results/jdaniels/log4j/fedora-19-x86..." }, "additional_repos": "", @@ -137,7 +137,7 @@ copr_url = http://copr.fedoraproject.org "repos": [ { "yum_repos": { - "fedora-19-i686": "https://copr-be.cloud.fedoraproject.org/results/jdaniels/log4j/fedora-19-i68..." + "fedora-19-i686": "https://copr-be.cloud.fedoraproject.org/results/jdaniels/log4j/fedora-19-i68...", "fedora-19-x86_64": "https://copr-be.cloud.fedoraproject.org/results/jdaniels/log4j/fedora-19-x86..." }, "additional_repos": "", @@ -364,8 +364,8 @@ copr_url = http://copr.fedoraproject.org <h4>Example result</h4> <pre> { - "output": "ok" - "buildroot_pkgs": "scl-utils-build", + "output": "ok", + "buildroot_pkgs": "scl-utils-build" } </pre>
@@ -390,8 +390,8 @@ copr_url = http://copr.fedoraproject.org <h4>Example result</h4> <pre> { - "output": "ok" - "buildroot_pkgs": "scl-utils-build", + "output": "ok", + "buildroot_pkgs": "scl-utils-build" } </pre>
--- coprs_frontend/coprs/templates/api.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/coprs_frontend/coprs/templates/api.html b/coprs_frontend/coprs/templates/api.html index 76866e7..c677109 100644 --- a/coprs_frontend/coprs/templates/api.html +++ b/coprs_frontend/coprs/templates/api.html @@ -155,7 +155,7 @@ copr_url = http://copr.fedoraproject.org <p><span style="font-style:italic">Login required</span></p>
<h4>URL:</h4> - <pre style="font-size:120%">/api/copr/<username>/new/</pre> + <pre style="font-size:120%">/api/coprs/<username>/new/</pre>
<h4>URL parameters:</h4> <ul> @@ -179,7 +179,7 @@ copr_url = http://copr.fedoraproject.org <p><span style="font-style:italic">Login required</span></p>
<h4>URL:</h4> - <pre style="font-size:120%">/api/copr/<username>/<projectname>/new_build/</pre> + <pre style="font-size:120%">/api/coprs/<username>/<projectname>/new_build/</pre>
<h4>URL parameters:</h4> <ul> @@ -207,7 +207,7 @@ copr_url = http://copr.fedoraproject.org <p><span style="font-style:italic">Login required</span></p>
<h4>URL:</h4> - <pre style="font-size:120%">/api/copr/build_status/<build_id>/</pre> + <pre style="font-size:120%">/api/coprs/build_status/<build_id>/</pre>
<h4>URL parameters:</h4> <ul> @@ -238,7 +238,7 @@ copr_url = http://copr.fedoraproject.org <h3>Query build detail</h3>
<h4>URL:</h4> - <pre style="font-size:120%">/api/copr/build_detail/<build_id>/</pre> + <pre style="font-size:120%">/api/coprs/build_detail/<build_id>/</pre>
<h4>URL parameters:</h4> <ul> @@ -277,7 +277,7 @@ copr_url = http://copr.fedoraproject.org <p><span style="font-style:italic">Login required</span></p>
<h4>URL:</h4> - <pre style="font-size:120%">/api/copr/cancel_build/<build_id>/</pre> + <pre style="font-size:120%">/api/coprs/cancel_build/<build_id>/</pre>
<h4>URL parameters:</h4> <ul>
--- coprs_frontend/coprs/templates/api.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/coprs_frontend/coprs/templates/api.html b/coprs_frontend/coprs/templates/api.html index c677109..f813be4 100644 --- a/coprs_frontend/coprs/templates/api.html +++ b/coprs_frontend/coprs/templates/api.html @@ -166,8 +166,8 @@ copr_url = http://copr.fedoraproject.org <h4>Parameters sent by POST:</h4> <ul> <li><b>name</b> – The name of the project to be created</li> - <li><b>chroots</b> – A comma separated list of chroots to - use in the project</li> + <li><b>chroots</b> – Chroots to be used in the project, specified as <span style="font-style:italic">chrootname=y</span> + (e.g.: <span style="font-style:italic">fedora-rawhide-x86_64=y&fedora-20-x86_64=y</span>)</li> <li><b>repos</b> – A comma separated list of repositories that this new project should have access to</li> <li><b>initial_pkgs</b> – A comma separated list of initial
--- coprs_frontend/coprs/templates/api.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/coprs_frontend/coprs/templates/api.html b/coprs_frontend/coprs/templates/api.html index f813be4..9b511f3 100644 --- a/coprs_frontend/coprs/templates/api.html +++ b/coprs_frontend/coprs/templates/api.html @@ -168,9 +168,9 @@ copr_url = http://copr.fedoraproject.org <li><b>name</b> – The name of the project to be created</li> <li><b>chroots</b> – Chroots to be used in the project, specified as <span style="font-style:italic">chrootname=y</span> (e.g.: <span style="font-style:italic">fedora-rawhide-x86_64=y&fedora-20-x86_64=y</span>)</li> - <li><b>repos</b> – A comma separated list of repositories + <li><b>repos</b> – A space separated list of repositories that this new project should have access to</li> - <li><b>initial_pkgs</b> – A comma separated list of initial + <li><b>initial_pkgs</b> – A space separated list of initial packages to build in this new project</li> </ul>
All patches applied as: * b16359e (HEAD, origin/master, origin/HEAD, master) comma separated -> space separated * b2e935b correct the way of specifying chroots for new projects * 8f81188 fix API url in few places * fd171c2 commas here and there
Thanks.
copr-devel@lists.stg.fedorahosted.org