Branch: refs/heads/master
Home: https://github.com/openSUSE/osc
Commit: 21eca9e3f1e179c2fb34d52f3d24981469de3d4a
https://github.com/openSUSE/osc/commit/21eca9e3f1e179c2fb34d52f3d24981469de3...
Author: lethliel
Date: 2019-01-23 (Wed, 23 Jan 2019)
Changed paths:
M osc/util/archquery.py
Log Message:
-----------
[python3] switch ArchQuery to bytestrings
decode explicit (ascii)
Commit: e58076975766601ea727f96088e02dda040ddf8c
https://github.com/openSUSE/osc/commit/e58076975766601ea727f96088e02dda040dd...
Author: Marcus Huewe
Date: 2019-01-27 (Sun, 27 Jan 2019)
Changed paths:
M osc/util/archquery.py
Log Message:
-----------
Merge branch 'python3_archquery_module' of https://github.com/lethliel/osc
Initial port of the archquery module to python3 (ArchQuery.__init__,
ArchQuery.read, and ArchQuery.canonname are ported - the rest is missing).
Commit: 562374f0452fc0851389e13d3fcaf8645d595c4e
https://github.com/openSUSE/osc/commit/562374f0452fc0851389e13d3fcaf8645d595...
Author: Marcus Huewe
Date: 2019-01-27 (Sun, 27 Jan 2019)
Changed paths:
M osc/util/archquery.py
Log Message:
-----------
Simplify ArchQuery.read a bit
No functional changes - just to improve readability.
Commit: deee8ef6cb7bbf982dec8bc9dfec9d50572109f3
https://github.com/openSUSE/osc/commit/deee8ef6cb7bbf982dec8bc9dfec9d5057210...
Author: Marcus Huewe
Date: 2019-01-27 (Sun, 27 Jan 2019)
Changed paths:
M osc/util/archquery.py
Log Message:
-----------
Fix logic error in ArchQuery.vercmp
res is never None, because ArchQuery.rpmvercmp always returns -1, 0,
or 1.
Commit: 5c639db805cf981f01f106aa875efb7e72d39ee8
https://github.com/openSUSE/osc/commit/5c639db805cf981f01f106aa875efb7e72d39...
Author: Marcus Huewe
Date: 2019-01-27 (Sun, 27 Jan 2019)
Changed paths:
M osc/util/archquery.py
Log Message:
-----------
ArchQuery.epoch should never return None
Returning None breaks ArchQuery.vercmp. Returning b'0' is ok because
an epoch, if present, is always supposed to be an integer (at least
in a "valid" arch package (see scripts/libmakepkg/lint_pkgbuild/epoch.sh.in
in the pacman sources)). Hence, if we compare the epoch of a package,
which has no explicit epoch set, with the epoch of a package, which
has an explicit epoch set, we always have a <= relation.
Commit: a3720c5286f1995c9a1faff7c9981df203b13692
https://github.com/openSUSE/osc/commit/a3720c5286f1995c9a1faff7c9981df203b13...
Author: Marcus Huewe
Date: 2019-01-27 (Sun, 27 Jan 2019)
Changed paths:
M osc/util/archquery.py
Log Message:
-----------
Fix ArchQuery.rpmvercmp if one of its arguments is None
The None argument is always <= than the other argument. We need this
in case of a broken/pathological package where version() or release()
return None (see vercmp (which calls rpmvercmp)).
Commit: 2d0c974296884c63aac859ab65d6334ec3bfc38d
https://github.com/openSUSE/osc/commit/2d0c974296884c63aac859ab65d6334ec3bfc...
Author: Marcus Huewe
Date: 2019-01-27 (Sun, 27 Jan 2019)
Changed paths:
M osc/util/packagequery.py
Log Message:
-----------
Add cmp function to packagequery module
cmp(a, b) returns
-1 if a < b
0 if a == 0
1 if a > b
This is needed since python3 has no cmp function anymore.
All credits for this go to Marco Strigl (see
PR#483 [1]).
[1] https://github.com/openSUSE/osc/pull/483
Commit: 8c1cb190bd1431c4fc1c3fce6d91fa4197087a1e
https://github.com/openSUSE/osc/commit/8c1cb190bd1431c4fc1c3fce6d91fa4197087...
Author: Marcus Huewe
Date: 2019-01-27 (Sun, 27 Jan 2019)
Changed paths:
M osc/util/archquery.py
Log Message:
-----------
Port the missing pieces of the archquery module to python3
This is a follow-up commit for commit
21eca9e3f1e179c2fb34d52f3d24981469de3d4a ("[python3] switch
ArchQuery to bytestrings").
Commit: 2074a1c01d08d07eed7fbfe46a9a1369963f3c72
https://github.com/openSUSE/osc/commit/2074a1c01d08d07eed7fbfe46a9a1369963f3...
Author: Marcus Huewe
Date: 2019-01-27 (Sun, 27 Jan 2019)
Changed paths:
M osc/util/archquery.py
Log Message:
-----------
Make ArchQuery.canonname more robust against None values
Use ArchQuery.filename to construct the filename and raise an
ArchError exception if we are unable to construct a filename.
Commit: f63a0957af16299e49772a75ccc15033cf415087
https://github.com/openSUSE/osc/commit/f63a0957af16299e49772a75ccc15033cf415...
Author: Marcus Huewe
Date: 2019-01-27 (Sun, 27 Jan 2019)
Changed paths:
M osc/util/archquery.py
Log Message:
-----------
Remove superfluous try-except block in the archquery module
ArchQuery.query never raises an ArchError exception.
Compare: https://github.com/openSUSE/osc/compare/fb6605f475c3...f63a0957af16
**NOTE:** GitHub Services has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
We will provide an alternative path for the email notifications by January 31st, 2019.