Skip to content

Improve code, doc and adopt latest skeleton - #9

Merged
pombredanne merged 187 commits into
mainfrom
new-skeleton
Oct 30, 2021
Merged

Improve code, doc and adopt latest skeleton#9
pombredanne merged 187 commits into
mainfrom
new-skeleton

Conversation

@pombredanne

@pombredanne pombredanne commented Oct 5, 2021

Copy link
Copy Markdown
Member

This PR:

  • adopts the latest https://github.com/nexB/skeleton
  • improves the provenance and license documentation
    of third-party embedded code, including grafting the git history
    when possible.
  • applies minor refactoring such as using a shared cmp()
    backported function consistently, instead of the three variants
    we had before.
  • adds new failing tests for RPM versions with carets Fix the rpm tests #2 and
    improve RPM tests

pmatilai and others added 30 commits November 21, 2008 23:29
- 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 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>
pombredanne and others added 7 commits October 29, 2021 17:37
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>
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>
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>
@pombredanne

Copy link
Copy Markdown
Member Author

This is all green at last!

@pombredanne
pombredanne merged commit 12ebed2 into main Oct 30, 2021
@pombredanne
pombredanne deleted the new-skeleton branch October 30, 2021 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.