Ales Kozumplik 58784f6
%global libsolv_version 0.6.4-1
Ales Kozumplik 0ef2dd2
Colin Walters a48e31e
%if 0%{?rhel} != 0 && 0%{?rhel} <= 7
Colin Walters a48e31e
# Do not build bindings for python3 for RHEL <= 7
Colin Walters a48e31e
%bcond_with python3
Michal Luscon e31f446
%else
200a04a
%bcond_without python3
200a04a
%endif
200a04a
Ales Kozumplik 0ef2dd2
Name:		hawkey
Jan Silhan d9cdad9
Version:	0.6.2
b396fd7
Release:	4%{?snapshot}%{?dist}
Ales Kozumplik 0ef2dd2
Summary:	Library providing simplified C and Python API to libsolv
Ales Kozumplik 0ef2dd2
Group:		System Environment/Libraries
Ales Kozumplik 0ef2dd2
License:	LGPLv2+
Jan Silhan cb57cc5
URL:		https://github.com/rpm-software-management/%{name}
Michal Luscon f5bfbe8
# git clone https://github.com/rpm-software-management/hawkey.git && cd hawkey && tito build --tgz
Michal Luscon f5bfbe8
Source0:	https://github.com/rpm-software-management/%{name}/archive/%{name}-%{version}.tar.gz
4e591ca
Patch0:		hawkey-0.6.2-valgrind-check.patch
Ales Kozumplik 3509184
BuildRequires:	libsolv-devel >= %{libsolv_version}
4e591ca
BuildRequires:	cmake expat-devel rpm-devel zlib-devel check-devel
4e591ca
%ifnarch s390
4e591ca
BuildRequires:	valgrind
4e591ca
%endif
Ales Kozumplik 3509184
Requires:	libsolv%{?_isa} >= %{libsolv_version}
Ales Kozumplik 0ef2dd2
# prevent provides from nonstandard paths:
Ales Kozumplik 0ef2dd2
%filter_provides_in %{python_sitearch}/.*\.so$
Colin Walters a48e31e
%if %{with python3}
Ales Kozumplik e90ac61
%filter_provides_in %{python3_sitearch}/.*\.so$
Colin Walters a48e31e
%endif
Ales Kozumplik 0ef2dd2
# filter out _hawkey_testmodule.so DT_NEEDED _hawkeymodule.so:
Ales Kozumplik 0ef2dd2
%filter_requires_in %{python_sitearch}/hawkey/test/.*\.so$
Colin Walters a48e31e
%if %{with python3}
Ales Kozumplik e90ac61
%filter_requires_in %{python3_sitearch}/hawkey/test/.*\.so$
Colin Walters a48e31e
%endif
Ales Kozumplik 0ef2dd2
%filter_setup
Ales Kozumplik 0ef2dd2
Ales Kozumplik 0ef2dd2
%description
Ales Kozumplik 0ef2dd2
A Library providing simplified C and Python API to libsolv.
Ales Kozumplik 0ef2dd2
Ales Kozumplik 0ef2dd2
%package devel
Ales Kozumplik 0ef2dd2
Summary:	A Library providing simplified C and Python API to libsolv
Ales Kozumplik 0ef2dd2
Group:		Development/Libraries
Ales Kozumplik 0ef2dd2
Requires:	hawkey%{?_isa} = %{version}-%{release}
Ales Kozumplik e90ac61
Requires:	libsolv-devel
Ales Kozumplik 0ef2dd2
Ales Kozumplik 0ef2dd2
%description devel
Ales Kozumplik 0ef2dd2
Development files for hawkey.
Ales Kozumplik 0ef2dd2
Ales Kozumplik 0ef2dd2
%package -n python-hawkey
Ales Kozumplik e90ac61
Summary:	Python 2 bindings for the hawkey library
Ales Kozumplik 0ef2dd2
Group:		Development/Languages
Ales Kozumplik e90ac61
BuildRequires:  python2-devel
Ales Kozumplik e90ac61
BuildRequires:  python-nose
Michal Luscon d079ba7
%if %{with python3}
Michal Luscon d079ba7
BuildRequires:	python-sphinx >= 1.1.3-9
Michal Luscon d079ba7
%else
Michal Luscon d079ba7
BuildRequires:	python-sphinx
Michal Luscon d079ba7
%endif
Ales Kozumplik 0ef2dd2
Requires:	%{name}%{?_isa} = %{version}-%{release}
Ales Kozumplik 0ef2dd2
Ales Kozumplik 0ef2dd2
%description -n python-hawkey
Ales Kozumplik e90ac61
Python 2 bindings for the hawkey library.
Ales Kozumplik e90ac61
Colin Walters a48e31e
%if %{with python3}
Ales Kozumplik e90ac61
%package -n python3-hawkey
Ales Kozumplik e90ac61
Summary:	Python 3 bindings for the hawkey library
Ales Kozumplik e90ac61
Group:		Development/Languages
Ales Kozumplik e90ac61
BuildRequires:	python3-devel
Ales Kozumplik e90ac61
BuildRequires:	python3-nose
Ales Kozumplik 5a6cb4f
BuildRequires:	python3-sphinx >= 1.1.3-9
Ales Kozumplik e90ac61
Requires:	%{name}%{?_isa} = %{version}-%{release}
Ales Kozumplik e90ac61
Ales Kozumplik e90ac61
%description -n python3-hawkey
Ales Kozumplik e90ac61
Python 3 bindings for the hawkey library.
Colin Walters a48e31e
%endif
Ales Kozumplik 0ef2dd2
Ales Kozumplik 0ef2dd2
%prep
Michal Luscon f5bfbe8
%setup -q -n %{name}-%{version}
4e591ca
%patch0 -p1
Ales Kozumplik 0ef2dd2
Colin Walters a48e31e
%if %{with python3}
Ales Kozumplik e90ac61
rm -rf py3
Ales Kozumplik e90ac61
mkdir ../py3
Ales Kozumplik e90ac61
cp -a . ../py3/
Ales Kozumplik e90ac61
mv ../py3 ./
Colin Walters a48e31e
%endif
Ales Kozumplik e90ac61
Ales Kozumplik 0ef2dd2
%build
Ales Kozumplik 0ef2dd2
%cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo .
Ales Kozumplik 0ef2dd2
make %{?_smp_mflags}
Ales Kozumplik f75a18b
make doc-man
Ales Kozumplik 0ef2dd2
Colin Walters a48e31e
%if %{with python3}
Ales Kozumplik e90ac61
pushd py3
Ales Kozumplik e90ac61
%cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DPYTHON_DESIRED:str=3.
Ales Kozumplik e90ac61
make %{?_smp_mflags}
Ales Kozumplik e90ac61
make doc-man
Ales Kozumplik e90ac61
popd
Colin Walters a48e31e
%endif
Ales Kozumplik e90ac61
Ales Kozumplik 967fed7
%check
Jan Silhan d9cdad9
if [ "$(id -u)" == "0" ] ; then
Jan Silhan d9cdad9
        cat <<ERROR 1>&2
Jan Silhan d9cdad9
Package tests cannot be run under superuser account.
Jan Silhan d9cdad9
Please build the package as non-root user.
Jan Silhan d9cdad9
ERROR
Jan Silhan d9cdad9
        exit 1
Jan Silhan d9cdad9
fi
Ales Kozumplik 967fed7
make ARGS="-V" test
Colin Walters a48e31e
%if %{with python3}
Jan Silhan d9cdad9
# Run just the Python tests, not all of them, since
Jan Silhan d9cdad9
# we have coverage of the core from the first build
Jan Silhan d9cdad9
pushd py3/tests/python
Jan Silhan d9cdad9
make ARGS="-V" test
Jan Silhan d9cdad9
popd
Colin Walters a48e31e
%endif
Ales Kozumplik 967fed7
Ales Kozumplik 0ef2dd2
%install
Ales Kozumplik 0ef2dd2
make install DESTDIR=$RPM_BUILD_ROOT
Colin Walters a48e31e
%if %{with python3}
Ales Kozumplik e90ac61
pushd py3
Ales Kozumplik e90ac61
make install DESTDIR=$RPM_BUILD_ROOT
Ales Kozumplik e90ac61
popd
Colin Walters a48e31e
%endif
Ales Kozumplik 0ef2dd2
Ales Kozumplik 0ef2dd2
%post -p /sbin/ldconfig
Ales Kozumplik 0ef2dd2
Ales Kozumplik 0ef2dd2
%postun -p /sbin/ldconfig
Ales Kozumplik 0ef2dd2
Ales Kozumplik 0ef2dd2
%files
Ales Kozumplik 262e5f2
%doc COPYING README.rst
Ales Kozumplik 0ef2dd2
%{_libdir}/libhawkey.so.*
Ales Kozumplik 0ef2dd2
Ales Kozumplik 0ef2dd2
%files devel
Ales Kozumplik 0ef2dd2
%{_libdir}/libhawkey.so
Ales Kozumplik 0ef2dd2
%{_libdir}/pkgconfig/hawkey.pc
Ales Kozumplik 0ef2dd2
%{_includedir}/hawkey/
Ales Kozumplik da522b0
%{_mandir}/man3/hawkey.3.gz
Ales Kozumplik 0ef2dd2
Ales Kozumplik 0ef2dd2
%files -n python-hawkey
Ales Kozumplik 0ef2dd2
%{python_sitearch}/
Ales Kozumplik 0ef2dd2
Colin Walters a48e31e
%if %{with python3}
Ales Kozumplik e90ac61
%files -n python3-hawkey
Ales Kozumplik e90ac61
%{python3_sitearch}/
Ales Kozumplik e90ac61
%exclude %{python3_sitearch}/hawkey/__pycache__
Ales Kozumplik e90ac61
%exclude %{python3_sitearch}/hawkey/test/__pycache__
Colin Walters a48e31e
%endif
Ales Kozumplik e90ac61
Ales Kozumplik 0ef2dd2
%changelog
b396fd7
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-4
b396fd7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
b396fd7
4e591ca
* Wed Dec 09 2015 Dan Horák <dan[at]danny.cz> - 0.6.2-3
4e591ca
- fix build without valgrind (#1289865)
4e591ca
b81fea1
* Thu Nov 12 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.2-2
b81fea1
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
b81fea1
Jan Silhan d9cdad9
* Wed Oct 14 2015 Jan Silhan <jsilhan@redhat.com> 0.6.2-1
Jan Silhan d9cdad9
- ignore exludes in running_kernel query (RhBug:Related:1260989) (Michal
Jan Silhan d9cdad9
  Luscon)
Jan Silhan d9cdad9
- spec: Use `make test` for py3 rather than calling test internals (Colin
Jan Silhan d9cdad9
  Walters)
Jan Silhan d9cdad9
- added valgrind test (Jan Silhan)
Jan Silhan d9cdad9
- Fail with comprehensible error message (RhBug:1265234) (Michael Mraka)
Michal Luscon 2e59825
Michal Luscon ae38a18
* Tue Sep 22 2015 Michal Luscon <mluscon@redhat.com> 0.6.1-1
Michal Luscon ae38a18
- fixed memleaks from 2f5b9af (Jan Silhan)
Michal Luscon ae38a18
- Support list of strings in provides/requires. (RhBug:1243005)(RhBug:1243002)
Michal Luscon ae38a18
  (Valentina Mukhamedzhanova)
Michal Luscon ae38a18
- Add globbing support to dependency queries.
Michal Luscon ae38a18
  (RhBug:Related:1259650)(RhBug:Related:1249073) (Valentina Mukhamedzhanova)
Michal Luscon ae38a18
- package: filter out solvable:prereqmarker (RhBug:1186721) (Michal Luscon)
Michal Luscon ae38a18
- skip already filtered items (Michael Mraka)
Michal Luscon ae38a18
Jan Silhan b303264
* Fri Aug 07 2015 Jan Silhan <jsilhan@redhat.com> 0.6.0-1
Jan Silhan b303264
- Fixed a tiny typo in the RuntimeException message. (Yavor Atanasov)
Jan Silhan b303264
- query: return empty query if we can't make reldep (RhBug:1244544) (Igor
Jan Silhan b303264
  Gnatenko)
Jan Silhan b303264
- Add support for little endian MIPS (Michal Toman)
Jan Silhan b303264
- py: goal.run supports ignore_weak_deps param (Related:RhBug:1221635) (Jan
Jan Silhan b303264
  Silhan)
Jan Silhan b303264
- goal: added HY_IGNORE_WEAK_DEP flag (Jan Silhan)
Jan Silhan b303264
Michal Luscon e31f446
* Tue Jul 28 2015 Michal Luscon <mluscon@redhat.com> 0.5.9-3
Michal Luscon e31f446
- Add explicit values to all public enumerations (Colin Walters)
Michal Luscon e31f446
- types: Revert unintentional ABI break in _hy_key_name_e (RhBug:1247335)
Michal Luscon e31f446
  (Colin Walters)
Michal Luscon e31f446
Michal Luscon e31f446
* Tue Jul 21 2015 Jan Silhan <jsilhan@redhat.com> 0.5.9-2
Michal Luscon e31f446
- spec: builds python3-hawkey in Fedora distro (Jan Silhan)
200a04a
Michal Luscon d079ba7
* Fri Jul 17 2015 Michal Luscon <mluscon@redhat.com> 0.5.9-1
Michal Luscon d079ba7
- don't require python3 in rhel (Jan Silhan)
Michal Luscon d079ba7
- depracate hy_goal_has* functions and Goal.req_has_* methods (Jan Silhan)
Michal Luscon d079ba7
- goal: py: implemented __deepcopy__ (Jan Silhan)
Michal Luscon d079ba7
- goal: implement clone (Jan Silhan)
Michal Luscon d079ba7
- goal: py: added actions attribute (Jan Silhan)
Michal Luscon d079ba7
- goal: added hy_goal_has_action function (Jan Silhan)
Michal Luscon d079ba7
- Add weak deps queries (Michal Luscon)
Michal Luscon d079ba7
- spec: fix the command that starts Python 3 tests (Radek Holy)
Michal Luscon d079ba7
Michal Luscon d079ba7
* Thu Jun 04 2015 Jan Silhan <jsilhan@redhat.com> 0.5.8-1
Michal Luscon d079ba7
- added implicit-function-declaration compile flag (Jan Silhan)
Michal Luscon d079ba7
- subject: Fix compiler warning introduced by previous commit (Colin Walters)
Michal Luscon d079ba7
- python: Verify that nosetest actually ran any tests (Colin Walters)
Michal Luscon d079ba7
- AUTHORS: updated (Jan Silhan)
Michal Luscon d079ba7
- subject: Remove internal header includes from public header (Colin Walters)
Michal Luscon d079ba7
- maintain result map in query (RhBug:1049205) (Jan Silhan)
Michal Luscon d079ba7
- AUTHORS: updated (Jan Silhan)
Michal Luscon d079ba7
- package: Don't assume the same pool in hy_package_cmp() (Matthew Barnes)
f58d292
Michal Luscon f3c81f6
* Wed May 20 2015 Michal Luscon <mluscon@redhat.com> 0.5.7-1
Michal Luscon f3c81f6
- spec: add a %%{snapshot} macro for easier snapshot building (Radek Holy)
Michal Luscon f3c81f6
- doc: sack: deep copy added to warning section (Jan Silhan)
Michal Luscon f3c81f6
- doc: sack: warning about multiple Sack usage (Jan Silhan)
Michal Luscon f3c81f6
- doc: sack: len(sack) -> method __len__ (Jan Silhan)
Michal Luscon f3c81f6
- Package.files returns list of Unicode objects (Jan Silhan)
Michal Luscon f3c81f6
Michal Luscon 04299b6
* Thu May 07 2015 Michal Luscon <mluscon@redhat.com> 0.5.6-1
Michal Luscon 04299b6
- Revert "sack: force recomputing excludes" (RhUbg:1218650) (Jan Silhan)
Michal Luscon 04299b6
Michal Luscon 69dcb47
* Wed Apr 29 2015 Michal Luscon <mluscon@redhat.com> 0.5.5-1
Michal Luscon 69dcb47
- get rid of yum references (Jan Silhan)
Michal Luscon 69dcb47
- sack: force recomputing excludes (Jan Silhan)
Michal Luscon 69dcb47
- doc: cosmetic: made Sack headline more readable (Jan Silhan)
Michal Luscon 69dcb47
- doc: sack: warning about using excludes, includes, disabling and enabling
Michal Luscon 69dcb47
  repos (Jan Silhan)
Michal Luscon 69dcb47
- cosmetic: removed commented code (Jan Silhan)
Michal Luscon 69dcb47
- sack: calls reinitiate provides after changing considered map (RhBug:1099342)
Michal Luscon 69dcb47
  (Jan Silhan)
Michal Luscon 69dcb47
- fixed memleak from d8f2ca7 (Jan Silhan)
Michal Luscon 69dcb47
- doc: add to CMDLINE_REPO_NAME and SYSTEM_REPO_NAME the Python API reference
Michal Luscon 69dcb47
  manual. (Radek Holy)
Michal Luscon 69dcb47
- doc: add Repo to the Python API reference manual. (Radek Holy)
Michal Luscon 69dcb47
- updated load_test_repo() to be able to load non-standard system repo (Michael
Michal Luscon 69dcb47
  Mraka)
Michal Luscon 69dcb47
- python tests for goal.run(verify=True) (Michael Mraka)
Michal Luscon 69dcb47
- test for HY_VERIFY flag (Michael Mraka)
Michal Luscon 69dcb47
- introduced verify option for goal.run() (Michael Mraka)
Michal Luscon 69dcb47
- AUTHORS: fixed name (Michael Mraka)
Michal Luscon 69dcb47
- AUTHORS: added 3 Michaels (Jan Silhan)
Michal Luscon 69dcb47
- Build for x86_64, correction for C++ (Michal Ruprich)
Michal Luscon 69dcb47
Michal Luscon f5bfbe8
* Tue Mar 31 2015 Michal Luscon <mluscon@redhat.com> 0.5.4-1
Michal Luscon f5bfbe8
- setup tito to bump version in VERSION.cmake (Michal Luscon)
Michal Luscon f5bfbe8
- initialize to use tito (Michal Luscon)
Michal Luscon f5bfbe8
- prepare repo for tito build system (Michal Luscon)
Michal Luscon f5bfbe8
- New version 0.5.4 (Michal Luscon)
Michal Luscon f5bfbe8
- goal: implement methods for optional installation (RhBug:1167881) (Michal Luscon)
Michal Luscon f5bfbe8
- setup tito to bump version in VERSION.cmake (Michal Luscon)
Michal Luscon f5bfbe8
- initialize to use tito (Michal Luscon)
Michal Luscon f5bfbe8
- prepare repo for tito build system (Michal Luscon)
Michal Luscon f5bfbe8
- New version 0.5.4 (Michal Luscon)
Michal Luscon f5bfbe8
- goal: implement methods for optional installation (RhBug:1167881) (Michal Luscon)
492e19d
Jan Silhan 784fbbf
* Wed Mar 25 2015 Jan Silhan <jsilhan@redhat.com> - 0.5.3-3
Jan Silhan 784fbbf
- new release
Jan Silhan 784fbbf
Jan Silhan 91bc430
* Mon Feb 23 2015 Jan Silhan <jsilhan@redhat.com> - 0.5.3-2
Jan Silhan 91bc430
- bumped release to be greater than f21 release
Michal Luscon f5bfbe8
- Add Peter to Authors (Peter Hjalmarsson)
Michal Luscon f5bfbe8
- Add support for armv6hl (Peter Hjalmarsson)
Jan Silhan 91bc430
Jan Silhan ab460cf
* Wed Feb 4 2015 Jan Silhan <jsilhan@redhat.com> - 0.5.3-1
Jan Silhan cb57cc5
- README: made readthedoc documentation official (Jan Silhan)
Jan Silhan cb57cc5
- sack: deprecation of create_cmdline_repo (Jan Silhan)
Jan Silhan cb57cc5
- does not break Sack.__init__ API from 8ce3ce7 (Jan Silhan)
Jan Silhan cb57cc5
- doc: document the new logdir parameter of Sack.__init__. (Radek Holy)
Jan Silhan cb57cc5
- New version: 0.5.3 (Jan Silhan)
Jan Silhan cb57cc5
- apichange: sack: added optional param logdir (Related:RhBug:1175434) (Jan Silhan)
Jan Silhan cb57cc5
- apichange: py: rename: Sack.cache_path -> Sack.cache_dir (Radek Holy)
Jan Silhan cb57cc5
- doc: add Sack to the Python API reference manual. (Radek Holy)
Jan Silhan cb57cc5
- cosmetic: autopep8 applied on __init__.py (Jan Silhan)
Jan Silhan cb57cc5
- query: support multiple flags in filter (RhBug:1173027) (Jan Silhan)
Jan Silhan cb57cc5
- packaging: make the spec file compatible with GitHub packaging guideliness. (Radek Holy)
Jan Silhan 65ebdb9
- New version: 0.5.2 (Michal Luscon)
Jan Silhan 65ebdb9
- hy_chksum_str() returns NULL in case of incorrect type (Michal Luscon)
Jan Silhan 65ebdb9
- Fix defects found by coverity scan (Michal Luscon)
Jan Silhan 65ebdb9
- selector: allow selecting provides with globs (RhBug: 1148353) (Michal Luscon)
Jan Silhan 65ebdb9
- py: nevra_init() references possibly uninitialized variable. (Ales Kozumplik)
Jan Silhan 65ebdb9
- package: add weak deps attributes. (Ales Kozumplik)
Jan Silhan 65ebdb9
Ales Kozumplik 45f0ea9
* Thu Sep 18 2014 Aleš Kozumplik <ales@redhat.com> - 0.5.1-1
Ales Kozumplik 45f0ea9
- pool_split_evr() assert if we hit unexpected data. (Related:RhBug:1141634) (Ales Kozumplik)
Ales Kozumplik 45f0ea9
- README: changed references to new repo location (Jan Silhan)
Ales Kozumplik 45f0ea9
- iutil-py: removed pyseq_to_packagelist function (Jan Silhan)
Ales Kozumplik 45f0ea9
- improved performance of python sequence iteration (RhBug:1109554) (Jan Silhan)
Ales Kozumplik 45f0ea9
- reldep: constructor accepts unicode strings (RhBug:1124968) (Jan Silhan)
Ales Kozumplik 45f0ea9
- Fix pool_split_evr's handling of EVRs without releases. (Radek Holy)
Ales Kozumplik 45f0ea9
- added sha512 support (RhBug:1082658) (Jan Silhan)
Ales Kozumplik 45f0ea9
- cosmetic: removed unneeded semicolon (Jan Silhan)
Ales Kozumplik 45f0ea9
- goal: does not raise exception on empty selector (Related:RhBug:1127206) (Jan Silhan)
6c34f3d
Ales Kozumplik dc046b8
* Tue Aug 12 2014 Aleš Kozumplik <ales@redhat.com> - 0.5.0-1
Ales Kozumplik dc046b8
- sack: include directive support added (Related:RhBug:1055910) (Jan Silhan)
Ales Kozumplik dc046b8
- sack: using pool->considered instead of SOLVER_LOCK for excludes (RhBug:1099342) (Jan Silhan)
Ales Kozumplik dc046b8
- cosmetic: replaced fail_unless with ck_assert_int_eq (Jan Silhan)
Ales Kozumplik dc046b8
Ales Kozumplik 58784f6
* Mon Jul 28 2014 Aleš Kozumplik <ales@redhat.com> - 0.4.19-1
Ales Kozumplik 58784f6
- packaging: bump the SONAME as there are dropped API calls. (Ales Kozumplik)
Ales Kozumplik 58784f6
- Support package splitting via obsoletes. (RhBug:1107973) (Ales Kozumplik)
Ales Kozumplik 58784f6
- api change: py: convert Advisory, AdvisoryRef and AdvisoryPkg attributes to Unicode. (Radek Holy)
Ales Kozumplik 58784f6
- hy_err_str: it's best to make it static. (Ales Kozumplik)
Ales Kozumplik 58784f6
- Hide hy_err_str from errno.h (Ales Kozumplik)
Ales Kozumplik 58784f6
- py: detailed error reporting. (Ales Kozumplik)
Ales Kozumplik 58784f6
- doc: deprecation policy. (Ales Kozumplik)
Ales Kozumplik 0c27a9d
Ales Kozumplik 3bfea06
* Wed Jul 16 2014 Aleš Kozumplik <ales@redhat.com> - 0.4.18-1
Ales Kozumplik 3bfea06
- api change: py: deprecate _hawkey.Advisory.filenames. (Radek Holy)
Ales Kozumplik 3bfea06
- api change: drop deprecated hy_package_get_update_*. (Radek Holy)
Ales Kozumplik 3bfea06
- api change: deprecate hy_advisory_get_filenames. (Radek Holy)
Ales Kozumplik 3bfea06
- tests: py: add tests for _hawkey.AdvisoryPkg type. (Radek Holy)
Ales Kozumplik 3bfea06
- py: add _hawkey.Advisory.packages attribute. (Radek Holy)
Ales Kozumplik 3bfea06
- py: add _hawkey.AdvisoryPkg type. (Radek Holy)
Ales Kozumplik 3bfea06
- tests: add tests for advisorypkg object. (Radek Holy)
Ales Kozumplik 3bfea06
- Add hy_advisory_get_packages method. (Radek Holy)
Ales Kozumplik 3bfea06
- Add advisorypkglist object. (Radek Holy)
Ales Kozumplik 3bfea06
- Add advisorypkg object. (Radek Holy)
Ales Kozumplik 3bfea06
- selector: added file filter (Related: RhBug:1100946) (Jan Silhan)
Ales Kozumplik 3bfea06
- priorities: change the meaning of the setting---lower number=better prio. (Ales Kozumplik)
Ales Kozumplik 3bfea06
- py: better error checking in repo-py.c:set_int(). (Ales Kozumplik)
Ales Kozumplik 3bfea06
- py: api: hawkey.Repo() does not accept cost keyword arg. (Ales Kozumplik)
Ales Kozumplik 3bfea06
- fix: nevra: hy_nevra_cmp (Jan Silhan)
Ales Kozumplik 3bfea06
- repos: priorities. (Ales Kozumplik)
Ales Kozumplik 3bfea06
- py3: Sack: accepts unicoded cachedir (Related: RhBug:1108908) (Jan Silhan)
Ales Kozumplik 3bfea06
Ales Kozumplik 35c1faf
* Thu Jul 3 2014  Aleš Kozumplik <ales@redhat.com> - 0.4.17-1
Ales Kozumplik 35c1faf
- sack: add a public function to get the running kernel package. (Ales Kozumplik)
Ales Kozumplik 35c1faf
- query: fix querying for string provides. (RhBug:1114483) (Ales Kozumplik)
Ales Kozumplik 35c1faf
- fix: commandline RPMs do not provide their files (RhBug:1112810) (Ales Kozumplik)
Ales Kozumplik 35c1faf
- tests: prevent automatic Python deps in tour.rpm. (Ales Kozumplik)
Ales Kozumplik 35c1faf
- deepcopy of sack raises error (RhBug:1059149) (Jan Silhan)
Ales Kozumplik 6520906
Ales Kozumplik 5a6cb4f
* Tue May 27 2014 Aleš Kozumplik <ales@redhat.com> - 0.4.16-1
Ales Kozumplik 5a6cb4f
- py3: use sphinx-build-3 (which doesn't encode the minor py version) (RhBug:1098098) (Ales Kozumplik)
Ales Kozumplik 5a6cb4f
- tests: fix test_list_arches(), there's new architectures listed now. (Ales Kozumplik)
Ales Kozumplik 5a6cb4f
- doc: packaging: add license block to each .rst. (Ales Kozumplik)
Ales Kozumplik 5a6cb4f
- Subject: accepts/returns pattern in unicode (Related: RhBug:1092777) (Jan Silhan)
Ales Kozumplik 5a6cb4f
- fix kernel detection by being more strict what we look for. (RhBug:1087534) (Ales Kozumplik)
Ales Kozumplik 5a6cb4f
- [kernel] look for the installed kernel in @System. (Ales Kozumplik)
Ales Kozumplik 5a6cb4f
- fix: sigsegv when wrong reldep is passed to selector as a provide. (Ales Kozumplik)
Ales Kozumplik 5a6cb4f
- .gitignore: __pycache__ (Ales Kozumplik)
Ales Kozumplik 5a6cb4f
- installonlies: log the discovered running kernel. (Ales Kozumplik)
Ales Kozumplik 5a6cb4f
- py: Package: all string attributes are in Unicode (RhBug:1093887) (Jan Silhan)
Ales Kozumplik 5a6cb4f
- py: fix: certain string assignments should raise TypeError, never SystemError. (Ales Kozumplik)
Ales Kozumplik 5a6cb4f
- cleanup: tweak declarations in pycomp.h. (Ales Kozumplik)
Ales Kozumplik 5a6cb4f
- goal: hy_goal_write_debugdata() takes target dir parameter. (Ales Kozumplik)
Ales Kozumplik 5a6cb4f
- iutil.c: simplify queue2plist() implementation. (Ales Kozumplik)
Ales Kozumplik 5a6cb4f
- Goal: listing unneeded packages. (Ales Kozumplik)
Ales Kozumplik 5a6cb4f
- doc: make the documentation generation independent of hawkey the python module. (Ales Kozumplik)
Ales Kozumplik 5a6cb4f
- removed unused imports (Jan Silhan)
Ales Kozumplik 5a6cb4f
- distro-sync doesn't replace arch (RhBug:1054909) (Jan Silhan)
Ales Kozumplik 5a6cb4f
- replaced deprecated fail_unless with ck_assert_int_eq (Jan Silhan)
Ales Kozumplik 5a6cb4f
- added python bindings to nevra attribute filter (Jan Silhan)
Ales Kozumplik 5a6cb4f
- added nevra filter flag to query C API (Jan Silhan)
Ales Kozumplik 5a6cb4f
Ales Kozumplik 384d20b
* Fri May 2 2014 Aleš Kozumplik <ales@redhat.com> - 0.4.14-1
Ales Kozumplik 384d20b
- py: cosmetic: drop py_ prefixes from static functions in hawkeymodule.c. (Ales Kozumplik)
Ales Kozumplik 384d20b
- Expose hy_arch_detect(). (Ales Kozumplik)
Ales Kozumplik 384d20b
- fixed clang warning of uninitialized variable (Jan Silhan)
Ales Kozumplik 384d20b
- doc: fixed typo (Jan Silhan)
Ales Kozumplik 384d20b
- logging: log checksums of written/loaded repositories. (RhBug:1071404) (Ales Kozumplik)
Ales Kozumplik 384d20b
- logging hawkey version number. (Ales Kozumplik)
Ales Kozumplik 384d20b
- implement updateinfo caching (Michael Schroeder)
Ales Kozumplik 384d20b
- cosmetic: fixed sliced changelog lines in spec file (Jan Silhan)
Ales Kozumplik 384d20b
Jan Silhan 3417dd2
* Fri Apr 11 2014 Jan Silhan <jsilhan@redhat.com> - 0.4.13-1
Jan Silhan 3417dd2
- Add forgotten queue_free()s from bd3a2ae. (Ales Kozumplik)
Jan Silhan 3417dd2
- cosmetic: some cleanups of 0e4327c. (Ales Kozumplik)
Jan Silhan 3417dd2
- refactor rewrite_repos function (Michael Schroeder)
Ales Kozumplik 384d20b
- rewrite repos after calling addfileprovides (Michael Schroeder)
Ales Kozumplik 384d20b
- also set the repodata id if an extension is loaded from the cache (Michael Schroeder)
Ales Kozumplik 384d20b
- call hy_repo_link when setting the appdata of the system repo (Michael Schroeder)
Ales Kozumplik 384d20b
- use REPO_LOCALPOOL when loading the filelist extension (Michael Schroeder)
Ales Kozumplik 384d20b
- switch over to the written solv files to save memory (RhBug:1084174) (Michael Schroeder)
Ales Kozumplik 384d20b
- py: add downgradable and upgradable kwargs to _hawkey.Query.filter. (Radek Holy)
Jan Silhan 3417dd2
- Fix comments in query.c (Radek Holy)
Ales Kozumplik 384d20b
- Add hy_query_filter_downgradable and hy_query_filter_upgradable. (Radek Holy)
Ales Kozumplik 384d20b
- tests: py: add tests for _hawkey.AdvisoryRef type. (Radek Holy)
Jan Silhan 3417dd2
- tests: py: add tests for hawkey.Advisory type. (Radek Holy)
Jan Silhan 3417dd2
- py: add _hawkey.Package.get_advisories method. (Radek Holy)
Jan Silhan 3417dd2
- py: add _hawkey.Advisory type. (Radek Holy)
Jan Silhan 3417dd2
- py: add _hawkey.AdvisoryRef type. (Radek Holy)
Jan Silhan 3417dd2
- tests: add tests for advisoryref object. (Radek Holy)
Jan Silhan 3417dd2
- tests: add tests for advisory object. (Radek Holy)
Jan Silhan 3417dd2
- api change: deprecate hy_package_get_update_*. (Radek Holy)
Jan Silhan 3417dd2
- Add hy_package_get_advisories method. (Radek Holy)
Jan Silhan 3417dd2
- Add advisoryreflist object. (Radek Holy)
Jan Silhan 3417dd2
- Add advisoryref object. (Radek Holy)
Jan Silhan 3417dd2
- Add advisorylist object. (Radek Holy)
Jan Silhan 3417dd2
- Add advisory object. (Radek Holy)
Ales Kozumplik 384d20b
- Rename SOLVABLE_NAME_UPDATE_PREFIX to SOLVABLE_NAME_ADVISORY_PREFIX. (Radek Holy)
Ales Kozumplik 384d20b
- sack: Also look in /usr/share/rpm for Packages (Colin Walters)
Ales Kozumplik 384d20b
- py: add load_updateinfo kwarg to _hawkey.Sack.load_yum_repo. (Radek Holy)
Jan Silhan 3417dd2
- py: add _hawkey.Repo.updateinfo_fn getsetter. (Radek Holy)
Ales Kozumplik 384d20b
- py: more detailed error string in Sack.add_cmdline_package(). (Ales Kozumplik)
Jan Silhan 3417dd2
- Fix hy_query_run to list only packages. (Radek Holy)
Ales Kozumplik 384d20b
- Fix goal to add only packages if name glob selector is given. (Radek Holy)
Ales Kozumplik 384d20b
- Fix hy_goal_run_all_flags to resolve only package installonlies. (Radek Holy)
Jan Silhan 3417dd2
- Fix sack_knows to check packages only. (Radek Holy)
Jan Silhan 3417dd2
- Add is_package function. (Radek Holy)
Jan Silhan 3417dd2
- Fix typo in filter_rco_reldep's assertion. (Radek Holy)
Jan Silhan 1be754f
Jan Silhan 0a8775e
* Fri Mar 14 2014 Jan Silhan <jsilhan@redhat.com> - 0.4.12-1
Jan Silhan 0a8775e
- Fix hy_stringarray_length. (Radek Holy)
Jan Silhan 0a8775e
- tests: bring tests/repos/yum/recreate to a workable state again. (Ales Kozumplik)
Jan Silhan 0a8775e
- added distupgrade function (Related:963710) (Jan Silhan)
Jan Silhan 0a8775e
- remove: _HyPackageList.left. (Ales Kozumplik)
Jan Silhan 0a8775e
- goal: track changes (as reinstalls) (RhBug:1068982) (Ales Kozumplik)
Jan Silhan 0a8775e
Ales Kozumplik 262e5f2
* Mon Feb 24 2014 Aleš Kozumplik <akozumpl@redhat.com> - 0.4.11-1
Ales Kozumplik 262e5f2
- fixed typos in tutorial-py.rst (Jan Silhan)
Ales Kozumplik 262e5f2
- added glob pattern search for arch to nevra_possibilities_real (RhBug:1048788) (Jan Silhan)
Ales Kozumplik 262e5f2
- Left behind references to README.md from 3b47a13. (Ales Kozumplik)
Ales Kozumplik 262e5f2
- Add Radek to AUTHORS. (Ales Kozumplik)
Ales Kozumplik 262e5f2
- update the README. (Ales Kozumplik)
Ales Kozumplik 262e5f2
- sack: write_*() should also check fclose(). (Ales Kozumplik)
Ales Kozumplik 262e5f2
Radek Holy 130b9b8
* Mon Feb 17 2014 Radek Holý <rholy@redhat.com> - 0.4.10-1
Radek Holy 130b9b8
- tests: add a negative test for reponame. (Radek Holy)
Radek Holy 130b9b8
- Add reponame into selector. (Radek Holy)
Radek Holy 130b9b8
- write_main() and write_ext(): even on error do not leave the temporary file behind. (Ales Kozumplik)
Radek Holy 130b9b8
- write_main() should do a better job erroring out on write errors. (Ales Kozumplik)
Radek Holy 130b9b8
- Fix vsnprintf SIGSEGV passing "%s" with no va_list args to pool_debug. (RhBug:1064459) (Ales Kozumplik)
Radek Holy 130b9b8
- Save the cache atomically. (RhBug:1047087) (Ales Kozumplik)
Radek Holy 130b9b8
- package: call repo_internalize_trigger in get_files() (RhBug:1062703) (Ales Kozumplik)
Radek Holy 130b9b8
- fixed reldep pointer NULL comparison (Jan Silhan)
Radek Holy 130b9b8
- fixed indentation in subject-py.c (Jan Silhan)
Radek Holy 130b9b8
- moved TEST_COND macro to iutil-py.h (Jan Silhan)
Radek Holy 130b9b8
- moved subject and nevra from python to C (Jan Silhan)
Radek Holy 130b9b8
- subject in C: work with full reldeps (Jan Silhan)
Radek Holy 130b9b8
Ales Kozumplik 3fa0b5b
* Thu Jan 30 2014 Aleš Kozumplík <ales@redhat.com> - 0.4.9-1
Ales Kozumplik 3fa0b5b
- selectors: allow selecting provides with full Reldep string. (Ales Kozumplik)
Ales Kozumplik 3fa0b5b
- subject: work with full reldeps (containing the CMP flags). (Ales Kozumplik)
Ales Kozumplik 3fa0b5b
- package: hy_package_get_hdr_end(). (Ales Kozumplik)
Ales Kozumplik 3fa0b5b
- added subject C API (Jan Silhan)
Ales Kozumplik 3fa0b5b
- added nevra C API (Jan Silhan)
Ales Kozumplik 3fa0b5b
- fix not accepting numeric version in reldep (RhBug:1052961) (Jan Silhan)
Ales Kozumplik 3fa0b5b
- fix Reldep inicialization without sack crash (RhBug:1052947) (Jan Silhan)
Ales Kozumplik 3fa0b5b
- tests: make test_goal_selector_upgrade() less assuming. (Ales Kozumplik)
Ales Kozumplik 3fa0b5b
Ales Kozumplik f97fb87
* Tue Jan 21 2014  Aleš Kozumplík <ales@redhat.com> - 0.4.8-1
Ales Kozumplik f97fb87
- installonlies: erase packages depending on a kernel to be erased. (RhBug:1033881) (Ales Kozumplik)
Ales Kozumplik f97fb87
- fix: latest_per_arch on incompatible arches. (RhBug:1049226) (Ales Kozumplik)
Ales Kozumplik f97fb87
Ales Kozumplik 4ee226a
* Tue Dec 17 2013  Aleš Kozumplík <ales@redhat.com> - 0.4.7-1
Ales Kozumplik 4ee226a
- Fix malfunction of Package.__lt__ and Package.__gt__ (RhBug:1014963) (Radek Holy)
Ales Kozumplik 4ee226a
- Do not crash when querying provides that do not exist (Richard Hughes)
Ales Kozumplik 4ee226a
Ales Kozumplik ebe9ec1
* Wed Dec 4 2013  Aleš Kozumplík <ales@redhat.com> - 0.4.6-1
Ales Kozumplik ebe9ec1
- remove: packageDelta_new (Zdenek Pavlas)
Ales Kozumplik ebe9ec1
- get_delta_from_evr(): create the python object only when delta exists (Zdenek Pavlas)
Ales Kozumplik ebe9ec1
- fix pycomp_get_string(), pycomp_get_string_from_unicode() (Zdenek Pavlas)
Ales Kozumplik ebe9ec1
- fix get_str() in packagedelta-py (Zdenek Pavlas)
Ales Kozumplik ebe9ec1
- fix: spec: running tests in python3 after build (Jan Silhan)
Ales Kozumplik ebe9ec1
- tests: order packages in .repo files by name. (Ales Kozumplik)
Ales Kozumplik ebe9ec1
- fix: goal: reason for installing when more packages are available to a selector. (Ales Kozumplik)
Ales Kozumplik ebe9ec1
- tests: add a package that is not installed yet available in main, updates. (Ales Kozumplik)
Ales Kozumplik ebe9ec1
- add hy_packagedelta_get_chksum() (Zdenek Pavlas)
Ales Kozumplik ebe9ec1
- add hy_packagedelta_get_downloadsize() (Zdenek Pavlas)
Ales Kozumplik ebe9ec1
- add hy_packagedelta_get_baseurl() (Zdenek Pavlas)
Ales Kozumplik ebe9ec1
- test_query_provides_in: avoid ck_assert_int_eq() as it evaluates args twice (Zdenek Pavlas)
Ales Kozumplik ebe9ec1
- installonlies: fix sorting packages depending on the running kernel. (Ales Kozumplik)
Ales Kozumplik ebe9ec1
- use pool_lookup_deltalocation() (Zdenek Pavlas)
Ales Kozumplik ebe9ec1
- initialize _hawkey.PackageDelta type (Zdenek Pavlas)
Ales Kozumplik ebe9ec1
- delta_create(): fix the sizeof() (Zdenek Pavlas)
Ales Kozumplik ebe9ec1
- parse_reldep_str(): fix buffer overflow (Zdenek Pavlas)
Ales Kozumplik ebe9ec1
- string reldep parsing using parse_reldep_str (Jan Silhan)
Ales Kozumplik ebe9ec1
- added hy_query_filter_provides_in function (RhBug:1019168) (Jan Silhan)
Ales Kozumplik ebe9ec1
- added parse_reldep_str function (Jan Silhan)
Ales Kozumplik ebe9ec1
- fix: py: abort() from python when writing the system .solv cache fails. (Ales Kozumplik)
Ales Kozumplik ebe9ec1
- fix forgotten include causing a compiler warning in testsys.c. (Ales Kozumplik)
Ales Kozumplik ebe9ec1
Ales Kozumplik b9c4a4b
* Fri Nov 8 2013 Aleš Kozumplík <ales@redhat.com> - 0.4.5-1
Ales Kozumplik b9c4a4b
- goal: installonly_limit = 0 means it is disabled. (Ales Kozumplik)
Ales Kozumplik b9c4a4b
- written API changes for Query filter latest option (RhBug:1025650) (Jan Silhan)
Ales Kozumplik b9c4a4b
- tests: superfluous query.run() calls. (Ales Kozumplik)
Ales Kozumplik b9c4a4b
- removed define PyString_AsString in pycomp.h (Jan Silhan)
Ales Kozumplik b9c4a4b
- replaced PyInt_FromLong with PyLong_FromLong (Jan Silhan)
Ales Kozumplik b9c4a4b
- replaced PyInt_AsLong with PyLongAs_Long (Jan Silhan)
Ales Kozumplik b9c4a4b
- added latest to query ignoring architectures (Jan Silhan)
Ales Kozumplik b9c4a4b
- renamed hy_query_filter_latest to hy_query_filter_latest_per_arch (Jan Silhan)
Ales Kozumplik b9c4a4b
- logging: additional logging output on repo loading errors. (Ales Kozumplik)
Ales Kozumplik b9c4a4b
- logging: refactor and add a loglevel. (Ales Kozumplik)
Ales Kozumplik b9c4a4b
- queries: allow glob matching in query. (Ales Kozumplik)
Ales Kozumplik b9c4a4b
- tests: slightly simplify test_subject.py. (Ales Kozumplik)
Ales Kozumplik b9c4a4b
- subject: yield correct results when globbing over a version. (Ales Kozumplik)
Ales Kozumplik b9c4a4b
- subject: globbing for sack._knows. (Ales Kozumplik)
Ales Kozumplik b9c4a4b
- py: subject: sack._knows doesn't need to take sack. (Ales Kozumplik)
Ales Kozumplik b9c4a4b
Ales Kozumplik 88b264e
* Tue Oct 29 2013 Aleš Kozumplík <ales@redhat.com> - 0.4.4-1
Ales Kozumplik 742d313
- With the current libsolv there's no need to reinit solver for re-resolving. (Ales Kozumplik)
Ales Kozumplik 742d313
- speedup fetching rpmdb a bit by reusing what we can from the old cache. (Ales Kozumplik)
Ales Kozumplik 742d313
- adapt to libsolv 3b3dd72: obsoleting by an installonly package is erasing. (Ales Kozumplik)
Ales Kozumplik 742d313
- tests: slim test_goal.c by using a testsys function instead of its reimplementation. (Ales Kozumplik)
Ales Kozumplik 742d313
- tests: shave some lines off test_goal.c by using smarter Goal results assertion. (Ales Kozumplik)
Ales Kozumplik 742d313
- installonlines: python bindings for installonly_limit. (Ales Kozumplik)
Ales Kozumplik 742d313
- goal: when sorting the installonly candidates, consider the running kernel. (Ales Kozumplik)
Ales Kozumplik 742d313
- Limit the number of installed installonlies. (RhBug:880524) (Ales Kozumplik)
Ales Kozumplik 742d313
- iutil.c: dump_solvables_queue. (Ales Kozumplik)
Ales Kozumplik 742d313
- refactor: concentrate all libsolv solver initialization into the static solve(). (Ales Kozumplik)
Ales Kozumplik 742d313
- refactor: goal: reinit_solver() (Ales Kozumplik)
Ales Kozumplik 742d313
- tests: dump_packagelist() can free the list too. (Ales Kozumplik)
Ales Kozumplik 742d313
- iutil: running_kernel(). (Ales Kozumplik)
Ales Kozumplik 742d313
Ales Kozumplik e166c59
* Tue Oct 15 2013 Aleš Kozumplík <ales@redhat.com> - 0.4.3-1
Ales Kozumplik e166c59
- methods get_delta_from_evr from package and add_cmdline_package from sack can take unicode string as argument (Jan Sil
Ales Kozumplik e166c59
- tests: move TestSack out of the testing module into tests. (Ales Kozumplik)
Ales Kozumplik 2a5abf3
Ales Kozumplik 6483de7
* Mon Sep 30 2013 Aleš Kozumplík <ales@redhat.com> - 0.4.2-1.git4c51f65
Ales Kozumplik 6483de7
- Goal: excluding and then installing results in incomprehenisble problem desc. (RhBug:995459) (Ales Kozumplik)
Ales Kozumplik 6483de7
- added support of cost option in repos (Jan Silhan)
Ales Kozumplik 6483de7
Ales Kozumplik e90ac61
* Mon Sep 16 2013 Aleš Kozumplík <ales@redhat.com> - 0.4.1-1.git6f35513
Ales Kozumplik e90ac61
- spec file also generates python3-hawkey rpm (Jan Silhan)
Ales Kozumplik e90ac61
- fixed package object rich comparision (Jan Silhan)
Ales Kozumplik e90ac61
- Add libsolv-devel as a hard requires for hawkey-devel (Richard Hughes)
Ales Kozumplik e90ac61
- Python 3 bindings added (Jan Silhan)
Ales Kozumplik e90ac61
Ales Kozumplik 87b8bea
* Wed Jul 31 2013 Aleš Kozumplík <ales@redhat.com> - 0.4.0-1.git0e5506a
Ales Kozumplik 9eeb27e
- Detect the variant of armv7l. (RhBug:915269) (Ales Kozumplik)
Ales Kozumplik 9eeb27e
- add package.downloadsize and package.installsize. (Ales Kozumplik)
Ales Kozumplik 9eeb27e
Ales Kozumplik 1f6bea4
* Mon Jul 22 2013 Aleš Kozumplík <ales@redhat.com> - 0.3.16-1.git4e79abc
Ales Kozumplik 1f6bea4
- Correctly find the installed package when looking for updates (Richard Hughes)
Ales Kozumplik 1f6bea4
- Change the hy_package_get_update_severity() API to return an enum value (Richard Hughes)
Ales Kozumplik 1f6bea4
- Do not enforce all repos load all kinds of specified metadata (Richard Hughes)
Ales Kozumplik 1f6bea4
- Fix a tiny memory leak introduced in 68ebca4a80aec636d30a9fd4fb9aa2d9bf9a8eca (Richard Hughes)
Ales Kozumplik 1f6bea4
- Add methods to get details about package updates (Richard Hughes)
Ales Kozumplik 1f6bea4
- Add updateinfo support to hawkey, using the existing parser in libsolv (Richard Hughes)
Ales Kozumplik 1f6bea4
- Do not count updates when counting the number of packages in a sack (Richard Hughes)
Ales Kozumplik 1f6bea4
Ales Kozumplik 6520906
* Wed Jul 17 2013 Aleš Kozumplík <ales@redhat.com> - 0.3.15-1.git996cd40
Ales Kozumplik 6520906
- py: fix memory leak in sack-py.c:new_package (Ales Kozumplik)
Ales Kozumplik 6520906
- rebuild the package, the previous version does not correspond to an existing commit.
Ales Kozumplik 6520906
Ales Kozumplik b22cb74
* Mon Jun 24 2013 Aleš Kozumplík <ales@redhat.com> - 0.3.14-1.git78b3aa0
Ales Kozumplik b22cb74
- tests: test_get_files(): test against a package with files outside /usr/bin and /etc. (Ales Kozumplik)
Ales Kozumplik b22cb74
- py: simplify exception throwing in load_system_repo(). (Ales Kozumplik)
Ales Kozumplik b22cb74
- Install stringarray.h so client programs can use hy_stringarray_free() (Richard Hughes)
Ales Kozumplik b22cb74
- py: bindings for package.files. (Ales Kozumplik)
Ales Kozumplik b22cb74
- add hy_package_get_files. (Ales Kozumplik)
Ales Kozumplik b22cb74
- Fix three trivial comment mis-spellings (Richard Hughes)
Ales Kozumplik b22cb74
- Set required python version to 2 (Richard Hughes)
Ales Kozumplik b22cb74
- Add a HY_VERSION_CHECK macro (Richard Hughes)
Ales Kozumplik b22cb74
- packaging: add license information to every file. (Ales Kozumplik)
Ales Kozumplik b22cb74
- py: add 'installed' property to hawkey.Package (Panu Matilainen)
Ales Kozumplik b22cb74
- tests: add test-case for hy_package_installed() (Panu Matilainen)
Ales Kozumplik b22cb74
- Add .baseurl getter to Python and C APIs. (Zdenek Pavlas)
Ales Kozumplik b22cb74
- tests: fix a memory leak revealed by libsolv commit 0804020. (Ales Kozumplik)
Ales Kozumplik b22cb74
- Return the installed size for installed packages in hy_package_get_size() (Panu Matilainen)
Ales Kozumplik b22cb74
- Add a function for determining whether HyPackage is installed or not (Panu Matilainen)
Ales Kozumplik b22cb74
Ales Kozumplik 7de3f9a
* Mon May 27 2013 Aleš Kozumplík <ales@redhat.com> - 0.3.13-2.git15db39f
Ales Kozumplik bafd261
- goal: running the same Goal instance twice or more. (Ales Kozumplik)
Ales Kozumplik bafd261
- sack._knows can now determine if a particular 'name-version' sounds familiar. (Ales Kozumplik)
Ales Kozumplik bafd261
- Goal: do not set the 'keepexplicitobsoletes' flag. (Ales Kozumplik)
Ales Kozumplik bafd261
- tests: fixtures for upgrade_all() with installonly packages. (Ales Kozumplik)
Ales Kozumplik bafd261
Ales Kozumplik 0bd9bbb
* Mon May 13 2013 Aleš Kozumplík <ales@redhat.com> - 0.3.12-1.git60cc1cc
Ales Kozumplik 0bd9bbb
- goal: fix assertions about the job queue when translating selectors. (Ales Kozumplik)
Ales Kozumplik 0bd9bbb
- SOLVER_NOOBSOLETES is SOLVER_MULTIVERSION. (Ales Kozumplik)
Ales Kozumplik 0bd9bbb
- goal: testing number of requests and presence of certain kinds of requests. (Ales Kozumplik)
Ales Kozumplik 0bd9bbb
Ales Kozumplik cfd4f8e
* Thu May 2 2013 Aleš Kozumplík <ales@redhat.com> - 0.3.11-1.gitffe0dac
Ales Kozumplik cfd4f8e
- obsoletes: do not report obsoleted packages in hy_goal_list_erasures(). (Ales Kozumplik)
Ales Kozumplik cfd4f8e
- rename: goal: list_obsoletes -> list_obsoleted. (Ales Kozumplik)
Ales Kozumplik cfd4f8e
- rename: hy_goal_package_all_obsoletes() -> hy_goal_list_obsoleted_by_package(). (Ales Kozumplik)
Ales Kozumplik cfd4f8e
- apichange: remove: hy_goal_package_obsoletes(). (Ales Kozumplik)
Ales Kozumplik cfd4f8e
- tests: simplify test_goal_upgrade_all() somehwat. (Ales Kozumplik)
Ales Kozumplik cfd4f8e
- goal: add ability to list all of the package's and transaction's obsoletes. (Ales Kozumplik)
Ales Kozumplik cfd4f8e
- py: allow directly comparing NEVRAs by their EVRs. (RhBug:953203) (Ales Kozumplik)
Ales Kozumplik cfd4f8e
- add hy_sack_evr_cmp(). (Ales Kozumplik)
Ales Kozumplik cfd4f8e
- py: fix SIGSEGV in unchecked hy_goal_describe_problem() call. (Ales Kozumplik)
Ales Kozumplik cfd4f8e
- doc: update the Tutorial for the current version of the API. (Ales Kozumplik)
Ales Kozumplik cfd4f8e
- subject parsing: recognize "pyton-hawkey" is a name in "python-hawkey-0.3.10". (Ales Kozumplik)
Ales Kozumplik cfd4f8e
Ales Kozumplik db3a8a4
* Mon Apr 8 2013 Aleš Kozumplík <ales@redhat.com> - 0.3.10-1.git1d51b83
Ales Kozumplik db3a8a4
- hy_goal_write_debugdata() (Ales Kozumplik)
Ales Kozumplik db3a8a4
Ales Kozumplik f150be2
* Wed Mar 20 2013 Aleš Kozumplík <ales@redhat.com> - 0.3.9-1.gitc0c16c0
Ales Kozumplik f150be2
- refactoring: hy_sack_get_cache_path -> hy_sack_get_cache_dir. (Ales Kozumplik)
Ales Kozumplik f150be2
- hy_sack_create() now accepts a flag to disable automatic cachedir creation. (Ales Kozumplik)
Ales Kozumplik f150be2
- fix crashes when the logfile can not be initialized. (Ales Kozumplik)
Ales Kozumplik f150be2
Ales Kozumplik bac67ff
* Fri Mar 1 2013 Aleš Kozumplík <ales@redhat.com> - 0.3.8-1.git046ab1c
Ales Kozumplik bac67ff
- py: expose Subject.pattern (Ales Kozumplik)
Ales Kozumplik bac67ff
- doc: added the rootdir parameter to hy_sack_create(). (Ales Kozumplik)
Ales Kozumplik bac67ff
- sack: allow specifying a different rootdir (AKA "installroot") (Ales Kozumplik)
Ales Kozumplik bac67ff
- Forms recognized by ``Subject`` are no longer an instance-scope setting. (RhBug:903687) (Ales Kozumplik)
Ales Kozumplik bac67ff
Ales Kozumplik 90d19c5
* Mon Feb 11 2013 Aleš Kozumplík <ales@redhat.com> - 0.3.7-2.gitdd10ac7
Ales Kozumplik da2c55b
- Selector: allow constraining by version only (without the release). (Ales Kozumplik)
Ales Kozumplik da2c55b
- python: reldep_repr() outputs a valid number. (Ales Kozumplik)
Ales Kozumplik da2c55b
- Add pkg.conflicts and pkg.provides. (RhBug:908406) (Ales Kozumplik)
Ales Kozumplik da2c55b
- hy_query_filter_requires() internally converts to a reldep. (Ales Kozumplik)
Ales Kozumplik da2c55b
- support filtering by 'obsoletes' and 'conflicts' reldeps. (RhBug:908372) (Ales Kozumplik)
Ales Kozumplik da2c55b
- allow filtering by requires with reldeps. (RhBug:908372) (Ales Kozumplik)
Ales Kozumplik da2c55b
- py: Query.filter() returns instance of the same type as the original query. (Ales Kozumplik)
Ales Kozumplik da2c55b
- sack_knows() does case-insensitive matching too (pricey yet needed). (Ales Kozumplik)
Ales Kozumplik da2c55b
- subject: best shot at 'some-lib-devel' is not that EVR is 'lib-devel'. (RhBug:903687) (Ales Kozumplik)
Ales Kozumplik da2c55b
Ales Kozumplik a25d474
* Wed Jan 30 2013 Aleš Kozumplík <ales@redhat.com> - 0.3.6-2.gita53a6b1
Ales Kozumplik a25d474
- subject: best shot at 'some-lib-devel' is not that EVR is 'lib-devel'. (Ales Kozumplik)
Ales Kozumplik a25d474
- cosmetic: put HY_PKG_LOCATION into the lists alphabetically. (Ales Kozumplik)
Ales Kozumplik a25d474
- New key HY_PKG_LOCATION for query (Tomas Mlcoch)
Ales Kozumplik a25d474
- querying for upgrades: do not include arbitrary arch changes. (Ales Kozumplik)
Ales Kozumplik a25d474
Ales Kozumplik f932fff
* Fri Jan 18 2013 Aleš Kozumplík <ales@redhat.com> - 0.3.6-1.gitc8365fa
Ales Kozumplik f932fff
- excludes: Query respects the exclude list. (related RhBug:884617)
Ales Kozumplik f932fff
- excludes: apply excludes in Goal. (related RhBug:884617)
Ales Kozumplik f932fff
- goal: support forcebest flag. (related RhBug:882211)
Ales Kozumplik f932fff
- disabling/enabling entire repositories.
Ales Kozumplik f932fff
- selector: preview possibly matched packages with hy_selector_matches(). (related RhBug:882851)
Ales Kozumplik f932fff
Ales Kozumplik f932fff
* Thu Jan 3 2013 Aleš Kozumplík <ales@redhat.com> - 0.3.5-3.gitf981c48
Ales Kozumplik f932fff
- Rebuild with proper git revision.
Ales Kozumplik f932fff
Ales Kozumplik f932fff
* Fri Dec 21 2012 Aleš Kozumplík <ales@redhat.com> - 0.3.5-1.gitd735540
Ales Kozumplik f932fff
- Move to libsolv-0.2.3 (suit minor API change there)
Ales Kozumplik f932fff
Ales Kozumplik f932fff
* Mon Dec 17 2012 Aleš Kozumplík <ales@redhat.com> - 0.3.4-1.gitb3fcf21
Ales Kozumplik f932fff
- Subject: infrastructure for discovering NEVRA explanations of what user's input meant.
Ales Kozumplik f932fff
- fix: cloning an evaluated Query should copy the result set too.
Ales Kozumplik f932fff
- Reldeps: creating custom-specified reldeps (name, evr).
Ales Kozumplik f932fff
- Goal: accept a selector targeting a provide.
Ales Kozumplik f932fff
- delete goal_internal.h, not needed.
Ales Kozumplik f932fff
- Goal: give the solver SOLVER_FLAG_ALLOW_VENDORCHANGE (RhBug:885646)
Ales Kozumplik f932fff
- fix crash when hash for an invalid Reldep is requested.
Ales Kozumplik f932fff
Ales Kozumplik 9ead754
* Mon Nov 26 2012 Aleš Kozumplík <ales@redhat.com> - 0.3.3-1.git4e41b7f
Ales Kozumplik 9ead754
- Python: improve Query result caching (uses the C facility now).
Ales Kozumplik 9ead754
- packageset: add internal function for getting elements with a hint.
Ales Kozumplik 9ead754
- Python, performance: Query.run() internally uses a set for the results instead of a list.
Ales Kozumplik 9ead754
- Query: fix selecting upgrades for packages of changing architecture.
Ales Kozumplik 9ead754
- Goal: add upgrade_to_selector() (EVR specs in selectors)
Ales Kozumplik 9ead754
- checksums: do not assert() when the pkg hasn't got the asked checksum. (RhBug:878823)
Ales Kozumplik 9ead754
- API change: rename: hy_package_get_nvra() -> hy_package_get_nevra().
Ales Kozumplik 9ead754
- Goal: support distupgrade of all packages.
Ales Kozumplik 9ead754
Ales Kozumplik 7a37e78
* Thu Nov 15 2012 Aleš Kozumplík <ales@redhat.com> - 0.3.2-1.gite883549
Ales Kozumplik 7a37e78
- fix: hy_package_cmp() shouldn't compare packages of different arch equal.
Ales Kozumplik 7a37e78
- Goal: support reinstalls.
Ales Kozumplik 7a37e78
Ales Kozumplik 7a37e78
* Thu Nov 8 2012 Aleš Kozumplík <ales@redhat.com> - 0.3.1-2.git6f9df85
Ales Kozumplik 50c871b
- py: add __all__ to the hawkey module.
Ales Kozumplik 50c871b
- API cleanup: give checksumming functions the 'hy_' prefix.
Ales Kozumplik 50c871b
- Add HyPackageSet.
Ales Kozumplik 50c871b
- Make hy_query_filter_package_in() general enough to handle the relations too.
Ales Kozumplik 50c871b
- Py: filter by relation and a set of target packages.
Ales Kozumplik 50c871b
- remove: hy_query_filter_obsoleting().
Ales Kozumplik 50c871b
- query: implement an empty Query filter.
Ales Kozumplik 50c871b
- Add the reldep objects, reldep containers, and hy_package_get_requires(). (RhBug:847006)
Ales Kozumplik 50c871b
- Query: filter provides by reldeps. (RhBug:847006)
Ales Kozumplik 50c871b
- cleanup header files inclusions.
Ales Kozumplik 50c871b
- py: fix memory leak package_str().
Ales Kozumplik 50c871b
- hy_package_get_obsoletes().
Ales Kozumplik 50c871b
- Query: filter with ORed reldep lists.
Ales Kozumplik 50c871b
Ales Kozumplik bb128fd
* Wed Oct 17 2012 Aleš Kozumplík <ales@redhat.com> - 0.3.0-1.gitafa7717
Ales Kozumplik bb128fd
- API change: Query: repo filter is called REPONAME now, now just REPO.
Ales Kozumplik bb128fd
- python: isinstance check for hawkey.Package fails for package objects.
Ales Kozumplik bb128fd
- Simplification of archive script (tmlcoch)
Ales Kozumplik bb128fd
- API change: hy_repo_create() now takes the repo name as a parameter.
Ales Kozumplik bb128fd
- API change: Use Selector for what used to be "Query installs".
Ales Kozumplik bb128fd
- py: use general keyword arguments to Goal.install() etc. to construct a Selector.
Ales Kozumplik bb128fd
- goal: improve error reporting when Goal failed/was not executed.
Ales Kozumplik bb128fd
- selectors: glob matching the package name.
Ales Kozumplik bb128fd
Ales Kozumplik 0de4a57
* Fri Oct 5 2012 Aleš Kozumplík <ales@redhat.com> - 0.2.12-2.git7fa7aa9
Ales Kozumplik da522b0
- fix sigsegv in query.c:filter_sourcerpm().
Ales Kozumplik da522b0
- doc: move the hawkey reference to man section 3.
Ales Kozumplik da522b0
- query: filter by description or URL.
Ales Kozumplik da522b0
- fix: FOR_PACKAGELIST(pkg,list,i) offsets the 'i' by one.
Ales Kozumplik da522b0
- Query: hy_query_filter_package_in() limits filtering to an arbitrary set of pkgs.
Ales Kozumplik da522b0
- Query: filtering by epoch.
Ales Kozumplik da522b0
- py: Query: make sure filterm() clears the result cache.
Ales Kozumplik da522b0
- py: fix: memory leaks with PySequence_GetItem().
Ales Kozumplik da522b0
Ales Kozumplik f932fff
* Sat Sep 22 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.11-4.git687ceab
Ales Kozumplik c3f6aad
- py: hawkey.test should not depend on libcheck.so.
Ales Kozumplik c3f6aad
Ales Kozumplik 967fed7
* Fri Sep 21 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.11-1.git545a461
Ales Kozumplik 967fed7
- py: Goal.run_all() returns True if a solution was found. (RhBug: 856615)
Ales Kozumplik 967fed7
- py: Goal.run() accepts callback parameter too. (RhBug: 856615)
Ales Kozumplik 967fed7
- query: filtering by version and release. (RhBug: 856612)
Ales Kozumplik 967fed7
- Flag an error if Sack is created with an invalid arch. (RhBug: 857944)
Ales Kozumplik 967fed7
- fix hy_get_sourcerpm() when the package has no sourcerpm. (RhBug: 858207)
Ales Kozumplik 967fed7
- Query: filter by source rpm. (RhBug: 857941)
Ales Kozumplik e0631e6
- Run 'make check' when building the RPM.
Ales Kozumplik 967fed7
Ales Kozumplik c690eb1
* Mon Sep 10 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.10-2.gita198dea
Ales Kozumplik c690eb1
- Fix build that now needs python-sphinx.
Ales Kozumplik c690eb1
Ales Kozumplik c690eb1
* Thu Aug 30 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.10-1.gita198dea
Ales Kozumplik f75a18b
- Query cloning.
Ales Kozumplik f75a18b
- Query: full version filtery is supported now.
Ales Kozumplik f75a18b
- py: query.filter() now returns a cloned Query.
Ales Kozumplik f75a18b
- py: len(query) and bool(query) now work as expected.
Ales Kozumplik f75a18b
Ales Kozumplik f75a18b
* Thu Aug 23 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.9-2.gitefeb04c
Ales Kozumplik f75a18b
- Add manpage.
Ales Kozumplik f75a18b
Ales Kozumplik 0c6060b
* Thu Aug 23 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.9-1.git8599c55
Ales Kozumplik 0c6060b
- Finding all solutions in Goal.
Ales Kozumplik 0c6060b
- hy_goal_reason() no longer depends on Fedora-specific hacks in libsolv.
Ales Kozumplik 0c6060b
- hy_package_get_sourcerpm()
Ales Kozumplik 0c6060b
Ales Kozumplik abefa05
* Mon Aug 6 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.8-1.gite6734fb
Ales Kozumplik abefa05
- repo loading API changed, hy_sack_load_yum_repo() now accepts flags to build
Ales Kozumplik abefa05
  cache, load filelists, etc.
Ales Kozumplik abefa05
- fixed 843487: hawkey query.filter() ends with assertion.
Ales Kozumplik abefa05
Ales Kozumplik ba30320
* Tue Jul 24 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.7-1.git41b39ba
Ales Kozumplik ba30320
- Package description, license, url support.
Ales Kozumplik ba30320
- python: Unicode fixes in Query.
Ales Kozumplik ba30320
dd3d953
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.6-3.gitea88ad5
dd3d953
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
dd3d953
Ales Kozumplik 6d97da7
* Mon Jul 16 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.6-2.gitea88ad5
Ales Kozumplik 6d97da7
- HY_CLEAN_DEPS support.
Ales Kozumplik 6d97da7
Ales Kozumplik b4837b3
* Mon Jul 16 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.6-1.git76a5b8c
Ales Kozumplik b4837b3
- Use libsolv-0.0.0-13.
Ales Kozumplik b4837b3
- hy_goal_get_reason().
Ales Kozumplik b4837b3
Ales Kozumplik 0ef2dd2
* Sun Jul 1 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.5-1.git042738b
Ales Kozumplik 0ef2dd2
- Use libsolv-0.0.0-12.
Ales Kozumplik 0ef2dd2
- Added hy_package_get_hdr_checkum().
Ales Kozumplik 0ef2dd2
Ales Kozumplik 0ef2dd2
* Mon Jun 25 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.4-8.git04ecf00
Ales Kozumplik 0ef2dd2
- More package review issues.
Ales Kozumplik 0ef2dd2
Ales Kozumplik 0ef2dd2
* Fri Jun 22 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.4-7.git04ecf00
Ales Kozumplik 0ef2dd2
- More package review issues.
Ales Kozumplik 0ef2dd2
Ales Kozumplik 0ef2dd2
* Wed Jun 20 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.4-6.git04ecf00
Ales Kozumplik 0ef2dd2
- Prevent requires in the hawkey.test .so.
Ales Kozumplik 0ef2dd2
Ales Kozumplik 0ef2dd2
* Tue Jun 19 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.4-5.git04ecf00
Ales Kozumplik 0ef2dd2
- Fix rpmlint issues.
Ales Kozumplik 0ef2dd2
Ales Kozumplik 0ef2dd2
* Wed Jun 13 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.4-4.git04ecf00{?dist}
Ales Kozumplik 0ef2dd2
- Downgrades.
Ales Kozumplik 0ef2dd2
Ales Kozumplik 0ef2dd2
* Fri Jun 8 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.4-2.git1f198aa{?dist}
Ales Kozumplik 0ef2dd2
- Handling presto metadata.
Ales Kozumplik 0ef2dd2
Ales Kozumplik 0ef2dd2
* Wed May 16 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.3-1.git6083b79{?dist}
Ales Kozumplik 0ef2dd2
- Support libsolv's SOLVER_FLAGS_ALLOW_UNINSTALL.
Ales Kozumplik 0ef2dd2
Ales Kozumplik 0ef2dd2
* Mon May 14 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.2-1.git46bc9ec{?dist}
Ales Kozumplik 0ef2dd2
- Api cleanups.
Ales Kozumplik 0ef2dd2
Ales Kozumplik 0ef2dd2
* Fri May 4 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.1-1.gita59de8c0{?dist}
Ales Kozumplik 0ef2dd2
- Goal.update() takes flags to skip checking a pkg is installed.
Ales Kozumplik 0ef2dd2
Ales Kozumplik 0ef2dd2
* Tue Apr 24 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.0-4.gita7fafb2%{?dist}
Ales Kozumplik 0ef2dd2
- hy_query_filter_in()
Ales Kozumplik 0ef2dd2
- Better unit test support.
Ales Kozumplik 0ef2dd2
Ales Kozumplik 0ef2dd2
* Thu Apr 12 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.1-6.git0e6805c%{?dist}
Ales Kozumplik 0ef2dd2
- Initial package.