Hello community,
here is the log from the commit of package python-distroinfo for
openSUSE:Factory checked in at 2020-05-28 09:20:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-distroinfo (Old)
and /work/SRC/openSUSE:Factory/.python-distroinfo.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-distroinfo"
Thu May 28 09:20:01 2020 rev:3 rq:809725 version:0.3.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-distroinfo/python-distroinfo.changes
2019-03-22 15:08:27.173438179 +0100
+++
/work/SRC/openSUSE:Factory/.python-distroinfo.new.3606/python-distroinfo.changes
2020-05-28 09:20:02.281287800 +0200
@@ -1,0 +2,10 @@
+Thu May 28 03:28:14 UTC 2020 - Steve Kowalik <[email protected]>
+
+- Update to 0.3.2:
+ * Change README to rst
+ * Switching Fedora runc nodeset to pod
+ * Fix tags\_diff output with python3
+ * Import ABC from collections.abc instead of collections
+ * Add license header and fix integration test
+
+-------------------------------------------------------------------
Old:
----
distroinfo-0.3.0.tar.gz
New:
----
distroinfo-0.3.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-distroinfo.spec ++++++
--- /var/tmp/diff_new_pack.aaHhNF/_old 2020-05-28 09:20:02.757288672 +0200
+++ /var/tmp/diff_new_pack.aaHhNF/_new 2020-05-28 09:20:02.757288672 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-distroinfo
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-distroinfo
-Version: 0.3.0
+Version: 0.3.2
Release: 0
Summary: Parsing, validation and query functions for packaging metadata
License: Apache-2.0
@@ -61,7 +61,7 @@
%python_exec -m pytest
%files %{python_files}
-%doc AUTHORS ChangeLog README.md
+%doc AUTHORS ChangeLog README.rst
%license LICENSE
%{python_sitelib}/*
++++++ distroinfo-0.3.0.tar.gz -> distroinfo-0.3.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/distroinfo-0.3.0/.zuul.yaml
new/distroinfo-0.3.2/.zuul.yaml
--- old/distroinfo-0.3.0/.zuul.yaml 2019-02-25 14:43:41.000000000 +0100
+++ new/distroinfo-0.3.2/.zuul.yaml 2020-04-02 18:26:42.000000000 +0200
@@ -15,7 +15,7 @@
name: distroinfo-base-py3
parent: distroinfo-base
abstract: true
- nodeset: fedora-latest-runc
+ nodeset: fedora-latest-pod
- job:
name: distroinfo-py2-centos
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/distroinfo-0.3.0/AUTHORS new/distroinfo-0.3.2/AUTHORS
--- old/distroinfo-0.3.0/AUTHORS 2019-02-25 14:44:01.000000000 +0100
+++ new/distroinfo-0.3.2/AUTHORS 2020-04-02 18:27:19.000000000 +0200
@@ -1,6 +1,9 @@
Jakub Ružička <[email protected]>
Javier Pena <[email protected]>
+Karthikeyan Singaravelan <[email protected]>
Software Factory Administrator <[email protected]>
Tristan Cacqueray <[email protected]>
Zuul CI <[email protected]>
admin <[email protected]>
+danpawlik <[email protected]>
+yatinkarel <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/distroinfo-0.3.0/ChangeLog
new/distroinfo-0.3.2/ChangeLog
--- old/distroinfo-0.3.0/ChangeLog 2019-02-25 14:44:01.000000000 +0100
+++ new/distroinfo-0.3.2/ChangeLog 2020-04-02 18:27:19.000000000 +0200
@@ -1,6 +1,19 @@
CHANGES
=======
+0.3.2
+-----
+
+* Change README to rst
+
+0.3.1
+-----
+
+* Switching Fedora runc nodeset to pod
+* Fix tags\_diff output with python3
+* Import ABC from collections.abc instead of collections
+* Add license header and fix integration test
+
0.3.0
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/distroinfo-0.3.0/PKG-INFO
new/distroinfo-0.3.2/PKG-INFO
--- old/distroinfo-0.3.0/PKG-INFO 2019-02-25 14:44:01.000000000 +0100
+++ new/distroinfo-0.3.2/PKG-INFO 2020-04-02 18:27:19.000000000 +0200
@@ -1,64 +1,73 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
Name: distroinfo
-Version: 0.3.0
+Version: 0.3.2
Summary: python module for parsing, validating and querying
distribution/packaging metadata stored in human readable and reviewable
text/YAML files
Home-page: https://github.com/softwarefactory-project/distroinfo
Author: Jakub Ruzicka
Author-email: [email protected]
License: Apache Software License
-Description: # distroinfo
+Description: distroinfo
+ ==========
- `distroinfo` is a python module for parsing, validating and querying
+ ``distroinfo`` is a python module for parsing, validating and querying
distribution/packaging metadata stored in human readable and reviewable
text/YAML files.
This is a proper generic (re)implementation of
- [rdoinfo](https://github.com/redhat-openstack/rdoinfo) parser which
proved
- well suited for the task of interfacing with distribution metadata in
a human
- friendly way. If you consider code reviews human friendly, that is.
+ `rdoinfo <https://github.com/redhat-openstack/rdoinfo>`__ parser which
+ proved well suited for the task of interfacing with distribution
+ metadata in a human friendly way. If you consider code reviews human
+ friendly, that is.
- `distroinfo` is a part of
- [Software Factory project](https://softwarefactory-project.io/docs/)
+ ``distroinfo`` is a part of `Software Factory
+ project <https://softwarefactory-project.io/docs/>`__
+ STATUS
+ ------
- ## STATUS
+ ``distroinfo`` is available from Fedora/EPEL repos and is **BEING
+ INTEGRATED**.
- `distroinfo` is available from Fedora/EPEL repos and is **BEING
INTEGRATED**.
+ `rdopkg <https://github.com/softwarefactory-project/rdopkg>`__ and
+ `DLRN <https://github.com/softwarefactory-project/DLRN>`__ are first
+ adopters.
- [rdopkg](https://github.com/softwarefactory-project/rdopkg) and
- [DLRN](https://github.com/softwarefactory-project/DLRN) are first
adopters.
-
- `rdoinfo` compatibility is ensured through offline and online tests.
+ ``rdoinfo`` compatibility is ensured through offline and online tests.
CI is enabled.
- See [distroinfo
reviews](https://softwarefactory-project.io/dashboard/project_distroinfo).
+ See `distroinfo
+ reviews
<https://softwarefactory-project.io/dashboard/project_distroinfo>`__.
Use github
- [Issues](https://github.com/softwarefactory-project/distroinfo/issues)
+ `Issues
<https://github.com/softwarefactory-project/distroinfo/issues>`__
to make requests and report bugs.
- Poke `jruzicka` on `#softwarefactory` or `#rdo` Freenode IRC for more
- information.
-
+ Poke ``jruzicka`` on ``#softwarefactory`` or ``#rdo`` Freenode IRC for
+ more information.
- ## Installation
+ Installation
+ ------------
+ from source
+ ~~~~~~~~~~~
- ### from source
+ If you want to hack ``distroinfo`` or just have the latest code without
+ waiting for next release, you can use the git repo directly:
- If you want to hack `distroinfo` or just have the latest code without
waiting
- for next release, you can use the git repo directly:
+ ::
git clone https://github.com/softwarefactory-project/distroinfo
cd distroinfo
python setup.py develop --user
- You may set the preference over `distroinfo` RPM by correctly
positioning
- `~/.local/bin/distroinfo` in your `$PATH`.
+ You may set the preference over ``distroinfo`` RPM by correctly
+ positioning ``~/.local/bin/distroinfo`` in your ``$PATH``.
Or you can use virtualenv to avoid conflicts with RPM:
+ ::
+
git clone https://github.com/softwarefactory-project/distroinfo
cd distroinfo
virtualenv --system-site-packages ~/distroinfo-venv
@@ -69,43 +78,56 @@
distroinfo-dev --version
Required python modules are listed in
- [requirements.txt](requirements.txt).
+ `requirements.txt <requirements.txt>`__.
+ from Fedora/EPEL repos (default)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ### from Fedora/EPEL repos (default)
+ ``distroinfo`` is available on **Fedora 27** and newer:
- `distroinfo` is available on **Fedora 27** and newer:
+ ::
dnf install python2-distroinfo
including Python 3 version:
+ ::
+
dnf install python3-distroinfo
- On CentOS/RHEL 7, `distroinfo` is available from
- [EPEL](https://fedoraproject.org/wiki/EPEL).
+ On CentOS/RHEL 7, ``distroinfo`` is available from
+ `EPEL <https://fedoraproject.org/wiki/EPEL>`__.
On **CentOS 7**:
+ ::
+
yum install epel-release
yum install python2-distroinfo
On **RHEL 7**:
+ ::
+
yum install
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install python2-distroinfo
+ from PyPI
+ ~~~~~~~~~
- ### from PyPI
+ For your convenience, ``distroinfo`` is available from the Cheese Shop:
- For your convenience, `distroinfo` is available from the Cheese Shop:
+ ::
pip install distroinfo
+ Usage
+ -----
- ## Usage
+ You can **fetch info files from an URL** by specifying ``remote_info``
+ base URL:
- You can **fetch info files from an URL** by specifying `remote_info`
base URL:
+ ::
from distroinfo.info import DistroInfo
@@ -117,7 +139,9 @@
info = di.get_info()
Or you can **fetch info files from a remote git repository** using
- `remote_git_info`:
+ ``remote_git_info``:
+
+ ::
from distroinfo.info import DistroInfo
@@ -129,7 +153,9 @@
info = di.get_info()
Or you can **fetch info files from a local directory** using
- `local_info`:
+ ``local_info``:
+
+ ::
from distroinfo.info import DistroInfo
@@ -139,9 +165,12 @@
local_info=INFO_PATH)
info = di.get_info()
- For remote fetchers info files/repos are cached in
`~/.distroinfo/cache`.
+ For remote fetchers info files/repos are cached in
+ ``~/.distroinfo/cache``.
+
+ You can navigate info structure yourself or use ``query`` module:
- You can navigate info structure yourself or use `query` module:
+ ::
from distroinfo import query
@@ -151,44 +180,51 @@
# find a package by human reference (smart search)
keystone = query.find_package(info, 'keystone')
- Alternatively, you can get info with `packages` and `releases` as
dictionaries
- indexed by project/release name for easier access using
`info_dicts=True`:
+ Alternatively, you can get info with ``packages`` and ``releases`` as
+ dictionaries indexed by project/release name for easier access using
+ ``info_dicts=True``:
+
+ ::
info = di.get_info(info_dicts=True)
nova = info['packages']['nova']
Until proper documentation is in place, please refer to:
- * [rdoinfo](https://github.com/redhat-openstack/rdoinfo) for prime
example of
- `distroinfo` format usage
- * [rdoinfo integration
tests](https://github.com/softwarefactory-project/distroinfo/blob/master/tests/integration/test_rdoinfo_online.py)
- for code examples
- *
[dlrn.drivers.rdoinfo](https://github.com/softwarefactory-project/DLRN/blob/master/dlrn/drivers/rdoinfo.py)
- for a real world code that uses tags and
`remote_git_info`/`local_info`
- *
[distroinfo.info](https://github.com/softwarefactory-project/distroinfo/blob/master/distroinfo/info.py)
- to RTFS
+ - `rdoinfo <https://github.com/redhat-openstack/rdoinfo>`__ for prime
+ example of ``distroinfo`` format usage
+ - `rdoinfo integration
+ tests
<https://github.com/softwarefactory-project/distroinfo/blob/master/tests/integration/test_rdoinfo_online.py>`__
+ for code examples
+ - `dlrn.drivers.rdoinfo
<https://github.com/softwarefactory-project/DLRN/blob/master/dlrn/drivers/rdoinfo.py>`__
+ for a real world code that uses tags and
+ ``remote_git_info``/``local_info``
+ - `distroinfo.info
<https://github.com/softwarefactory-project/distroinfo/blob/master/distroinfo/info.py>`__
+ to RTFS
+ Command Line Interface
+ ----------------------
- ## Command Line Interface
-
- A simple CLI is provided in `scripts/di.py` which can be used to test
basic
- `distroinfo` functionality, profile, dump parsed data, etc.
+ A simple CLI is provided in ``scripts/di.py`` which can be used to test
+ basic ``distroinfo`` functionality, profile, dump parsed data, etc.
An example of dumping parsed rdoinfo into both YAML and JSON files:
+ ::
+
$> ./scripts/di.py dump -y rdoinfo.yaml -j rdoinfo.json -f git \
'https://github.com/redhat-openstack/rdoinfo' rdo-full.yml
Dumping YAML to: rdoinfo.yaml
Dumping JSON to: rdoinfo.json
- Additional `docopt` module is required to run the CLI.
-
+ Additional ``docopt`` module is required to run the CLI.
- ## Bugs
+ Bugs
+ ----
- Please use the
- [github
Issues](https://github.com/softwarefactory-project/distroinfo/issues)
+ Please use the `github
+ Issues
<https://github.com/softwarefactory-project/distroinfo/issues>`__
to report bugs.
@@ -204,3 +240,4 @@
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: POSIX :: Linux
+Description-Content-Type: text/x-rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/distroinfo-0.3.0/README.md
new/distroinfo-0.3.2/README.md
--- old/distroinfo-0.3.0/README.md 2019-02-25 14:43:41.000000000 +0100
+++ new/distroinfo-0.3.2/README.md 1970-01-01 01:00:00.000000000 +0100
@@ -1,184 +0,0 @@
-# distroinfo
-
-`distroinfo` is a python module for parsing, validating and querying
-distribution/packaging metadata stored in human readable and reviewable
-text/YAML files.
-
-This is a proper generic (re)implementation of
-[rdoinfo](https://github.com/redhat-openstack/rdoinfo) parser which proved
-well suited for the task of interfacing with distribution metadata in a human
-friendly way. If you consider code reviews human friendly, that is.
-
-`distroinfo` is a part of
-[Software Factory project](https://softwarefactory-project.io/docs/)
-
-
-## STATUS
-
-`distroinfo` is available from Fedora/EPEL repos and is **BEING INTEGRATED**.
-
-[rdopkg](https://github.com/softwarefactory-project/rdopkg) and
-[DLRN](https://github.com/softwarefactory-project/DLRN) are first adopters.
-
-`rdoinfo` compatibility is ensured through offline and online tests.
-
-CI is enabled.
-
-See [distroinfo
reviews](https://softwarefactory-project.io/dashboard/project_distroinfo).
-
-Use github
-[Issues](https://github.com/softwarefactory-project/distroinfo/issues)
-to make requests and report bugs.
-
-Poke `jruzicka` on `#softwarefactory` or `#rdo` Freenode IRC for more
-information.
-
-
-## Installation
-
-
-### from source
-
-If you want to hack `distroinfo` or just have the latest code without waiting
-for next release, you can use the git repo directly:
-
- git clone https://github.com/softwarefactory-project/distroinfo
- cd distroinfo
- python setup.py develop --user
-
-You may set the preference over `distroinfo` RPM by correctly positioning
-`~/.local/bin/distroinfo` in your `$PATH`.
-
-Or you can use virtualenv to avoid conflicts with RPM:
-
- git clone https://github.com/softwarefactory-project/distroinfo
- cd distroinfo
- virtualenv --system-site-packages ~/distroinfo-venv
- source ~/distroinfo-venv/bin/activate
- python setup.py develop
- ln `which distroinfo` ~/bin/distroinfo-dev
-
- distroinfo-dev --version
-
-Required python modules are listed in
-[requirements.txt](requirements.txt).
-
-
-### from Fedora/EPEL repos (default)
-
-`distroinfo` is available on **Fedora 27** and newer:
-
- dnf install python2-distroinfo
-
-including Python 3 version:
-
- dnf install python3-distroinfo
-
-On CentOS/RHEL 7, `distroinfo` is available from
-[EPEL](https://fedoraproject.org/wiki/EPEL).
-
-On **CentOS 7**:
-
- yum install epel-release
- yum install python2-distroinfo
-
-On **RHEL 7**:
-
- yum install
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
- yum install python2-distroinfo
-
-
-### from PyPI
-
-For your convenience, `distroinfo` is available from the Cheese Shop:
-
- pip install distroinfo
-
-
-## Usage
-
-You can **fetch info files from an URL** by specifying `remote_info` base URL:
-
- from distroinfo.info import DistroInfo
-
- RDOINFO_RAW_URL = \
- 'https://raw.githubusercontent.com/redhat-openstack/rdoinfo/master/'
-
- di = DistroInfo('rdo-full.yml',
- remote_info=RDOINFO_RAW_URL)
- info = di.get_info()
-
-Or you can **fetch info files from a remote git repository** using
-`remote_git_info`:
-
- from distroinfo.info import DistroInfo
-
- RDOINFO_GIT_URL = \
- 'https://github.com/redhat-openstack/rdoinfo'
-
- di = DistroInfo('rdo-full.yml',
- remote_git_info=RDOINFO_GIT_URL)
- info = di.get_info()
-
-Or you can **fetch info files from a local directory** using
-`local_info`:
-
- from distroinfo.info import DistroInfo
-
- INFO_PATH = '/path/to/info'
-
- di = DistroInfo('rdo-full.yml',
- local_info=INFO_PATH)
- info = di.get_info()
-
-For remote fetchers info files/repos are cached in `~/.distroinfo/cache`.
-
-You can navigate info structure yourself or use `query` module:
-
- from distroinfo import query
-
- # get a package info by strict package name
- nova = query.get_package(info, 'openstack-nova')
-
- # find a package by human reference (smart search)
- keystone = query.find_package(info, 'keystone')
-
-Alternatively, you can get info with `packages` and `releases` as dictionaries
-indexed by project/release name for easier access using `info_dicts=True`:
-
- info = di.get_info(info_dicts=True)
- nova = info['packages']['nova']
-
-Until proper documentation is in place, please refer to:
-
-* [rdoinfo](https://github.com/redhat-openstack/rdoinfo) for prime example of
- `distroinfo` format usage
-* [rdoinfo integration
tests](https://github.com/softwarefactory-project/distroinfo/blob/master/tests/integration/test_rdoinfo_online.py)
- for code examples
-*
[dlrn.drivers.rdoinfo](https://github.com/softwarefactory-project/DLRN/blob/master/dlrn/drivers/rdoinfo.py)
- for a real world code that uses tags and `remote_git_info`/`local_info`
-*
[distroinfo.info](https://github.com/softwarefactory-project/distroinfo/blob/master/distroinfo/info.py)
- to RTFS
-
-
-## Command Line Interface
-
-A simple CLI is provided in `scripts/di.py` which can be used to test basic
-`distroinfo` functionality, profile, dump parsed data, etc.
-
-An example of dumping parsed rdoinfo into both YAML and JSON files:
-
- $> ./scripts/di.py dump -y rdoinfo.yaml -j rdoinfo.json -f git \
- 'https://github.com/redhat-openstack/rdoinfo' rdo-full.yml
-
- Dumping YAML to: rdoinfo.yaml
- Dumping JSON to: rdoinfo.json
-
-Additional `docopt` module is required to run the CLI.
-
-
-## Bugs
-
-Please use the
-[github Issues](https://github.com/softwarefactory-project/distroinfo/issues)
-to report bugs.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/distroinfo-0.3.0/README.rst
new/distroinfo-0.3.2/README.rst
--- old/distroinfo-0.3.0/README.rst 1970-01-01 01:00:00.000000000 +0100
+++ new/distroinfo-0.3.2/README.rst 2020-04-02 18:26:42.000000000 +0200
@@ -0,0 +1,220 @@
+distroinfo
+==========
+
+``distroinfo`` is a python module for parsing, validating and querying
+distribution/packaging metadata stored in human readable and reviewable
+text/YAML files.
+
+This is a proper generic (re)implementation of
+`rdoinfo <https://github.com/redhat-openstack/rdoinfo>`__ parser which
+proved well suited for the task of interfacing with distribution
+metadata in a human friendly way. If you consider code reviews human
+friendly, that is.
+
+``distroinfo`` is a part of `Software Factory
+project <https://softwarefactory-project.io/docs/>`__
+
+STATUS
+------
+
+``distroinfo`` is available from Fedora/EPEL repos and is **BEING
+INTEGRATED**.
+
+`rdopkg <https://github.com/softwarefactory-project/rdopkg>`__ and
+`DLRN <https://github.com/softwarefactory-project/DLRN>`__ are first
+adopters.
+
+``rdoinfo`` compatibility is ensured through offline and online tests.
+
+CI is enabled.
+
+See `distroinfo
+reviews <https://softwarefactory-project.io/dashboard/project_distroinfo>`__.
+
+Use github
+`Issues <https://github.com/softwarefactory-project/distroinfo/issues>`__
+to make requests and report bugs.
+
+Poke ``jruzicka`` on ``#softwarefactory`` or ``#rdo`` Freenode IRC for
+more information.
+
+Installation
+------------
+
+from source
+~~~~~~~~~~~
+
+If you want to hack ``distroinfo`` or just have the latest code without
+waiting for next release, you can use the git repo directly:
+
+::
+
+ git clone https://github.com/softwarefactory-project/distroinfo
+ cd distroinfo
+ python setup.py develop --user
+
+You may set the preference over ``distroinfo`` RPM by correctly
+positioning ``~/.local/bin/distroinfo`` in your ``$PATH``.
+
+Or you can use virtualenv to avoid conflicts with RPM:
+
+::
+
+ git clone https://github.com/softwarefactory-project/distroinfo
+ cd distroinfo
+ virtualenv --system-site-packages ~/distroinfo-venv
+ source ~/distroinfo-venv/bin/activate
+ python setup.py develop
+ ln `which distroinfo` ~/bin/distroinfo-dev
+
+ distroinfo-dev --version
+
+Required python modules are listed in
+`requirements.txt <requirements.txt>`__.
+
+from Fedora/EPEL repos (default)
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+``distroinfo`` is available on **Fedora 27** and newer:
+
+::
+
+ dnf install python2-distroinfo
+
+including Python 3 version:
+
+::
+
+ dnf install python3-distroinfo
+
+On CentOS/RHEL 7, ``distroinfo`` is available from
+`EPEL <https://fedoraproject.org/wiki/EPEL>`__.
+
+On **CentOS 7**:
+
+::
+
+ yum install epel-release
+ yum install python2-distroinfo
+
+On **RHEL 7**:
+
+::
+
+ yum install
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
+ yum install python2-distroinfo
+
+from PyPI
+~~~~~~~~~
+
+For your convenience, ``distroinfo`` is available from the Cheese Shop:
+
+::
+
+ pip install distroinfo
+
+Usage
+-----
+
+You can **fetch info files from an URL** by specifying ``remote_info``
+base URL:
+
+::
+
+ from distroinfo.info import DistroInfo
+
+ RDOINFO_RAW_URL = \
+ 'https://raw.githubusercontent.com/redhat-openstack/rdoinfo/master/'
+
+ di = DistroInfo('rdo-full.yml',
+ remote_info=RDOINFO_RAW_URL)
+ info = di.get_info()
+
+Or you can **fetch info files from a remote git repository** using
+``remote_git_info``:
+
+::
+
+ from distroinfo.info import DistroInfo
+
+ RDOINFO_GIT_URL = \
+ 'https://github.com/redhat-openstack/rdoinfo'
+
+ di = DistroInfo('rdo-full.yml',
+ remote_git_info=RDOINFO_GIT_URL)
+ info = di.get_info()
+
+Or you can **fetch info files from a local directory** using
+``local_info``:
+
+::
+
+ from distroinfo.info import DistroInfo
+
+ INFO_PATH = '/path/to/info'
+
+ di = DistroInfo('rdo-full.yml',
+ local_info=INFO_PATH)
+ info = di.get_info()
+
+For remote fetchers info files/repos are cached in
+``~/.distroinfo/cache``.
+
+You can navigate info structure yourself or use ``query`` module:
+
+::
+
+ from distroinfo import query
+
+ # get a package info by strict package name
+ nova = query.get_package(info, 'openstack-nova')
+
+ # find a package by human reference (smart search)
+ keystone = query.find_package(info, 'keystone')
+
+Alternatively, you can get info with ``packages`` and ``releases`` as
+dictionaries indexed by project/release name for easier access using
+``info_dicts=True``:
+
+::
+
+ info = di.get_info(info_dicts=True)
+ nova = info['packages']['nova']
+
+Until proper documentation is in place, please refer to:
+
+- `rdoinfo <https://github.com/redhat-openstack/rdoinfo>`__ for prime
+ example of ``distroinfo`` format usage
+- `rdoinfo integration
+ tests
<https://github.com/softwarefactory-project/distroinfo/blob/master/tests/integration/test_rdoinfo_online.py>`__
+ for code examples
+- `dlrn.drivers.rdoinfo
<https://github.com/softwarefactory-project/DLRN/blob/master/dlrn/drivers/rdoinfo.py>`__
+ for a real world code that uses tags and
+ ``remote_git_info``/``local_info``
+- `distroinfo.info
<https://github.com/softwarefactory-project/distroinfo/blob/master/distroinfo/info.py>`__
+ to RTFS
+
+Command Line Interface
+----------------------
+
+A simple CLI is provided in ``scripts/di.py`` which can be used to test
+basic ``distroinfo`` functionality, profile, dump parsed data, etc.
+
+An example of dumping parsed rdoinfo into both YAML and JSON files:
+
+::
+
+ $> ./scripts/di.py dump -y rdoinfo.yaml -j rdoinfo.json -f git \
+ 'https://github.com/redhat-openstack/rdoinfo' rdo-full.yml
+
+ Dumping YAML to: rdoinfo.yaml
+ Dumping JSON to: rdoinfo.json
+
+Additional ``docopt`` module is required to run the CLI.
+
+Bugs
+----
+
+Please use the `github
+Issues <https://github.com/softwarefactory-project/distroinfo/issues>`__
+to report bugs.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/distroinfo-0.3.0/distroinfo/exception.py
new/distroinfo-0.3.2/distroinfo/exception.py
--- old/distroinfo-0.3.0/distroinfo/exception.py 2019-02-25
14:43:41.000000000 +0100
+++ new/distroinfo-0.3.2/distroinfo/exception.py 2020-04-02
18:26:42.000000000 +0200
@@ -1,3 +1,18 @@
+# Copyright (c) 2019 Red Hat
+#
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
+
class DistroInfoException(Exception):
msg_fmt = "An unknown error occurred"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/distroinfo-0.3.0/distroinfo/fetch.py
new/distroinfo-0.3.2/distroinfo/fetch.py
--- old/distroinfo-0.3.0/distroinfo/fetch.py 2019-02-25 14:43:41.000000000
+0100
+++ new/distroinfo-0.3.2/distroinfo/fetch.py 2020-04-02 18:26:42.000000000
+0200
@@ -1,3 +1,17 @@
+# Copyright (c) 2019 Red Hat
+#
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
import hashlib
import logging
import os
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/distroinfo-0.3.0/distroinfo/helpers.py
new/distroinfo-0.3.2/distroinfo/helpers.py
--- old/distroinfo-0.3.0/distroinfo/helpers.py 2019-02-25 14:43:41.000000000
+0100
+++ new/distroinfo-0.3.2/distroinfo/helpers.py 2020-04-02 18:26:42.000000000
+0200
@@ -1,3 +1,17 @@
+# Copyright (c) 2019 Red Hat
+#
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
import contextlib
import os
import subprocess
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/distroinfo-0.3.0/distroinfo/info.py
new/distroinfo-0.3.2/distroinfo/info.py
--- old/distroinfo-0.3.0/distroinfo/info.py 2019-02-25 14:43:41.000000000
+0100
+++ new/distroinfo-0.3.2/distroinfo/info.py 2020-04-02 18:26:42.000000000
+0200
@@ -1,3 +1,17 @@
+# Copyright (c) 2019 Red Hat
+#
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
import six
from distroinfo import exception
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/distroinfo-0.3.0/distroinfo/parse.py
new/distroinfo-0.3.2/distroinfo/parse.py
--- old/distroinfo-0.3.0/distroinfo/parse.py 2019-02-25 14:43:41.000000000
+0100
+++ new/distroinfo-0.3.2/distroinfo/parse.py 2020-04-02 18:26:42.000000000
+0200
@@ -1,7 +1,26 @@
+# Copyright (c) 2019 Red Hat
+#
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
import collections
import copy
import six
+try:
+ from collections.abc import Iterable
+except ImportError:
+ from collections import Iterable
+
from distroinfo import exception
@@ -34,7 +53,7 @@
releases = info['releases']
except KeyError:
raise exception.MissingRequiredSection(section='releases')
- if not isinstance(releases, collections.Iterable):
+ if not isinstance(releases, Iterable):
raise exception.InvalidInfoFormat(
msg="'releases' section must be iterable")
if isinstance(releases, dict):
@@ -134,7 +153,7 @@
pkgs = info['packages']
except KeyError:
raise exception.MissingRequiredSection(section='packages')
- if not isinstance(pkgs, collections.Iterable):
+ if not isinstance(pkgs, Iterable):
raise exception.InvalidInfoFormat(
msg="'packages' section must be iterable")
if isinstance(pkgs, dict):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/distroinfo-0.3.0/distroinfo/query.py
new/distroinfo-0.3.2/distroinfo/query.py
--- old/distroinfo-0.3.0/distroinfo/query.py 2019-02-25 14:43:41.000000000
+0100
+++ new/distroinfo-0.3.2/distroinfo/query.py 2020-04-02 18:26:42.000000000
+0200
@@ -1,9 +1,27 @@
+# Copyright (c) 2019 Red Hat
+#
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
from __future__ import print_function
-import collections
from functools import partial
import re
import six
+try:
+ from collections.abc import Iterable
+except ImportError:
+ from collections import Iterable
+
from distroinfo import exception
@@ -63,7 +81,7 @@
if isinstance(val, six.string_types):
if not re.search(rex, val):
return False
- elif isinstance(val, collections.Iterable):
+ elif isinstance(val, Iterable):
# collection matches if any item of collection matches
found = False
for e in val:
@@ -129,7 +147,7 @@
updated_tags.append(tag)
else:
if pkg2.get(tagsname):
- updated_tags = pkg2.get(tagsname).keys()
+ updated_tags = list(pkg2.get(tagsname).keys())
if updated_tags:
diff.append((pkg2['name'], updated_tags))
return diff
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/distroinfo-0.3.0/distroinfo/repoman.py
new/distroinfo-0.3.2/distroinfo/repoman.py
--- old/distroinfo-0.3.0/distroinfo/repoman.py 2019-02-25 14:43:41.000000000
+0100
+++ new/distroinfo-0.3.2/distroinfo/repoman.py 2020-04-02 18:26:42.000000000
+0200
@@ -1,3 +1,17 @@
+# Copyright (c) 2019 Red Hat
+#
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
import logging
import os
import re
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/distroinfo-0.3.0/distroinfo.egg-info/PKG-INFO
new/distroinfo-0.3.2/distroinfo.egg-info/PKG-INFO
--- old/distroinfo-0.3.0/distroinfo.egg-info/PKG-INFO 2019-02-25
14:44:01.000000000 +0100
+++ new/distroinfo-0.3.2/distroinfo.egg-info/PKG-INFO 2020-04-02
18:27:19.000000000 +0200
@@ -1,64 +1,73 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
Name: distroinfo
-Version: 0.3.0
+Version: 0.3.2
Summary: python module for parsing, validating and querying
distribution/packaging metadata stored in human readable and reviewable
text/YAML files
Home-page: https://github.com/softwarefactory-project/distroinfo
Author: Jakub Ruzicka
Author-email: [email protected]
License: Apache Software License
-Description: # distroinfo
+Description: distroinfo
+ ==========
- `distroinfo` is a python module for parsing, validating and querying
+ ``distroinfo`` is a python module for parsing, validating and querying
distribution/packaging metadata stored in human readable and reviewable
text/YAML files.
This is a proper generic (re)implementation of
- [rdoinfo](https://github.com/redhat-openstack/rdoinfo) parser which
proved
- well suited for the task of interfacing with distribution metadata in
a human
- friendly way. If you consider code reviews human friendly, that is.
+ `rdoinfo <https://github.com/redhat-openstack/rdoinfo>`__ parser which
+ proved well suited for the task of interfacing with distribution
+ metadata in a human friendly way. If you consider code reviews human
+ friendly, that is.
- `distroinfo` is a part of
- [Software Factory project](https://softwarefactory-project.io/docs/)
+ ``distroinfo`` is a part of `Software Factory
+ project <https://softwarefactory-project.io/docs/>`__
+ STATUS
+ ------
- ## STATUS
+ ``distroinfo`` is available from Fedora/EPEL repos and is **BEING
+ INTEGRATED**.
- `distroinfo` is available from Fedora/EPEL repos and is **BEING
INTEGRATED**.
+ `rdopkg <https://github.com/softwarefactory-project/rdopkg>`__ and
+ `DLRN <https://github.com/softwarefactory-project/DLRN>`__ are first
+ adopters.
- [rdopkg](https://github.com/softwarefactory-project/rdopkg) and
- [DLRN](https://github.com/softwarefactory-project/DLRN) are first
adopters.
-
- `rdoinfo` compatibility is ensured through offline and online tests.
+ ``rdoinfo`` compatibility is ensured through offline and online tests.
CI is enabled.
- See [distroinfo
reviews](https://softwarefactory-project.io/dashboard/project_distroinfo).
+ See `distroinfo
+ reviews
<https://softwarefactory-project.io/dashboard/project_distroinfo>`__.
Use github
- [Issues](https://github.com/softwarefactory-project/distroinfo/issues)
+ `Issues
<https://github.com/softwarefactory-project/distroinfo/issues>`__
to make requests and report bugs.
- Poke `jruzicka` on `#softwarefactory` or `#rdo` Freenode IRC for more
- information.
-
+ Poke ``jruzicka`` on ``#softwarefactory`` or ``#rdo`` Freenode IRC for
+ more information.
- ## Installation
+ Installation
+ ------------
+ from source
+ ~~~~~~~~~~~
- ### from source
+ If you want to hack ``distroinfo`` or just have the latest code without
+ waiting for next release, you can use the git repo directly:
- If you want to hack `distroinfo` or just have the latest code without
waiting
- for next release, you can use the git repo directly:
+ ::
git clone https://github.com/softwarefactory-project/distroinfo
cd distroinfo
python setup.py develop --user
- You may set the preference over `distroinfo` RPM by correctly
positioning
- `~/.local/bin/distroinfo` in your `$PATH`.
+ You may set the preference over ``distroinfo`` RPM by correctly
+ positioning ``~/.local/bin/distroinfo`` in your ``$PATH``.
Or you can use virtualenv to avoid conflicts with RPM:
+ ::
+
git clone https://github.com/softwarefactory-project/distroinfo
cd distroinfo
virtualenv --system-site-packages ~/distroinfo-venv
@@ -69,43 +78,56 @@
distroinfo-dev --version
Required python modules are listed in
- [requirements.txt](requirements.txt).
+ `requirements.txt <requirements.txt>`__.
+ from Fedora/EPEL repos (default)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ### from Fedora/EPEL repos (default)
+ ``distroinfo`` is available on **Fedora 27** and newer:
- `distroinfo` is available on **Fedora 27** and newer:
+ ::
dnf install python2-distroinfo
including Python 3 version:
+ ::
+
dnf install python3-distroinfo
- On CentOS/RHEL 7, `distroinfo` is available from
- [EPEL](https://fedoraproject.org/wiki/EPEL).
+ On CentOS/RHEL 7, ``distroinfo`` is available from
+ `EPEL <https://fedoraproject.org/wiki/EPEL>`__.
On **CentOS 7**:
+ ::
+
yum install epel-release
yum install python2-distroinfo
On **RHEL 7**:
+ ::
+
yum install
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install python2-distroinfo
+ from PyPI
+ ~~~~~~~~~
- ### from PyPI
+ For your convenience, ``distroinfo`` is available from the Cheese Shop:
- For your convenience, `distroinfo` is available from the Cheese Shop:
+ ::
pip install distroinfo
+ Usage
+ -----
- ## Usage
+ You can **fetch info files from an URL** by specifying ``remote_info``
+ base URL:
- You can **fetch info files from an URL** by specifying `remote_info`
base URL:
+ ::
from distroinfo.info import DistroInfo
@@ -117,7 +139,9 @@
info = di.get_info()
Or you can **fetch info files from a remote git repository** using
- `remote_git_info`:
+ ``remote_git_info``:
+
+ ::
from distroinfo.info import DistroInfo
@@ -129,7 +153,9 @@
info = di.get_info()
Or you can **fetch info files from a local directory** using
- `local_info`:
+ ``local_info``:
+
+ ::
from distroinfo.info import DistroInfo
@@ -139,9 +165,12 @@
local_info=INFO_PATH)
info = di.get_info()
- For remote fetchers info files/repos are cached in
`~/.distroinfo/cache`.
+ For remote fetchers info files/repos are cached in
+ ``~/.distroinfo/cache``.
+
+ You can navigate info structure yourself or use ``query`` module:
- You can navigate info structure yourself or use `query` module:
+ ::
from distroinfo import query
@@ -151,44 +180,51 @@
# find a package by human reference (smart search)
keystone = query.find_package(info, 'keystone')
- Alternatively, you can get info with `packages` and `releases` as
dictionaries
- indexed by project/release name for easier access using
`info_dicts=True`:
+ Alternatively, you can get info with ``packages`` and ``releases`` as
+ dictionaries indexed by project/release name for easier access using
+ ``info_dicts=True``:
+
+ ::
info = di.get_info(info_dicts=True)
nova = info['packages']['nova']
Until proper documentation is in place, please refer to:
- * [rdoinfo](https://github.com/redhat-openstack/rdoinfo) for prime
example of
- `distroinfo` format usage
- * [rdoinfo integration
tests](https://github.com/softwarefactory-project/distroinfo/blob/master/tests/integration/test_rdoinfo_online.py)
- for code examples
- *
[dlrn.drivers.rdoinfo](https://github.com/softwarefactory-project/DLRN/blob/master/dlrn/drivers/rdoinfo.py)
- for a real world code that uses tags and
`remote_git_info`/`local_info`
- *
[distroinfo.info](https://github.com/softwarefactory-project/distroinfo/blob/master/distroinfo/info.py)
- to RTFS
+ - `rdoinfo <https://github.com/redhat-openstack/rdoinfo>`__ for prime
+ example of ``distroinfo`` format usage
+ - `rdoinfo integration
+ tests
<https://github.com/softwarefactory-project/distroinfo/blob/master/tests/integration/test_rdoinfo_online.py>`__
+ for code examples
+ - `dlrn.drivers.rdoinfo
<https://github.com/softwarefactory-project/DLRN/blob/master/dlrn/drivers/rdoinfo.py>`__
+ for a real world code that uses tags and
+ ``remote_git_info``/``local_info``
+ - `distroinfo.info
<https://github.com/softwarefactory-project/distroinfo/blob/master/distroinfo/info.py>`__
+ to RTFS
+ Command Line Interface
+ ----------------------
- ## Command Line Interface
-
- A simple CLI is provided in `scripts/di.py` which can be used to test
basic
- `distroinfo` functionality, profile, dump parsed data, etc.
+ A simple CLI is provided in ``scripts/di.py`` which can be used to test
+ basic ``distroinfo`` functionality, profile, dump parsed data, etc.
An example of dumping parsed rdoinfo into both YAML and JSON files:
+ ::
+
$> ./scripts/di.py dump -y rdoinfo.yaml -j rdoinfo.json -f git \
'https://github.com/redhat-openstack/rdoinfo' rdo-full.yml
Dumping YAML to: rdoinfo.yaml
Dumping JSON to: rdoinfo.json
- Additional `docopt` module is required to run the CLI.
-
+ Additional ``docopt`` module is required to run the CLI.
- ## Bugs
+ Bugs
+ ----
- Please use the
- [github
Issues](https://github.com/softwarefactory-project/distroinfo/issues)
+ Please use the `github
+ Issues
<https://github.com/softwarefactory-project/distroinfo/issues>`__
to report bugs.
@@ -204,3 +240,4 @@
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: POSIX :: Linux
+Description-Content-Type: text/x-rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/distroinfo-0.3.0/distroinfo.egg-info/SOURCES.txt
new/distroinfo-0.3.2/distroinfo.egg-info/SOURCES.txt
--- old/distroinfo-0.3.0/distroinfo.egg-info/SOURCES.txt 2019-02-25
14:44:01.000000000 +0100
+++ new/distroinfo-0.3.2/distroinfo.egg-info/SOURCES.txt 2020-04-02
18:27:19.000000000 +0200
@@ -3,7 +3,7 @@
ChangeLog
HACKING
LICENSE
-README.md
+README.rst
requirements.txt
setup.cfg
setup.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/distroinfo-0.3.0/distroinfo.egg-info/pbr.json
new/distroinfo-0.3.2/distroinfo.egg-info/pbr.json
--- old/distroinfo-0.3.0/distroinfo.egg-info/pbr.json 2019-02-25
14:44:01.000000000 +0100
+++ new/distroinfo-0.3.2/distroinfo.egg-info/pbr.json 2020-04-02
18:27:19.000000000 +0200
@@ -1 +1 @@
-{"git_version": "86a7419", "is_release": false}
\ No newline at end of file
+{"git_version": "58e9811", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/distroinfo-0.3.0/setup.cfg
new/distroinfo-0.3.2/setup.cfg
--- old/distroinfo-0.3.0/setup.cfg 2019-02-25 14:44:01.000000000 +0100
+++ new/distroinfo-0.3.2/setup.cfg 2020-04-02 18:27:19.000000000 +0200
@@ -1,7 +1,8 @@
[metadata]
name = distroinfo
summary = python module for parsing, validating and querying
distribution/packaging metadata stored in human readable and reviewable
text/YAML files
-description-file = README.md
+description-file = README.rst
+long_description_content_type = text/x-rst
license = Apache Software License
classifiers =
Programming Language :: Python
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/distroinfo-0.3.0/tests/assets/info/rdoinfo/rdo.yml
new/distroinfo-0.3.2/tests/assets/info/rdoinfo/rdo.yml
--- old/distroinfo-0.3.0/tests/assets/info/rdoinfo/rdo.yml 2019-02-25
14:43:41.000000000 +0100
+++ new/distroinfo-0.3.2/tests/assets/info/rdoinfo/rdo.yml 2020-04-02
18:26:42.000000000 +0200
@@ -123,7 +123,7 @@
# templates using rpmfactory's repositories
rpmfactory-core:
name: openstack-%(project)s
- upstream: git://git.openstack.org/openstack/%(project)s
+ upstream: https://git.openstack.org/openstack/%(project)s
# distgit: http://review.rdoproject.org/r/p/openstack/%(project)s-distgit.git
distgit: https://github.com/rdo-packages/%(project)s-distgit.git
patches: http://review.rdoproject.org/r/p/openstack/%(project)s.git
@@ -136,7 +136,7 @@
- [email protected]
rpmfactory-client:
name: python-%(project)s
- upstream: git://git.openstack.org/openstack/python-%(project)s
+ upstream: https://git.openstack.org/openstack/python-%(project)s
# distgit: http://review.rdoproject.org/r/p/openstack/%(project)s-distgit.git
distgit: https://github.com/rdo-packages/%(project)s-distgit.git
patches: http://review.rdoproject.org/r/p/openstack/%(project)s.git
@@ -149,7 +149,7 @@
- [email protected]
rpmfactory-lib:
name: python-%(project)s
- upstream: git://git.openstack.org/openstack/%(project)s
+ upstream: https://git.openstack.org/openstack/%(project)s
# distgit: http://review.rdoproject.org/r/p/openstack/%(project)s-distgit.git
distgit: https://github.com/rdo-packages/%(project)s-distgit.git
patches: http://review.rdoproject.org/r/p/openstack/%(project)s.git
@@ -163,7 +163,7 @@
- [email protected]
rpmfactory-puppet:
name: '%(project)s'
- upstream: git://git.openstack.org/openstack/%(project)s
+ upstream: https://git.openstack.org/openstack/%(project)s
# distgit: http://review.rdoproject.org/r/p/puppet/%(project)s-distgit.git
distgit: https://github.com/rdo-packages/%(project)s-distgit.git
patches: http://review.rdoproject.org/r/p/puppet/%(project)s.git
@@ -186,7 +186,7 @@
rpmfactory-tempest-plugin:
# Name and Project will be defined.
name: '%(project)s'
- upstream: git://git.openstack.org/openstack/%(project)s
+ upstream: https://git.openstack.org/openstack/%(project)s
# distgit: http://review.rdoproject.org/r/p/openstack/%(project)s-distgit.git
distgit: https://github.com/rdo-packages/%(project)s-distgit.git
patches: http://review.rdoproject.org/r/p/openstack/%(project)s.git
@@ -204,7 +204,7 @@
pike:
rpm-packaging:
name: '%(project)s'
- upstream: git://git.openstack.org/openstack/%(project)s.git
+ upstream: https://git.openstack.org/openstack/%(project)s.git
distgit: https://github.com/openstack/rpm-packaging
distgit-path: /openstack/%(project)s
master-distgit: https://github.com/openstack/rpm-packaging
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/distroinfo-0.3.0/tests/test_common.py
new/distroinfo-0.3.2/tests/test_common.py
--- old/distroinfo-0.3.0/tests/test_common.py 2019-02-25 14:43:41.000000000
+0100
+++ new/distroinfo-0.3.2/tests/test_common.py 2020-04-02 18:26:42.000000000
+0200
@@ -42,7 +42,7 @@
'project': 'nova',
'conf': 'rpmfactory-core',
'upstream':
- 'git://git.openstack.org/openstack/nova',
+ 'https://git.openstack.org/openstack/nova',
'patches':
'http://review.rdoproject.org/r/p/openstack/nova.git',
'distgit':