Age | Commit message (Collapse) | Author |
|
|
|
|
|
Transfer 'perl5_26' annotation from comment to a notes: key. This
ensures it survives other hint transformations.
|
|
Extend orphan maintainer list to include everyone who:
* has a sourceware shell account
* that account is a member of the cygwin group
* is currently a package maintainer
Restructure gitolite.conf so the "push to all repos" list is
synchronized with that
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Since e10575b0, uploading of a replacement hint only is broken.
Disable the test of that, for the moment, so we will notice any other
test failures.
|
|
|
|
Now that we've patched gitolite to allow reponames starting with an
underscore, we can generate a gitolite configuration without mangling
those reponames.
|
|
|
|
As written, this assumes a binary package exist for anything uploaded,
which fails when only a source pacakge exists.
This simple fix prevents replacement hint uploading from working, so
something more sophisticated might be needed.
|
|
|
|
Sort lists (of subpacakages and maintainers), so that ordering in json
output is stable.
|
|
|
|
Going forward, these should either have their dependencies removed and
be made obsolete, or be marked as meta-packages (via a category?)
|
|
|
|
|
|
|
|
|
|
|
|
Preserve the historical behaviour by writing lines for source-only
versions in setup.ini.
|
|
|
|
|
|
Create separate package objects for the binary and source packages. This
is generally a simplification to the data model.
One slight wrinkle is that stale file detection needs to be aware that
.hint files may now be used by both a binary and source packages, and so
should only be removed if both packages are stale. (Since the source
package cannot be stale if the binary package isn't, we solve this by
making the source package control the staleness of the hint, in that
case [except for archives which are sourceless for permitted reasons,
which we now explicitly annotate as such]).
'external-source' is now always followed, rather than checking for the
source for a given version in the current package first. This exposes a
handful of (migrated) hints which contain an unnecessary
external-source.
Write separate package summary pages for source packages
Always create binary packages when uploading to allow replacement hints,
otherwise, only create a package if there's archives for it to contain
to avoid creating empty packages from the relarea.
Note: since we don't put source packages into a separate namespace,
there is a potential collision if both 'foo' (source package 'foo-src'),
and 'foo-src' (source package 'foo-src-src') exist. That would be daft,
and there aren't currently any examples of this. Forbid package names
ending in '-src' to avoid such problems.
|
|
|
|
|
|
|
|
|
|
Written as it is, this needs more care to avoid accidentally creating
version of packages.
Note that after this, we have two different definitions of the set of
versions for a package: vermap.keys() and version_hints.keys(). One is
the set of versions for which we currently have archives (after
vaulting), the other, the set of versions for which we've ever seen
hints.
|
|
|
|
Also improve the package/maintainer validation we do, to better detect
non-obsolete, maintainer-less packages.
Also make some unnecessarily absolute URLs relative.
|
|
Also move where we do html escaping, so it doesn't interact with
formatting of line-breaks in ldesc
|
|
Clarify messages which can appear as a consequence of another error in a
different package. (We don't distinguish between missing and errored
packages, so this is the best we can do, at the moment.)
|
|
Round the file size up in package summary (so tiny, but non-empty
packages are reported as 1kB, while empty packages are still reported as
0kB)
|
|
|
|
Also use sdesc, rather than package name, in place of an absent ldesc in
package summary
|
|
Historically, this was allowed for a source-only package, but source
packages not having a sdesc: is now inconvenient.
For uploads, this should be no great hardship, as we already suggest
cygport >= 0.23.0 for pvr.hint generation.
'calm-tool fix-skip-only-hint' can be used on an existing relarea.
|
|
|
|
|
|
Also arrange for calm to ignore those .bak files
Also fix a latent bug when more than one ignorable file exists for a
package
|
|
Log permission denied in utils.touch, rather than throwing an exception
|
|
Touch packages_list.html when packages.inc is updated, for the benefit
of 'XBitHack full'
Factor out touch utility function
|
|
Also HTML escape those texts
|