public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Jon Turney <jon.turney@dronecode.org.uk>
To: Ken Brown <kbrown@cornell.edu>,
	"cygwin-apps@cygwin.com" <cygwin-apps@cygwin.com>
Subject: Re: Possible "stage" token for SCALLYWAG builds
Date: Thu, 16 Feb 2023 20:31:32 +0000	[thread overview]
Message-ID: <b68fde4e-dae8-de4d-836a-f23a8ad83a65@dronecode.org.uk> (raw)
In-Reply-To: <a1ef453a-88ad-7853-0dd9-b3fd6ea462db@cornell.edu>

On 15/02/2023 21:48, Ken Brown via Cygwin-apps wrote:
> Jon,
> 
> When building TeX Live (once a year), I have to build texlive, 
> asymptote, and all the texlive-collection-* packages.  I currently can't 
> use SCALLYWAG to do the builds because these packages need to all be 
> deployed at once.  So I have to build them all locally, upload them to 
> my staging area, and then upload !ready files, one for x86_64 and one 
> for noarch.
> 
> It would be convenient for me if SCALLYWAG would accept a "stage" token 
> that would upload the files to my staging area without deploying them. 
> Then I could let SCALLYWAG do the builds, and I could upload the !ready 
> files when everything is staged.
> 
> If I'm the only maintainer who would find this useful, then I can 
> continue doing it the way I always have.  But maybe others would find it 
> useful too.

I'm not opposed to adding a some feature to support this if needed, but 
from the way you are describing it, this sounds more like a constraint 
that the dependency solver should be aware of.

(just because texlive-2023 and texlive-collection-foo-2023 are made 
available to download at the same time, doesn't mean that they always 
end up installed together, as the user might alter the version of one or 
the other)

If they really must be kept in lockstep to work correctly, then there's 
at least a couple of ways of doing that:

* give texlive an additional provide, such as texlive_2023, and make 
everything that requires it, require that (something similar is done 
with perl and perl modules)

* make things which require texlive do so with a version constraint like 
'requires: texlive (>= 20230000), texlive (<20240000)' (in theory this 
works, but I have no doubt that a bug will emerge when someone tries to 
use it, and ofc, it relies on the range of future versions which are 
compatible being correctly known in advance)

Assuming I've understood correctly, you might want to survey how other 
distros approach this problem.


  reply	other threads:[~2023-02-16 20:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-15 21:48 Ken Brown
2023-02-16 20:31 ` Jon Turney [this message]
2023-02-17  0:13   ` Ken Brown
2023-02-17 21:42     ` Brian Inglis
2023-03-13 19:23     ` Ken Brown

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=b68fde4e-dae8-de4d-836a-f23a8ad83a65@dronecode.org.uk \
    --to=jon.turney@dronecode.org.uk \
    --cc=cygwin-apps@cygwin.com \
    --cc=kbrown@cornell.edu \
    /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).