Skip to content

Commit 4e786a0

Browse files
committed
Release 0.9.0
Signed-off-by: Adrian Reber <[email protected]>
1 parent 2a81b67 commit 4e786a0

File tree

4 files changed

+39
-10
lines changed

4 files changed

+39
-10
lines changed

doc/contributors.rst

+3-1
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,16 @@ On March 04, 2018 (release 0.8.4), the list looks as follow:
99
Number of commits Contributor
1010
================= ===========
1111
907 Pierre-Yves Chibon <[email protected]>
12-
263 Adrian Reber <[email protected]>
12+
290 Adrian Reber <[email protected]>
1313
58 Ralph Bean <[email protected]>
14+
19 Zbigniew Jędrzejewski-Szmek <[email protected]>
1415
14 Luke Macken <[email protected]>
1516
13 Patrick Uiterwijk <[email protected]>
1617
9 Matt Domsch <[email protected]>
1718
5 Patrick Uiterwijk <[email protected]>
1819
4 Ralph Bean <[email protected]>
1920
3 Devyani Kota <[email protected]>
21+
3 Neal Gompa <[email protected]>
2022
3 Patrick Uiterwijk <[email protected]>
2123
2 Kevin Fenzi <[email protected]>
2224
2 Matt Domsch <[email protected]>

mirrormanager2/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@
2525

2626
__import__('pkg_resources').declare_namespace(__name__)
2727

28-
__version__ = '0.8.4'
28+
__version__ = '0.9.0'

tests/test_ui_app.py

+2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ def setUp(self):
3232

3333
skip = os.getenv('MM2_SKIP_NETWORK_TESTS', 0)
3434
self.network_tests = not bool(skip)
35+
if skip:
36+
raise unittest.SkipTest('Skipping FlaskUiAppTest tests')
3537

3638
mirrormanager2.app.APP.config['TESTING'] = True
3739
mirrormanager2.app.SESSION = self.session

utility/mirrormanager2.spec

+33-8
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
%endif
1515

1616
Name: mirrormanager2
17-
Version: 0.8.4
17+
Version: 0.9.0
1818
Release: 1%{?dist}
1919
Summary: Mirror management application
2020

@@ -297,7 +297,7 @@ install -m 0644 utility/country_continent.csv \
297297

298298
# Fix the shebang for various scripts
299299
sed -e "s|#!/usr/bin/env python|#!%{__python}|" -i \
300-
$RPM_BUILD_ROOT/%{_bindir}/*
300+
$RPM_BUILD_ROOT/%{_bindir}/* \
301301
$RPM_BUILD_ROOT/%{_datadir}/mirrormanager2/*.py \
302302
$RPM_BUILD_ROOT/%{python_sitelib}/mirrormanager2/lib/umdl.py
303303

@@ -336,10 +336,8 @@ exit 0
336336
%systemd_postun_with_restart mirrorlist-server.service
337337

338338
%check
339-
# One day we will have unit-tests to run here
340-
341-
# And that is starting today ;)
342-
MM2_SKIP_NETWORK_TESTS=1 ./runtests.sh -d -v
339+
# Exclude test_ui_app.py as it requires network connectivity
340+
MM2_SKIP_NETWORK_TESTS=1 ./runtests.sh -v
343341

344342
%files
345343
%doc README.rst doc/
@@ -349,13 +347,16 @@ MM2_SKIP_NETWORK_TESTS=1 ./runtests.sh -d -v
349347
%dir %{_sysconfdir}/mirrormanager/
350348
%dir %{python_sitelib}/%{name}/
351349
%if ! (0%{?rhel} && 0%{?rhel} <= 7)
352-
%dir %{python_sitelib}/__pycache__
350+
%dir %{python_sitelib}/%{name}/__pycache__
353351
%endif
354352

355353
%{_sysconfdir}/mirrormanager/alembic.ini
356354

357355
%{_datadir}/mirrormanager2/mirrormanager2.wsgi
358356
%{_datadir}/mirrormanager2/mirrormanager2_createdb.py*
357+
%if ! (0%{?rhel} && 0%{?rhel} <= 7)
358+
%{_datadir}/mirrormanager2/__pycache__/mirrormanager2_createdb.*.py*
359+
%endif
359360
%{_datadir}/mirrormanager2/alembic/
360361

361362
%{python_sitelib}/%{name}/*.py*
@@ -380,7 +381,6 @@ MM2_SKIP_NETWORK_TESTS=1 ./runtests.sh -d -v
380381
%{python_sitelib}/%{name}/__init__.py*
381382
%if ! (0%{?rhel} && 0%{?rhel} <= 7)
382383
%{python_sitelib}/%{name}/__pycache__/__init__.*.py*
383-
%{python_sitelib}/%{name}/lib/__pycache__/
384384
%endif
385385

386386

@@ -440,6 +440,31 @@ MM2_SKIP_NETWORK_TESTS=1 ./runtests.sh -d -v
440440
%{_bindir}/mirrorlist_statistics
441441

442442
%changelog
443+
* Tue Jan 15 2019 Adrian Reber <[email protected]> - 0.9.0-1
444+
- Update to 0.9.0
445+
- crawler: Correctly calculate the remaining time
446+
https://github.com/fedora-infra/mirrormanager2/pull/244
447+
- repomap: more modular repository detection logic
448+
https://github.com/fedora-infra/mirrormanager2/pull/243
449+
- crawler: correctly handle keep-alive for HTTPS
450+
https://github.com/fedora-infra/mirrormanager2/pull/245
451+
- crawler: only update directories of the current category
452+
https://github.com/fedora-infra/mirrormanager2/pull/250
453+
- python3 compatibility
454+
https://github.com/fedora-infra/mirrormanager2/pull/185
455+
- rpmmd: switch from yum.repoMDObject pyrpmmd
456+
https://github.com/fedora-infra/mirrormanager2/pull/254
457+
- Migrate to new geoip API
458+
https://github.com/fedora-infra/mirrormanager2/pull/253
459+
- Use InputRequired() instead of Required()
460+
https://github.com/fedora-infra/mirrormanager2/pull/256
461+
- Enable MirrorManager2 to be built using Python 3 for Fedora
462+
https://github.com/fedora-infra/mirrormanager2/pull/260
463+
- Fix tests with python3
464+
https://github.com/fedora-infra/mirrormanager2/pull/261
465+
- Toggle private
466+
https://github.com/fedora-infra/mirrormanager2/pull/257
467+
443468
* Sun Mar 04 2018 Adrian Reber <[email protected]> - 0.8.4-1
444469
- Update to 0.8.4
445470
- Sync with Fedora's specfile

0 commit comments

Comments
 (0)