public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin-apps@cygwin.com
Subject: Re: per-version hints proposal
Date: Fri, 09 Dec 2016 10:46:00 -0000	[thread overview]
Message-ID: <20161209104616.GB24624@calimero.vinschen.de> (raw)
In-Reply-To: <0ae655c4-a36e-9de8-a7d3-953d5cece84d@dronecode.org.uk>

[-- Attachment #1: Type: text/plain, Size: 3192 bytes --]

On Dec  8 19:30, Jon Turney wrote:
> On 30/08/2016 13:24, Jon Turney wrote:
> > This file is called override.hint.
> 
> While not a great deal of use is made of test versions, this mechanism
> doesn't seem to be working well for that, and there have been several
> requests to improve it.
> 
> There's no automation to generate override.hint, and writing it correctly
> requires too much knowledge about how calm is going to process it.
> [...]

ACK.  It's kind of backwards compared to the new layout with per-version
hint files.

> The proposal to address this is:
> 
> Add support to calm for a 'test:' line in PVR.hint, marking a version as a
> test version.

ACK

> If multiple versions are marked test, the highest version will be used as
> the test version in the generated setup.ini (and thus offered for
> installation using the 'exp' control in setup.)
> 
> (Note to self: why isn't this control labelled 'test', which is an actual
> english word???)

Note to jturney, change it, don't be shy.

> Versions marked as test cannot be used as curr: (so test versions are never
> automatically promoted to curr)
> 
> override.hint will continue to work, and, if one exists it takes precedence
> over these rules.

I would rather drop it as an evolutionary dead end.

> cygport will be updated to (details TBC) accept a --test flag which is
> significant to the cygport package stage, and adds this 'test:' line to all
> the generated PVR.hint files.

--test would be fine.

> To promote a package from test to curr, a script will be run on sourceware
> to remove the test: line from the existing PVR.hints in a given package
> subtree, for a given VR.
> 
> Since this requires shell access on sourceware, if you don't have that, you
> can ask here or on #cygwin-developers.

I don't think this is feasible.  The maintainer should have control
over the promotion from test to curr.  I'm not affected by this since
I generate new versions as soon as I promote, so this is more maintainers
like JonY, for whom a rebuild and reupload of the gcc packages just to
promote test to curr is quite a burden.

First, not well thought out proposal:

- cygport gets a new command, e. g.

    cygport foo.cygport {promote|untest|currify}

  This command has only one purpose.  It uploads a file !untest
  to the maintainers upload area, with a single line containing
  the version number from the foo.cygport file, i. e.

  - Fetch $PVR from foo.cygport, e. g.  2.24-1.
  - echo "$PVR" > !untest
  - lftp !untest to cygwin.com:maintainer-area

- While creating the ini file, calm looks for !untest files.  If one
  is available, check the version number.  If there's a matching PVR.hints
  file, drop the test marker.  Continue with creating the ini file.

> I would like to provide an automatic mechanism to allow package maintainers
> to promote their own test packages, but there are a few stumbling blocks in
> the way of that, currently.

-v?


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2016-12-09 10:46 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-20 15:28 Jon Turney
2016-06-21 12:03 ` Corinna Vinschen
2016-06-21 13:49   ` Marco Atzeri
2016-06-21 14:28     ` Corinna Vinschen
2016-06-21 15:32       ` Marco Atzeri
2016-06-21 14:09   ` Eric Blake
2016-06-21 14:27     ` Corinna Vinschen
2016-06-21 18:04     ` Achim Gratz
2016-06-21 18:27   ` Jon Turney
2016-08-30 12:24 ` Jon Turney
2016-08-31 19:14   ` Achim Gratz
2016-09-01 17:15     ` Jon Turney
2016-12-08 19:30   ` Jon Turney
2016-12-09 10:46     ` Corinna Vinschen [this message]
2016-12-09 11:10       ` Corinna Vinschen
2016-12-12 13:29         ` Jon Turney
2016-12-12 13:29       ` Jon Turney
2017-04-08 17:00     ` Achim Gratz
2017-04-12 20:51       ` Ken Brown
2017-04-13  6:24         ` Achim Gratz
2016-09-17  6:15 ` Achim Gratz
2016-09-18  5:17   ` Marco Atzeri
2016-09-18 15:14     ` Jon Turney
2016-09-18 16:12       ` Achim Gratz
2016-09-18 16:29         ` Achim Gratz
2016-09-19 15:37           ` Ken Brown
2016-09-19 18:24             ` Achim Gratz
2016-09-19 22:23               ` Jon Turney
2016-09-18 16:40       ` Ken Brown
2016-09-18 16:53         ` Marco Atzeri
2016-09-18 17:16           ` Achim Gratz
2016-09-18 18:08             ` Marco Atzeri
2016-09-22 13:44 ` Eric Blake
2016-12-10 22:42 ` How to override previous version? David Rothenberger
2016-12-11  0:03   ` Jon Turney

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=20161209104616.GB24624@calimero.vinschen.de \
    --to=corinna-cygwin@cygwin.com \
    --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).