|
|
3d54fd |
%if 0%{?rhel} != 0 && 0%{?rhel} <= 7
|
|
|
3d54fd |
# Do not build bindings for python3 for RHEL <= 7
|
|
|
3d54fd |
%bcond_with python3
|
|
|
3d54fd |
# python-flask is not in RHEL7
|
|
|
3d54fd |
%bcond_with tests
|
|
|
3d54fd |
%else
|
|
|
3d54fd |
%bcond_without python3
|
|
|
3d54fd |
%bcond_without tests
|
|
|
3d54fd |
%endif
|
|
|
3d54fd |
|
|
|
3d54fd |
Name: librepo
|
|
|
4f5b08 |
Version: 1.8.1
|
|
|
ca3075 |
Release: 8%{?dist}
|
|
|
3d54fd |
Summary: Repodata downloading library
|
|
|
3d54fd |
|
|
|
3d54fd |
Group: System Environment/Libraries
|
|
|
3d54fd |
License: LGPLv2+
|
|
|
4f5b08 |
URL: https://github.com/rpm-software-management/librepo
|
|
|
4f5b08 |
Source0: %{url}/archive/%{name}-%{version}/%{name}-%{version}.tar.gz
|
|
|
3d54fd |
|
|
|
ca3075 |
Patch1: 0001-Validate-path-read-from-repomd.xml-RhBug-1866500.patch
|
|
|
ca3075 |
|
|
|
3d54fd |
BuildRequires: check-devel
|
|
|
3d54fd |
BuildRequires: cmake
|
|
|
4f5b08 |
BuildRequires: gcc
|
|
|
3d54fd |
BuildRequires: doxygen
|
|
|
3d54fd |
BuildRequires: expat-devel
|
|
|
4f5b08 |
BuildRequires: glib2-devel >= 2.26.0
|
|
|
3d54fd |
BuildRequires: gpgme-devel
|
|
|
3d54fd |
BuildRequires: libattr-devel
|
|
|
3d54fd |
BuildRequires: libcurl-devel >= 7.19.0
|
|
|
3d54fd |
BuildRequires: openssl-devel
|
|
|
3d54fd |
|
|
|
3d54fd |
# prevent provides from nonstandard paths:
|
|
|
3d54fd |
%filter_provides_in %{python_sitearch}/.*\.so$
|
|
|
3d54fd |
%if %{with python3}
|
|
|
3d54fd |
%filter_provides_in %{python3_sitearch}/.*\.so$
|
|
|
3d54fd |
%endif
|
|
|
3d54fd |
%filter_setup
|
|
|
3d54fd |
|
|
|
3d54fd |
%description
|
|
|
3d54fd |
A library providing C and Python (libcURL like) API to downloading repository
|
|
|
3d54fd |
metadata.
|
|
|
3d54fd |
|
|
|
3d54fd |
%package devel
|
|
|
3d54fd |
Summary: Repodata downloading library
|
|
|
3d54fd |
Group: Development/Libraries
|
|
|
3d54fd |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
3d54fd |
|
|
|
3d54fd |
%description devel
|
|
|
3d54fd |
Development files for librepo.
|
|
|
3d54fd |
|
|
|
4f5b08 |
%package -n python-%{name}
|
|
|
3d54fd |
Summary: Python bindings for the librepo library
|
|
|
3d54fd |
Group: Development/Languages
|
|
|
3d54fd |
BuildRequires: pygpgme
|
|
|
3d54fd |
BuildRequires: python2-devel
|
|
|
3d54fd |
%if %{with tests}
|
|
|
3d54fd |
BuildRequires: python-flask
|
|
|
3d54fd |
BuildRequires: python-nose
|
|
|
3d54fd |
%endif
|
|
|
3d54fd |
BuildRequires: python-sphinx
|
|
|
3d54fd |
BuildRequires: pyxattr
|
|
|
3d54fd |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
3d54fd |
|
|
|
4f5b08 |
%description -n python-%{name}
|
|
|
3d54fd |
Python bindings for the librepo library.
|
|
|
3d54fd |
|
|
|
3d54fd |
%if %{with python3}
|
|
|
4f5b08 |
%package -n python3-%{name}
|
|
|
3d54fd |
Summary: Python 3 bindings for the librepo library
|
|
|
3d54fd |
Group: Development/Languages
|
|
|
3d54fd |
BuildRequires: python3-pygpgme
|
|
|
3d54fd |
BuildRequires: python3-devel
|
|
|
4f5b08 |
%if %{with tests}
|
|
|
3d54fd |
BuildRequires: python3-flask
|
|
|
3d54fd |
BuildRequires: python3-nose
|
|
|
4f5b08 |
%endif
|
|
|
3d54fd |
BuildRequires: python3-sphinx
|
|
|
3d54fd |
BuildRequires: python3-pyxattr
|
|
|
3d54fd |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
3d54fd |
|
|
|
4f5b08 |
%description -n python3-%{name}
|
|
|
3d54fd |
Python 3 bindings for the librepo library.
|
|
|
3d54fd |
%endif
|
|
|
3d54fd |
|
|
|
3d54fd |
%prep
|
|
|
4f5b08 |
%autosetup -p1
|
|
|
3d54fd |
|
|
|
4f5b08 |
mkdir build build-py3
|
|
|
3d54fd |
|
|
|
3d54fd |
%build
|
|
|
4f5b08 |
pushd build
|
|
|
4f5b08 |
%cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
|
|
|
4f5b08 |
%make_build
|
|
|
4f5b08 |
popd
|
|
|
3d54fd |
|
|
|
3d54fd |
%if %{with python3}
|
|
|
4f5b08 |
pushd build-py3
|
|
|
4f5b08 |
%cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DPYTHON_DESIRED:str=3 ..
|
|
|
4f5b08 |
%make_build
|
|
|
3d54fd |
popd
|
|
|
3d54fd |
%endif
|
|
|
3d54fd |
|
|
|
3d54fd |
%check
|
|
|
3d54fd |
%if %{with tests}
|
|
|
4f5b08 |
pushd build
|
|
|
4f5b08 |
make ARGS="-V" test
|
|
|
4f5b08 |
popd
|
|
|
3d54fd |
|
|
|
3d54fd |
%if %{with python3}
|
|
|
4f5b08 |
pushd build-py3
|
|
|
4f5b08 |
make ARGS="-V" test
|
|
|
3d54fd |
popd
|
|
|
3d54fd |
%endif
|
|
|
3d54fd |
%endif
|
|
|
3d54fd |
|
|
|
3d54fd |
%install
|
|
|
4f5b08 |
pushd build
|
|
|
4f5b08 |
%make_install
|
|
|
4f5b08 |
popd
|
|
|
3d54fd |
%if %{with python3}
|
|
|
4f5b08 |
pushd build-py3
|
|
|
4f5b08 |
%make_install
|
|
|
3d54fd |
popd
|
|
|
3d54fd |
%endif
|
|
|
3d54fd |
|
|
|
3d54fd |
%post -p /sbin/ldconfig
|
|
|
3d54fd |
|
|
|
3d54fd |
%postun -p /sbin/ldconfig
|
|
|
3d54fd |
|
|
|
3d54fd |
%files
|
|
|
3d54fd |
%doc COPYING README.md
|
|
|
4f5b08 |
%{_libdir}/%{name}.so.*
|
|
|
3d54fd |
|
|
|
3d54fd |
%files devel
|
|
|
4f5b08 |
%{_libdir}/%{name}.so
|
|
|
4f5b08 |
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
4f5b08 |
%{_includedir}/%{name}/
|
|
|
3d54fd |
|
|
|
4f5b08 |
%files -n python-%{name}
|
|
|
4f5b08 |
%{python_sitearch}/%{name}/
|
|
|
3d54fd |
|
|
|
3d54fd |
%if %{with python3}
|
|
|
4f5b08 |
%files -n python3-%{name}
|
|
|
3d54fd |
%{python3_sitearch}/
|
|
|
3d54fd |
%endif
|
|
|
3d54fd |
|
|
|
3d54fd |
%changelog
|
|
|
ca3075 |
* Thu Aug 13 2020 Ales Matej <amatej@redhat.com> - 1.8.1-8
|
|
|
ca3075 |
- Validate paths read from repomd.xml (RhBug: 1866500)
|
|
|
ca3075 |
|
|
|
4f5b08 |
* Fri Jun 08 2018 Marek Blaha <mblaha@redhat.com> - 1.8.1-1
|
|
|
4f5b08 |
- Add yumrecord substitution mechanism (mluscon)
|
|
|
4f5b08 |
- Fix a memory leak in signature verification (cwalters)
|
|
|
4f5b08 |
- Add new option LRO_FTPUSEEPSV
|
|
|
4f5b08 |
- downloader prepare_next_transfer(): simplify long line
|
|
|
4f5b08 |
- downloader prepare_next_transfer(): add missing error check
|
|
|
4f5b08 |
- downloader prepare_next_transfer(): cleanup error path
|
|
|
4f5b08 |
- downloader prepare_next_transfer() - fix memory leak on error path (Alan Jenkins)
|
|
|
4f5b08 |
- handle: Don't use proxy cache for downloads of metalink/mirrorlist
|
|
|
4f5b08 |
- handle: Don't set CURLOPT_HTTPHEADER into curl handle immediately when specified
|
|
|
4f5b08 |
- downloader: Implement logic for no_cache param in LrDownloadTarget (RhBug: 1297762)
|
|
|
4f5b08 |
- Add no_cache param to LrDownloadTarget and lr_downloadtarget_new()
|
|
|
4f5b08 |
- New test: always try to download from the fastest mirror (Alexander Todorov)
|
|
|
4f5b08 |
|
|
|
3d54fd |
* Fri May 29 2015 Colin Walters <tmlcoch@redhat.com> - 1.7.16-1
|
|
|
3d54fd |
- Add LRI_LOWSPEEDTIME and LRI_LOWSPEEDLIMIT
|
|
|
3d54fd |
- downloader: Don't consider CURLE_RECV_ERROR and CURLE_SEND_ERROR as fatal errors (RhBug: 1219817)
|
|
|
3d54fd |
- test_repoconf: Fix SIGSEGV in repoconf_assert_na (RhBug: 1222471)
|
|
|
3d54fd |
- repoconf: Proper handling of gint64 and guint64 types
|
|
|
3d54fd |
- build: Be compatible with cmake 2.8
|
|
|
3d54fd |
- handle: Do not free temporary error msg if there is no one (RhBug: 1219822)
|
|
|
3d54fd |
- utils/make_rpm.sh: Accept rpmbuild options as second argument (Issue #49)
|
|
|
3d54fd |
- Python: call lr_global_init() during module initialization
|
|
|
3d54fd |
- Add global function log_set_file that allow user to set a file where logs will be written (Issue #53)
|
|
|
3d54fd |
- util: Honor RFC 3986 (Issue #55)
|
|
|
3d54fd |
|
|
|
3d54fd |
* Tue May 12 2015 Colin Walters <walters@redhat.com> - 1.7.15-2
|
|
|
3d54fd |
- Disable tests and drop python-flask build dependency on RHEL7, as
|
|
|
3d54fd |
it is not in the core
|
|
|
3d54fd |
|
|
|
3d54fd |
* Tue Apr 14 2015 Tomas Mlcoch <tmlcoch at redhat.com> - 1.7.15-1
|
|
|
3d54fd |
- Do not inlude header in the body output (RhBug: 1207685)
|
|
|
3d54fd |
- metalink: Proper error handling
|
|
|
3d54fd |
- New LRR_RPMMD_* contants
|
|
|
3d54fd |
- Support for client certificates
|
|
|
3d54fd |
- Use 'metadata in the rpm-md format' instead of 'yum metadata' (Issue #51)
|
|
|
3d54fd |
- CMakeLists.txt: do not check for CXX
|
|
|
3d54fd |
- build: Use solely pkg-config to find glib
|
|
|
3d54fd |
|
|
|
3d54fd |
* Wed Feb 25 2015 Tomas Mlcoch <tmlcoch at redhat.com> - 1.7.14-2
|
|
|
3d54fd |
- compat: fix ck_assert_msg() segfault in rhel-7
|
|
|
3d54fd |
|
|
|
3d54fd |
* Wed Feb 25 2015 Tomas Mlcoch <tmlcoch at redhat.com> - 1.7.14-1
|
|
|
3d54fd |
- tests: Use g_assert_cmpuint instead of ck_assert_uint_eq (Pullrequest #43)
|
|
|
3d54fd |
- Add LRO_OFFLINE
|
|
|
3d54fd |
- Python: Handle: Raise ValueError instead of TypeError when an unknown option is specified
|
|
|
3d54fd |
- Python: Result: Use ValueError instead of TypeError when an unknown option value is specified
|
|
|
3d54fd |
- Add LR_VERSION constant with version string
|
|
|
3d54fd |
- python: Import contants from C librepo module in a loop
|
|
|
3d54fd |
- repoconf: Add support for failover and skip_if_unavailable options
|
|
|
3d54fd |
- handle: Change of LRO_LOCAL causes invalidation of internal mirrorlist (related to RhBug: 1188600)
|
|
|
3d54fd |
- Load local mirrorlists when LRO_LOCAL is on (related to RhBug: 1188600)
|
|
|
3d54fd |
- util: Add lr_is_local_path()
|
|
|
3d54fd |
- New module repoconf for reading *.repo files
|
|
|
3d54fd |
- Add LRO_HTTPHEADER option (RhBug: 1181123)
|
|
|
3d54fd |
|
|
|
3d54fd |
* Fri Jan 23 2015 Tomas Mlcoch <tmlcoch at redhat.com> - 1.7.13-1
|
|
|
3d54fd |
- Fix ABI compatibility (RhBug: 1185180)
|
|
|
3d54fd |
- fastestmirror: Add LRO_FASTESTMIRRORTIMEOUT option
|
|
|
3d54fd |
- downloader: Move broken mirror at the end of the list of mirrors (RhBug: 1183998)
|
|
|
3d54fd |
- Make building tests and docs optional
|
|
|
3d54fd |
- librepo: Don't download remote mirrorlist/metalink when LRO_LOCAL is specified (Resolves #41)
|
|
|
3d54fd |
|
|
|
3d54fd |
* Fri Jan 16 2015 Tomas Mlcoch <tmlcoch at redhat.com> - 1.7.12-1
|
|
|
3d54fd |
- downloader: Allow max one resume + nicer message if xattr cannot be set (RhBug: 1130685)
|
|
|
3d54fd |
- downloader: Resume only files that were originaly downloaded by Librepo (RhBug: 1130685)
|
|
|
3d54fd |
- downloader: Show also calculated checksums in error message about bad checksum
|
|
|
3d54fd |
- Python: Return all strings in unicode
|
|
|
3d54fd |
|
|
|
3d54fd |
* Mon Dec 22 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 1.7.11-2
|
|
|
3d54fd |
- Make tests port agnostic
|
|
|
3d54fd |
|
|
|
3d54fd |
* Fri Dec 19 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 1.7.11-1
|
|
|
3d54fd |
- Substitute vars in URL in the lr_downloadtarget_new()
|
|
|
3d54fd |
- New module repoconf for reading of *.repo files
|
|
|
3d54fd |
- Add LRE_VALUE code + LR_REPOCONF_ERROR error domain
|
|
|
3d54fd |
- Fail if gpgcheck enabled but repomd.xml signature is not available
|
|
|
3d54fd |
- Support for RHEL6
|
|
|
3d54fd |
- Add LRO_GNUPGHOMEDIR option
|
|
|
3d54fd |
- Refactoring to prevent RhBug: 1144741
|
|
|
3d54fd |
- fastest_mirror: Use <0.0 (-1.0) instead of DBL_MAX when a connection time wasn't measured
|
|
|
3d54fd |
- Add sanity checks in order to avoid bugs like: 1166533, 1160087
|
|
|
3d54fd |
- Refactoring
|
|
|
3d54fd |
|
|
|
3d54fd |
* Mon Dec 1 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 1.7.10-1
|
|
|
3d54fd |
- repomd: Add error reporting support to lr_yum_repomd_get_highest_timestamp()
|
|
|
3d54fd |
(RhBug: 1149436)
|
|
|
3d54fd |
|
|
|
3d54fd |
* Thu Nov 20 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 1.7.9-1
|
|
|
3d54fd |
- handle: Fix memory leak when looking for local metalink/mirrorlist (Issue #33)
|
|
|
3d54fd |
- Return -1 for LRR_YUM_TIMESTAMP if no repomd is available
|
|
|
3d54fd |
- Use CURLOPT_ERRORBUFFER to get more useful error messages
|
|
|
3d54fd |
- repoutil_yum: lr_repoutil_yum_check_repo: fix path handling
|
|
|
3d54fd |
|
|
|
3d54fd |
* Wed Sep 24 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 1.7.7-1
|
|
|
3d54fd |
- Initialize struct sigaction vars correctly (RhBug: 1145656 )
|
|
|
3d54fd |
|
|
|
3d54fd |
* Tue Aug 12 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 1.7.6-1
|
|
|
3d54fd |
- New option LRO_ADAPTIVEMIRRORSORTING
|
|
|
3d54fd |
- Increase limits to make librepo more robust (RhBug: 1124349)
|
|
|
3d54fd |
- New option LRO_ALLOWEDMIRRORFAILURES
|
|
|
3d54fd |
- Refactoring
|
|
|
3d54fd |
- Default value of LRO_MAXDOWNLOADSPERMIRROR changed from 2 to 3
|
|
|
3d54fd |
|
|
|
3d54fd |
* Tue Jul 8 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 1.7.5-1
|
|
|
3d54fd |
- accepts unicoded destination as UTF-8 string (Related: RhBug:1108908)
|
|
|
3d54fd |
- downloader: Do not print debug message about preparing internal mirror list
|
|
|
3d54fd |
if no internal mirror is available
|
|
|
3d54fd |
- fastestmirror: subtract name lookup (dns) time from plain connect time
|
|
|
3d54fd |
- fastestmirror: Small refactoring
|
|
|
3d54fd |
|
|
|
3d54fd |
* Thu Jun 26 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 1.7.4-3
|
|
|
3d54fd |
- Increase default value of LRO_LOWSPEEDTIME from 10 to 30 (RhBug: 1109189)
|
|
|
3d54fd |
|
|
|
3d54fd |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.4-2
|
|
|
3d54fd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
3d54fd |
|
|
|
3d54fd |
* Mon Jun 2 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 1.7.4-1
|
|
|
3d54fd |
- Add LRO_IPRESOLVE option to set a kind of IP addresses to use when resolving host names
|
|
|
3d54fd |
- Relicenced from GPLv2 to LGPLv2+
|
|
|
3d54fd |
- error mesage is in unicode (RhBug:1096452)
|
|
|
3d54fd |
|
|
|
3d54fd |
* Tue May 6 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 1.7.3-1
|
|
|
3d54fd |
- Fix some issues which were found by coverity scan
|
|
|
3d54fd |
- Add missing support for Handle Mirror Failure Callback (hmfcb)
|
|
|
3d54fd |
while downloading repomd.xml (related to RhBug: 1093014)
|
|
|
3d54fd |
- Add LRO_SSLVERIFYPEER and LRO_SSLVERIFYHOST options (RhBug: 1093014)
|
|
|
3d54fd |
|
|
|
3d54fd |
* Wed Apr 23 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 1.7.2-1
|
|
|
3d54fd |
- Fix segfault in headercb if only base_url and no mirrolist is used (RhBug: 1090325)
|
|
|
3d54fd |
- Set environmental variable LIBREPO_DEBUG enables librepo debug output to stderr
|
|
|
3d54fd |
|
|
|
3d54fd |
* Mon Apr 7 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 1.7.1-1
|
|
|
3d54fd |
- Don't try to call cb if no cb is set (RhBug: 1083659)
|
|
|
3d54fd |
|
|
|
3d54fd |
* Mon Mar 31 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 1.7.0-1
|
|
|
3d54fd |
- Support for xml:base tag in repomd.xml.
|
|
|
3d54fd |
- Downloader: If checksums don't match, include the expected values and types
|
|
|
3d54fd |
in the error message.
|
|
|
3d54fd |
- Handle: Add LRO_HMFCB and LRI_HMFCB options.
|
|
|
3d54fd |
- API CHANGE: lr_download_single_cb() new param mfcb (LrMirrorFailureCb)
|
|
|
3d54fd |
- API CHANGE: Removed cbdata param from lr_download_single_cb(). Use specific
|
|
|
3d54fd |
data for each target.
|
|
|
3d54fd |
- New callback LrHandleMirrorFailureCb
|
|
|
3d54fd |
- Python doc update (Check it out: http://tojaj.github.io/librepo/)
|
|
|
3d54fd |
|
|
|
3d54fd |
* Thu Mar 27 2014 Matěj Cepl <mcepl@redhat.com> - 1.6.0-2
|
|
|
3d54fd |
- Make building of python3 components conditional
|
|
|
3d54fd |
- replace all TABs with spaces
|
|
|
3d54fd |
|
|
|
3d54fd |
* Thu Feb 20 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 1.6.0-1
|
|
|
3d54fd |
- Small API change: End callback now must return integer and not void)
|
|
|
3d54fd |
- downloader: Check for the lr_interrupt regularly
|
|
|
3d54fd |
- Handle exceptions in python callbacks as return values (RhBug: 1066321)
|
|
|
3d54fd |
- Support for byterange of download (RhBug: 1058777)
|
|
|
3d54fd |
|
|
|
3d54fd |
* Tue Jan 28 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 1.5.2-2
|
|
|
3d54fd |
- Ignore rsyc mirrors silently.
|
|
|
3d54fd |
|
|
|
3d54fd |
* Thu Jan 16 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 1.5.2-1
|
|
|
3d54fd |
- Better download resume logic
|
|
|
3d54fd |
|
|
|
3d54fd |
* Fri Jan 3 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 1.5.1-1
|
|
|
3d54fd |
- Downloading: LRO_MAXSPEED has effect over whole downloading, it is not
|
|
|
3d54fd |
per target max speed anymore.
|
|
|
3d54fd |
- Sanitize progresscb (GitHub issue 24) (Thanks zde/zpavlas)
|
|
|
3d54fd |
|
|
|
3d54fd |
* Tue Dec 17 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 1.5.0-1
|
|
|
3d54fd |
- Extend C example
|
|
|
3d54fd |
- Add LRR_YUM_TIMESTAMP (GitHub issue #25)
|
|
|
3d54fd |
- Close the correct file when using a metalink.xml file
|
|
|
3d54fd |
- Add lr_check_packages()
|
|
|
3d54fd |
- Enable checksum caching for already existing local packages
|
|
|
3d54fd |
- Library: Call LR_PROGRESSCB with zeroized values, when total_to_download
|
|
|
3d54fd |
value is changed
|
|
|
3d54fd |
- Skip fastestmirror detection of only one mirror is present
|
|
|
3d54fd |
|
|
|
3d54fd |
* Tue Nov 19 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 1.4.0-1
|
|
|
3d54fd |
- Add LRO_FASTESTMIRRORCB
|
|
|
3d54fd |
- Add LRO_LOWSPEEDTIME and LRO_LOWSPEEDLIMIT options. (RhBug: 1028444)
|
|
|
3d54fd |
- Default connection timeout changed to 30sec instead of 300sec.
|
|
|
3d54fd |
- unittests: Fix expired key (RhBug: 1031825)
|
|
|
3d54fd |
|
|
|
3d54fd |
* Thu Oct 31 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 1.3.0-1
|
|
|
3d54fd |
- Some CURL error codes should be considered as fatal (RhBug: 1022994)
|
|
|
3d54fd |
- fastestmirror: Add support for cache - New options: LRO_FASTESTMIRRORCACHE
|
|
|
3d54fd |
and LRO_FASTESTMIRRORMAXAGE
|
|
|
3d54fd |
- fastestmirror: For download_packages() do fastestmirror detection for
|
|
|
3d54fd |
all handles in one shot
|
|
|
3d54fd |
- Use <mm0:alternates> during repomd.xml download (RhBug: 1019103)
|
|
|
3d54fd |
- Don't perform fastest mirror test if file already exists locally.
|
|
|
3d54fd |
- fastestmirror.h:26:24: fatal error: mirrorlist.h: No such file
|
|
|
3d54fd |
or directory (#1018006)
|
|
|
3d54fd |
|
|
|
3d54fd |
* Mon Oct 07 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 1.2.1-1
|
|
|
3d54fd |
- Open fd right before downloading and close them immediately after
|
|
|
3d54fd |
download. (RhBug: 1015957)
|
|
|
3d54fd |
|
|
|
3d54fd |
* Thu Oct 03 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 1.2.0-2
|
|
|
3d54fd |
- Add target for Python 3 to the spec file
|
|
|
3d54fd |
- Fix few python3 related issues
|
|
|
3d54fd |
|
|
|
3d54fd |
* Tue Oct 01 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 1.2.0-1
|
|
|
3d54fd |
- Better detection of bad content of repomd.xml
|
|
|
3d54fd |
- Close files properly (RhBug: 1012290)
|
|
|
3d54fd |
- Add fastestmirror module + LRO_FASTESTMIRROR option
|
|
|
3d54fd |
- downloader: Fix uninitialized total to download variable (GitHub issue 22)
|
|
|
3d54fd |
- Add LRO_MIRRORLISTURL and LRO_METALINKURL. LRO_MIRRORLIST is deprecated.
|
|
|
3d54fd |
- Few other small fixes
|
|
|
3d54fd |
|
|
|
3d54fd |
* Mon Sep 16 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 1.1.0-1
|
|
|
3d54fd |
- New librepo.download_url(url, fd, handle=None) function in Python API.
|
|
|
3d54fd |
- Low-level downloader interface is now public in C API.
|
|
|
3d54fd |
- Small change of API lr_download_packages() and lr_packagetarget_new
|
|
|
3d54fd |
functions.
|
|
|
3d54fd |
- In python download_packages() changed from method of Handle() to
|
|
|
3d54fd |
librepo module function without handle param.
|
|
|
3d54fd |
Param handle was moved to the PackageTarget class that takes handle
|
|
|
3d54fd |
as a optional param during constrution.
|
|
|
3d54fd |
- Implements checking size of downloaded files (expectedsize
|
|
|
3d54fd |
param of downloading functions).
|
|
|
3d54fd |
|
|
|
3d54fd |
* Wed Aug 28 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 1.0.0-1
|
|
|
3d54fd |
- Huge API changes
|
|
|
3d54fd |
- Library starts to use GLib2
|
|
|
3d54fd |
- Support for parallel downloads
|
|
|
3d54fd |
- Better error reporting
|
|
|
3d54fd |
- More GLib2 style C api
|
|
|
3d54fd |
- More descriptive Python exception messages
|
|
|
3d54fd |
- A lot of bugfixes
|
|
|
3d54fd |
- Updated examples
|
|
|
3d54fd |
|
|
|
3d54fd |
* Thu Jul 25 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 0.0.5-3
|
|
|
3d54fd |
- python: Raise exception if handle has bad repo type configured
|
|
|
3d54fd |
(RhBug: 988013)
|
|
|
3d54fd |
|
|
|
3d54fd |
* Mon Jul 22 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 0.0.5-2
|
|
|
3d54fd |
- Bump version in versioh.h to 0.0.5
|
|
|
3d54fd |
- Python: Fix Handle.mirrors to return empty list instead of None if
|
|
|
3d54fd |
no mirrors available (RhBug: 986228)
|
|
|
3d54fd |
|
|
|
3d54fd |
* Wed Jul 17 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 0.0.5-1
|
|
|
3d54fd |
- Return LRE_ALREADYDOWNLOADED if the file exists even if no resume
|
|
|
3d54fd |
is specified. (GitHub issue 15)
|
|
|
3d54fd |
- downloadtarget: New module, future replacement for curltarget module.
|
|
|
3d54fd |
- Librepo migrated to lr_LrMirrorlist from lr_InternalMirrorlist.
|
|
|
3d54fd |
- test: Run python unittest verbosely
|
|
|
3d54fd |
- lrmirrorlis: New module. GLib2 ready replacement for the internal_mirrorlist
|
|
|
3d54fd |
module.
|
|
|
3d54fd |
- package_downloader: Add LRE_ALREADYDOWNLOADED rc code. (GitHub issue 15)
|
|
|
3d54fd |
- handle: After set python SIGINT handler back, check if librepo was
|
|
|
3d54fd |
interrupted by CTRL+C. (RhBug: 977803)
|
|
|
3d54fd |
- cmake: Set required python version to 2. (GitHub issue 10)
|
|
|
3d54fd |
- Fix missing VAR substitution for mirrorlist. (GitHub issue 11)
|
|
|
3d54fd |
- cmake: Add FindXattr module.
|
|
|
3d54fd |
- Add support for caching checksum as extended file attribute. (GitHub issue 8)
|
|
|
3d54fd |
- util: Add lr_asprintf().
|
|
|
3d54fd |
- util: Add lr_vasprintf().
|
|
|
3d54fd |
- handle: Fix funky logic in internal error handling. (GitHub issue 9)
|
|
|
3d54fd |
- Add lr_yum_repomd_get_age() function. (GitHub issue 6)
|
|
|
3d54fd |
- test: Add test for LR_VERSION_CHECK macro.
|
|
|
3d54fd |
- Add a LR_VERSION_CHECK macro
|
|
|
3d54fd |
|
|
|
3d54fd |
* Wed Jun 12 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 0.0.4-2
|
|
|
3d54fd |
- examples: Add C example of usage.
|
|
|
3d54fd |
- Fix predefined lists in types.h (GitHub issue 4). Thank you hughsie
|
|
|
3d54fd |
- Add LRO_VARSUB and LRI_VARSUB. (RhBug: 965131)
|
|
|
3d54fd |
- py: Change reported name from _librepo.Exception to librepo.LibrepoException
|
|
|
3d54fd |
|
|
|
3d54fd |
* Thu May 2 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 0.0.4-1
|
|
|
3d54fd |
- Fix type conversion long long -> long.(RhBug: 957656)
|
|
|
3d54fd |
- python: Handle.perfrom() could be called without Result().
|
|
|
3d54fd |
- Add LRI_MAXMIRRORTRIES option. (RhBug: 954736)
|
|
|
3d54fd |
- py: unittests: Add metalink.xml and mirrorlist files. (RhBug: 954294)
|
|
|
3d54fd |
- Fix double free and memory leak. (RhBug: 954294)
|
|
|
3d54fd |
- New option LRO_MAXMIRRORTRIES. (RhBug: 949517)
|
|
|
3d54fd |
- LRI_MIRRORS return only content of mirrorlist file (without LRO_URL as first item).
|
|
|
3d54fd |
- Add LRO_FETCHMIRRORS option.
|
|
|
3d54fd |
|
|
|
3d54fd |
* Mon Apr 8 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 0.0.2-3.git720d68d
|
|
|
3d54fd |
- Add CURL_GLOBAL_ACK_EINTR flag to curl init.
|
|
|
3d54fd |
- Proper multi handle cleanup. (RhBug: 947388)
|
|
|
3d54fd |
- Support for read 'useragent' attr. (RhBug: 947346)
|
|
|
3d54fd |
- Add valgrind supress files. (RhBug: 923214)
|
|
|
3d54fd |
- Make python bindings interruptible (LRO_INTERRUPTIBLE) (RhBug: 919125)
|
|
|
3d54fd |
- Add LRI_MIRRORS option (RhBug: 923198)
|
|
|
3d54fd |
- Add LRI_METALINK option. (BzBug: 947767)
|
|
|
3d54fd |
|
|
|
3d54fd |
* Mon Mar 18 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 0.0.2-2.gitb3c3323
|
|
|
3d54fd |
- py: Use standard python exception while accessing bad attrs. (RhBug: 920673)
|
|
|
3d54fd |
- Default mask for newly created files is 0666. (RhBug: 922557)
|
|
|
3d54fd |
|
|
|
3d54fd |
* Thu Mar 14 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 0.0.2-1.git714e828
|
|
|
3d54fd |
- Add LRI_PROGRESSCB and LRI_PROGRESSDATA options (RhBug: 919123)
|
|
|
3d54fd |
- Bindings: More pythonic operations with handle's attributes (RhBug: 919124)
|
|
|
3d54fd |
|
|
|
3d54fd |
* Tue Oct 9 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.0.1-1.gitc69642e
|
|
|
3d54fd |
- Initial package
|