Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/cygwin-apps/calm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-09-27Update version to 2016092720160927Jon Turney
2016-09-27Actually permit the keep-count and keep-days keys in override.hintJon Turney
The processing of them was implemented, but not the parsing...
2016-09-19Ignore comment lines when checking if setup.ini has changedJon Turney
Needed now that the comment contains a human-readable timestamp
2016-09-19Tweak reporting of vaulting packagesJon Turney
We count the number of packages vaulted, not files
2016-09-19Update TODOJon Turney
2016-09-19Write human-readable time in addition to machine-readable timestampAchim Gratz
* calm/package.py (write_setup_ini): In addition to the epoch timestamp write that time in a comment in human-readable form so that it can be more easily deciphered.
2016-09-15Report conflicting movelists as an errorJon Turney
We probably want to told when we are uploading a package which is immediately going to be automatically removed as stale. Uploading a package at the same time as a marking it for removal doesn't make any sense, so report that as an error. Update per-version testpackage to avoid this error.
2016-09-15Add staleversion test packageJon Turney
Add an additional staleversion package to test the handling of stale versions in the release area
2016-09-15Move stale package versions to the vaultJon Turney
Move stale package versions to the vault. A package version is not stale if any of the following is true: * The version is used as curr:, prev: or test: (due to either being explictly listed in override.hint or implictly chosen) * The version is listed as keep: in override.hint * It's one of the highest n versions * The first version which is less than t days old, and all higher versions. where: n is given by keep-count: in override.hint t is given by keep-days: in override.hint These tunables currently default to 0, so no more packages are kept than would be kept by stalepkgs, although these defaults might change in future. We track the freshness or staleness of install and source packages separately. Unlike stalepkgs, a fresh empty install file does not cause the corresponding source package to be considered fresh. Also remove any pvr.hint which is stale. Add the --no-stale option to disable. First we check for stale pkgs in release area. stale pkgs arising due to more fresh pckages being uploaded are reported as a part of the upload. Avoid doing unnecessary work if nothing is stale. Update tests
2016-09-14Correctly handle upload which doesn't alter an existing override.hintJon Turney
If there is an existing override.hint, it should be retained rather than be discarded when there is an upload
2016-09-14Check the setup.ini produced by the 'process' testJon Turney
Also check the setup.ini produced by the 'process' test against the expected output
2016-09-07Move best_version identifcation after check that there are some versionsJon Turney
Selection of the best version should take place after assuring there are some versions, in case there are none.
2016-09-04Fix a bit of loggingJon Turney
2016-09-04Add module for sending mesages to IRC via irkedJon Turney
2016-09-03Update version to 2016090320160903Jon Turney
2016-08-30Handle the case where there is no current versionJon Turney
Use the information from the 'best' version (Previously we would have been using the same information from setup.hint for all versions, so the precise version chosen perhaps doesn't make a big difference)
2016-08-30Test for upload with per-version hintsJon Turney
2016-08-30Tests for packages with per-version hintsJon Turney
Tests for packages with per-version and override hints
2016-08-30Update processing for per-version hintsJon Turney
Update processing for the hints being stored for each package version, rather than each package. 'skip' becomes a package flag, set if any version has it. (It doesn't seem terribly useful to have this in the hint file, since it's implied by the absence of any install tarfiles.) When writing setup.ini - sdesc:, ldesc:, category: and message: are taken from the curr version - requires: is the union of all versions - source: is controlled by external-source: per-version
2016-08-30Read either setup.hint or pvr.hintJon Turney
For every package version, either setup.hint or pvr.hint must exist Read version overrides from override.hint or setup.hint Factor out reading hints and checking for errors in read_package
2016-07-30Generalize setup.hint reading to .hint file readingJon Turney
2016-07-30Fix check for attempt to remove setup.hint20160730Jon Turney
2016-07-23Fix arch given when reporting a problem merging uploadsJon Turney
Fix reporting of problems with the package set after uploads are merged to correctly identify the arch which has the problem.
2016-07-18Add option 'okmissing=curr' to mksetupiniKen Brown
If this option is specified, suppress warning that a package doesn’t have a current version.
2016-07-18Don't fail if a package has no curr versionKen Brown
2016-07-07Requiring a source-only package is an errorJon Turney
Also, make that check, and check for self-requires even if -okmissing=required-package is used.
2016-07-05Don't import dirq unless we actually need it20160705Jon Turney
Don't import dirq unless we actually need it, i.e. if the experimental option --queuedir is used. Also remove dirq from setuptools requires
2016-06-26Permit the upload of a compressed empty file as a package file20160629Jon Turney
Permit the upload of a compressed empty file as a package file Adjust a test pacakge to exercise that case
2016-06-26Uniquify requires: in setup.iniJon Turney
2016-06-24Check packages which share the same source package are all at the same versionJon Turney
Report the offending packages if they aren't listed as past mistakes
2016-06-22Check that packages have some versions, and warn if no curr versionJon Turney
Update tests appropriately: - Remove naim test package, it's no longer valid - Change to using arc package to test no sha512.sum behaviour
2016-06-22Validate existing packages for all arches before stopping due to any errorJon Turney
2016-06-21Removing setup.hint files isn't allowedJon Turney
Removing a package doesn't make much sense currently. We can't remove a package when it has been replaced by another one, all we can do is replace it with an empty, obsolete one which depends on it's replacement, so existing installs are updated to that. Removing a package which is no longer relevant (i.e. an old soversion of a shared library which has no users left) is permissible, but the files it contains will linger forever in any existing installs.
2016-06-15Disable queue unless --queuedir is usedJon Turney
This was an experiment
2016-06-15Fix check for file already in release areaJon Turney
Fix the check if an uploaded file already exists in the release area. This was broken by noarch changes.
2016-06-15Better checking for corrupt packagesJon Turney
Log an error if we need to access a package file in the release area which isn't a valid compressed archive. Ideally, we'd use tarfile.is_tarfile() to check that, but that can propagate exceptions from the decompressor. (Perhaps we should also ignore these invalid files, but I'm not sure that is a good idea.) Note that we avoid opening the package files in the release area unless unavoidable, as it's expensive. Validating a tar file involves reading the entire file. Always validate uploaded package files, and reject attempts to upload such invalid files Add appropriate tests
2016-06-11Allow previous maintainer(s) of orphaned package to still uploadJon Turney
2016-06-10Fix reminder rate limiting after noarch changesJon Turney
For noarch, we moved to a single timestamp per maintainer, but still reset it if it wasn't checked for an individual arch Pull the timestamp updating out to the maintainer class, so we can only reset it if there were no reminders for any arch
2016-06-10Update TODOJon Turney
2016-06-08Directly check package is in self-source listJon Turney
Rather than adding a hint to indicate that a package is on the self-source list and then later checking for that hint, directly check if it's on the self-source list.
2016-05-12Make packageableJon Turney
Rearrange file layout for python packaging Add setup.py Use python3 style relative imports Add calm and mksetupini script entry points Fix tests to locate testdata in the same directory
2016-05-12past_mistakes: remove dialog, ncurses, xfsYaakov Selkowitz
The versions containing hyphens are no longer present.
2016-05-09Add noarch supportJon Turney
- Unfold process() as we need to validate both x86 and x86_64 before we can move uploaded noarch packages to relarea - Add arch as an argument to upload.scan(), package.write_setup_ini(), pkg2html.update_package_listing() etc. rather than passing it around in args - Use paths relative to relarea, rather than relarea/arch - Generalize package merge to merge more than 2 sets of packages - Remove uploads-scan script used in working-up - Move the !reminder-timestamp file up to maintainer home dir - Add a noarch package to testdata - Update tests
2016-05-08Report any lines with an unknown package status in cygwin-pkg-maintJon Turney
2016-05-03Improvements to handling of empty install packages.Jon Turney
Don't consider empty install packages as using any source they refer to, so source files which are only used by empty install packages are reported as effectively unused. Log rather than throwing an exception when writing setup.ini in the unexpected situation where an external-source is expected to exist, but doesn't. Add more reasonable test packages for keychain. Update tests appropriately.
2016-05-03Report an error if a remove filename containing glob metacharacters is usedJon Turney
Remove filenames containing glob metacharacters aren't supported, it's unclear that they ever actually worked correctly, and they are very hard to implement safely. Report an erorr if an attempt is made to use them. Also report an error if the remove file isn't empty
2016-05-03Remove forgiveness for mistakes which no longer existJon Turney
* _autorebase has a source package * terminfo no longer has a hyphen in it's version
2016-05-02Fix a bug which caused remove-only uploads to be ignored.Jon Turney
Even if the maintainer is just removing packages, we still have something to do.
2016-04-22Remove pointless .gitignoreJon Turney
2016-04-22Move testdata/x86 to testdata/relarea/x86Jon Turney
Also rename testdata/x86.hints to testdata/hints/x86