[copr] master: 1055499 - do not replace version with $releasever on rawhide (0a07fda)
by Miroslav Suchý
Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit 0a07fda76529885e69773722f823b4792f440857
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Mon Jan 20 14:07:01 2014 +0100
1055499 - do not replace version with $releasever on rawhide
>---------------------------------------------------------------
coprs_frontend/coprs/helpers.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/coprs_frontend/coprs/helpers.py b/coprs_frontend/coprs/helpers.py
index 5597d0e..8075380 100644
--- a/coprs_frontend/coprs/helpers.py
+++ b/coprs_frontend/coprs/helpers.py
@@ -131,7 +131,8 @@ def parse_package_name(pkg):
def render_repo(copr, mock_chroot, url):
""" Render .repo file. No checks if copr or mock_chroot exists. """
if mock_chroot.os_release == "fedora":
- mock_chroot.os_version = '$releasever'
+ if mock_chroot.os_version != "rawhide":
+ mock_chroot.os_version = '$releasever'
url = urlparse.urljoin(url, "%s-%s-%s/" % (mock_chroot.os_release, mock_chroot.os_version, '$basearch'))
#url = url.replace("http://", "https://")
return flask.render_template('coprs/copr.repo', copr=copr, url=url)
10 years, 5 months
[copr] master: 1055119 - do not propagate https until it is properly signed (00dc6a7)
by Miroslav Suchý
Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit 00dc6a7d4c7a666a36820fe4f0133d497c4ac24a
Author: Miroslav Suchý <miroslav(a)suchy.cz>
Date: Sat Jan 18 23:32:50 2014 +0100
1055119 - do not propagate https until it is properly signed
>---------------------------------------------------------------
coprs_frontend/coprs/templates/api.html | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/coprs_frontend/coprs/templates/api.html b/coprs_frontend/coprs/templates/api.html
index 132aca8..2a0a2a9 100644
--- a/coprs_frontend/coprs/templates/api.html
+++ b/coprs_frontend/coprs/templates/api.html
@@ -23,7 +23,7 @@
login = {{ g.user.api_login }}
username = {{ g.user.name }}
token = {{ g.user.api_token }}
-copr_url = https://copr.fedoraproject.org
+copr_url = http://copr.fedoraproject.org
# expiration date: {{ g.user.api_token_expiration }}
</pre>
10 years, 5 months
[copr] master: fix spellings on chroot edit page (17571d4)
by Miroslav Suchý
Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit 17571d41496a7fe2d70ba3a7d09643a48072f1f9
Author: Dominic Cleal <dcleal(a)redhat.com>
Date: Fri Jan 17 11:03:33 2014 +0000
fix spellings on chroot edit page
>---------------------------------------------------------------
.../coprs/templates/coprs/detail/edit_chroot.html | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/coprs_frontend/coprs/templates/coprs/detail/edit_chroot.html b/coprs_frontend/coprs/templates/coprs/detail/edit_chroot.html
index 9f0905c..d0d748d 100644
--- a/coprs_frontend/coprs/templates/coprs/detail/edit_chroot.html
+++ b/coprs_frontend/coprs/templates/coprs/detail/edit_chroot.html
@@ -10,7 +10,7 @@
<form action="{{ url_for('coprs_ns.chroot_update', username = copr.owner.name, coprname = copr.name, chrootname = chroot.chroot_name) }}" method=post class=add-entry>
<dl>
{{ form.csrf_token }}
- {{ render_field(form.buildroot_pkgs, size=80, placeholder='Space separeted list of packages. E.g.: scl-utils-build rubu193-build') }}
+ {{ render_field(form.buildroot_pkgs, size=80, placeholder='Space separated list of packages. E.g.: scl-utils-build ruby193-build') }}
<dt><input type="submit" value="Update"></dt>
</dl>
</form>
10 years, 5 months
[copr] master: 1054594 - temporary disable https in repo file (f0e5c21)
by Miroslav Suchý
Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit f0e5c211f86cc3691fda8d4412c21ef6338a339f
Author: Miroslav Suchý <miroslav(a)suchy.cz>
Date: Fri Jan 17 07:58:36 2014 +0100
1054594 - temporary disable https in repo file
until we get properly signed certs
>---------------------------------------------------------------
coprs_frontend/coprs/helpers.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/coprs_frontend/coprs/helpers.py b/coprs_frontend/coprs/helpers.py
index facc173..5597d0e 100644
--- a/coprs_frontend/coprs/helpers.py
+++ b/coprs_frontend/coprs/helpers.py
@@ -133,5 +133,5 @@ def render_repo(copr, mock_chroot, url):
if mock_chroot.os_release == "fedora":
mock_chroot.os_version = '$releasever'
url = urlparse.urljoin(url, "%s-%s-%s/" % (mock_chroot.os_release, mock_chroot.os_version, '$basearch'))
- url = url.replace("http://", "https://")
+ #url = url.replace("http://", "https://")
return flask.render_template('coprs/copr.repo', copr=copr, url=url)
10 years, 5 months
[copr] master: Automatic commit of package [copr] release [1.24-1]. (4982763)
by Miroslav Suchý
Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit 4982763a62e4c5be8543be192cc54d0d911cf3d5
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Thu Jan 16 14:56:39 2014 +0100
Automatic commit of package [copr] release [1.24-1].
>---------------------------------------------------------------
copr.spec | 18 +++++++++++++++++-
rel-eng/packages/copr | 2 +-
2 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/copr.spec b/copr.spec
index b804234..8ec4235 100644
--- a/copr.spec
+++ b/copr.spec
@@ -9,7 +9,7 @@
%global modulename copr
Name: copr
-Version: 1.23
+Version: 1.24
Release: 1%{?dist}
Summary: Cool Other Package Repo
@@ -405,6 +405,22 @@ fi
%endif # with_server
%changelog
+* Thu Jan 16 2014 Miroslav Suchý <msuchy(a)redhat.com> 1.24-1
+- add BR python-markdown
+- [fronted] don't add description to .repo files
+- [spec] fix with_tests conditional
+- add build deletion
+- 1044158 - do not require fas username prior to login
+- replace http with https in copr-cli and in generated repo file
+- [cli] UX changes - explicitely state that pkgs is URL
+- 1053142 - only build copr-cli on el6
+- [frontend] correctly handle mangled chroot
+- [frontend] do not traceback when user malform url
+- [frontend] change default description and instructions to sound more
+ dangerously
+- 1052075 - do not set chroots on repeated build
+- 1052071 - do not throw ISE when copr does not exist
+
* Mon Jan 13 2014 Miroslav Suchý <msuchy(a)redhat.com> 1.23-1
- [backend] rhel7-beta do not have comps
- 1052073 - correctly parse malformed chroot
diff --git a/rel-eng/packages/copr b/rel-eng/packages/copr
index 8c2bec3..1d3d9e7 100644
--- a/rel-eng/packages/copr
+++ b/rel-eng/packages/copr
@@ -1 +1 @@
-1.23-1 ./
+1.24-1 ./
10 years, 5 months
[copr] master: add BR python-markdown (bd2bdbf)
by Miroslav Suchý
Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit bd2bdbf31b1853e827656c62dc4bf924142812e2
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Thu Jan 16 13:49:52 2014 +0100
add BR python-markdown
addressing:
+ ./manage.py test
Traceback (most recent call last):
File "./manage.py", line 10, in <module>
from coprs import app
File "/builddir/build/BUILD/copr-git-14.f7157e1/coprs_frontend/coprs/__init__.py", line 30, in <module>
import coprs.models
File "/builddir/build/BUILD/copr-git-14.f7157e1/coprs_frontend/coprs/models.py", line 2, in <module>
import markdown
ImportError: No module named markdown
RPM build errors:
>---------------------------------------------------------------
copr.spec | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/copr.spec b/copr.spec
index 3bfc50e..b804234 100644
--- a/copr.spec
+++ b/copr.spec
@@ -118,6 +118,7 @@ BuildRequires: pytest
BuildRequires: yum
BuildRequires: python-flexmock
BuildRequires: python-decorator
+BuildRequires: python-markdown
%description frontend
COPR is lightweight build system. It allows you to create new project in WebUI,
10 years, 5 months
[copr] master: [fronted] don't add description to .repo files (f7157e1)
by Richard Marko
Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit f7157e1c38c8f42b4de9e91013bf693245a35276
Author: Richard Marko <rmarko(a)fedoraproject.org>
Date: Wed Jan 15 16:36:45 2014 +0100
[fronted] don't add description to .repo files
Not supported by package managers.
Signed-off-by: Richard Marko <rmarko(a)fedoraproject.org>
>---------------------------------------------------------------
coprs_frontend/coprs/helpers.py | 1 -
coprs_frontend/coprs/templates/coprs/copr.repo | 1 -
2 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/coprs_frontend/coprs/helpers.py b/coprs_frontend/coprs/helpers.py
index 2624ae7..facc173 100644
--- a/coprs_frontend/coprs/helpers.py
+++ b/coprs_frontend/coprs/helpers.py
@@ -133,6 +133,5 @@ def render_repo(copr, mock_chroot, url):
if mock_chroot.os_release == "fedora":
mock_chroot.os_version = '$releasever'
url = urlparse.urljoin(url, "%s-%s-%s/" % (mock_chroot.os_release, mock_chroot.os_version, '$basearch'))
- copr.description = copr.description.replace("\n", " ")
url = url.replace("http://", "https://")
return flask.render_template('coprs/copr.repo', copr=copr, url=url)
diff --git a/coprs_frontend/coprs/templates/coprs/copr.repo b/coprs_frontend/coprs/templates/coprs/copr.repo
index 7b5e6f6..1aaf318 100644
--- a/coprs_frontend/coprs/templates/coprs/copr.repo
+++ b/coprs_frontend/coprs/templates/coprs/copr.repo
@@ -1,6 +1,5 @@
[{{ copr.owner.name }}-{{ copr.name }}]
name=Copr repo for {{ copr.name }} owned by {{ copr.owner.name }}
-description={{ copr.description }}
baseurl={{ url }}
skip_if_unavailable=True
gpgcheck=0
10 years, 5 months
[copr] master: [spec] fix with_tests conditional (0c00cf5)
by Richard Marko
Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit 0c00cf5eeb434d682b1ed555f42a0dc9828bbf33
Author: Richard Marko <rmarko(a)fedoraproject.org>
Date: Wed Jan 15 14:48:48 2014 +0100
[spec] fix with_tests conditional
Signed-off-by: Richard Marko <rmarko(a)fedoraproject.org>
>---------------------------------------------------------------
copr.spec | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/copr.spec b/copr.spec
index 2738f04..3bfc50e 100644
--- a/copr.spec
+++ b/copr.spec
@@ -282,7 +282,7 @@ install -p -m 644 man/%{name}-selinux-relabel.8 %{buildroot}/%{_mandir}/man8/
%endif
%check
-%if ! 0%{?with_test:1} && %{with_server}
+%if %{with_test} && %{with_server}
pushd coprs_frontend
COPR_CONFIG="$(pwd)/config/copr_unit_test.conf" ./manage.py test
popd
10 years, 5 months