public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Custom package repository in addition to default Cygwin packages?
@ 2023-12-18 10:57 Cedric Blancher
  2023-12-18 11:26 ` marco atzeri
  2023-12-18 11:44 ` Jon Turney
  0 siblings, 2 replies; 4+ messages in thread
From: Cedric Blancher @ 2023-12-18 10:57 UTC (permalink / raw)
  To: cygwin

Good morning!

Can Cygwin setup.exe be modified to support more than one package
repository, e.g. first the default Cygwin package repro, and then a
company package repro (e.g. fr.pasteur.cygwin.packages ?).

Ced
-- 
Cedric Blancher <cedric.blancher@gmail.com>
[https://plus.google.com/u/0/+CedricBlancher/]
Institute Pasteur

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Custom package repository in addition to default Cygwin packages?
  2023-12-18 10:57 Custom package repository in addition to default Cygwin packages? Cedric Blancher
@ 2023-12-18 11:26 ` marco atzeri
  2023-12-22 19:22   ` Andrey Repin
  2023-12-18 11:44 ` Jon Turney
  1 sibling, 1 reply; 4+ messages in thread
From: marco atzeri @ 2023-12-18 11:26 UTC (permalink / raw)
  To: Cedric Blancher; +Cc: cygwin

On Mon, Dec 18, 2023 at 11:57 AM Cedric Blancherwrote:
>
> Good morning!
>
> Can Cygwin setup.exe be modified to support more than one package
> repository, e.g. first the default Cygwin package repro, and then a
> company package repro (e.g. fr.pasteur.cygwin.packages ?).
>
> Ced
> --

no need to change. It is already feasible as you can specify multiple URLs
(with multiples -s switches)
-----------------------------------------------------------------
$ ./setup.x86_64 --help

Cygwin setup 2.928

Command Line Options:
..
 -O --only-site                    Do not download mirror list.  Only use sites
                                   specified with -s
..
-s --site                         Download site URL, path or UNC path

The default is to both download and install packages, unless either
--download or --local-install is specified.
-----------------------------------------------------------------

Regards
Marco

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Custom package repository in addition to default Cygwin packages?
  2023-12-18 10:57 Custom package repository in addition to default Cygwin packages? Cedric Blancher
  2023-12-18 11:26 ` marco atzeri
@ 2023-12-18 11:44 ` Jon Turney
  1 sibling, 0 replies; 4+ messages in thread
From: Jon Turney @ 2023-12-18 11:44 UTC (permalink / raw)
  To: Cedric Blancher; +Cc: cygwin

On 18/12/2023 10:57, Cedric Blancher via Cygwin wrote:
> Good morning!
> 
> Can Cygwin setup.exe be modified to support more than one package
> repository, e.g. first the default Cygwin package repro, and then a
> company package repro (e.g. fr.pasteur.cygwin.packages ?).

The source code is available, so you can make any kind of modification 
to it you like.

Expecting someone else to do if for you seems optimistic, though. It's 
interesting that you phrased this using the passive voice, avoiding 
mention of that person.


However, in this case, this functionality is already supported by setup, 
by selecting multiple URLs in the "Choose A Download Site" page, or 
specifying the --site command line option multiple times.

See the discussion of an "overlay" package server in [1] for more details.

[1] https://cygwin.com/package-server.html


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Custom package repository in addition to default Cygwin packages?
  2023-12-18 11:26 ` marco atzeri
@ 2023-12-22 19:22   ` Andrey Repin
  0 siblings, 0 replies; 4+ messages in thread
From: Andrey Repin @ 2023-12-22 19:22 UTC (permalink / raw)
  To: marco atzeri, cygwin

Greetings, marco atzeri!

>> Can Cygwin setup.exe be modified to support more than one package
>> repository, e.g. first the default Cygwin package repro, and then a
>> company package repro (e.g. fr.pasteur.cygwin.packages ?).

> no need to change. It is already feasible as you can specify multiple URLs
> (with multiples -s switches)
> -----------------------------------------------------------------
> $ ./setup.x86_64 --help

> Cygwin setup 2.928

> Command Line Options:
> ..
>  -O --only-site                    Do not download mirror list.  Only use sites
>                                    specified with -s
> ..
> -s --site                         Download site URL, path or UNC path

> The default is to both download and install packages, unless either
> --download or --local-install is specified.
> -----------------------------------------------------------------

The problem is that the --help list do not mention the possibility to use
multiple -s switches.


-- 
With best regards,
Andrey Repin
Friday, December 22, 2023 22:21:36

Sorry for my terrible english...


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-12-22 19:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-18 10:57 Custom package repository in addition to default Cygwin packages? Cedric Blancher
2023-12-18 11:26 ` marco atzeri
2023-12-22 19:22   ` Andrey Repin
2023-12-18 11:44 ` Jon Turney

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).