Re: pristine tarball generator

2007-10-06 Thread Anthony Towns
On Wed, Oct 03, 2007 at 03:38:54PM +0300, Faidon Liambotis wrote:
> There's also --rsyncable which is appears mostly (if not only) on Debian
> and unfortunately can't be figured out from the headers.

> Multipart gzips would also not work even though I haven't yet find any.

Both these are cases where the .gz file is equivalent to cat'ing two
(or more) .gz files together, I would've thought, and should be able
to be dealt with as such, possibly just by checking for a header, or by
previously matching gzip output suddenly not matching anymore?

Cheers,
aj


signature.asc
Description: Digital signature


Re: pristine tarball generator

2007-10-06 Thread Robert Collins
On Sat, 2007-10-06 at 16:46 +1000, Anthony Towns wrote:
> On Wed, Oct 03, 2007 at 03:38:54PM +0300, Faidon Liambotis wrote:
> > There's also --rsyncable which is appears mostly (if not only) on Debian
> > and unfortunately can't be figured out from the headers.
> 
> > Multipart gzips would also not work even though I haven't yet find any.
> 
> Both these are cases where the .gz file is equivalent to cat'ing two
> (or more) .gz files together, I would've thought, and should be able
> to be dealt with as such, possibly just by checking for a header, or by
> previously matching gzip output suddenly not matching anymore?

--rsyncable resets the compression stream; multipart is just catt'd
gzips together.

I think a heuristic like you suggest may work well, you could look for a
gzip header when the content starts to differ to detect multipart ones
quiet well.

-Rob
-- 
GPG key available at: .


signature.asc
Description: This is a digitally signed message part


Re: Bug#444021: ITP/RFP: sugar

2007-10-06 Thread Holger Levsen
Hi,

On Tuesday 02 October 2007 13:32, Xavier Oswald wrote:
> I will help you to co-maintain this package.

Great.

> Otherwise, I have asked to open an OLPC project on alioth and thus we could
> use it for maintaining OLPC related packages together..

I was actually more thinking about using the debian-edu alioth project for 
this purpose :)


regards,
Holger


pgpzOWZeVbJPt.pgp
Description: PGP signature


dpkg-substvars

2007-10-06 Thread Magnus Holmgren
If I'm not mistaken, there is no standard way of getting the value of just a 
single arbitrary substitution variable, such as ${source:Upstream-Version}. 
Consequently, countless of debian/rules and other scripts reinvent the wheel 
using dpkg-parsechangelog together with slightly varying sed programs, which 
sometimes give an incorrect result.

So I thought that it might be a good idea to implement a general-case 
dpkg-substvars. Turns out somebody already did that - seven years ago. 
However, http://bugs.debian.org/66336 was tagged wontfix, probably because it 
tried to make it possible to use substitution variables in package names.

But if we forget about variable package names, wouldn't dpkg-substvars be a 
good idea?

-- 
Magnus Holmgren[EMAIL PROTECTED]
   (No Cc of list mail needed, thanks)


signature.asc
Description: This is a digitally signed message part.


using testing/stable/unstable names with cdebootstrap

2007-10-06 Thread Ritesh Raj Sarraf
Hi,

Is there a reason to not use stable/testing/unstable as the names in 
config/suites file ?

Currently it only has code names like etch/lenny/sid.

Ritesh
-- 
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."


signature.asc
Description: This is a digitally signed message part.


Bug#445576: ITP: detach -- command to detach a process

2007-10-06 Thread Aníbal Monsalve Salazar
Package: wnpp
Severity: wishlist
Owner: Anibal Monsalve Salazar <[EMAIL PROTECTED]>

Package name: detach
Version: 0.2.3-1
Upstream Author: Robbert Haarman <[EMAIL PROTECTED]>
URL: http://inglorion.net/software/detach/
Description:
This command forks a new process, detaches it from the terminal, and
executes a given command in it. This can be used for starting
processes that don't terminate when the controlling terminal does.
License:
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Aníbal Monsalve Salazar
-- 
http://v7w.com/anibal


signature.asc
Description: Digital signature


Re: Bug#445576: ITP: detach -- command to detach a process

2007-10-06 Thread Kevin Mark
On Sun, Oct 07, 2007 at 11:38:12AM +1000, Aníbal Monsalve Salazar wrote:
> Package: wnpp
> Severity: wishlist
> Owner: Anibal Monsalve Salazar <[EMAIL PROTECTED]>
> 
> Package name: detach
> Version: 0.2.3-1
> Upstream Author: Robbert Haarman <[EMAIL PROTECTED]>
> URL: http://inglorion.net/software/detach/
> Description:
> This command forks a new process, detaches it from the terminal, and
> executes a given command in it. This can be used for starting
> processes that don't terminate when the controlling terminal does.
How is this different from 'nohup' or screen?
-- 
|  .''`.  == Debian GNU/Linux == |   my web site:   |
| : :' :  The  Universal |mysite.verizon.net/kevin.mark/|
| `. `'  Operating System| go to counter.li.org and |
|   `-http://www.debian.org/ |be counted! #238656   |
|  my keyserver: subkeys.pgp.net | my NPO: cfsg.org |
|join the new debian-community.org to help Debian!  |
|___  Unless I ask to be CCd, assume I am subscribed ___|



Re: Bug#445576: ITP: detach -- command to detach a process

2007-10-06 Thread Brian May
> "Kevin" == Kevin Mark <[EMAIL PROTECTED]> writes:

Kevin> How is this different from 'nohup' or screen? 

Answer is on the website, quoted:

=== cut ===

When Slashdot found out about detach, ScriptedReplay asked why one
would use detach, instead of nohup, which comes with the system. The
truth is that I didn't find nohup when searching for a command that
would run another command detached from the terminal. The reason is
that nohup doesn't really do that:

nohup, as the name implies, makes your command ignore SIGHUP. That is,
unless you set a handler for it yourself, in which case you will still
receive the signal when the terminal exits. You can use normal shell
redirection and backgrounding on your process (although nohup will
automatically redirect standard output to nohup.out if you don't
redirect it).

detach uses the setsid system call to detach the command from the
terminal. This means your process simply won't get a SIGHUP when the
terminal exits, so you are free to use SIGHUP for things like
reloading configuration files (like many daemons do). The disadvantage
is that the standard file descriptors must be closed before calling
setsid. For this reason, normal redirection doesn't work with detach,
so explicit support for redirection has been added. detach also
contains an option for writing the pid of the detached process to a
file.

=== cut ===
-- 
Brian May <[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: using testing/stable/unstable names with cdebootstrap

2007-10-06 Thread Andreas Metzler
Ritesh Raj Sarraf <[EMAIL PROTECTED]> wrote:
> Is there a reason to not use stable/testing/unstable as the names in 
> config/suites file ?

> Currently it only has code names like etch/lenny/sid.

Code names are stable over time, but "testing" refers to a different
distribution now than it did two years ago.
cu andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]