Age | Commit message (Collapse) | Author |
|
This fixes the tests if a local /git/cygwin-packages happens to exist,
and adds some test coverage of code which examines repodir.
|
|
Stop looking in x86/
Stop generating setup.ini in x86/
Stop generating webpage for x86/
|
|
|
|
Allow 'license:' key in source hint, and check it contains a valid SPDX
license expression.
Show the key value in source package summary page, and in repology JSON
output.
Update tests appropriately
Future work: Add 'license:' to the set of mandatory keys for a source
package.
|
|
Also update test data appropriately
|
|
Once a Package object no longer contains any files (archives or hints),
it can be removed from the package set.
(This fixes calm complaining when it wants to vault a stale package
which had source, but no kept version does. Otherwise it complains that
the source package has no versions)
Also remove removed hints from version_hints, since we iterate over that
in some places. This also prevents removed versions from bogusly
appearing in packages.json, so update test data appropriately.
|
|
This doesn't really work the way it's expected to across setup versions,
and isn't a good way of approaching the problem (current alternatives:
make the version you want to be preferred have the highest non-test
version, or use replace-versions: to cause higher versions to be
uninstalled).
Future work: lots of cruft for handling stability level overrides
remains, which can all be cleaned up.
|
|
|
|
Note a change to the json output, where rpm-doc no longer has a version
999-1, as a source package doesn't exist for it, only an install package
(because source versions are no longer implicitly created for all
install versions)
|
|
Sort lists (of subpacakages and maintainers), so that ordering in json
output is stable.
|