clime b7b0ec
%if 0%{?rhel} > 7 || 0%{?fedora}
clime b7b0ec
%global __python %_bindir/python3
clime b7b0ec
%global with_python3 1
clime b7b0ec
%else
clime b7b0ec
%global __python %_bindir/python2
clime b7b0ec
%global with_python2 1
7f7bb1
%endif
7f7bb1
cec089
Name:       copr-cli
e788ab
Version:    1.89
e788ab
Release:    1%{?dist}
cec089
Summary:    Command line interface for COPR
cec089
cec089
License:    GPLv2+
clime 468a63
URL:        https://pagure.io/copr/copr
659873
04de88
# Source is created by:
659873
# git clone %%url && cd copr
659873
# tito build --tgz --tag %%name-%%version-%%release
659873
Source0:    %name-%version.tar.gz
cec089
cec089
BuildArch:  noarch
clime b7b0ec
clime b7b0ec
Requires:      wget
clime b7b0ec
cec089
BuildRequires: asciidoc
cec089
BuildRequires: libxslt
cec089
BuildRequires: util-linux
clime b7b0ec
clime b7b0ec
%if %{with python3}
bf6f2c
Requires:      python3-copr >= 1.89
clime b7b0ec
Requires:      python3-jinja2
clime b7b0ec
Requires:      python3-simplejson
659873
Requires:      python3-humanize
0d93e2
Requires:      python3-koji
clime b7b0ec
clime b7b0ec
Recommends:    python3-progress
clime b7b0ec
bf6f2c
BuildRequires: python3-copr >= 1.89
clime b7b0ec
BuildRequires: python3-devel
clime b7b0ec
BuildRequires: python3-jinja2
659873
BuildRequires: python3-humanize
clime 979307
BuildRequires: python3-pytest
clime b7b0ec
BuildRequires: python3-setuptools
clime 979307
BuildRequires: python3-simplejson
bf6f2c
BuildRequires: python3-munch
7f7bb1
%else
bf6f2c
Requires:      python-copr >= 1.89
clime b7b0ec
Requires:      python-jinja2
clime b7b0ec
Requires:      python-simplejson
659873
Requires:      python-humanize
clime 979307
clime 979307
BuildRequires: pytest
bf6f2c
BuildRequires: python-copr >= 1.89
clime b7b0ec
BuildRequires: python-devel
clime 979307
BuildRequires: python-jinja2
659873
BuildRequires: python-humanize
clime 979307
BuildRequires: python-mock
clime b7b0ec
BuildRequires: python-setuptools
clime b7b0ec
BuildRequires: python-simplejson
bf6f2c
BuildRequires: python-munch
clime 6bbbf4
%endif
clime 979307
clime b7b0ec
# We historically shipped empty doc package, uninstall it.
clime b7b0ec
Obsoletes:     copr-cli-doc < 1.72
clime 979307
clime b7b0ec
%if 0%{?rhel} == 6
clime b7b0ec
Requires:      python-argparse
cec089
clime b7b0ec
BuildRequires: python-argparse
cec089
%endif
cec089
clime 2fcb8b
%if 0%{?rhel} == 7
clime 2fcb8b
Requires:      python-progress
clime 2fcb8b
%endif
clime 2fcb8b
cec089
%description
cec089
COPR is lightweight build system. It allows you to create new project in WebUI,
cec089
and submit new builds and COPR will create yum repository from latests builds.
cec089
cec089
This package contains command line interface.
cec089
cec089
%prep
cec089
%setup -q
cec089
cec089
cec089
%build
clime b7b0ec
version="%{version}" %py_build
cec089
mv copr_cli/README.rst ./
cec089
# convert manages
cec089
a2x -d manpage -f manpage man/copr-cli.1.asciidoc
cec089
945b8d
clime b7b0ec
%install
clime b7b0ec
version="%{version}" %py_install
945b8d
ln -sf %{_bindir}/copr-cli %{buildroot}%{_bindir}/copr
cec089
install -d %{buildroot}%{_mandir}/man1
cec089
install -p -m 644 man/copr-cli.1 %{buildroot}/%{_mandir}/man1/
945b8d
install -p man/copr.1 %{buildroot}/%{_mandir}/man1/
4e3d41
install -d %{buildroot}%{_datadir}/cheat
4e3d41
cp -a man/copr-cli.cheat %{buildroot}%{_datadir}/cheat/copr-cli
4e3d41
ln -s %{_datadir}/cheat/copr-cli %{buildroot}%{_datadir}/cheat/copr
0d93e2
install -m 755 copr_cli/package_build_order.py %{buildroot}/%{_bindir}/package-build-order
cec089
clime b7b0ec
clime e54f8d
%check
clime b7b0ec
%{__python} -m pytest tests
clime b7b0ec
clime e54f8d
cec089
%files
a8d4cc
%{!?_licensedir:%global license %doc}
fb48a6
%license LICENSE
fb48a6
%doc README.rst
clime b7b0ec
%{_bindir}/copr
cec089
%{_bindir}/copr-cli
cec089
%{_mandir}/man1/copr-cli.1*
945b8d
%{_mandir}/man1/copr.1*
4e3d41
%dir %{_datadir}/cheat
4e3d41
%{_datadir}/cheat/copr-cli
4e3d41
%{_datadir}/cheat/copr
clime b7b0ec
%{python_sitelib}/*
0d93e2
%{_bindir}/package-build-order
945b8d
cec089
cec089
%changelog
e788ab
* Tue Aug 11 2020 Pavel Raiskup <praiskup@redhat.com> 1.89-1
e788ab
- copr get-package supports with_latest* args again
e788ab
- testsuite fixes for el6
e788ab
- useful error message when new client runs against old frontend
e788ab
e788ab
* Mon Aug 10 2020 Pavel Raiskup <praiskup@redhat.com> 1.88-1
e788ab
- add command to list all builds of a project
e788ab
- more effective query of packages with their latest builds
e788ab
- point docs to the correct Fedora Copr instances
a50d44
2e3e18
* Tue Jun 09 2020 Pavel Raiskup <praiskup@redhat.com> 1.87-1
2e3e18
- enable deleting multiple builds from cli
d93f92
0d93e2
* Wed Mar 18 2020 Pavel Raiskup <praiskup@redhat.com> 1.86-1
0d93e2
- add script to list package build order in copr or koji
0d93e2
- fix `copr mock-config` to use `dnf.conf/yum.conf` automatically
0d93e2
51baf8
* Wed Feb 05 2020 Pavel Raiskup <praiskup@redhat.com> 1.85-1
51baf8
- new 'copr-cli build-module --distgit DISTGIT' option
51baf8
- make build-package honor the --background flag
609beb
8cc00a
* Wed Jan 15 2020 Tomas Hrnciar <thrnciar@redhat.com> 1.84-1
8cc00a
- Don't spam when downloading build
8cc00a
- fix chroot-list command to work on both python2 and python3
8cc00a
- add command to list all available chroots
8cc00a
1e842d
* Wed Dec 04 2019 Pavel Raiskup <praiskup@redhat.com> 1.83-1
1e842d
- added module_hotfixes support
1e842d
- nicer mock-config (build config) api output
1e842d
- mock-config un-deprecated
1de93c
4e3d41
* Thu Oct 03 2019 Pavel Raiskup <praiskup@redhat.com> 1.82-1
4e3d41
- manpage: update API token url
4e3d41
- support multilib projects
4e3d41
- fix traceback when lost connection during copr-cli build
4e3d41
- adding cheat for copr
4e3d41
4e3d41
* Tue Aug 13 2019 Pavel Raiskup <praiskup@redhat.com> 1.81-1
4e3d41
- cli: pypi package needs to depend on 'humanize'
1dadf9
659873
* Mon Jul 29 2019 Pavel Raiskup <praiskup@redhat.com> 1.80-1
659873
- drop pylint from BR
659873
- use humanize instead of format_size(); fix issue#724
19ac00
9284c2
* Wed Apr 24 2019 Jakub Kadlčík <frostyx@email.cz> 1.79-1
9284c2
- add CLI for permissions
9284c2
- new --max-builds option
9284c2
- rename repos 'url' attribute to 'baseurl'
9284c2
- generate mock rootdir on client side
9284c2
- pass a repo priority to dnf config
9284c2
- Revert "[cli] fix copr mock-config"
9284c2
- support temporary projects
9284c2
- print helpful hints for config parsing errors
9284c2
- fix tests broken by PR#547
9284c2
- fix copr-cli downloading parent directory for cancelled builds
9284c2
bf6f2c
* Mon Feb 11 2019 Jakub Kadlčík <frostyx@email.cz> 1.78-1
bf6f2c
- Don't catch exceptions inside action
bf6f2c
- Fix storing the custom script parameters
bf6f2c
- Properly rewrite download-build to use APIv3
bf6f2c
- Do not require to set PyPI packagename when it is already set
bf6f2c
- When serializing munch omit the proxy object
bf6f2c
- Fix the APIv1 call in the aciton_new_webhook_secret function
bf6f2c
bf6f2c
* Tue Jan 15 2019 Miroslav Suchý <msuchy@redhat.com> 1.77-1
bf6f2c
- fix side_effect function arguments
bf6f2c
- fix assert_called_with params
bf6f2c
bf6f2c
* Thu Jan 10 2019 Miroslav Suchý <msuchy@redhat.com> 1.76-1
bf6f2c
- rewrite description of copr dirs feature. Use "tag" instead of "suffix".
bf6f2c
- explain copr_dir feature in man pages for build subcommand
bf6f2c
- improve naming of copr_dir in copr-cli interface to copr_repo
bf6f2c
- add support for copr dir to copr-cli
bf6f2c
- we also buildrequire python-copr with APIv3 support
bf6f2c
- add missing dependency on python-simplejson
bf6f2c
- depend on munch because of tests
bf6f2c
- have numbered string fields because of epel6
bf6f2c
- fix copr mock-config
bf6f2c
bf6f2c
* Fri Oct 19 2018 Miroslav Suchý <msuchy@redhat.com> 1.75-1
bf6f2c
- 1639590 - print name of package when it is deleted
bf6f2c
- set variables for each build
bf6f2c
- print friendlier error when trying to upload a nonexisting file
bf6f2c
- put backend the deprecation warnings
bf6f2c
- better errors with --config
bf6f2c
- print just 'repos' to avoid yum/dnf confusion
bf6f2c
- depend on python-copr-1.89
bf6f2c
- print additional repos and blank line between projects
bf6f2c
- rewrite unit tests to work with APIv3
bf6f2c
- update resource properties
bf6f2c
- fix the order of arguments
bf6f2c
- json_dumps is not supposed to print anything
bf6f2c
- return proper status code
bf6f2c
- cast disable_createrepo to bool
bf6f2c
- write to stderr instead of printing
bf6f2c
- if ownername is not specified, use the one from config
bf6f2c
- remove deprecated tito and mock actions
bf6f2c
- rewrite copr-cli to use APIv3
bf6f2c
- use git_dir_archive instead of git_dir_pack
bf6f2c
- pg#251 Make it possible for user to select pyp2rpm template
bac426
clime 2fcb8b
* Thu Aug 30 2018 clime <clime@redhat.com> 1.74-1
clime 2fcb8b
- python-progress is not present in EL6
clime 2fcb8b
clime be52da
* Fri Aug 24 2018 clime <clime@redhat.com> 1.73-1
clime be52da
- pg#370 copr-cli new-webhook-secret fails
clime be52da
- fix input under python2
clime be52da
clime b7b0ec
* Thu Aug 23 2018 clime <clime@redhat.com> 1.72-1
clime b7b0ec
- generate new webhook secret functionality in copr-cli
clime b7b0ec
- packaging: Python 2/3, RHEL/Fedora fixes
clime b7b0ec
clime 89751a
* Mon Aug 06 2018 clime <clime@redhat.com> 1.71-1
clime 89751a
- %%{python_sitelib} → %%{python2_sitelib}
78ec1f
clime 1145a1
* Fri May 18 2018 clime <clime@redhat.com> 1.70-1
clime 1145a1
- deprecate mock-config command
clime 1145a1
99b1a1
* Mon Apr 30 2018 Dominik Turecek <dturecek@redhat.com> 1.69-1
99b1a1
fix non-passing unittests under f28+
99b1a1
04de88
* Thu Apr 26 2018 Dominik Turecek <dturecek@redhat.com> 1.68-1
04de88
- simplify bar.finish logic
04de88
- rpkg deployment into COPR - containers + releng continuation
04de88
- #280 cli upload to nonexisting project makes terminal cursor disappear
04de88
- #220 copr-cli doesn't display build progress in non-interactive terminal
04de88
- add download-build --dest description to man page
04de88
- add `copr delete-build` build into man pages
04de88
clime fc84e6
* Fri Feb 23 2018 clime <clime@redhat.com> 1.67-1
clime fc84e6
- remove Group tag
clime fc84e6
clime 979307
* Mon Feb 19 2018 clime <clime@redhat.com> 1.66-1
clime 979307
- Shebangs cleanup
clime 979307
- fix deps in spec
clime 979307
- allow running tests only for epel7
clime 979307
- tests also for python2 during builds
clime 979307
- new custom source method
clime 979307
- require to specify project when building module
d80365
clime 2880f6
* Thu Nov 09 2017 clime <clime@redhat.com> 1.65-1
clime 2880f6
- allow to set use_bootstrap_container via API
clime 2880f6
clime 09909d
* Wed Oct 18 2017 clime <clime@redhat.com> 1.64-1
clime 09909d
- add SCM api interface
clime 09909d
- deprecate tito and mockscm methods
clime 09909d
clime e0c2d7
* Fri Sep 15 2017 clime <clime@redhat.com> 1.63-1
clime e0c2d7
- fix unittests
clime e0c2d7
- run tests with python3
clime e0c2d7
- #130 update requirements
clime e0c2d7
- #125 copr build copr pkgs [pkgs ...] builds only the first SRPM
clime e0c2d7
- #112 [RFE] copr-cli whoami
clime e0c2d7
- Bug 1431035 - coprs should check credentials before uploading
clime e0c2d7
  source rpm
clime e0c2d7
- Spelling fixes
clime e0c2d7
clime ee47d8
* Fri Aug 11 2017 clime <clime@redhat.com> 1.62-1
clime ee47d8
- allow to modify copr chroots with copr modify cmd
clime ee47d8
clime ee47d8
* Fri Jul 14 2017 clime <clime@redhat.com> 1.61-1
clime ee47d8
- Bug 1399817 - copr --version does not print version info
2dbb30
clime c3da32
* Fri Jun 09 2017 clime <clime@redhat.com> 1.60-1
clime c3da32
- use global const map for on/off command line switches value translation
clime c3da32
clime 468a63
* Wed Apr 19 2017 clime <clime@redhat.com> 1.59-1
clime 468a63
- when building module --url or --yaml needs to be selected
clime 468a63
- remove make-module command
clime 468a63
- update man for build-module command
clime 468a63
- allow to submit optional params to mbs
clime 468a63
- frontend act as a gateway between user and mbs
clime 468a63
- possibility to submit yaml file to mbs
clime 468a63
- compose auth url more prettier
clime 468a63
- describe module actions in man
clime 468a63
- rename method for making module to match cli naming
clime 468a63
- split module building into two separate commands
clime 468a63
- add possibility to build module via MBS or not
clime 468a63
- add command for building modules
clime 468a63
- more similar mock-config with real builder's config
clime 468a63
- put errors/warnings on stderr
clime 468a63
- fix trace in 'copr-cli --debug'
clime 468a63
- replace fedorahosted links
clime 468a63
- use 'avg' api from python-progress
933c21
clime 6bbbf4
* Thu Dec 01 2016 clime <clime@redhat.com> 1.58-1
clime 6bbbf4
- `copr-cli edit-chroot` implemented (without modulemd uploading)
clime 6bbbf4
- add 'mock-config' command
clime 6bbbf4
- added auto-prune project's option
clime 6bbbf4
- Bug 1390067 - Progress speed/estimates are completely incorrect
clime 6bbbf4
- Bug 1389265 - Using groups with copr-cli is not easily discoverable
clime 6bbbf4
- brought unittests into passing state
clime 6bbbf4
- stripped down impl of building from dist-git
clime 6bbbf4
- Bug 1335168 - Delete build(s) from CLI
clime 6bbbf4
- disable network by default when creating new copr
clime 6bbbf4
clime f2ed50
* Mon Sep 19 2016 Miroslav Suchý <msuchy@redhat.com> 1.57-1
clime f2ed50
- re-use PYTHONPATH in cli wrapper
clime f2ed50
clime f2ed50
* Mon Sep 12 2016 Miroslav Suchý <msuchy@redhat.com> 1.56-1
clime f2ed50
- require python-progress on Fedora
clime f2ed50
- fix for python-progress API
clime f2ed50
clime eedd5b
* Mon Aug 15 2016 clime <clime@redhat.com> 1.55-1
clime eedd5b
- Bug 1361344 - RFE: Allow denial of build deletion and resubmitting at project or group level
59db2f
035a08
* Fri Jul 15 2016 Miroslav Suchý <msuchy@redhat.com> 1.54-1
035a08
- actually define use_python3 macro
035a08
clime 98776a
* Fri Jul 01 2016 clime <clime@redhat.com> 1.53-1
clime 98776a
- enable pylint checks only if python3 macro is enabled
clime 98776a
- Bug 1335237 - copr create command missing --disable_createrepo
clime 98776a
- --enable-net option added for create/modify commands of copr-cli
clime 98776a
- added man entry about --unlisted-on-hp option of create command
clime 98776a
clime e54f8d
* Thu Jun 16 2016 Miroslav Suchý <msuchy@redhat.com> 1.52-1
clime e54f8d
- configure more packages to run pylint
clime e54f8d
- run checks for copr-cli
clime e54f8d
- man page for --background of copr-cli
clime e54f8d
- add --background option to new build in CLI
clime e54f8d
- man entries for copr-cli package actions + tests update
clime e54f8d
- Add syntax for working with group projects to the man page.
clime e54f8d
- honor standard build options for build-package cmd + use
clime e54f8d
  package.has_source_type_set in API
clime e54f8d
- _No_ to Url & Upload package types
clime e54f8d
- man: add examples
clime e54f8d
- experimental support of building packages
clime e54f8d
  with copr-cli
clime e54f8d
- list-package-names cmd added + build-package cmd implementation thub
clime e54f8d
- added --with-all-builds, --with-latest-
clime e54f8d
  build and --with-latest-succeeded-build options for list-packages and get-
clime e54f8d
  package cmds
clime e54f8d
- support forking via CLI
clime e54f8d
clime 1c9e88
* Thu May 26 2016 clime <clime@redhat.com> 1.51-1
clime 1c9e88
- support for package manipulation
clime 1c9e88
- added watch-build subcommand
clime 1c9e88
- Bug 1333771 - Traceback from copr-cli when missing --pythonversions
clime 1c9e88
- rubygems CLI support implemented
7f7bb1
* Wed Apr 20 2016 Miroslav Suchý <msuchy@redhat.com> 1.50-1
7f7bb1
- use python3 on Fedora24+
7f7bb1
- better error message
7f7bb1
- document --git-branch and --scm-branch options
7f7bb1
- fix download-build for dist-git era file structure (RhBug: 1324847)
7f7bb1
- implement building via mock
7f7bb1
- document buildtito in manpage
7f7bb1
- change build-tito command to buildtito
7f7bb1
- implement building via tito
7f7bb1
- buildpypi command documented in man pages + slightly improved
7f7bb1
  --help description of the command
7f7bb1
- add group support for modifying and deleting projects
7f7bb1
- fix expected warning in failing unit tests
7f7bb1
- refactor owner name parsing
7f7bb1
e1184c
* Sun Mar 20 2016 Jakub Kadlčík <jkadlcik@redhat.com> 1.49-1
e1184c
- allow creating group projects
e1184c
- bug 1309101 - copr-cli doesn't handle string input for 'status'
e1184c
e1184c
* Mon Mar 14 2016 Jakub Kadlčík <jkadlcik@redhat.com> 1.48-1
e1184c
- support building from PyPI
e1184c
a8d4cc
* Fri Jan 29 2016 Miroslav Suchý <msuchy@redhat.com> 1.47-1
a8d4cc
- gfix 1302615 - UnboundLocalError: local variable 'bar' referenced before
a8d4cc
  assignment when building from URLs
a8d4cc
- gman pages updated for 1292033 - copr-cli ignores multiple package
a8d4cc
  arguments if the first is a local file
a8d4cc
- grequire sufficiently new python-copr package
a8d4cc
- gadd DummyBar.finish() stub
a8d4cc
- compatibility with el6 and el7
a8d4cc
- add --config option
a8d4cc
- fix packaging for epel-6+ and fedora-22+
a8d4cc
- Added MANIFEST.in for python and cli
a8d4cc
a8d4cc
* Mon Nov 02 2015 Miroslav Suchý <msuchy@redhat.com> 1.46-1
a8d4cc
- Removed __version__ from cli and python
a8d4cc
- Added version parse from specs instead of __init__
a8d4cc
- Fixed invalid classifiers
a8d4cc
- Fixes to allow copr-cli to be installed using setup.py
a8d4cc
- ImportError: No module named exceptions
a8d4cc
- Display progress bar if python-progress is available
a8d4cc
Valentin Gologuzov fd0d84
* Mon Oct 12 2015 Valentin Gologuzov <vgologuz@redhat.com> 1.45-1
Valentin Gologuzov fd0d84
- build action: accept any character in the username
9de4ed
fb48a6
* Fri May 15 2015 Miroslav Suchý <msuchy@redhat.com> 1.44-1
fb48a6
- mark license as license in spec
fb48a6
- 1188022 - accept dash in project name
fb48a6
460519
* Wed Jan 21 2015 Miroslav Suchý <msuchy@redhat.com> 1.43-1
460519
- regression: enable again copr-cli build username/project
460519
Valentin Gologuzov d69437
* Mon Jan 05 2015 Valentin Gologuzov <vgologuz@redhat.com> 1.42-1
Valentin Gologuzov d69437
- updated man page
Valentin Gologuzov d69437
- compatibility with Python 2.6 ( due to Epel 6)
Valentin Gologuzov d69437
945b8d
* Mon Dec 15 2014 Valentin Gologuzov <vgologuz@redhat.com> 1.41-1
945b8d
- control auto_createrepo property of project through API
945b8d
  and copr-cli; new command supported by cli: **modify**
945b8d
945b8d
* Fri Nov 21 2014 Valentin Gologuzov <vgologuz@redhat.com> 1.40-1
945b8d
- updated to use newer version of python-copr
945b8d
- minor changes in commands output
945b8d
- print debug logs only when user provides "--debug" option
945b8d
945b8d
* Mon Oct 20 2014 Miroslav Suchý <msuchy@redhat.com> 1.39-1
945b8d
- add man page for copr(1)
945b8d
- [cli] [RHBZ: #1149889]  RFE: download command in copr-cli
945b8d
- A few fixes for CI
945b8d
945b8d
* Tue Oct 07 2014 Valentin Gologuzov <vgologuz@redhat.com> 1.38-1
945b8d
- [cli] Added symlink for executable: copr -> copr-cli
945b8d
- [cli] removed epydoc documentation
945b8d
- [python-copr, cli] test coverage
945b8d
- [python-copr, cli] updating copr-cli to use python-copr
945b8d
945b8d
* Thu Sep 18 2014 Miroslav Suchý <msuchy@redhat.com> 1.37-1
945b8d
- [python-copr] Renamed package: python-copr-client -> python-copr
945b8d
- [cli]  In case of missing config show proper message, hide traceback.
945b8d
- [python-client] added a few unittest, changed package layout, updated .spec
945b8d
  to run tests during %%check. [copr-cli] reflected changes in python-client
945b8d
- [python-copr,copr-cli] fixing, cleanup
945b8d
- [python-copr,copr-cli] Copr-cli now uses python-copr-cli package. [copr-cli]
945b8d
  updated .spec to reflect usage of python-copr-client
945b8d
945b8d
* Tue Jul 22 2014 Miroslav Suchý <msuchy@redhat.com> 1.36-1
945b8d
- use correct name of variable
945b8d
Miroslav Suchý 4b610d
* Fri Jul 04 2014 Miroslav Suchý <msuchy@redhat.com> 1.35-1
Miroslav Suchý 4b610d
- [cli] stop waiting when the status is unknown
Miroslav Suchý 4b610d
Miroslav Suchý 4b610d
* Fri Jul 04 2014 Miroslav Suchý <msuchy@redhat.com> 1.34-1
Miroslav Suchý 4b610d
- [cli] skipped state support
Miroslav Suchý 4b610d
4bc13b
* Thu Jun 19 2014 Miroslav Suchý <msuchy@redhat.com> 1.33-1
4bc13b
- cancel added to the man page
4bc13b
- exit code 4 for failed build and man pages updated
4bc13b
- error and shell return code 1 when build fails
4bc13b
- delete a project
4bc13b
- shell return codes with errors
4bc13b
- copr-cli cancel fix
603fbd
4336f8
* Thu Apr 10 2014 Miroslav Suchý <msuchy@redhat.com> 1.32-1
4336f8
- be less strict in parsing fas/copr-name
4336f8
cec089
* Thu Apr 10 2014 Miroslav Suchý <msuchy@redhat.com> 1.31-1
cec089
- We can choose chroots for new builds
cec089
- copr-cli waiting fix
cec089
- building pkgs separately
cec089
cec089
* Wed Mar 19 2014 Miroslav Suchý <msuchy@redhat.com> 1.30-1
cec089
- BR make is not needed
cec089
- build -doc subpackage only for fedoras
cec089
- add LICENSE to -doc
cec089
- replace 'copr' with 'project'
cec089
cec089
* Tue Mar 18 2014 Miroslav Suchý <msuchy@redhat.com> 1.29-1
cec089
- move copr-cli in standalone package
cec089
cec089
* Thu Feb 27 2014 Miroslav Suchý <msuchy@redhat.com> 1.28-1
cec089
- [backend] - pass lock to Actions
cec089
cec089
* Wed Feb 26 2014 Miroslav Suchý <msuchy@redhat.com> 1.27-1
cec089
- [frontend] update to jquery 1.11.0
cec089
- [fronted] link username to fas
cec089
- [cli] allow to build into projects of other users
cec089
- [backend] do not create repo in destdir
cec089
- [backend] ensure that only one createrepo is running at the same time
cec089
- [cli] allow to get data from sent build
cec089
- temporary workaround for BZ 1065251
cec089
- Chroot details API now uses GET instead of POST
cec089
- when deleting/canceling task, go to same page
cec089
- add copr modification to web api
cec089
- 1063311 - admin should be able to delete task
cec089
- [frontend] Stray end tag h4.
cec089
- [frontend] another s/coprs/projects/ rename
clime e0c2d7
- [frontend] provide info about last successful build
cec089
- [spec] rhel5 needs group definition even in subpackage
cec089
- [frontend] move 'you agree' text to dd
cec089
- [frontend] add margin to chroots-set
cec089
- [frontend] add margin to field label
cec089
- [frontend] put disclaimer to paragraph tags
cec089
- [frontend] use black font color
cec089
- [frontend] use default filter instead of *_not_filled
cec089
- [frontend] use markdown template filter
cec089
- [frontend] use isdigit instead of is_int
cec089
- [frontend] move Serializer to helpers
cec089
- [frontend] fix coding style and py3 compatibility
cec089
- [cli] fix coding style and py3 compatibility
cec089
- [backend] fix coding style and py3 compatibility
cec089
cec089
* Tue Jan 28 2014 Miroslav Suchý <miroslav@suchy.cz> 1.26-1
cec089
- lower testing date
cec089
- move localized_time into filters
cec089
- [frontend] update user data after login
cec089
- [frontend] use iso-8601 date
cec089
cec089
* Mon Jan 27 2014 Miroslav Suchý <msuchy@redhat.com> 1.25-1
cec089
- 1044085 - move timezone modification out of template and make it actually
cec089
  work
cec089
- clean up temp data if any
cec089
- [db] timezone can be nullable
cec089
- [frontend] actually save the timezone to model
cec089
- fix colision of revision id
cec089
- 1044085 - frontend: display time in user timezone
cec089
- [frontend] rebuild stuck task
cec089
- disable test on i386
cec089
- use experimental createrepo_c to get rid of lock on temp files
cec089
- [frontend] - do not throw ISE when build_id is malformed
cec089
- [tests] add test for BuildLogic.add
cec089
- [tests] add test for build resubmission
cec089
- [frontend] permission checking is done in BuildLogic.add
cec089
- [frontend] remove BuildLogic.new, use BL.add only
cec089
- [api] fix validation error handling
cec089
- [cli] fix initial_pkgs and repos not sent to backend
cec089
- [frontend] fix BuildsLogic.new not assigning copr to build
cec089
- [frontend] allow resubmitting builds from monitor
cec089
- [frontend] allow GET on repeat_build
cec089
- [frontend] 1050904 - monitor shows not submitted chroots
cec089
- [frontend] rename active_mock_chroots to active_chroots
cec089
- [frontend] rename MockChroot.chroot_name to .name
cec089
- [frontend] 1054474 - drop Copr.build_count nonsense
cec089
- [tests] fix https and repo generation
cec089
- [tests] return exit code from manage.py test
cec089
- 1054472 - Fix deleting multiple SRPMs
cec089
- [spec] tighten acl on copr-be.conf
cec089
- [backend] - add missing import
cec089
- 1054082 - general: encode to utf8 if err in mimetext
cec089
- [backend] lock log file before writing
cec089
- 1055594 - mockremote: always unquote pkg url
cec089
- 1054086 - change vendor tag
cec089
- mockremote: rawhide instead of $releasever in repos when in rawhide chroot
cec089
- 1055499 - do not replace version with $releasever on rawhide
cec089
- 1055119 - do not propagate https until it is properly signed
cec089
- fix spellings on chroot edit page
cec089
- 1054341 - be more verbose about allowed licenses
cec089
- 1054594 - temporary disable https in repo file
cec089
cec089
* Thu Jan 16 2014 Miroslav Suchý <msuchy@redhat.com> 1.24-1
cec089
- add BR python-markdown
cec089
- [fronted] don't add description to .repo files
cec089
- [spec] fix with_tests conditional
cec089
- add build deletion
cec089
- 1044158 - do not require fas username prior to login
cec089
- replace http with https in copr-cli and in generated repo file
clime e0c2d7
- [cli] UX changes - explicitly state that pkgs is URL
cec089
- 1053142 - only build copr-cli on el6
cec089
- [frontend] correctly handle mangled chroot
cec089
- [frontend] do not traceback when user malform url
cec089
- [frontend] change default description and instructions to sound more
cec089
  dangerously
cec089
- 1052075 - do not set chroots on repeated build
cec089
- 1052071 - do not throw ISE when copr does not exist
cec089
cec089
* Mon Jan 13 2014 Miroslav Suchý <msuchy@redhat.com> 1.23-1
cec089
- [backend] rhel7-beta do not have comps
cec089
- 1052073 - correctly parse malformed chroot
cec089
cec089
* Fri Jan 10 2014 Miroslav Suchý <msuchy@redhat.com> 1.22-1
cec089
- [backend] if we could not spawn VM, wait a moment and try again
cec089
- [backend] use createrepo_c instead of createrepo
cec089
- 1050952 - check if copr_url exist in config
cec089
- [frontend] replace newlines in description by space in repo file
cec089
cec089
* Wed Jan 08 2014 Miroslav Suchý <msuchy@redhat.com> 1.21-1
cec089
- 1049460 - correct error message
clime e0c2d7
- [cron] manually clean /var/tmp after createrepo
cec089
cec089
* Wed Jan 08 2014 Miroslav Suchý <msuchy@redhat.com> 1.20-1
cec089
- [cli] no need to set const with action=store_true
cec089
- [cli] code cleanup
cec089
- 1049460 - print nice error when projects does not exist
cec089
- 1049392 - require python-setuptools
cec089
- [backend] add --verbose to log to stderr
cec089
- [backend] handle KeyboardInterrupt without tons of tracebacks
cec089
- 1048508 - fix links at projects lists
cec089
- [backend] in case of error the output is in e.output
cec089
- [selinux] allow httpd to search
cec089
- [backend] set number of worker in name of process
cec089
- [logrotate] rotate every week unconditionally
cec089
- [backend] do not traceback if jobfile is mangled
cec089
- [backend] print error messages to stderr
cec089
- [cli] do not require additional arguments for --nowait
cec089
- [backend] replace procname with setproctitle
cec089
- [cli] use copr.fedoraproject.org as default url
cec089
- [frontend] show monitor even if last build have been canceled
cec089
- [backend] call correct function
cec089
- [cli] print errors to stderr
cec089
- 1044136 - do not print TB if config in mangled
cec089
- 1044165 - Provide login and token information in the same form as entered to
cec089
  ~/.config-copr
cec089
- [frontend] code cleanup
cec089
- [frontend] move rendering of .repo file to helpers
cec089
- 1043649 - in case of Fedora use $releasever in repo file
cec089
- [frontend] condition should be in reverse
cec089
cec089
* Mon Dec 16 2013 Miroslav Suchý <msuchy@redhat.com> 1.19-1
cec089
- [backend] log real cause if ansible crash
cec089
- [frontend] try again if whoosh does not get lock
cec089
- [backend] if frontend does not respond, repeat
cec089
- print yum repos nicely
cec089
- Bump the copr-cli release to 0.2.0 with all the changes made
cec089
- Refer to the man page for more information about the configuration file for
cec089
  copr-cli
cec089
- Rework the layout of the list command
cec089
- Fix parsing the copr_url from the configuration file
cec089
- [backend] run createrepo as copr user
cec089
- 1040615 - wrap lines with long URL
cec089
cec089
* Wed Dec 11 2013 Miroslav Suchý <msuchy@redhat.com> 1.18-1
cec089
- [frontend] inicialize variable
cec089
cec089
* Wed Dec 11 2013 Miroslav Suchý <msuchy@redhat.com> 1.17-1
cec089
- [frontend] fix latest build variable overwrite
cec089
cec089
* Wed Dec 11 2013 Miroslav Suchý <msuchy@redhat.com> 1.16-1
cec089
- [backend] store jobs in id-chroot.json file
cec089
- [frontend] handle unknown build/chroot status
cec089
- use newstyle ansible variables
cec089
cec089
* Tue Dec 10 2013 Miroslav Suchý <msuchy@redhat.com> 1.15-1
cec089
- [frontend] smarter package name parsing
cec089
- [frontend] extend range to allow 0
cec089
- handle default timeout on backend
cec089
- initial support for SCL
cec089
- [backend] create word readable files in result directory
cec089
- [backend] print tracebacks
cec089
- [frontend] monitor: display only pkg name w/o version
cec089
- [doc] update api docs
cec089
- [doc] update copr-cli manpage
cec089
- [cli] list only name, description and instructions
cec089
- [cli] add support for build status & build monitor
cec089
- [frontend] add build status to API
cec089
- [playbook] do not overwrite mockchain
cec089
- [backend] add spece between options
cec089
- [backend] pass mock options correctly
cec089
- [frontend] support markdown in description and instructions
cec089
- [backend] Add macros to mockchain define arguments
cec089
- [backend] Pass copr username and project name to MockRemote
cec089
- [backend] Handle additional macro specification in MockRemote
cec089
- [frontend] monitor: show results per package
cec089
- [frontend] add favicon
cec089
- [backend] quote strings before passing to mockchain
cec089
- send chroots with via callback to frontend
cec089
- [cli] change cli to new api call
cec089
- enhance API documentation
cec089
- add yum_repos to coprs/user API call
cec089
- [frontend] provide link to description of allowed content
cec089
- [backend] we pass just one chroot
cec089
- [backend] - variable play is not defined
cec089
- if createrepo fail, run it again
cec089
- [cron] fix syntax error
cec089
- [man] state that --chroot for create command is required
cec089
- [spec] enable tests
cec089
- [howto] add note about upgrading db schema
cec089
- [frontend]: add copr monitor
cec089
- [tests]: replace test_allowed_one
cec089
- [tests]: fix for BuildChroots & new backend view
cec089
- [frontend] rewrite backend view to use Build <-> Chroot relation
cec089
- [frontend] add Build <-> Chroot relation
cec089
- 1030493 - [cli] check that at least one chroot is entered
cec089
- [frontend] typo
cec089
- fixup! [tests]: fix test_build_logic to handle BuildChroot
cec089
- fixup! [frontend] add ActionsLogic
cec089
- [tests]: fix test_build_logic to handle BuildChroot
cec089
- [spec] enable/disable test using variable
cec089
- add migration script - add table build_chroot
cec089
- [frontend] skip legal-flag actions when dumping waiting actions
cec089
- [frontend] rewrite backend view to use Build <-> Chroot relation
cec089
- [frontend] add ActionsLogic
cec089
- [frontend] create BuildChroot objects on new build
cec089
- [frontend] add Build <-> Chroot relation
cec089
- [frontend] add StatusEnum
cec089
- [frontend] fix name -> coprname typo
cec089
- [frontend] remove unused imports
cec089
- [frontend] add missing json import
cec089
- [backend] rework ip address extraction
cec089
- ownership of /etc/copr should be just normal
cec089
- [backend] - wrap up returning action in "action" blok
cec089
- [backend] rename backend api url
cec089
- [backend] handle "rename" action
cec089
- [backend] handle "delete" action
cec089
- base handling of actions
cec089
- move callback to frontend to separate object
cec089
- secure waiting_actions with password
cec089
- pick only individual builds
cec089
- make address, where we send legal flags, configurable
cec089
- send email to root after legal flag have been raised
cec089
cec089
* Fri Nov 08 2013 Miroslav Suchý <msuchy@redhat.com> 1.14-1
cec089
- 1028235 - add disclaimer about repos
cec089
- fix pagination
cec089
- fix one failing test
cec089
cec089
* Wed Nov 06 2013 Miroslav Suchý <msuchy@redhat.com> 1.13-1
cec089
- suggest correct name of repo file
cec089
- we could not use releasever macro
cec089
- no need to capitalize Projects
cec089
- another s/copr/project
cec089
- add link to header for sign-in
cec089
- fix failing tests
cec089
- UX - let textarea will full widht of box
cec089
- UX - make background of hovered builds darker
cec089
- generate yum repo for each chroot of copr
cec089
- align table header same way as ordinary rows
cec089
- enable resulting repo and disable gpgchecks
cec089
cec089
* Mon Nov 04 2013 Miroslav Suchý <msuchy@redhat.com> 1.12-1
cec089
- do not send parameters when we neither need them nor use them
cec089
- authenticate using api login, not using username
cec089
- disable editing name of project
cec089
- Add commented out WTF_CSRF_ENABLED = True to configs
cec089
- Use new session for each test
cec089
- fix test_coprs_general failures
cec089
- fix test_coprs_builds failures
cec089
- Add WTF_CSRF_ENABLED = False to unit test config
cec089
- PEP8 fixes
cec089
- Fix compatibility with wtforms 0.9
cec089
- typo s/submited/submitted/
cec089
- UX - show details of build only after click
cec089
- add link to FAQ to footer
cec089
- UX - add placeholders
cec089
- UX - add asterisk to required fields
cec089
- dynamicly generate url for home
cec089
- add footer
cec089
cec089
* Sat Oct 26 2013 Miroslav Suchý <msuchy@redhat.com> 1.11-1
cec089
- catch IOError from libravatar if there is no network
cec089
cec089
* Fri Oct 25 2013 Miroslav Suchý <msuchy@redhat.com> 1.10-1
cec089
- do not normalize url
cec089
- specify full prefix of http
cec089
- execute playbook using /usr/bin/ansible-playbook
cec089
- use ssh transport
cec089
- check after connection is made
cec089
- add notes about debuging mockremote
cec089
- clean up instance even when worker fails
cec089
- normalize paths before using
cec089
- do not use exception variable
cec089
- operator should be preceded and followed by space
cec089
- remove trailing whitespace
cec089
- convert comment to docstring
cec089
- use ssh transport
cec089
- do not create new ansible connection, reuse self.conn
cec089
- run copr-be.py as copr
cec089
- s/Copr/Project/ where we use copr in meaning of projects
cec089
- number will link to those coprs, to which it refers
cec089
- run log and jobgrab as copr user
cec089
- log event to log file
cec089
- convert comment into docstring
cec089
- use unbufferred output for copr-be.py
cec089
- hint how to set ec2 variables
cec089
- document sleeptime
cec089
- document copr_url for copr-cli
cec089
- document how to set api key for copr-cli
cec089
- do not create list of list
cec089
- document SECRET_KEY variable
cec089
- make note how to become admin
cec089
- instruct people to install selinux with frontend
cec089
cec089
* Thu Oct 03 2013 Miroslav Suchý <msuchy@redhat.com> 1.9-1
cec089
- prune old builds
cec089
- require python-decorator
cec089
- remove requirements.txt
cec089
- move TODO-backend to our wiki
cec089
- create pid file in /var/run/copr-backend
cec089
- add backend service file for systemd
cec089
- remove daemonize option in config
cec089
- use python logging
cec089
- create pid file in /var/run by default
cec089
- do not create destdir
cec089
- use daemon module instead of home brew function
cec089
- fix default location of copr-be.conf
cec089
- 2 tests fixed, one still failing
cec089
- fix failing test test_fail_on_missing_dash
cec089
- fixing test_fail_on_nonexistent_copr test
cec089
- run frontend unit tests when building package
cec089
- Adjust URLs in the unit-tests to their new structure
cec089
- Adjust the CLI to call the adjuste endpoint of the API
cec089
- Adjust API endpoint to reflects the UI endpoints in their url structure
cec089
- First pass at adding fedmsg hooks.
cec089
cec089
* Tue Sep 24 2013 Miroslav Suchý <msuchy@redhat.com> 1.8-1
cec089
- 1008532 - require python2-devel
cec089
- add note about ssh keys to copr-setup.txt
cec089
- set home of copr user to system default
cec089
cec089
* Mon Sep 23 2013 Miroslav Suchý <msuchy@redhat.com> 1.7-1
cec089
- 1008532 - backend should own _pkgdocdir
cec089
- 1008532 - backend should owns /etc/copr as well
cec089
- 1008532 - require logrotate
cec089
- 1008532 - do not distribute empty copr.if
cec089
- 1008532 - use %%{?_smp_mflags} macro with make
cec089
- move jobsdir to /var/lib/copr/jobs
cec089
- correct playbooks path
cec089
- selinux with enforce can be used for frontend
cec089
cec089
* Wed Sep 18 2013 Miroslav Suchý <msuchy@redhat.com> 1.6-1
cec089
- add BR python-devel
cec089
- generate selinux type for /var/lib/copr and /var/log/copr
cec089
- clean up backend setup instructions
cec089
- initial selinux subpackage
cec089
cec089
* Mon Sep 16 2013 Miroslav Suchý <msuchy@redhat.com> 1.5-1
cec089
- 1008532 - use __python2 instead of __python
cec089
- 1008532 - do not mark man page as doc
cec089
- 1008532 - preserve timestamp
cec089
cec089
* Mon Sep 16 2013 Miroslav Suchý <msuchy@redhat.com> 1.4-1
cec089
- add logrotate file
cec089
cec089
* Mon Sep 16 2013 Miroslav Suchý <msuchy@redhat.com> 1.3-1
cec089
- be clear how we create tgz
cec089
cec089
* Mon Sep 16 2013 Miroslav Suchý <msuchy@redhat.com> 1.2-1
cec089
- fix typo
cec089
- move frontend data into /var/lib/copr
cec089
- no need to own /usr/share/copr by copr-fe
cec089
- mark application as executable
cec089
- coprs_frontend does not need to be owned by copr-fe
cec089
- add executable attribute to copr-be.py
cec089
- remove shebang from dispatcher.py
cec089
- squeeze description into 80 chars
cec089
- fix typo
cec089
- frontend need argparse too
cec089
- move results into /var/lib/copr/public_html
cec089
- name of dir is just copr-%%version
cec089
- Remove un-necessary quote that breaks the tests
cec089
- Adjust unit-tests to the new urls
cec089
- Update the URL to be based upon a /user/copr/<action> structure
cec089
- comment config copr-be.conf and add defaults
cec089
- put examples of builderpb.yml and terminatepb.yml into doc dir
cec089
- more detailed description of copr-be.conf
cec089
- move files in config directory not directory itself
cec089
- include copr-be.conf
cec089
- include copr-be.py
cec089
- create copr with lighttpd group
cec089
- edit backend part of copr-setup.txt
cec089
- remove fedora16 and add 19 and 20
cec089
- create -doc subpackage with python documentation
cec089
- add generated documentation on gitignore list
cec089
- add script to generate python documentation
cec089
- copr-setup.txt change to for mock
cec089
- rhel6 do not know _pkgdocdir macro
cec089
- make instruction clear
cec089
- require recent whoosh
cec089
- add support for libravatar
cec089
- include backend in rpm
cec089
- add notes about lighttpd config files and how to deploy them
cec089
- do not list file twice
cec089
- move log file to /var/log
cec089
- change destdir in copr-be.conf.example
cec089
- lightweight is the word and buildsystem has more meaning than 'koji'.
cec089
- restart apache after upgrade of frontend
cec089
- own directory where backend put results
cec089
- removal of hidden-file-or-dir
cec089
  /usr/share/copr/coprs_frontend/coprs/logic/.coprs_logic.py.swo
cec089
- copr-backend.noarch: W: spelling-error %%description -l en_US latests ->
cec089
  latest, latest's, la tests
cec089
- simplify configuration - introduce /etc/copr/copr*.conf
cec089
- Replace "with" statements with @TransactionDecorator decorator
cec089
- add python-flexmock to deps of frontend
cec089
- remove sentence which does not have meaning
cec089
- change api token expiration to 120 days and make it configurable
cec089
- create_chroot must be run as copr-fe user
cec089
- add note that you have to add chroots to db
cec089
- mark config.py as config so it is not overwritten during upgrade
cec089
- own directory data/whooshee/copr_user_whoosheer
cec089
- gcc is not needed
cec089
- sqlite db must be owned by copr-fe user
cec089
- copr does not work with selinux
cec089
- create subdirs under data/openid_store
cec089
- suggest to install frontend as package from copr repository
cec089
- on el6 add python-argparse to BR
cec089
- add python-requests to BR
cec089
- add python-setuptools to BR
cec089
- maintain apache configuration on one place only
cec089
- apache 2.4 changed access control
cec089
- require python-psycopg2
cec089
- postgresql server is not needed
cec089
- document how to create db
cec089
- add to HOWTO how to create db
cec089
- require python-alembic
cec089
- add python-flask-script and python-flask-whooshee to requirements
cec089
- change user in coprs.conf.example to copr-fe
cec089
- fix paths in coprs.conf.example
cec089
- copr is noarch package
cec089
- add note where to configure frontend
cec089
- move frontend to /usr/share/copr/coprs_frontend
cec089
- put production placeholders in coprs_frontend/coprs/config.py
cec089
- put frontend into copr.spec
cec089
- web application should be put in /usr/share/%%{name}
cec089
cec089
* Mon Jun 17 2013 Miroslav Suchý <msuchy@redhat.com> 1.1-1
cec089
- new package built with tito