Jesse Keating 2c910b
# sitelib for noarch packages, sitearch for others (remove the unneeded one)
242caa
%{!?python2_sitelib: %global python2_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
6d0a9a
%{!?__python2: %global __python2 %{__python}}
Jesse Keating 2c910b
Jesse Keating 2c910b
Name:           rpkg
687ceb
Version:        1.58
e6d27f
Release:        9%{?dist}
Jesse Keating 2c910b
1754f9
Summary:        Python library for interacting with rpm+git
Jesse Keating 2c910b
License:        GPLv2+ and LGPLv2
ae06b3
URL:            https://pagure.io/rpkg
1754f9
BuildArch:      noarch
8cb4cc
Source0:        https://pagure.io/releases/rpkg/%{name}-%{version}.tar.gz
1754f9
172445
# Fix for bug 1579367
172445
# Due to https://pagure.io/koji/issue/912, python[23]-koji package does not
172445
# have egginfo.
172445
# rpm-py-installer is required as a proxy to install RPM python binding
172445
# library, so rpm is the actual requirement that must be present in the
172445
# requires.txt. But, rpkg has to work in all active Fedora and EPEL releases,
172445
# and there is only old rpm-python package in EL6 and 7, so just simply to
172445
# remove rpm-py-installer for now.
172445
Patch0:         remove-koji-and-rpm-py-installer-from-requires.patch
67075c
Patch1:         0001-Fix-clone-branches.patch
b725d6
Patch2:         0002-Custom-handler-for-koji-watch_tasks.patch
b725d6
Patch3:         0003-Show-nvr-in-container-build.patch
b725d6
Patch4:         0004-Different-import-offline-command-behavior.patch
172445
242caa
%if 0%{?fedora} || 0%{?rhel} > 7
242caa
# Enable python3 build by default
242caa
%global with_python3 1
242caa
%else
242caa
%global with_python3 0
242caa
%endif
242caa
8aa0e2
%if 0%{?fedora} > 29 || 0%{?rhel} > 7
242caa
# Disable python2 build by default
242caa
%global with_python2 0
242caa
%else
242caa
%global with_python2 1
242caa
%endif
242caa
1754f9
%description
1754f9
Python library for interacting with rpm+git
1754f9
1754f9
242caa
%if 0%{?with_python2}
1754f9
%package -n python2-%{name}
242caa
Summary:        %{summary}
242caa
%{?python_provide:%python_provide python2-%{name}}
Jesse Keating 8dd0e8
bb111f
BuildRequires:  python2-devel
1754f9
Jesse Keating 2c910b
# We br these things for man page generation due to imports
8cb4cc
BuildRequires:  rpmlint
db9eb0
%if 0%{?rhel} && 0%{?rhel} < 8
db9eb0
# TODO: Require 1.17 version of koji when it is released for RHEL
db9eb0
BuildRequires:  python2-koji >= 1.16.2-32.6
db9eb0
%else
db9eb0
BuildRequires:  python2-koji >= 1.17
db9eb0
%endif
1754f9
BuildRequires:  python2-cccolutils
Owen W. Taylor 05492a
BuildRequires:  PyYAML
bb111f
bb111f
%if 0%{?rhel}
242caa
BuildRequires:  GitPython
1754f9
BuildRequires:  python-pycurl
bb111f
BuildRequires:  python-requests
c21bb4
BuildRequires:  python-six >= 1.9.0
bb111f
%else
242caa
BuildRequires:  python2-GitPython
bb111f
BuildRequires:  python2-pycurl
bb111f
BuildRequires:  python2-requests
c21bb4
BuildRequires:  python2-six >= 1.9.0
8cb4cc
BuildRequires:  python2-openidc-client
633dc7
BuildRequires:  python2-libmodulemd1
bb111f
%endif
36e29e
f5aa16
%if 0%{?rhel} && 0%{?rhel} < 7
f5aa16
BuildRequires:  python-argparse
c21bb4
BuildRequires:  python-mock
bb111f
BuildRequires:  python-nose
c21bb4
BuildRequires:  python-setuptools
bb111f
BuildRequires:  python-unittest2
3528c1
%else
c21bb4
BuildRequires:  python2-mock
bb111f
BuildRequires:  python2-nose
c21bb4
BuildRequires:  python2-setuptools
f5aa16
%endif
f5aa16
36e29e
Requires:       mock
36e29e
Requires:       redhat-rpm-config
36e29e
Requires:       rpm-build
36e29e
Requires:       rpmlint
36e29e
36e29e
Requires:       python2-cccolutils
db9eb0
%if 0%{?rhel} && 0%{?rhel} < 8
db9eb0
# TODO: Require 1.17 version of koji when it is released for RHEL
db9eb0
Requires:       python2-koji >= 1.16.2-32.6
db9eb0
%else
db9eb0
Requires:       python2-koji >= 1.17
db9eb0
%endif
Owen W. Taylor 05492a
Requires:       PyYAML
bb111f
bb111f
%if 0%{?rhel}
242caa
Requires:       GitPython >= 0.2.0
bb111f
Requires:       python-pycurl
bb111f
Requires:       python-requests
8cb4cc
Requires:       python-six >= 1.9.0
8cb4cc
Requires:       rpm-python
3528c1
%else
242caa
Requires:       python2-GitPython
bb111f
Requires:       python2-rpm
bb111f
Requires:       python2-pycurl
bb111f
Requires:       python2-six >= 1.9.0
633dc7
Requires:       python2-libmodulemd1
bb111f
%endif
bb111f
bb111f
%if 0%{?rhel} && 0%{?rhel} < 7
Owen W. Taylor 05492a
Requires:       python-argparse
Owen W. Taylor 05492a
%endif
Owen W. Taylor 05492a
242caa
Requires:       %{name}-common = %{version}-%{release}
f5aa16
e11086
Conflicts:      fedpkg < 1.26
e11086
1754f9
# Backward compatibility with capability pyrpkg
1754f9
Provides: pyrpkg = %{version}-%{release}
1754f9
# All old versions before 1.49-1 should not be used anymore
1754f9
Obsoletes: pyrpkg < 1.49-2
1754f9
Jesse Keating 2c910b
1754f9
%description -n python2-%{name}
Jesse Keating 2c910b
A python library for managing RPM package sources in a git repository.
242caa
%endif # with python2
242caa
242caa
242caa
%if 0%{?with_python3}
242caa
%package -n python3-%{name}
242caa
Summary:        %{summary}
242caa
%{?python_provide:%python_provide python3-%{name}}
4bb1c1
# Obsolete python2-rpkg (remove after Fedora29)
4bb1c1
%if 0%{?with_python2} == 0
4bb1c1
Obsoletes:      python2-rpkg < %{version}-%{release}
4bb1c1
%endif
242caa
242caa
BuildRequires:  python3-devel
242caa
BuildRequires:  python3-GitPython
db9eb0
%if 0%{?rhel} > 7
db9eb0
BuildRequires:  python3-koji >= 1.16.2-32.6
633dc7
Requires:       python3-gobject-base
633dc7
Requires:       libmodulemd
db9eb0
%else
db9eb0
BuildRequires:  python3-koji >= 1.17
633dc7
BuildRequires:  python3-libmodulemd1
db9eb0
%endif
242caa
BuildRequires:  python3-cccolutils
242caa
BuildRequires:  python3-openidc-client
242caa
BuildRequires:  python3-mock
242caa
BuildRequires:  python3-pycurl
242caa
BuildRequires:  python3-six >= 1.9.0
242caa
BuildRequires:  python3-requests
242caa
BuildRequires:  python3-setuptools
242caa
BuildRequires:  python3-nose
Owen W. Taylor 05492a
BuildRequires:  python3-PyYAML
242caa
BuildRequires:  rpmlint
242caa
242caa
Requires:       mock
242caa
Requires:       redhat-rpm-config
242caa
Requires:       rpm-build
242caa
Requires:       rpmlint
242caa
242caa
Requires:       python3-GitPython >= 0.2.0
242caa
Requires:       python3-cccolutils
db9eb0
%if 0%{?rhel} > 7
db9eb0
Requires:       python3-koji >= 1.16.2-32.6
633dc7
Requires:       python3-gobject-base
633dc7
Requires:       libmodulemd
db9eb0
%else
db9eb0
Requires:       python3-koji >= 1.17
633dc7
Requires:       python3-libmodulemd1
db9eb0
%endif
242caa
Requires:       python3-rpm
242caa
Requires:       python3-pycurl
242caa
Requires:       python3-six >= 1.9.0
Owen W. Taylor 05492a
Requires:       python3-PyYAML
242caa
242caa
Requires:       %{name}-common = %{version}-%{release}
242caa
242caa
Conflicts:      fedpkg < 1.26
242caa
242caa
%description -n python3-%{name}
242caa
A python library for managing RPM package sources in a git repository.
242caa
%endif # with python3
242caa
242caa
242caa
%package common
242caa
Summary:        Common files for %{name}
242caa
242caa
# Files were moved from python2-rpkg in that version
242caa
Conflicts:      python2-rpkg < 1.52-2
242caa
Conflicts:      pyrpkg < 1.52-2
242caa
242caa
%description common
242caa
Common files for python2-%{name} and python3-%{name}.
Jesse Keating 2c910b
Jesse Keating 2c910b
Jesse Keating 2c910b
%prep
8cb4cc
%autosetup -p1
Jesse Keating 2c910b
687ceb
# Removes section from setup.py that is relevant only for pip and
687ceb
# is not compatible with in RHEL-6 tools
687ceb
sed -i -n '/extras_require/,/}/!p' setup.py
687ceb
Jesse Keating 2c910b
%build
242caa
%if 0%{?with_python2}
6d0a9a
%{__python2} setup.py build
242caa
%endif
242caa
242caa
%if 0%{?with_python3}
242caa
%py3_build
242caa
%endif
Jesse Keating 2c910b
Jesse Keating 2c910b
Jesse Keating 2c910b
%install
242caa
%if 0%{?with_python2}
6d0a9a
%{__python2} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
242caa
%endif
242caa
242caa
%if 0%{?with_python3}
242caa
%py3_install
242caa
%endif
242caa
1754f9
bb111f
# Create configuration directory to holding downstream clients config files
bb111f
# that are built on top of rpkg
bb111f
%{__install} -d $RPM_BUILD_ROOT%{_sysconfdir}/rpkg
bb111f
1754f9
example_cli_dir=$RPM_BUILD_ROOT%{_datadir}/%{name}/examples/cli
1754f9
%{__install} -d $example_cli_dir
1754f9
1754f9
# Install example CLI to rpkg own data directory
1754f9
%{__install} -d ${example_cli_dir}%{_bindir}
bb111f
%{__install} -d ${example_cli_dir}%{_sysconfdir}/bash_completion.d
bb111f
%{__install} -d ${example_cli_dir}%{_sysconfdir}/rpkg
bb111f
bb111f
%{__install} -p -m 0644 bin/rpkg ${example_cli_dir}%{_bindir}
bb111f
%{__install} -p -m 0644 etc/bash_completion.d/rpkg.bash ${example_cli_dir}%{_sysconfdir}/bash_completion.d
bb111f
%{__install} -p -m 0644 etc/rpkg/rpkg.conf ${example_cli_dir}%{_sysconfdir}/rpkg
1754f9
Jesse Keating 2c910b
cc8360
%check
242caa
# cannot use python2 -m nose on EPEL 6 (Python 2.6)
242caa
%if 0%{?with_python2}
8022c1
nosetests tests
242caa
%endif
242caa
242caa
%if 0%{?with_python3}
242caa
%{__python3} -m nose tests
242caa
%endif
8022c1
Jesse Keating 2c910b
242caa
%if 0%{?with_python2}
1754f9
%files -n python2-%{name}
672f9d
%doc README.rst CHANGELOG.rst
8cb4cc
%if 0%{?rhel} && 0%{?rhel} < 7
8cb4cc
%doc COPYING COPYING-koji LGPL
8cb4cc
%else
672f9d
%license COPYING COPYING-koji LGPL
8cb4cc
%endif
Jesse Keating 2c910b
# For noarch packages: sitelib
74d47a
%{python2_sitelib}/pyrpkg
74d47a
%{python2_sitelib}/%{name}-%{version}-py*.egg-info
242caa
%endif # with python2
242caa
242caa
%if 0%{?with_python3}
242caa
%files -n python3-%{name}
242caa
%doc README.rst CHANGELOG.rst
242caa
%license COPYING COPYING-koji LGPL
242caa
%{python3_sitelib}/pyrpkg
242caa
%{python3_sitelib}/%{name}-%{version}-py*.egg-info
242caa
%endif # with python3
242caa
242caa
%files common
1754f9
%{_datadir}/%{name}
bb111f
%{_sysconfdir}/rpkg
Jesse Keating 2c910b
cb5f76
Jesse Keating 2c910b
%changelog
e6d27f
* Sat Aug 17 2019 Miro Hrončok <mhroncok@redhat.com> - 1.58-9
e6d27f
- Rebuilt for Python 3.8
e6d27f
4bb1c1
* Thu Aug 01 2019 Ondřej Nosek <onosek@redhat.com> - 1.58-8
4bb1c1
- Obsoletes python2-rpkg after upgrade to Fedora30
4bb1c1
633dc7
* Wed Jul 31 2019 Stephen Gallagher <sgallagh@redhat.com> - 1.58-7
633dc7
- Fix libmodulemd requirements
633dc7
5d29b3
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.58-6
5d29b3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
5d29b3
71d146
* Mon Jun 10 2019 Ondřej Nosek <onosek@redhat.com> - 1.58-5
71d146
- Now again, libmodulemd is required instead of python3-libmodulemd because
71d146
  it was causing troubles with upgrades.
71d146
db9eb0
* Mon Jun 10 2019 Ondřej Nosek <onosek@redhat.com> - 1.58-4
db9eb0
- Modify required version of koji package
db9eb0
b725d6
* Mon May 27 2019 Ondřej Nosek <onosek@redhat.com> - 1.58-3
b725d6
- Backport: Custom handler for koji watch_tasks
b725d6
- Backport: Show nvr in container-build
b725d6
- Backport: Different import --offline command behavior
b725d6
67075c
* Thu May 09 2019 Ondrej Nosek <onosek@redhat.com> - 1.58-2
67075c
- Backport: fixed 'clone --branch' command
67075c
687ceb
* Mon Apr 29 2019 Ondřej Nosek <onosek@redhat.com> - 1.58-1
687ceb
- Ignore files in a cloned repository - #355 (onosek)
687ceb
- Handle data from python RPM binding as UTF-8 string (zebob.m)
687ceb
- srpm_import: be compatible with rhbz#1693751 (praiskup)
687ceb
- Pass --enable-network to mock - 314 (onosek)
687ceb
- Enhance 'module-overview' sub-command to show scratch status of modules.
687ceb
  (mmathesi)
687ceb
- Remove the ability to parse a module's branch automatically to determine the
687ceb
  base module stream override (mprahl)
687ceb
- Improvements for scratch module builds (mmathesi)
687ceb
- Updates to support scratch module builds (mmathesi)
687ceb
- Refactor fake Koji credential handling from TestBuildPackage class into new
687ceb
  FakeKojiCreds class so it can be shared with TestModulesCli class. (mmathesi)
687ceb
- Make Koji upload methods more generic so they can be reused. (mmathesi)
687ceb
- Allow passing --offline and -r to mbs-manager build_module_locally. (jkaluza)
687ceb
- Depth param for clone - tuning (onosek)
687ceb
- Depth param for clone - #363 (onosek)
687ceb
- Pass --disablerepo and --enablerepo to mock - 313 (onosek)
687ceb
- Import srpm without uploading sources - rhbz#1175262 (onosek)
687ceb
- Ignore any specified profile when finding the Flatpak build target (otaylor)
687ceb
- Show module build links in output from command module-build (cqi)
687ceb
- Add 'retire' command supporting both packages and modules (mmathesi)
687ceb
- Fix "push --force" (tim)
687ceb
- Container-build returns its status to command-line - #415 (onosek)
687ceb
- Upload .crate files to lookaside cache - 312 (onosek)
687ceb
- Restrict version of PyYAML on Python 2.6 (lsedlar)
687ceb
- Simplify srpm method (onosek)
687ceb
- Permit setting arbitrary rpm macros during build (riehecky)
687ceb
- Add the ability to configure multiple regex expressions for
687ceb
  base_module_stream_regex_from_branch (mprahl)
687ceb
- Do not require PyGObject in setup.py - rhbz#1679365 (onosek)
687ceb
- Fixing failing Jenkins tests (onosek)
687ceb
- Unify update-docs script with fedpkg version (onosek)
687ceb
- README: add links (onosek)
687ceb
- Watch multiple module builds (cqi)
687ceb
- Added update-docs script (onosek)
687ceb
26e277
* Thu Apr 25 2019 Ondřej Nosek <onosek@redhat.com> - 1.57-9
26e277
- yet another compat fix with RPM after rhbz#1693751
26e277
86fbb4
* Fri Apr 19 2019 Pavel Raiskup <praiskup@redhat.com> - 1.57-8
86fbb4
- compat fix with RPM after rhbz#1693751
86fbb4
cbcb14
* Wed Mar 20 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.57-7
cbcb14
- Backport patch for uploading *.crate into lookaside
cbcb14
b4d89c
* Thu Feb 07 2019 Ondřej Nosek <onosek@redhat.com> - 1.57-6
b4d89c
- Revert previous change.
b4d89c
  Now python-gobject-base & libmodulemd are removed from epel7 and RHEL7
b4d89c
6ab6ec
* Tue Feb 05 2019 Ondřej Nosek <onosek@redhat.com> - 1.57-5
6ab6ec
- python-gobject-base & libmodulemd also for epel7 and RHEL7
6ab6ec
e830be
* Mon Feb 04 2019 Lubomír Sedlář <lsedlar@redhat.com> - 1.57-4
e830be
- Disable Py2 package on F30+
e830be
58005e
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.57-3
58005e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
58005e
8cb4cc
* Thu Jan 03 2019 Ondřej Nosek <onosek@redhat.com> - 1.57-2
8cb4cc
- Merge changes of the .spec files for Fedora and RHEL
8cb4cc
8cb4cc
* Thu Dec 13 2018 Ondřej Nosek <onosek@redhat.com> - 1.57-1
8cb4cc
- Use idna 2.7 for Python 2.6 (lsedlar)
8cb4cc
- Imports are sorted (onosek)
8cb4cc
- libmodulemd is missing on el7 - #402 (onosek)
8cb4cc
- Initialize bash autocompletion (onosek)
8cb4cc
- Set configuration in case of "clone --branches" as well (tim)
8cb4cc
- Fix fake spec file for clog tests (cqi)
8cb4cc
- Move argparse fix from fedpkg - #398 (onosek)
8cb4cc
- Send source mtime to dist-git - 220 (lsedlar)
8cb4cc
- Fix tests for mock package manager (lsedlar)
8cb4cc
- Specify package manager for mock-config (lsedlar)
8cb4cc
- Add contributing guide (onosek)
8cb4cc
- Validate the module build optional argument when parsing the argument
8cb4cc
  (mprahl)
8cb4cc
- Add config options to parse the base module (e.g. platform) stream from the
8cb4cc
  dist-git branch and apply a buildrequire override (mprahl)
8cb4cc
- Add the ability to pass in buildrequire and require overrides on a module
8cb4cc
  build (mprahl)
8cb4cc
- Raise an error if the module build command receives optional arguments that
8cb4cc
  conflict (mprahl)
8cb4cc
- Silence Python3 SafeConfigParser warnings (mmathesi)
8cb4cc
- Allow to pass posargs to tox from make (cqi)
8cb4cc
- Specify dependent packages in one place (cqi)
8cb4cc
- Don't registry flatpak-build command on Python-2.6 (otaylor)
8cb4cc
- Add flatpak-build subcommand (otaylor)
8cb4cc
- Don't pass the MBS API URL around as a parameter (otaylor)
8cb4cc
- TestContainerBuildWithKoji: tear down the mock appropriately (otaylor)
8cb4cc
- Refine test runner for py26 (cqi)
8cb4cc
687ceb
* Thu Nov 15 2018 Ondřej Nosek <onosek@redhat.com> - 1.56-4
687ceb
- Allow build for RHEL-8  (onosek)
687ceb
687ceb
* Wed Nov 14 2018 Ondřej Nosek <onosek@redhat.com> - 1.56-3
687ceb
- No mock warning (onosek)
687ceb
Owen W. Taylor 05492a
* Fri Sep  7 2018 Owen Taylor <otaylor@redhat.com> - 1.56-2
Owen W. Taylor 05492a
- Add patch from upstream pull-request to add a flatpak-build subcommand
Owen W. Taylor 05492a
- Add PyYAML dependencies so that the spec file at least builds on epel6/epel7
Owen W. Taylor 05492a
327323
* Tue Aug 21 2018 Chenxiong Qi <cqi@redhat.com> - 1.56-1
327323
- Validate greenwave policy early in Commands.build (cqi)
327323
- Refine error message for failure gating.yaml validation (cqi)
327323
- explain mbs-manager exception handling (nils)
327323
- test for missing mbs-manager with errno set (nils)
327323
- catch errno == ENOENT if mbs-manager is missing (nils)
327323
- add missing method docstring (nils)
327323
- Show full error from MBS (lsedlar)
327323
- Fix tests for greenwave policy validation (cqi)
327323
- Add testenv for building docs (cqi)
327323
- New option --buildrootdir - rhbz#1583822 (cqi)
327323
- Add --shell option to mockbuild - rhbz#1438685 (cqi)
327323
- Validate gating.yaml file for Greenwave gating (gnaponie)
327323
- Update README (cqi)
327323
- Reduce the number of repo creation for tests (cqi)
327323
- Fix flake8 error (cqi)
327323
- Drop rpm-py-installer from requires - #357 (cqi)
327323
- Allow _run_command to capture and return output to stdout or stderr (cqi)
327323
- Claim Python 3.7 in README and package classifiers (cqi)
327323
- Fix a bad test teardown (otaylor)
327323
- Refactor build command (cqi)
327323
- Remove rpmfluff package (cqi)
327323
- Set PYCURL_SSL_LIBRARY directly for installing pycurl (cqi)
327323
- Add py37 testenv (cqi)
327323
d28d49
* Thu Jul 26 2018 Chenxiong Qi <cqi@redhat.com> - 1.55-2
d28d49
- Remove dependency python-rpmfluff
d28d49
7c9c10
* Mon Jul 23 2018 Chenxiong Qi <cqi@redhat.com> - 1.55-1
7c9c10
- Fix installing pycurl for running tests (cqi)
7c9c10
- Replace extra module_name with repo_name (cqi)
7c9c10
- Replace name module with repo in tests/fixtures/rpkg*.conf (cqi)
7c9c10
- Add --fail-fast functionality - #331 (tibbs)
7c9c10
- Fix fake spec for build in rawhide (cqi)
7c9c10
- Avoid to upload a file with different checksum - #204 (cqi)
7c9c10
- Give more information when sources has invalid content - #227 (cqi)
7c9c10
- Reserve README.md while import srpm - #149 (cqi)
7c9c10
- Set to repo_name property when --name is specified (cqi)
7c9c10
- Do not restrict argparse version (cqi)
7c9c10
- Check old format args only if there is clone config (cqi)
7c9c10
- Fix typo and reword option help and deprecation message (cqi)
7c9c10
- Massive replacement of module (cqi)
7c9c10
- Deprecate module_name inside rpkg internal (cqi)
7c9c10
- Add new option --name and --namespace - #301 (cqi)
7c9c10
- Man generator indent workaround (onosek)
7c9c10
- Fixing imports in unittests (onosek)
7c9c10
- Minor fixes to doc build (cqi)
7c9c10
- Fix mistakes during rebase (cqi)
7c9c10
- Run document generator script in Py3 explictly (cqi)
7c9c10
- Remove warning of nonexisting source/_static/ during doc build (cqi)
7c9c10
- Do not generate document for sample rpkg app (cqi)
7c9c10
- Exclude subcommand which does not have help (cqi)
7c9c10
- Ensure to clean files for generating HTML documents (cqi)
7c9c10
- Fix rebase error: add module_build_watch back (cqi)
7c9c10
- Fix MANIFEST.in to list files for building doc (cqi)
7c9c10
- Rename generate_man_pages.py (cqi)
7c9c10
- Generate HTML document and manpage for sample rpkg (cqi)
7c9c10
- Simplify doc Makefile (cqi)
7c9c10
- Generate commands HTML and man pages (cqi)
7c9c10
- Update existing docstrings (cqi)
7c9c10
- Generate documents by sphinx - #50 (cqi)
7c9c10
- README: new code should be py3 compatible (ktdreyer)
7c9c10
- Provide base_module to clone_config templates - #326 (tmz)
7c9c10
- Refactor man generator to be reusable (puiterwijk)
7c9c10
- Make sure gitcred doesn't land in man (puiterwijk)
7c9c10
- Don't inject the credential helper to push if OIDC is unconfigured
7c9c10
  (puiterwijk)
7c9c10
- Add docblocks to gitcred methods and don't quit if OpenIDC is unconfigured
7c9c10
  (puiterwijk)
7c9c10
- Also inject the credential helper with rpkg push (puiterwijk)
7c9c10
- Create a "gitcred" command that functions as an OIDC git-credential helper
7c9c10
  (puiterwijk)
7c9c10
3b9278
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.54-4
3b9278
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
3b9278
a58d9d
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.54-3
a58d9d
- Rebuilt for Python 3.7
a58d9d
172445
* Mon May 21 2018 Chenxiong Qi <cqi@redhat.com> - 1.54-2
172445
- Remove koji and rpm-py-installer Python package requires
172445
- Fix argparse version for el6
172445
b1a975
* Fri May 11 2018 Chenxiong Qi <cqi@redhat.com> - 1.54-1
b1a975
- Pass the -s/--set-default-stream to mbs-manager for module local builds.
b1a975
  (jkaluza)
b1a975
- Write mock config correctly when run in Py 3 (cqi)
b1a975
- Add --with and --without options to 'local' - rhbz#1533416 (tmz)
b1a975
- Add a test for 3f93433 (cqi)
b1a975
- Raise error if rpm command returns non-zero (cqi)
b1a975
- Use getpass.getuser() instead of pwd.getpwuid(os.getuid())[0] (jpopelka)
b1a975
- Allow setting custom MBS config file and config section in rpkg.conf.
b1a975
  (jkaluza)
b1a975
- Remove py35 testenv (cqi)
b1a975
- Ignore .env and tags (cqi)
b1a975
- Remove question mark from giturl (cqi)
b1a975
- Added custom ArgumentParser (supports allow_abbrev) (jkucera)
b1a975
- Grab the correct first line in case of rpm output (zebob.m)
b1a975
2bc065
* Mon Apr 16 2018 Chenxiong Qi <cqi@redhat.com> - 1.53-2
2bc065
- Require python2-koji 1.15 as the minimum version
2bc065
- Refine BuildRequires
2bc065
9f5919
* Tue Apr 10 2018 Chenxiong Qi <cqi@redhat.com> - 1.53-1
9f5919
- Use NSVs and not build IDs with module-build-local --add-local-build (mprahl)
9f5919
- Fix docstring of test_module_build_local_with_skiptests (mprahl)
9f5919
- Add long_description to package (cqi)
9f5919
- Support local module builds when there are uncommitted changes (mprahl)
9f5919
- Fix clarifying error that occurs when mbs-manager is not installed (mprahl)
9f5919
- Add support for Module Stream Expansion (MBS API v2) (mprahl)
9f5919
- Show errors when a module build fails (mprahl)
9f5919
- Move full download url construction to separate method (frostyx)
9f5919
- Fix compose related params for container-build (lucarval)
9f5919
- Avoid calling /usr/bin/python in tests (miro)
9f5919
- Change default rpmlint configuration file (athoscr)
9f5919
- Use koji.grab_session_options() rather than opencoding it (cfergeau)
9f5919
242caa
* Mon Mar 05 2018 Miro Hrončok <mhroncok@redhat.com> - 1.52-2
242caa
- Introduce python3 subpackage
242caa
74d47a
* Thu Feb 22 2018 Chenxiong Qi <cqi@redhat.com> - 1.52-1
74d47a
- Mock ThreadPool in test_module_overview (cqi)
74d47a
- Drop rpmfluff in test (cqi)
74d47a
- Fix hardcoded directory name in test (lsedlar)
74d47a
- Improve testenv for py26 (cqi)
74d47a
- Run tests with old GitPython in py26 testenv (cqi)
74d47a
- Compile pycurl with openssl after F27 (cqi)
74d47a
- Ignore .egg/ from git (cqi)
74d47a
- Add py26 to testenv (cqi)
74d47a
- Install koji from PyPI (cqi)
74d47a
- Make compose-id and repo-url to take one or more values (csomh)
74d47a
- Let git ignore more directories (cqi)
74d47a
- Exclude pyc and __pycache__ globally in sdist (cqi)
74d47a
- Handle nonexisting mbs-manager (cqi)
74d47a
- Add dependent packages for Python 2.6 in setup.py (cqi)
74d47a
- Updated module cli API (mcurlej)
74d47a
- Declare Python versions rpkg can work with - #278 (cqi)
74d47a
- Fix flake8 errors (cqi)
74d47a
- Fix tests that do not work with Python 3 (cqi)
74d47a
- Fix tests: not impact by dict.items call (cqi)
74d47a
- Add py36 to testenv - #274 (cqi)
74d47a
- Run tox to run tests and check code styles - #276 (cqi)
74d47a
- Use flake8 3.5.0 (cqi)
74d47a
- Add files under requirements/ to sdist package (cqi)
74d47a
- Install Koji shared library via setuptools (cqi)
74d47a
- Set install and tests requires in setup.py (cqi)
74d47a
- Split pypi requirements and refine versions (cqi)
74d47a
- Change type of compose id from string to int (bfontecc)
74d47a
- Install RPM Python binding from PyPI (cqi)
74d47a
- Fix test test_lint_each_file_once (cqi)
74d47a
- Add compose-id and signing-intent arguments (bfontecc)
74d47a
- Use env's python (lucarval)
74d47a
- Use progress callback and TaskWatcher from koji_cli.lib (cqi)
74d47a
- Get buildhash from git+https:// url (lsedlar)
74d47a
- lint: Avoid checking rpm's multiple times (tmz)
74d47a
- Fix giturl as well by calling construct_build_url (cqi)
74d47a
- Fix construct anongiturl for chain-build (cqi)
74d47a
- Fix mock openidc_client (cqi)
74d47a
7af1f9
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.51-4
7af1f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
7af1f9
dd1d70
* Tue Jan 23 2018 Chenxiong Qi <cqi@redhat.com> - 1.51-3
dd1d70
- Backport: Add compose-id and signing-intent arguments
dd1d70
- Backport: Change type of compose id from string to int
dd1d70
3ea94e
* Wed Nov 08 2017 Chenxiong Qi <cqi@redhat.com> - 1.51-2
3ea94e
- Backport: Fix construct anongiturl for chain-build
3ea94e
- Backport: Fix giturl as well by calling construct_build_url
3ea94e
bb111f
* Fri Oct 20 2017 Chenxiong Qi <cqi@redhat.com> - 1.51-1
bb111f
- Ignore TestModulesCli if openidc-client is unavailable (cqi)
bb111f
- Port mbs-build to rpkg (mprahl)
bb111f
- Add .vscode to .gitignore (mprahl)
bb111f
- Fix TestPatch.test_rediff in order to run with old version of mock (cqi)
bb111f
- Allow to specify alternative Copr config file - #184 (cqi)
bb111f
- Tests for patch command (cqi)
bb111f
- More Tests for mockbuild command (cqi)
bb111f
- More tests for getting spec file (cqi)
bb111f
- Tests for container-build-setup command (cqi)
bb111f
- Test for container-build to use custom config (cqi)
bb111f
- Suppress output from git command within setUp (cqi)
bb111f
- Skip test if rpmfluff is not available (lsedlar)
bb111f
- Allow to override build URL (cqi)
bb111f
- Test for mock-config command (cqi)
bb111f
- Tests for copr-build command (cqi)
bb111f
- Fix arch-override for container-build (lucarval)
bb111f
- Remove unsupported osbs for container-build (lucarval)
bb111f
- cli: add --arches support for koji_cointainerbuild (mlangsdo)
bb111f
- Strip refs/heads/ from branch only once (lsedlar)
bb111f
- Don't install bin and config files (cqi)
bb111f
- Fix kojiprofile selection in cliClient.container_build_koji (cqi)
bb111f
- Avoid branch detection for 'rpkg sources' (praiskup)
bb111f
- Fix encoding in new command (cqi)
bb111f
- Minor wording improvement in help (pgier)
bb111f
- Fix indentation (pviktori)
bb111f
- Add --with and --without options to mockbuild (pviktori)
bb111f
cb5f76
* Thu Aug 31 2017 Chenxiong Qi <cqi@redhat.com> - 1.50-2
cb5f76
- Backport: Fix kojiprofile selection in cliClient.container_build_koji (cqi)
cb5f76
36e29e
* Thu Aug 10 2017 Chenxiong Qi <cqi@redhat.com> - 1.50-1
36e29e
- Fix PEP8 error (cqi)
36e29e
- Spelling fixes (ville.skytta)
36e29e
- Reword help and description of new-sources and upload commands - rhbz#1248737
36e29e
  (cqi)
36e29e
- Set autorebuild enabled by default (bfontecc)
36e29e
- Add commands to whitelist_externals (cqi)
36e29e
- Declare Python 3 versions to support in setup.py (cqi)
36e29e
- Replace unicode with six.text_type (cqi)
36e29e
- Run tests in both Python 2 and 3 with tox (cqi)
36e29e
- Make tests and covered code compatible with Py3 (cqi)
36e29e
- Add requirements files (cqi)
36e29e
- Do not build srpm in test (cqi)
36e29e
- Do not actually run git-diff in tests (cqi)
36e29e
- Remove deprecated modules used in koji (cqi)
36e29e
- Non-zero exit when rpmbuild fails in local command (cqi)
36e29e
- Report deprecation of config via logger (lsedlar)
36e29e
- Print --dist deprecation warning explicitly (lsedlar)
36e29e
- utils: Avoid DeprecationWarning for messages for users (lsedlar)
36e29e
- Supply namespace to lookaside (if enabled) (lsedlar)
36e29e
- Support reading koji config from profile - #187 (cqi)
36e29e
- Remove kitchen (cqi)
36e29e
- Fix string format (cqi)
36e29e
- Recommend --release instead of --dist in mockbuild --help (tmz)
36e29e
- Allow overriding container build target by downstream (lsedlar)
36e29e
- Add a separate property for namespace (lsedlar)
36e29e
- Allow container builds from any namespace (maxamillion)
36e29e
- Make osbs support optional (cqi)
36e29e
- make osbs dependency optional (pavlix)
36e29e
- Allow explicit namespaces with slashes (lsedlar)
36e29e
- Do not hang indefinitely when lookaside cache server stops sending data
36e29e
  (jkaluza)
36e29e
- Make --module-name work with namespaces - #216 (lsedlar)
36e29e
- Include README.rst in dist package (cqi)
36e29e
- More document in README - #189 (cqi)
36e29e
- Make new command be able to print unicode - #205 (cqi)
36e29e
- Allow to specify custom info to a dummy commit (cqi)
36e29e
- Load module name correctly even if push url ends in slash - #192 (cqi)
36e29e
- Replace fedorahosted.org with pagure.io - #202 (cqi)
36e29e
- Fix rpm command to get changelog from SPEC - rhbz#1412224 (cqi)
36e29e
- Rewrite tests to avoid running rpmbuild and rpmlint (cqi)
36e29e
- Use fake value to make Command in test (cqi)
36e29e
- Python 3.6 invalid escape sequence deprecation fixes (ville.skytta)
36e29e
9f23da
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.49-7
9f23da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
9f23da
f773cb
* Mon Jul 10 2017 Chenxiong Qi <cqi@redhat.com> - 1.49-6
f773cb
- Rename koji to python2-koji
f773cb
31f7c3
* Thu Jun 29 2017 Lubomír Sedlář <lsedlar@redhat.com> - 1.49-5
31f7c3
- Allow using namespace in --module-name attribute
31f7c3
3e6aad
* Thu Jun 22 2017 Chenxiong Qi <cqi@redhat.com> - 1.49-4
3e6aad
- Remove python-osbs-client
3e6aad
abf4ae
* Fri Jun 16 2017 Chenxiong Qi <cqi@redhat.com> - 1.49-3
abf4ae
- Backport to make osbs optional
abf4ae
1754f9
* Mon Mar 27 2017 Chenxiong Qi <cqi@redhat.com> - 1.49-2
1754f9
- Rebuilt to rename pyrpkg to python2-rpkg
1754f9
cce350
* Wed Feb 22 2017 Chenxiong Qi <cqi@redhat.com> - 1.49-1
cce350
- More upload PyCURL fixes for EL 7 (merlin)
cce350
- Move tag inheritance check into a separate method (cqi)
cce350
a2bcbd
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.48-3
a2bcbd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
a2bcbd
37c0ec
* Wed Feb 1 2017 Lubomír Sedlář <lsedlar@redhat.com> - 1.48-2
37c0ec
- Backport patch to move tag inheritance check to separate method
37c0ec
8022c1
* Thu Dec 22 2016 Chenxiong Qi <cqi@redhat.com> - 1.48-1
8022c1
- Better message when fail to authenticate via Kerberos - #180 (cqi)
8022c1
3119bc
* Mon Dec 19 2016 Chenxiong Qi <cqi@redhat.com> - 1.47-7
3119bc
- Refactor Commands._srpmdetails (cqi)
3119bc
d139c2
* Thu Dec 15 2016 Chenxiong Qi <cqi@redhat.com> - 1.47-6
d139c2
- Add missing import koji.ssl.SSLCommon - BZ#1404102 (cqi)
d139c2
- Fix upload with old PyCURL - BZ#1241059 (lsedlar)
d139c2
f4253b
* Mon Dec 12 2016 Lubomír Sedlář <lsedlar@redhat.com> - 1.47-5
f4253b
- Fix default value for krb_rdns options
f4253b
443340
* Mon Dec 12 2016 Lubomír Sedlář <lsedlar@redhat.com> - 1.47-4
443340
- Add krb_rdns koji config
443340
e11086
* Thu Dec 08 2016 Lubomír Sedlář <lsedlar@redhat.com> - 1.47-3
e11086
- Conflict with too old fedpkg
e11086
25cc9f
* Wed Dec 07 2016 Chenxiong Qi <cqi@redhat.com> - 1.47-2
25cc9f
- Fix test that fails on a Koji ARM builder
25cc9f
9044d1
* Fri Dec 02 2016 Chenxiong Qi <cqi@redhat.com> - 1.47-1
9044d1
- New upstream release 1.47
9044d1
847122
* Tue Oct 25 2016 Lubomír Sedlář <lsedlar@redhat.com> - 1.46-5
847122
- Allow using gssapi for lookaside caches
847122
1e6496
* Tue Sep 06 2016 Lubomír Sedlář <lsedlar@redhat.com> - 1.46-4
1e6496
- Update dependencies for python-argparse and python-hashlib
acaad8
acaad8
* Thu Aug 25 2016 Chenxiong Qi <cqi@redhat.com> - 1.46-3
acaad8
- python-six-1.9.0 is the minimum version rpkg depends
acaad8
9378d9
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.46-2
9378d9
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
9378d9
0e95e7
* Fri Jul 15 2016 Chenxiong Qi <cqi@redhat.com> - 1.46-1
0e95e7
- Warning untracked patches when push (cqi)
0e95e7
- handle correct spec path when push from outside the repo (cqi)
0e95e7
- Remove support for BuildContainer release task opt (lucarval)
0e95e7
c45322
* Mon Jun 27 2016 Chenxiong Qi <cqi@redhat.com> - 1.45-2
c45322
- Depend on python-six to be compatible with Python 3
c45322
0f1111
* Mon Jun 27 2016 Chenxiong Qi <cqi@redhat.com> - 1.45-1
0f1111
- add missing git-config in the git repo for testing (cqi)
0f1111
- Don't print download/upload progress outside of TTY (lsedlar)
0f1111
- Merge #58 `Rebase of #28 with conflict resolved` (cqi)
0f1111
- Get correct login without TTY (vgologuz)
0f1111
- Merge #63 `More Python 3 compatibility fixes` (lubomir.sedlar)
0f1111
- fix broken when non-ASCII in path (cqi)
0f1111
- More Python 3 compatibility fixes (ville.skytta)
0f1111
- Fix push called without argument (lsedlar)
0f1111
- Use logging.warning instead of deprecated logging.warn (ville.skytta)
0f1111
- Use assertEqual instead of deprecated assertEquals (ville.skytta)
0f1111
- Spelling fixes (ville.skytta)
0f1111
- Add missing dependencies to setup.py (ville.skytta)
0f1111
- Add tests for cloning with a namespace (lsedlar)
0f1111
- Fix cloning with -B and namespaced module (lsedlar)
0f1111
- Adjust figuring out the path of the git repo cloned (pingou)
0f1111
- Only clone into the bare_dir if no target was specified (pingou)
0f1111
- Add to the CLI the possibility to specify a target folder for the clone
0f1111
  (pingou)
0f1111
- Add unit-tests for cloning into a specified directory (pingou)
0f1111
- Let rpkg support cloning into a specified directory (pingou)
0f1111
- Python 3 fixes (ville.skytta)
0f1111
- rewrite test_commands.setup_module using git (cqi)
0f1111
- Merge #40 `push: check for missing patches` (lubomir.sedlar)
0f1111
4d3d0f
* Thu Jun 02 2016 Lubomír Sedlář <lsedlar@redhat.com> - 1.44-1
4d3d0f
- Log container-build task results (lucarval)
4d3d0f
- Add support for BuildContainer release task opt (lucarval)
4d3d0f
- handle exception from getTaskInfo correctly (cqi)
4d3d0f
- fix failure of test_load_spec_where_path_contains_space on RHEL (cqi)
4d3d0f
- allow space appearing in path to cloned repo (cqi)
4d3d0f
- fix docstring of Commands.compile (cqi)
4d3d0f
- Make 'Failed to get ns_module_name from Git url or pushurl' message a warning
4d3d0f
  (issue #42) (orion)
4d3d0f
- pyrpkg: use git remote get-url --push (mathstuf)
4d3d0f
3b6067
* Wed Mar 23 2016 Lubomír Sedlář <lubomir.sedlar@gmail.com> - 1.43-1
3b6067
- Print warning when using old git configuration (lsedlar)
3b6067
- Add rpms namespace for checkouts without namespace (lsedlar)
3b6067
504894
* Wed Mar 16 2016 Lubomír Sedlář <lubomir.sedlar@gmail.com> - 1.42-1
504894
- Fix problems with namespacing (maxamillion)
504894
6f6256
* Mon Mar 14 2016 Lubomír Sedlář <lubomir.sedlar@gmail.com> - 1.41-2
6f6256
- Depend on python-osbs directly to avoid python3
6f6256
ae06b3
* Mon Mar 14 2016 Lubomír Sedlář <lubomir.sedlar@gmail.com> - 1.41-1
ae06b3
- Update upstream URL (lsedlar)
ae06b3
- Fixes based on lsedlar's feedback (maxamillion)
ae06b3
- add distgit namespacing for non-rpm content (docker, xdg-app, etc) (maxamillion)
ae06b3
- Container-build: dont't allow to build with unpushed changes (araszka)
ae06b3
- Suggest --dist option when can't get OS ver from branch (araszka)
ae06b3
- fix: print all tags without filter (araszka)
ae06b3
- Fix lookaside upload when --path is specified (araszka)
ae06b3
- Lookaside: encoding repo name to UTF-8 (araszka)
ae06b3
- Fix errors on Python 2.6 (lsedlar)
ae06b3
- Add test and docstring to byte offset convertor (araszka)
ae06b3
- Decode .spec file with UTF-8 (araszka)
ae06b3
- 1271741 - add copr command (Recommends: copr-cli) (msuchy)
ae06b3
- Suggest --target option when unknown target (araszka)
ae06b3
15115b
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.40-2
15115b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
15115b
47c906
* Fri Oct 23 2015 Pavol Babincak <pbabinca@redhat.com> - 1.40-1
47c906
- don't use assertRaises (ttomecek)
47c906
- refactor test_clone: set clone config in the same test file (pbabinca)
47c906
- Fix clone test to not use constructor to set clone_config (pbabinca)
47c906
- Fix test clone test (pbabinca)
47c906
- Make use of clone_config attribute backwards compatible (pbabinca)
47c906
24a29f
* Thu Oct 22 2015 Pavol Babincak <pbabinca@redhat.com> - 1.39-1
24a29f
- Replace deprecated BaseException.message with str(BaseException) (pbabinca)
24a29f
- Don't print exception message during check repo tests (pbabinca)
24a29f
- Add support for setting post-clone git config (ville.skytta)
24a29f
9a27ec
* Wed Oct 21 2015 Pavol Babincak <pbabinca@redhat.com> - 1.38-1
9a27ec
- Fix parse error (pbabinca)
9a27ec
c02ed8
* Wed Oct 21 2015 Pavol Babincak <pbabinca@redhat.com> - 1.37-1
c02ed8
- Add support for --nocheck (orion)
c02ed8
- container-build: check repo (ttomecek)
c02ed8
- move repo checking to a method (ttomecek)
c02ed8
- Add 'oxt' and 'xpi' extensions to UPLOADEXTS (dsilakov)
c02ed8
- Switch-branch: give more info about error (araszka)
c02ed8
- Recognize binary files with .oxt and .xpi extensions (dsilakov)
c02ed8
- Container-build: add --nowait option (araszka)
c02ed8
- bash autocompletion: support for command container-build-config (pbabinca)
c02ed8
- Implement getter for autorebuild value, use 'true' and 'false' for values
c02ed8
  (bkabrda)
c02ed8
- Add a command and option to change container build setup (bkabrda)
c02ed8
- Edit tests for python2.6 - EL6 (araszka)
c02ed8
- tests: Don't use assertNotIn (araszka)
c02ed8
- tests: Don't use assertRaises as context manager (araszka)
c02ed8
- tests: Don't use check_output (araszka)
c02ed8
- Typo in import --help descriptions (araszka)
c02ed8
- change the url for rpkg (dennis)
c02ed8
c62688
* Wed Jul 15 2015 Pavol Babincak <pbabinca@redhat.com> - 1.36-1
c62688
- container-build: support yum repos with --build-with=koji (pbabinca)
c62688
- container-build: move --scratch option to koji group (pbabinca)
c62688
- Print task info for container-build (pbabinca)
c62688
b36b29
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.35-3
b36b29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
b36b29
33e3da
* Tue May 26 2015 Dennis Gilmore <dennis@ausil.us> - 1.35-2
0bfcc0
- pyrpkg Requires python-osbs
33e3da
1e84e6
* Tue May 26 2015 Pavol Babincak <pbabinca@redhat.com> - 1.35-1
1e84e6
- Test for scratch opt in the actual argument of container_build_koji
1e84e6
  (pbabinca)
1e84e6
- Move the GitIgnore class to its own module (bochecha)
1e84e6
- Modernize the gitignore-handling code (bochecha)
1e84e6
- gitignore: Properly handle adding matching lines (bochecha)
1e84e6
- Refactor: remove unnecessary code (pbabinca)
1e84e6
- Move custom UnknownTargetError to errors module (pbabinca)
1e84e6
- New command: container-build (jluza)
1e84e6
- lookaside: Take over file uploads (bochecha)
1e84e6
- Remove unnecessary log message (bochecha)
1e84e6
- Stop making source files read-only (bochecha)
1e84e6
- Drop some useless comments (bochecha)
1e84e6
- Only report we're uploading when we actually are (bochecha)
1e84e6
- lookaside: Check if a file already was uploaded (bochecha)
1e84e6
- lookaside: Allow client-side and custom CA certificates (bochecha)
1e84e6
- lookaside: Be more flexible when building the download URL (bochecha)
1e84e6
- lookaside: Use the hashtype for the URL interpolation (bochecha)
1e84e6
- lookaside: Add a progress callback (bochecha)
1e84e6
- lookaside: Handle downloading of source files (bochecha)
1e84e6
- lookaside: Move handling of file verification (bochecha)
1e84e6
- lookaside: Move handling of file hashing (bochecha)
1e84e6
- utils: Add a new warn_deprecated helper (bochecha)
1e84e6
- Add a new lookaside module (bochecha)
1e84e6
- Add a new utils module (bochecha)
1e84e6
- Properly set the logger (bochecha)
1e84e6
- Move our custom errors to their own module (bochecha)
1e84e6
- Don't assume MD5 for the lookaside cache (bochecha)
1e84e6
- Remove dead code (bochecha)
1e84e6
- Use the proper exception syntax (bochecha)
1e84e6
6cb015
* Thu Apr 16 2015 Pavol Babincak <pbabinca@redhat.com> - 1.34-1
6cb015
- tests: Don't use assertIsNone (bochecha)
6cb015
- tests: Don't use assertRaises as a context manager (bochecha)
6cb015
- Add long --verbose option to -v, new --debug and -d option (pbabinca)
6cb015
6961b2
* Mon Apr 13 2015 Pavol Babincak <pbabinca@redhat.com> - 1.33-1
6961b2
- New mockbuild options: --no-clean --no-cleanup-after (jskarvad)
6961b2
- Catch ssl auth problems and print more helpful messages (pbabinca)
6961b2
- New exception - rpkgAuthError to allow clients detect auth problems
6961b2
  (pbabinca)
6961b2
480676
* Mon Mar 23 2015 Pavol Babincak <pbabinca@redhat.com> - 1.32-1
480676
- tests: Properly open/close the file (bochecha)
480676
- sources: Support writing in either the old or new format (bochecha)
480676
- sources: Reindent code (bochecha)
480676
3a6ed3
* Fri Mar 06 2015 Pavol Babincak <pbabinca@redhat.com> - 1.31-1
3a6ed3
- Refactor: remove unused imports from test_sources (pbabinca)
3a6ed3
- Don't do several times the same thing (bochecha)
3a6ed3
- sources: Forbid mixing hash types (bochecha)
3a6ed3
- sources: Move to the new file format (bochecha)
3a6ed3
- Rewrite the sources module (bochecha)
3a6ed3
3a8976
* Wed Dec 03 2014 Pavol Babincak <pbabinca@redhat.com> - 1.30-2
3a8976
- Use %%{__python} instead of %%{__python2} as it might be not defined
3a8976
cc8360
* Wed Oct 08 2014 Pavol Babincak <pbabinca@redhat.com> - 1.30-1
cc8360
- add python-nose as BuildRequires as run tests in check section (pbabinca)
cc8360
- pass extra data to the Commands object via properties instead of __init__()
cc8360
  (mikeb)
cc8360
- clean up Koji login, and properly support password auth (mikeb)
cc8360
- add --runas option (mikeb)
cc8360
- run os.path.expanduser on the kojiconfig attribute in case the path is in the
cc8360
  user's home directory (bstinson)
cc8360
- Override GIT_EDITOR in tests (pbabinca)
cc8360
- Massive Flake8 fix (bochecha)
cc8360
- Fix some more Flake8 issues (bochecha)
cc8360
- Fix some flake8 issues (bochecha)
cc8360
- Simplify some code (bochecha)
cc8360
- Fix typo (bochecha)
cc8360
- tests: Ensure functioning of Commands.list_tag (bochecha)
cc8360
- list_tags: Stop executing a command (bochecha)
cc8360
- list_tags: Fix the docstring (bochecha)
cc8360
- delete_tag: Stop executing a command (bochecha)
cc8360
- tests: Ensure functioning of Commands.delete_tag (bochecha)
cc8360
- add_tag: Run the tag command in the right directory (bochecha)
cc8360
- tests: Ensure proper functioning of Commands.add_tag (bochecha)
cc8360
- tests: Factor out some code (bochecha)
cc8360
- tests: Ensure functioning of Commands.clone (bochecha)
cc8360
- gitignore: Make sure each line ends with a \n (bochecha)
cc8360
- gitignore: We're not modified any more after we wrote to disk (bochecha)
cc8360
- tests: Ensure proper functioning of GitIgnore (bochecha)
cc8360
- tests: Use nose (bochecha)
cc8360
- Remove unused import (bochecha)
cc8360
- Some more PEP8 (bochecha)
cc8360
- Add classifiers to setup.py (pbabinca)
cc8360
- Add new sources file parser even with unit tests (pbabinca)
cc8360
- If source file doesn't exist continue without downloading files (pbabinca)
cc8360
- Reformat setup.py to be compliant with PEP 8 (pbabinca)
cc8360
489214
* Tue Sep 30 2014 Pavol Babincak <pbabinca@redhat.com> - 1.28-1
489214
- Compare fuller remote branch name with local branch before build
489214
86c40d
* Fri Sep 26 2014 Pavol Babincak <pbabinca@redhat.com> - 1.27-1
86c40d
- Explicitly define pyrpkg's client name for man pages (pbabinca)
86c40d
- Refactor mock results dir to property (pbabinca)
86c40d
- Add skip-diffs option for import_srpms (lars)
86c40d
- Properly remove possible .py when creating man pages (lars)
86c40d
- Process srpm imports to empty repositories more explicitly (pbabinca)
86c40d
- Make UPLOADEXTS a class variable that can be extended (lars)
86c40d
- Introduce self.default_branch_remote for fresh clones (pbabinca)
86c40d
- On self.path change reset properties which could used old value (pbabinca)
86c40d
- Remove empty entry from git ls-files to not confuse following code (pbabinca)
86c40d
- Remove file names during srpm import in more extensible way (pbabinca)
86c40d
- Fix issue causing all current local builds via fedpkg to use md5 rather than
86c40d
  sha256 (spot)
86c40d
- License replaced with official GPL 2.0 license from gnu.org (pbabinca)
86c40d
- Allow "rpkg commit -s" (pjones)
86c40d
2c1f55
* Tue Jul 29 2014 Pavol Babincak <pbabinca@redhat.com> - 1.26-1
2c1f55
- rpkg doesn't have a python module so use pyrpkg instead (pbabinca)
2c1f55
9fc293
* Tue Jul 29 2014 Pavol Babincak <pbabinca@redhat.com> - 1.25-1
9fc293
- 1.25 release (pbabinca)
9fc293
- Note to do_imports() doc. (pbabinca)
9fc293
- Change default option for switch-branch from --no-fetch to --fetch (pbabinca)
9fc293
- Allow default name of the library to be set by subclasses (pbabinca)
9fc293
- Use name attribute of cliClient to get configuration (pbabinca)
9fc293
- Make setup.py executable (pbabinca)
9fc293
- Use direct git call for fetches (pbabinca)
9fc293
- Print reason for failed switch-branch (pbabinca)
9fc293
- Match whole branch with remote name when switching branch (pbabinca)
9fc293
- Refactor: deduplicate remote & branch_merge (pbabinca)
9fc293
- De-hardcode 'origin' as the remote name (bochecha)
9fc293
- Fallback the remote on 'origin' (bochecha)
9fc293
af93f2
* Mon Jun 09 2014 Pavol Babincak <pbabinca@redhat.com> - 1.24-1
af93f2
- 1.24 release (pbabinca)
af93f2
- Work around signed srpms (Till Maas)
af93f2
- Properly raise the error (bochecha)
af93f2
- Ability to skip NVR construction altogether for builds (pbabinca)
af93f2
- If we failed to parse NVRE from rpm output use better error message
af93f2
  (pbabinca)
af93f2
- If command to get NVRE printed anything to stderr log that command (pbabinca)
af93f2
- Refactor: correctly split string on multi lines (pbabinca)
af93f2
- Use nvr_check as an optional argument for build (pbabinca)
af93f2
- 1.23 release (pbabinca)
af93f2
- Use module_name setter instead of constructor parameter (pbabinca)
af93f2
- Set pushurl & branch_remote by default (pbabinca)
af93f2
- 1.22 release (pbabinca)
af93f2
- Define module name from command line, git url and lastly from spec (pbabinca)
af93f2
- Revert "Define module name from command line, git url and lastly from spec"
af93f2
  (pbabinca)
af93f2
a27b3a
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.21-2
a27b3a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
a27b3a
94bc02
* Mon Mar 24 2014 Pavol Babincak <pbabinca@redhat.com> - 1.21-1
94bc02
- Refactor: split strings on multi lines without spaces from indentation
94bc02
  (pbabinca)
94bc02
- Refactor: remove spaces at the end of lines (pbabinca)
94bc02
- Define module name from command line, git url and lastly from spec (pbabinca)
94bc02
- Option to skip NVR existence check in build system before build (pbabinca)
94bc02
- Add an 'epoch' property to pyrpkg.Commands (bochecha)
94bc02
- Fetch remotes before switch-branch by default (pbabinca)
94bc02
- Protect rhpkg's --arches argument (pbabinca)
94bc02
cb5758
* Tue Feb 18 2014 Dennis Gilmore <dennis@ausil.us> - 1.20-1
cb5758
- read krbservice from the koji config file (dennis)
cb5758
- We can assume that rpkg is installed if the (ville.skytta)
cb5758
- clog: Don't require empty line between changelog entries. (ville.skytta)
cb5758
- Spelling fixes. (ville.skytta)
cb5758
- expand %%{name} and %%{verion} macros when checking for unused_patches check
cb5758
  for .patch and .diff files as patches (dennis)
cb5758
- clean up some language ambiguities (dennis)
9044d1
- clog: Support %%changelog tag written in non-lowercase. (ville.skytta)
cb5758
- add spkg as a binary file extention rhbz#972903 (dennis)
cb5758
- Fixed version to 1.19 (pbabinca)
cb5758
- Don't track spec file here (pbabinca)
cb5758
- 1.20 (pbabinca)
cb5758
- Mock config temp dir in the form $(target)-$(localarch).$(mktemp)mockconfig
cb5758
  (pbabinca)
cb5758
36defc
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.19-2
36defc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
36defc
f9c823
* Mon Apr 08 2013 Pavol Babincak <pbabinca@redhat.com> - 1.19-1
f9c823
- Generate mock-config for mockbuild if needed (rhbz#856928) (pbabinca)
f9c823
2a14c6
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-4
2a14c6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2a14c6
4bd419
* Fri Aug 10 2012 Robert Scheck <robert@fedoraproject.org> - 1.18-3
4bd419
- Require %%{version}-%%{release} rather %%{name}-%%{version}
4bd419
db38ff
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-2
db38ff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
db38ff
Jesse Keating 7b390f
* Mon Apr 16 2012 Jesse Keating <jkeating@redhat.com> - 1.18-1
Jesse Keating 7b390f
- Use rpmdefines when querying for package name
Jesse Keating 7b390f
Jesse Keating 0cd195
* Mon Apr 09 2012 Jesse Keating <jkeating@redhat.com> - 1.17-1
Jesse Keating 0cd195
- Don't assume master branch for chain builds (jkeating)
Jesse Keating 0cd195
Jesse Keating fa5faf
* Mon Mar 26 2012 Jesse Keating <jkeating@redhat.com> - 1.16-1
Jesse Keating fa5faf
- Only read from .koji/config (jkeating)
Jesse Keating fa5faf
Jesse Keating c5d4be
* Wed Mar 21 2012 Jesse Keating <jkeating@redhat.com> - 1.15-1
Jesse Keating c5d4be
- Fix branch push warning (jkeating)
Jesse Keating c5d4be
- Handle CVS based builds when getting build hash (jkeating)
Jesse Keating c5d4be
Jesse Keating d2090b
* Mon Mar 12 2012 Jesse Keating <jkeating@redhat.com> - 1.14-1
Jesse Keating d2090b
- Warn if the checked out branch cannot be pushed (jkeating)
Jesse Keating d2090b
- Warn if commit or tag fails and we don't push (#21) (jkeating)
Jesse Keating d2090b
- Honor ~/.koji/config (rhbz#785776) (jkeating)
Jesse Keating d2090b
- Update help output for switch-branch (rhbz#741742) (jkeating)
Jesse Keating d2090b
Jesse Keating 8dd0e8
* Thu Mar 01 2012 Jesse Keating <jkeating@redhat.com> - 1.13-1
Jesse Keating 8dd0e8
- Return proper exit code from builds (#20) (jkeating)
Jesse Keating 8dd0e8
- Fix md5 option in the build parser (jkeating)
Jesse Keating 8dd0e8
- More completion fixes (jkeating)
Jesse Keating 8dd0e8
- Add mock-config and mockbuild completion (jkeating)
Jesse Keating 8dd0e8
- Simplify test for rpkg availability. (ville.skytta)
Jesse Keating 8dd0e8
- Fix ~/... path completion. (ville.skytta (jkeating)
Jesse Keating 8dd0e8
- Add a --raw option to clog (#15) (jkeating)
Jesse Keating 8dd0e8
- Make things quiet when possible (jkeating)
Jesse Keating 8dd0e8
- Fix up figuring out srpm hash type (jkeating)
Jesse Keating 8dd0e8
- Allow defining an alternative builddir (jkeating)
Jesse Keating 8dd0e8
- Conflict with older fedpkg (jkeating)
Jesse Keating 8dd0e8
- Attempt to automatically set the md5 flag (jkeating)
Jesse Keating 8dd0e8
- Use -C not -c for config.  (#752411) (jkeating)
Jesse Keating 8dd0e8
- Don't check gpg sigs when importing srpms (ticket #16) (jkeating)
Jesse Keating 8dd0e8
- Enable md5 option in mockbuild (twaugh) (jkeating)
Jesse Keating 8dd0e8
Jesse Keating 8b61b0
* Tue Jan 24 2012 Jesse Keating <jkeating@redhat.com> - 1.12-1
Jesse Keating 8b61b0
- Fix mock-config (ticket #13) (jkeating)
Jesse Keating 8b61b0
- Make md5 a common build argument (jkeating)
Jesse Keating 8b61b0
- Move arches to be a common build argument (ticket #3) (jkeating)
Jesse Keating 8b61b0
- Find remote branch to track better (jkeating)
Jesse Keating 8b61b0
Jesse Keating 7a4206
* Fri Jan 13 2012 Jesse Keating <jkeating@redhat.com> - 1.11-1
Jesse Keating 7a4206
- Change clog output to be more git-like (sochotnicky)
Jesse Keating 7a4206
- Fix mockconfig property (bochecha)
Jesse Keating 7a4206
- Use only new-style classes everywhere. (bochecha)
Jesse Keating 7a4206
- Testing for access before opening a file is unsafe (bochecha)
Jesse Keating 7a4206
- Add a gitbuildhash command (jkeating)
Jesse Keating 7a4206
- Always make sure you have a absolute path (aj) (jkeating)
Jesse Keating 7a4206
- don't try to import brew, just do koji (jkeating)
3b7575
Jesse Keating 1f9a11
* Mon Nov 21 2011 Jesse Keating <jkeating@redhat.com> - 1.10-1
Jesse Keating 1f9a11
- Use -C for --config shortcut (jkeating)
Jesse Keating 1f9a11
- Don't leave a directory on failure (#754082) (jkeating)
Jesse Keating 1f9a11
- Fix chain build (#754189) (jkeating)
Jesse Keating 1f9a11
- Don't hardcode brew here (jkeating)
Jesse Keating 1f9a11
Jesse Keating 91f81c
* Mon Nov 07 2011 Jesse Keating <jkeating@redhat.com> - 1.9-1
Jesse Keating 91f81c
- Don't upload if there is nothing to upload. (jkeating)
Jesse Keating 91f81c
- --branch option for import is not supported yet (jkeating)
Jesse Keating 91f81c
- Add epilog about mock-config generation (jkeating)
Jesse Keating 91f81c
- Don't assume we can create a folder named after the module. (bochecha)
Jesse Keating 91f81c
- Fix passing the optional mock root to mockbuild (bochecha)
Jesse Keating 91f81c
- Add missing registration for mockbuild target (bochecha)
Jesse Keating 91f81c
- Make the clean target work with --path. (bochecha)
Jesse Keating 91f81c
- Fix typo in a comment. (bochecha)
Jesse Keating 91f81c
- Fix syntax error in main script. (bochecha)
Jesse Keating 91f81c
- Fix typo. (bochecha)
Jesse Keating 91f81c
Jesse Keating 25b469
* Fri Oct 28 2011 Jesse Keating <jkeating@redhat.com> - 1.8-1
Jesse Keating 25b469
- Get more detailed error output from lookaside (jkeating)
Jesse Keating 25b469
- Move the curl call out to it's own function (jkeating)
Jesse Keating 25b469
- Hide build_common from help/usage (jkeating)
Jesse Keating 25b469
- Fix the help command (jkeating)
Jesse Keating 25b469
Jesse Keating 1dba35
* Tue Oct 25 2011 Jesse Keating <jkeating@redhat.com> - 1.7-1
Jesse Keating 1dba35
- Support a manually specified mock root (jkeating)
Jesse Keating 1dba35
- Add a mock-config subcommand (jkeating)
Jesse Keating 1dba35
- Fix a traceback on error. (jkeating)
Jesse Keating 1dba35
- Remove debugging code (jkeating)
Jesse Keating 1dba35
- More git api updates (jkeating)
Jesse Keating 1dba35
- Add topurl as a koji config and property (jkeating)
Jesse Keating 1dba35
- Add a mockconfig property (jkeating)
Jesse Keating 1dba35
- Turn the latest commit into a property (jkeating)
Jesse Keating 1dba35
Jesse Keating a439dc
* Tue Sep 20 2011 Jesse Keating <jkeating@redhat.com> - 1.6-1
Jesse Keating a439dc
- Allow name property to load by itself (jkeating)
Jesse Keating a439dc
Jesse Keating 5f2391
* Mon Sep 19 2011 Jesse Keating <jkeating@redhat.com> - 1.5-1
Jesse Keating 5f2391
- Fix tag listing (#717528) (jkeating)
Jesse Keating 5f2391
- Revamp n-v-r property loading (#721389) (jkeating)
Jesse Keating 5f2391
- Don't use os.getlogin (jkeating)
Jesse Keating 5f2391
- Code style changes (jkeating)
Jesse Keating 5f2391
- Allow fedpkg lint to be configurable and to check spec file. (pingou)
Jesse Keating 5f2391
- Handle non-scratch srpm builds better (jkeating)
Jesse Keating 5f2391
Jesse Keating 393f69
* Wed Aug 17 2011 Jesse Keating <jkeating@redhat.com> - 1.4-1
Jesse Keating 393f69
- Be more generic when no spec file is found (jkeating)
Jesse Keating 393f69
- Hint about use of git status when dirty (jkeating)
Jesse Keating 393f69
- Don't use print when we can log.info it (jkeating)
Jesse Keating 393f69
- Don't exit from a library (jkeating)
Jesse Keating 393f69
- Do the rpm query in our module path (jkeating)
Jesse Keating 393f69
- Use git's native ability to checkout a branch (jkeating)
Jesse Keating 393f69
- Use keyword arg with clone (jkeating)
Jesse Keating 393f69
- Allow the on-demand generation of an srpm (jkeating)
Jesse Keating 393f69
- Fix up exit codes (jkeating)
Jesse Keating 393f69
Jesse Keating 8c0b16
* Mon Aug 01 2011 Jesse Keating <jkeating@redhat.com> - 1.3-1
Jesse Keating 8c0b16
- Fix a debug string (jkeating)
Jesse Keating 8c0b16
- Set the right property (jkeating)
Jesse Keating 8c0b16
- Make sure we have a default hashtype (jkeating)
Jesse Keating 8c0b16
- Use underscore for the dist tag (jkeating)
Jesse Keating 8c0b16
- Fix the kojiweburl property (jkeating)
Jesse Keating 8c0b16
Jesse Keating 8181e2
* Wed Jul 20 2011 Jesse Keating <jkeating@redhat.com> - 1.2-1
Jesse Keating 8181e2
- Fill out the krb_creds function (jkeating)
Jesse Keating 8181e2
- Fix the log message (jkeating)
Jesse Keating 8181e2
- site_setup is no longer needed (jkeating)
Jesse Keating 8181e2
- Remove some rhtisms (jkeating)
Jesse Keating 8181e2
- Wire up the patch command in client code (jkeating)
Jesse Keating 8181e2
- Add a patch command (jkeating)
Jesse Keating 8181e2
Jesse Keating 2c910b
* Fri Jun 17 2011 Jesse Keating <jkeating@redhat.com> - 1.1-2
Jesse Keating 2c910b
- Use version macro in files
Jesse Keating 2c910b
Jesse Keating 2c910b
* Fri Jun 17 2011 Jesse Keating <jkeating@redhat.com> - 1.1-1
Jesse Keating 2c910b
- New tarball release with correct license files
Jesse Keating 2c910b
Jesse Keating 2c910b
* Fri Jun 17 2011 Jesse Keating <jkeating@redhat.com> - 1.0-2
Jesse Keating 2c910b
- Fix up things found in review
Jesse Keating 2c910b
Jesse Keating 2c910b
* Tue Jun 14 2011 Jesse Keating <jkeating@redhat.com> - 1.0-1
Jesse Keating 2c910b
- Initial package