Improve code, doc and adopt latest skeleton - #9
Merged
Conversation
- These are more about rpm install/upgrade behavior than pure version comparison, although obviously version comparison is involved
- Everything in the test-suite except rpmbuild execution is now performed in the fakechroot environment
- Add pile of further tests for the more common constructs, collect various (old and new) corner cases from bugzilla.
1.1^20160101 means 1.1 version (base) and patches which were applied at that date on top of it. * 1.1^201601 > 1.1 * 1.1^201601 < 1.1.1 Having symmetry is also good. Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
…th version restrictions This lets you do things like: pclean pkg '>=*/alsa*-1.1.7' which coincidentally removes all binpkgs for built alsa pkgs that break audio output allowing one to then run: pmerge -1dOKav alsa-lib alsa-plugins alsa-utils which reinstalls the working 1.1.6 binpkgs of those pkgs.
Except for unversioned objects. Fixes #225.
Fixes MissingRevision check for pkgcheck.
Fixes handling for leading '0' characters or using explicit '-r0' revisioning. Fixes #261.
And set revision to None only for non-versioned CPVs to match other version attrs in that case.
To provide separation for future integration and benchmark tests in relation to unit tests.
These are both covered by the LICENSE file in the repo's root directory.
A few demandload-ed modules remain to explicitly break cyclical imports. These might be removed with refactoring in the future.
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Handle as_text correctly in cache
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
9 tasks
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Chin Yeung Li <tli@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
pombredanne
force-pushed
the
new-skeleton
branch
from
October 29, 2021 16:04
c3d65e7 to
83fcb7b
Compare
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Drop Ubuntu 16 add Python 3.10
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
pombredanne
force-pushed
the
new-skeleton
branch
from
October 29, 2021 17:11
87c380c to
9d44053
Compare
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Disable Python 3.10 tests on macOS 10.14
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Member
Author
|
This is all green at last! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR:
of third-party embedded code, including grafting the git history
when possible.
backported function consistently, instead of the three variants
we had before.
improve RPM tests