[copr] master: Add Java client (3eee742)
by Mikolaj Izdebski
Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit 3eee7427b5795355e01d81fe552b3893f2a3121e
Author: Mikolaj Izdebski <mizdebsk(a)redhat.com>
Date: Tue Mar 18 15:18:23 2014 +0100
Add Java client
>---------------------------------------------------------------
Diff suppressed because of size. To see it, use:
git diff --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol ^3eee7427b5795355e01d81fe552b3893f2a3121e~1 3eee7427b5795355e01d81fe552b3893f2a3121e
10 years, 1 month
[copr] master: Automatic commit of package [copr-cli] release [1.29-1]. (8356fba)
by Miroslav Suchý
Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit 8356fba6c1069de4fe445c1d170143046947b8a1
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Tue Mar 18 15:02:11 2014 +0100
Automatic commit of package [copr-cli] release [1.29-1].
>---------------------------------------------------------------
cli/copr-cli.spec | 5 ++++-
rel-eng/packages/copr-cli | 1 +
2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/cli/copr-cli.spec b/cli/copr-cli.spec
index b45f32a..b5b16c6 100644
--- a/cli/copr-cli.spec
+++ b/cli/copr-cli.spec
@@ -4,7 +4,7 @@
%endif
Name: copr-cli
-Version: 1.28
+Version: 1.29
Release: 1%{?dist}
Summary: Command line interface for COPR
@@ -90,6 +90,9 @@ cp -a documentation/python-doc %{buildroot}%{_pkgdocdir}/
%changelog
+* Tue Mar 18 2014 Miroslav Suchý <msuchy(a)redhat.com> 1.29-1
+- move copr-cli in standalone package
+
* Thu Feb 27 2014 Miroslav Suchý <msuchy(a)redhat.com> 1.28-1
- [backend] - pass lock to Actions
diff --git a/rel-eng/packages/copr-cli b/rel-eng/packages/copr-cli
new file mode 100644
index 0000000..a94aebd
--- /dev/null
+++ b/rel-eng/packages/copr-cli
@@ -0,0 +1 @@
+1.29-1 cli/
10 years, 1 month
[copr] master: move copr-cli to separate package (f33ea1d)
by Miroslav Suchý
Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit f33ea1d7522acd46fea6295d2aedfb650208c7c1
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Tue Mar 18 14:44:15 2014 +0100
move copr-cli to separate package
>---------------------------------------------------------------
LICENSE => cli/LICENSE | 0
cli_requirements.txt => cli/cli_requirements.txt | 0
copr.spec => cli/copr-cli.spec | 29 ++++---------------
{copr_cli => cli/copr_cli}/README.rst | 0
{copr_cli => cli/copr_cli}/__init__.py | 0
{copr_cli => cli/copr_cli}/copr_exceptions.py | 0
{copr_cli => cli/copr_cli}/main.py | 0
{copr_cli => cli/copr_cli}/subcommands.py | 0
coprcli-setup.py => cli/coprcli-setup.py | 8 +++--
{documentation => cli/documentation}/Makefile | 2 +-
.../how-to-generate-documentation.txt | 0
{man => cli/man}/copr-cli.1.asciidoc | 0
man/copr-selinux-enable.8.asciidoc | 28 -------------------
man/copr-selinux-relabel.8.asciidoc | 28 -------------------
14 files changed, 12 insertions(+), 83 deletions(-)
diff --git a/LICENSE b/cli/LICENSE
similarity index 100%
rename from LICENSE
rename to cli/LICENSE
diff --git a/cli_requirements.txt b/cli/cli_requirements.txt
similarity index 100%
rename from cli_requirements.txt
rename to cli/cli_requirements.txt
diff --git a/copr.spec b/cli/copr-cli.spec
similarity index 97%
rename from copr.spec
rename to cli/copr-cli.spec
index b139d34..b45f32a 100644
--- a/copr.spec
+++ b/cli/copr-cli.spec
@@ -3,20 +3,18 @@
%global __python2 %{__python}
%endif
-Name: copr
+Name: copr-cli
Version: 1.28
Release: 1%{?dist}
-Summary: Cool Other Package Repo
+Summary: Command line interface for COPR
Group: Applications/Productivity
License: GPLv2+
URL: https://fedorahosted.org/copr/
# Source is created by
# git clone https://git.fedorahosted.org/git/copr.git
-# cd copr
+# cd copr/cli
# tito build --tgz
-# content is same as https://git.fedorahosted.org/cgit/copr.git/snapshot/%{name}-%{version}-1....
-# but checksum does not match due different metadata
Source0: %{name}-%{version}.tar.gz
BuildArch: noarch
@@ -26,9 +24,6 @@ BuildRequires: util-linux
BuildRequires: python-setuptools
BuildRequires: python-requests
BuildRequires: python2-devel
-%if %{with_server}
-BuildRequires: systemd
-%endif
%if 0%{?rhel} < 7 && 0%{?rhel} > 0
BuildRequires: python-argparse
%endif
@@ -37,22 +32,13 @@ BuildRequires: epydoc
BuildRequires: graphviz
BuildRequires: make
-%description
-COPR is lightweight build system. It allows you to create new project in WebUI,
-and submit new builds and COPR will create yum repository from latest builds.
-
-%package cli
-Summary: Command line interface for COPR
Requires: python-requests
Requires: python-setuptools
-%if 0%{?rhel} < 6 && 0%{?rhel} > 0
-Group: Applications/Productivity
-%endif
%if 0%{?rhel} < 7 && 0%{?rhel} > 0
Requires: python-argparse
%endif
-%description cli
+%description
COPR is lightweight build system. It allows you to create new project in WebUI,
and submit new builds and COPR will create yum repository from latests builds.
@@ -85,8 +71,7 @@ make %{?_smp_mflags} python
popd
%install
-
-#copr-cli
+install -d %{buildroot}%{_pkgdocdir}/
%{__python2} coprcli-setup.py install --root %{buildroot}
install -d %{buildroot}%{_mandir}/man1
install -p -m 644 man/copr-cli.1 %{buildroot}/%{_mandir}/man1/
@@ -94,9 +79,7 @@ install -p -m 644 man/copr-cli.1 %{buildroot}/%{_mandir}/man1/
#doc
cp -a documentation/python-doc %{buildroot}%{_pkgdocdir}/
-
-
-%files cli
+%files
%doc LICENSE README.rst
%{_bindir}/copr-cli
%{python_sitelib}/*
diff --git a/copr_cli/README.rst b/cli/copr_cli/README.rst
similarity index 100%
rename from copr_cli/README.rst
rename to cli/copr_cli/README.rst
diff --git a/copr_cli/__init__.py b/cli/copr_cli/__init__.py
similarity index 100%
rename from copr_cli/__init__.py
rename to cli/copr_cli/__init__.py
diff --git a/copr_cli/copr_exceptions.py b/cli/copr_cli/copr_exceptions.py
similarity index 100%
rename from copr_cli/copr_exceptions.py
rename to cli/copr_cli/copr_exceptions.py
diff --git a/copr_cli/main.py b/cli/copr_cli/main.py
similarity index 100%
rename from copr_cli/main.py
rename to cli/copr_cli/main.py
diff --git a/copr_cli/subcommands.py b/cli/copr_cli/subcommands.py
similarity index 100%
rename from copr_cli/subcommands.py
rename to cli/copr_cli/subcommands.py
diff --git a/coprcli-setup.py b/cli/coprcli-setup.py
similarity index 75%
rename from coprcli-setup.py
rename to cli/coprcli-setup.py
index ed7eb57..fa67387 100644
--- a/coprcli-setup.py
+++ b/cli/coprcli-setup.py
@@ -4,10 +4,12 @@ from setuptools import setup
import sys
-f = open('README')
-long_description = f.read().strip()
-f.close()
+long_description = """Copr is designed to be a lightweight buildsystem that allows contributors
+to create packages, put them in repositories, and make it easy for users
+to install the packages onto their system. Within the Fedora Project it
+is used to allow packagers to create third party repositories.
+This part is a command line interface to use copr."""
from copr_cli.main import __description__, __version__
diff --git a/documentation/Makefile b/cli/documentation/Makefile
similarity index 94%
rename from documentation/Makefile
rename to cli/documentation/Makefile
index fe284a6..d866287 100644
--- a/documentation/Makefile
+++ b/cli/documentation/Makefile
@@ -13,7 +13,7 @@ BUILD_DIR := build
EPYDOC_BIN := `which epydoc`
EPYDOC_SWITCHES := --inheritance listed --graph all --html
PYTHON_DOC_DIR := python-doc
-PYTHON_DIRS := ../backend ../copr_cli ../coprs_frontend
+PYTHON_DIRS := ../copr_cli
# TARGETS
# schema is not incldued here, since you need a live db
diff --git a/documentation/how-to-generate-documentation.txt b/cli/documentation/how-to-generate-documentation.txt
similarity index 100%
rename from documentation/how-to-generate-documentation.txt
rename to cli/documentation/how-to-generate-documentation.txt
diff --git a/man/copr-cli.1.asciidoc b/cli/man/copr-cli.1.asciidoc
similarity index 100%
rename from man/copr-cli.1.asciidoc
rename to cli/man/copr-cli.1.asciidoc
diff --git a/man/copr-selinux-enable.8.asciidoc b/man/copr-selinux-enable.8.asciidoc
deleted file mode 100644
index 63a57ae..0000000
--- a/man/copr-selinux-enable.8.asciidoc
+++ /dev/null
@@ -1,28 +0,0 @@
-copr-selinux-enable(8)
-=====================
-:man source: copr
-:man manual: COPR
-
-NAME
-----
-
-copr-selinux-enable - enable Copr SELinux policy
-
-SYNOPSIS
---------
-
-copr-selinux-enable
-
-DESCRIPTION
------------
-
-The *copr-selinux-enable* program will install and enable the Copr
-SELinux module and set the required SELinux flags.
-
-The program is called by an rpm post script and it
-is not usually required to run it manually.
-
-SEE ALSO
---------
-
-copr-selinux-relabel(8)
diff --git a/man/copr-selinux-relabel.8.asciidoc b/man/copr-selinux-relabel.8.asciidoc
deleted file mode 100644
index 59bbab8..0000000
--- a/man/copr-selinux-relabel.8.asciidoc
+++ /dev/null
@@ -1,28 +0,0 @@
-copr-selinux-relabel(8)
-=====================
-:man source: copr
-:man manual: COPR
-
-NAME
-----
-
-copr-selinux-relabel - call restorecon on Copr files
-
-SYNOPSIS
---------
-
-copr-selinux-relabel
-
-DESCRIPTION
------------
-
-The *copr-selinux-relabel* program will call restorecon(8) on all
-Copr files. This effectively restores the SELinux context.
-
-The program is called by an rpm post script and it
-is not usually required to run it manually.
-
-SEE ALSO
---------
-
-copr-selinux-enable(8), restorecon(8)
10 years, 1 month
[copr] master: Automatic commit of package [copr-selinux] release [1.30-1]. (bd4de19)
by Miroslav Suchý
Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit bd4de19003a42f1b0a59f667d6b64ded74a92c3f
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Tue Mar 18 13:49:05 2014 +0100
Automatic commit of package [copr-selinux] release [1.30-1].
>---------------------------------------------------------------
rel-eng/packages/copr-selinux | 2 +-
selinux/copr-selinux.spec | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/rel-eng/packages/copr-selinux b/rel-eng/packages/copr-selinux
index 00896df..72d0b76 100644
--- a/rel-eng/packages/copr-selinux
+++ b/rel-eng/packages/copr-selinux
@@ -1 +1 @@
-1.29-1 selinux/
+1.30-1 selinux/
diff --git a/selinux/copr-selinux.spec b/selinux/copr-selinux.spec
index 0d898ec..197a48b 100644
--- a/selinux/copr-selinux.spec
+++ b/selinux/copr-selinux.spec
@@ -6,7 +6,7 @@
%global modulename copr
Name: copr-selinux
-Version: 1.29
+Version: 1.30
Release: 1%{?dist}
Summary: SELinux module for COPR
@@ -105,6 +105,9 @@ fi
%{_mandir}/man8/%{name}-relabel.8*
%changelog
+* Tue Mar 18 2014 Miroslav Suchý <msuchy(a)redhat.com> 1.30-1
+- finish move selinux into separate package
+
* Tue Mar 18 2014 Miroslav Suchý <msuchy(a)redhat.com> 1.29-1
- new package built with tito
10 years, 1 month
[copr] master: finish move selinux into separate package (21e3c85)
by Miroslav Suchý
Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit 21e3c85fa4c0fd4ffe87391ab10efa9ddc99182d
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Tue Mar 18 13:48:42 2014 +0100
finish move selinux into separate package
>---------------------------------------------------------------
selinux/copr-selinux.spec | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/selinux/copr-selinux.spec b/selinux/copr-selinux.spec
index d983bee..0d898ec 100644
--- a/selinux/copr-selinux.spec
+++ b/selinux/copr-selinux.spec
@@ -67,21 +67,21 @@ install -p -m 644 %{modulename}.if \
%{buildroot}%{_datadir}/selinux/devel/include/%{moduletype}/%{modulename}.if
# Install copr-selinux-enable which will be called in %posttrans
install -d %{buildroot}%{_sbindir}
-install -p -m 755 %{name}-selinux-enable %{buildroot}%{_sbindir}/%{name}-selinux-enable
-install -p -m 755 %{name}-selinux-relabel %{buildroot}%{_sbindir}/%{name}-selinux-relabel
+install -p -m 755 %{name}-enable %{buildroot}%{_sbindir}/%{name}-enable
+install -p -m 755 %{name}-relabel %{buildroot}%{_sbindir}/%{name}-relabel
install -d %{buildroot}%{_mandir}/man8
-install -p -m 644 man/%{name}-selinux-enable.8 %{buildroot}/%{_mandir}/man8/
-install -p -m 644 man/%{name}-selinux-relabel.8 %{buildroot}/%{_mandir}/man8/
+install -p -m 644 man/%{name}-enable.8 %{buildroot}/%{_mandir}/man8/
+install -p -m 644 man/%{name}-relabel.8 %{buildroot}/%{_mandir}/man8/
%post
if /usr/sbin/selinuxenabled ; then
- %{_sbindir}/%{name}-selinux-enable
+ %{_sbindir}/%{name}-enable
fi
%posttrans
if /usr/sbin/selinuxenabled ; then
- %{_sbindir}/%{name}-selinux-relabel
+ %{_sbindir}/%{name}-relabel
fi
%postun
@@ -99,10 +99,10 @@ fi
%{_datadir}/selinux/*/%{modulename}.pp.bz2
# empty, do not distribute it for now
%exclude %{_datadir}/selinux/devel/include/%{moduletype}/%{modulename}.if
-%{_sbindir}/%{name}-selinux-enable
-%{_sbindir}/%{name}-selinux-relabel
-%{_mandir}/man8/%{name}-selinux-enable.8*
-%{_mandir}/man8/%{name}-selinux-relabel.8*
+%{_sbindir}/%{name}-enable
+%{_sbindir}/%{name}-relabel
+%{_mandir}/man8/%{name}-enable.8*
+%{_mandir}/man8/%{name}-relabel.8*
%changelog
* Tue Mar 18 2014 Miroslav Suchý <msuchy(a)redhat.com> 1.29-1
10 years, 1 month
[copr] master: Automatic commit of package [copr-selinux] release [1.29-1]. (aa2229a)
by Miroslav Suchý
Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit aa2229ae754c71b9283e1f96f2ed49f0cfac1e2b
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Tue Mar 18 13:46:24 2014 +0100
Automatic commit of package [copr-selinux] release [1.29-1].
>---------------------------------------------------------------
rel-eng/packages/copr-selinux | 1 +
selinux/copr-selinux.spec | 5 ++++-
2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/rel-eng/packages/copr-selinux b/rel-eng/packages/copr-selinux
new file mode 100644
index 0000000..00896df
--- /dev/null
+++ b/rel-eng/packages/copr-selinux
@@ -0,0 +1 @@
+1.29-1 selinux/
diff --git a/selinux/copr-selinux.spec b/selinux/copr-selinux.spec
index d90eb82..d983bee 100644
--- a/selinux/copr-selinux.spec
+++ b/selinux/copr-selinux.spec
@@ -6,7 +6,7 @@
%global modulename copr
Name: copr-selinux
-Version: 1.28
+Version: 1.29
Release: 1%{?dist}
Summary: SELinux module for COPR
@@ -105,6 +105,9 @@ fi
%{_mandir}/man8/%{name}-selinux-relabel.8*
%changelog
+* Tue Mar 18 2014 Miroslav Suchý <msuchy(a)redhat.com> 1.29-1
+- new package built with tito
+
* Thu Feb 27 2014 Miroslav Suchý <msuchy(a)redhat.com> 1.28-1
- [backend] - pass lock to Actions
10 years, 1 month
[copr] master: create _pkgdocdir (720734a)
by Miroslav Suchý
Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit 720734a09f3ad3972998bb5e3ba271d969e1098b
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Tue Mar 18 13:39:30 2014 +0100
create _pkgdocdir
>---------------------------------------------------------------
frontend/copr-frontend.spec | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/frontend/copr-frontend.spec b/frontend/copr-frontend.spec
index 6490cbb..8e7d542 100644
--- a/frontend/copr-frontend.spec
+++ b/frontend/copr-frontend.spec
@@ -102,6 +102,7 @@ popd
%install
install -d %{buildroot}%{_sysconfdir}/copr
+install -d %{buildroot}%{_pkgdocdir}
install -d %{buildroot}%{_datadir}/copr/coprs_frontend
install -d %{buildroot}%{_sharedstatedir}/copr/data/openid_store
install -d %{buildroot}%{_sharedstatedir}/copr/data/openid_store/associations
10 years, 1 month