public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Jon Turney <jon.turney@dronecode.org.uk>
To: cygwin-apps@cygwin.com
Subject: Re: noarching source packages
Date: Thu, 04 May 2017 19:42:00 -0000	[thread overview]
Message-ID: <33e6228d-b3ae-55d2-be89-036b349e46ce@dronecode.org.uk> (raw)
In-Reply-To: <87lgqg73kr.fsf@Rainer.invalid>

On 01/05/2017 20:57, Achim Gratz wrote:
> Jon Turney writes:
>> What is your reason for changing the name?
>
> There shouldn't be two different naming conventions for the same
> purpose.  So
>
> package-version-release[-purpose].tar.xz
>
> with purpose:=[source|debuginfo] would be preferrable.

If we were starting from scratch, maybe.

The assumption that the "package" part is unique for installable 
packages is rather deeply entrenched, and I don't actually see any 
benefit apart from the aesthetic in changing this now.

If we're going for a foolish consistency, naming things as 
package-version[-purpose]-release would be probably easier to implement :-)

>> I was wondering if we need to explicitly identify debuginfo archives
>> as a different kind of thing.  Currently, debuginfo packages work just
>> like any other install archive, which is fine, except for perhaps they
>> need a separate filter in setup.
>
> They wouldn't with the above naming convention and you'd just tick
> another box to say you want them installed, just like sources.  We might
> even skip the archful directories and just do [noarch|x86|x86_64] as
> well in the same place.

I think it would be much better to have the associated debuginfo for a 
package described in setup.ini, rather than mapping package name -> 
source package name -> debuginfo package name, as you seem to be suggesting.

>>> part of them is made up again of the source files, which should be
>>> separated out into noarch also.
>>
>> Nice idea, but the practicalities seem complex (e.g. generated source
>> files needs to be treated correctly). In any case, this would seem to
>> be a piece of work which falls after noarching the sources.
>
> Agreed.
>
>>> I'd be hesitant to use yet another tree for this.  We already have way
>>> too many directories that make up the repo.
>>
>> 'too many'? why?
>
> I currently have to pull the mirror through a HTTP proxy, and most of
> the time is spent in traversing directories.  Yes, it'd be possible to
> determine which packages are missing and directly pull those, but I
> haven't got around to scripting that yet.

Ah, "too many" in some specific and limited sense. :-)

I'm not sure how many people are the situation of "I want to maintain a 
mirror, but can't use rsync".

It seems a reasonable intuition that a more compact directory tree would 
be somewhat more efficient, but that is basically saying that the 
connection setup time for transferring index.html dominates.

Have you tried a HTTP mirroring tool which can parallelize it's requests 
(assuming such a thing exists, I think axel can do that)?



  parent reply	other threads:[~2017-05-04 19:42 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-24 13:04 Jon Turney
2017-04-27 17:53 ` Achim Gratz
2017-05-01 19:35   ` Jon Turney
2017-05-01 19:57     ` Achim Gratz
2017-05-01 20:05       ` Ken Brown
2017-05-03 11:49         ` Ken Brown
2017-05-04 19:41           ` Jon Turney
2017-05-04 19:42       ` Jon Turney [this message]
2017-05-05 18:13         ` Achim Gratz
2017-05-06  0:20       ` Brian Inglis
2017-05-06 14:38         ` Marco Atzeri
2017-05-06 16:08           ` Brian Inglis

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=33e6228d-b3ae-55d2-be89-036b349e46ce@dronecode.org.uk \
    --to=jon.turney@dronecode.org.uk \
    --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).