public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: "Yaakov (Cygwin Ports)" <yselkowitz@users.sourceforge.net>
To: cygwin-apps@cygwin.com
Subject: Re: cygport-0.9.3 in release-2
Date: Sun, 09 Nov 2008 23:59:00 -0000	[thread overview]
Message-ID: <4917790A.8040400@users.sourceforge.net> (raw)
In-Reply-To: <49175419.5020409@cwilson.fastmail.fm>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Charles Wilson wrote:
> They were called "rollup" patches. T.E.D. releases patches roughly every
> week, and then every month (or two, or three), he combines all patches
> dating back to an official release into a "rollup" patch -- and these
> "rollup" patches are in the shar-archive-auto-apply format.  You can see
> an example in the current cygwin ncurses-5.5 package (yes, two years
> old. I know...)  T.E.D. also provides the patches to update a 5.x tree
> to 5.x+1 in that form:
> 
> ftp://invisible-island.net/ncurses/patches/

Looking at 5.5-3, all those patches can be in PATCH_URI instead.

> Yes, that will do.
> 
> If one really needs to pass arguments -- which I (usually) don't --
> there are a number of workarounds:
>   1. export MY_FUNC_ARGS=("a b" c "d e"); cygport foo.cygport my_func
>      where my_func() processes MY_FUNC_ARGS[@] (which in this
>      case has three elements, "a b", c, and "d e").
>   2. You could do something similar with response files
>   3. Reduce granularity and then have a few specific functions.
>      For instance, rather than:
>        cygport cvs.cygport custom1-run_test N
>      where N is any number from 1 to 300, instead do
>        cygport cvs.cygport run_test_group1
>        cygport cvs.cygport run_test_group2
>        cygport cvs.cygport run_test_group3
>        cygport cvs.cygport run_test_group4
>      where each group comprises 75 or so tests.
> I'd probably lean to #1. If it ever came up.

I was thinking #3, but the other methods would work as well.

> In any event, all of those workarounds can be implemented solely inside
> a specific .cygport file, without any additional (or intrusive, or
> ugly-as-sin) changes to /usr/bin/cygport.

Exactly.

> The custom- stuff is a marvelous (ab)use of bash, though, ain't it?

Definitely abuse. :-)

> That leaves only:
>   cvs topdir support
>   postinst hook support

cvs topdir: this has little benefit and would break ABI.

postinst hook: RESTRICT="postinst-doc" was supposed to be a workaround.
 How was this not sufficient?

> [*] relocatable. I've ported those changes to 0.4.2, but...they are
> really, just, wow.  Awesomely ugly. I've decided to drop them entirely,
> for the following reasons: [snip]

Couldn't have said it better.


Yaakov
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREIAAYFAkkXeQoACgkQpiWmPGlmQSOm+wCg7nPLuDby9RnkAZl5PNTXtO7v
P5cAn3jnPlzigHZncZO6DF6R4lHx0unf
=0HSh
-----END PGP SIGNATURE-----

  reply	other threads:[~2008-11-09 23:59 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-28  6:37 Yaakov (Cygwin Ports)
2008-10-28 13:54 ` Charles Wilson
2008-10-28 14:16 ` Andrew Schulman
2008-10-29  1:49   ` Charles Wilson
2008-10-30 21:21     ` Andrew Schulman
2008-11-08  1:38       ` Charles Wilson
2008-11-09  6:18         ` Yaakov (Cygwin Ports)
2008-11-09 21:21           ` Charles Wilson
2008-11-09 23:59             ` Yaakov (Cygwin Ports) [this message]
2008-11-10  2:47               ` Charles Wilson
2008-11-10  4:21                 ` Yaakov (Cygwin Ports)
2008-11-10  6:06                   ` Charles Wilson
2008-11-10 15:25         ` Andrew Schulman
2008-11-09  5:59       ` Yaakov (Cygwin Ports)
2008-11-10 15:38         ` Andrew Schulman
2008-11-10 16:56 ` Reini Urban

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=4917790A.8040400@users.sourceforge.net \
    --to=yselkowitz@users.sourceforge.net \
    --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).