public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Damien Doligez <damien.doligez@inria.fr>
To: cygwin-apps@cygwin.com
Subject: Re: Deleting old versions of packages
Date: Fri, 08 Nov 2013 16:43:00 -0000	[thread overview]
Message-ID: <11AE3469-62E8-4883-A491-27CF276D8A7F@inria.fr> (raw)
In-Reply-To: <20131028193452.GA5968@ednor.casa.cgf.cx>

Hi,

On 2013-10-28, at 20:34, Christopher Faylor wrote:

> The problem with this method is that it forces you to use a setup.hint
> file to delete packages.  For instance, I just had a case where I wanted
> make-4.0-2 to be curr and make-3.82.90-1 to be prev.  I really don't
> want to have to change setup.hint to enforce that because that's error
> prone.  If that's exactly what people were trying to warn me about then
> I apologize for being dense.

Maybe I'm too naive or too late, but it seems to me that you could
use the same procedure we used when uploading was done manually:
you'd upload the new version and send a message to the maintainers
saying "upload 4.0-2, keep 3.82.90-1 as prev, and delete all other
versions".

With the automatic system, this could take the form of a file (for
example !keep) that lists all the versions (other than the uploaded
one) that should be kept, with all other versions to be archived
and removed.

This is almost the same as changing setup.hint, but much less
error-prone because it's outside the package. You should also do a
few sanity checks: that all the versions mentioned in !keep are
present, and that all the versions mentioned in setup.hint are also
in !keep. If one of these conditions is false, you don't remove
anything.

-- Damien


      parent reply	other threads:[~2013-11-08 16:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-22 22:31 New upload method: Deleting old versions David Stacey
2013-10-23  2:14 ` Christopher Faylor
2013-10-28 19:34   ` Deleting old versions of packages Christopher Faylor
2013-10-28 20:22     ` Achim Gratz
2013-10-29  0:03       ` Christopher Faylor
2013-10-29 20:03         ` Achim Gratz
2013-10-29 20:50           ` Christopher Faylor
2013-11-14 19:33             ` Christopher Faylor
2013-11-14 20:32               ` Achim Gratz
2013-11-14 20:45                 ` Christopher Faylor
2013-11-08 16:43     ` Damien Doligez [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=11AE3469-62E8-4883-A491-27CF276D8A7F@inria.fr \
    --to=damien.doligez@inria.fr \
    --cc=cygwin-apps@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).