public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
To: cygwin@cygwin.com
Subject: Re: Looking to set up a partial mirror of Cygwin package server
Date: Thu, 14 Nov 2019 06:48:00 -0000	[thread overview]
Message-ID: <1f60f400-61b8-d268-fba9-f05199bbf383@SystematicSw.ab.ca> (raw)
In-Reply-To: <DB6PR0101MB2168BD14571D22458EB40EDBE0770@DB6PR0101MB2168.eurprd01.prod.exchangelabs.com>


On 2019-11-12 13:31, dmytro.shmagin.barclays.com via cygwin wrote:
> We're looking to set up a partial mirror of the Cygwin package servers to
serve the few (around 50) packages that we use on a daily basis - essentially
setting up a repo for our users to download those Cygwin apps which are approved
on our system. Essentially, we'd like to have our personal package server be an
available option to our users - preferably the only available option - on the
list of Cygwin mirrors in the installer, and to only list those packages which
are approved (with no automatic updates - we are most likely freezing these
versions until they are next approved in order to comply with company policy).
Currently, we are simply including all packages as a "Local Download" after
downloading them without installing and compressing them into an archive, but
this method doesn't allow us to set up a proper mirror + setup.ini file as the
.hint files are not included with the download (even when installing source
files). This also means that users have to download ALL packages even if they
only want to download a subset of them with our current method.

> Can anyone run me through how to set up a partial, non-updated package
> server for Cygwin, as I am unable to do so by following the Cygwin package
> server setup guide on the Cygwin site?
Start with https://cygwin.com/package-server.html#overlay, remember that calm
has replaced genini/mksetupini, and include all Base category packages and all
their dependencies, plus all your package dependencies, in your local repo.

You should be able to trim setup.ini to just those packages you want to allow.

You will probably have to disable some signature checking.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

  reply	other threads:[~2019-11-14  5:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-12 20:31 dmytro.shmagin.barclays.com via cygwin
2019-11-14  6:48 ` Brian Inglis [this message]
2019-11-15  7:55 ` Andrey Repin

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=1f60f400-61b8-d268-fba9-f05199bbf383@SystematicSw.ab.ca \
    --to=brian.inglis@systematicsw.ab.ca \
    --cc=cygwin@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).