Age | Commit message (Collapse) | Author |
|
Move the logic into a single function, rather than selectively defining
a callback function depending on if the package meets some criteria.
|
|
|
|
|
|
|
|
Look for a relevant section of changelog in README, between '----'
delimiters, starting with one also containing the version, to add to the
generated announce message.
|
|
This is controlled by the 'announce' token.
|
|
Smooth out some issues when --email isn't specified, making args.email
an empty list rather than None, which can't be iterated.
When the To: address is 'debug', dump email to log, rather than stdout.
|
|
This avoids flake B034: sub should pass `count` and `flags` as keyword
arguments to avoid confusion due to unintuitive argument positions.
|
|
|
|
|
|
|
|
|
|
If multiple deploys are ready simultaneously, don't hold the lock over
all of them.
|
|
Define a team with a line starting with '@', e.g.:
@team Maintainer1/Maintainer2
Then @team can be referred in a packages maintainer list, as shorthand
for that list of maintainers.
Also ignore lines starting with '#' in maintainer list as comments
|
|
|
|
|
|
|
|
This makes out-of-order uploading of users and providers of future
versions of these smoother.
|
|
Generalize the perl rebuild report logic to work for any version provide:
|
|
|
|
|
|
|
|
Also drop obsolete, genini-compatible --okmissing option from help text.
|
|
|
|
Defaulting this to 'cygwin' isn't a very good idea.
|
|
Fix test data to satisfy that.
|
|
It would be nice to also show rdepends and rbuild_depends, but those
could be huge lists.
|
|
Produce an error message for untest|vault with invalid package name, rather than a python backtrace.
|
|
Future work: make these regexes so we don't have to add them again in a
years time.
|
|
|
|
Drop Eric Blake as inactive
Add Achim Gratz
|
|
Also add equivalent config keys for cgit
|
|
|
|
|
|
Previously, we'd do some rearrangement of the release area, so the
obsoleted package would be moved under the obsoleting package, so it
didn't need to exist at all in the package list and we could safely
ignore it.
We don't need or want to bother with that now, so let obsolete packages
paths exist.
Future work: This needs some thought about how we want to work. Perhaps
prohibit uploads? Perhaps error if the package marked OBSOLETE isn't
actually obsoleted by something?
|
|
|
|
Also: isolate each individual deploy, by putting them in a subdirectory
of stagingdir named after the job id.
|
|
We want different treatment for files which are manually uploaded (into
homedir) and files which arrive from the build service deployer (into
stagingdir)
Broken manual uploads were left in place so they can be inspected and
manually fixed by someone.
Currently, broken build deploys will also hang around forever, but they
are expected to be "correct", and the initator of the build has no
access to the stagingdir to fix things. Instead make them get
automatically removed.
|
|
The data ordered by package name is the one we use the most often, so
make that the primary form.
Also use mtime_cache for the result of parsing cygwin-pkg-maint.
v2:
Fix mkgitolite and reports
Keep maintainers in a list, not a set, because we need "first named
maintainer".
Don't write permissions lines with an empty list of names, as that's
syntactically incorrect.
|
|
If post-stale removal package set validation fails, don't change the
packageset during process_relarea(). This makes it similar to
process_uploads, in that the packageset can't be changed to something
invalid.
(Scenario: vaulting is requested via 'vault' command, which triggers
process_relarea(), which applies any requested vaultings during it's
stale evaluation. If that fails to validate, the packageset is broken
and any subsequent uploads will fail until after another relarea scan
takes place)
Fixes: 0939d5bd86f4 ("Add 'calm-tool vault'")
|
|
|
|
|
|
Fixes: d77b94da7803 ("Propagate any error reading packages through mksetupini")
|
|
Drop a spurious argument to maintainers.add_packages(), left-over after
ad6b47c27b11 ("Relax trusted maintainer restrictions").
Also report an error if CYGNAME isn't set.
|
|
Don't add a custom keys to license_expression's database, if it's
already present.
Also drop unneeded 'XVIEW' license.
|
|
At the moment, calm.process_relarea() is expected to keep going,
although we might later fail due to package set validation problemss.
(In particular tests just assume that we ignore various problematic
packages, although we don't actually check that they are being rejected
with the epxected problem)
|
|
Rename orphanmaint -> trustedmaint
Also revise and relax logic so it's more consistent: trusted maintainers
can do these things via a shell, so don't stop doing them more easily
via calm.
Drop convulted "add trusted maintainers as maintainers of orphaned
packages so they can upload them", and just check directly against
trusted maintainer list to determine if an upload is permitted.
|
|
|
|
We removed all the !packages files some time ago.
maintainer-keys/add now takes care of ensuring the appropriate
directories exist when a maintainer is added.
combine identifies defunct maintainers, using a different criteria, but
similarly doesn't do any clean up.
|
|
In f3a2daab817a, we accidentally allowed packages to depend on a package
which has been removed, instead of just applying that to obsoletes. Fix
that so we check that requires: contains packages which actually exist!
Also clean up no longer required 'splitchar'
Fixes: f3a2daab817a ("Persistently record all package names")
|