Re: Enabling uupdate to simply remove files from upstream source (Was: Minified javascript files)

2012-09-06 Thread Andreas Tille
On Thu, Sep 06, 2012 at 03:36:11PM +0200, Mehdi Dogguy wrote: I think he was mentioning another method that helps maintainers to automatically clean the imported tarball when importing it. IIRC, this method has been added to git-import-orig circa DebConf9. Its use is very simple, IMHO. Did

Re: Enabling uupdate to simply remove files from upstream source (Was: Minified javascript files)

2012-09-06 Thread Mehdi Dogguy
On 05/09/2012 22:11, Andreas Tille wrote: On Tue, Sep 04, 2012 at 08:19:29PM +0200, Stéphane Glondu wrote: Le 17/08/2012 13:08, Andreas Tille a écrit : So we finally have three independently developed solutions (we also have several instances of a debian/get-orig-source script in Debian Med

Re: Enabling uupdate to simply remove files from upstream source (Was: Minified javascript files)

2012-09-05 Thread Andreas Tille
On Tue, Sep 04, 2012 at 08:19:29PM +0200, Stéphane Glondu wrote: Le 17/08/2012 13:08, Andreas Tille a écrit : So we finally have three independently developed solutions (we also have several instances of a debian/get-orig-source script in Debian Med team) and my suggestion was just to

Re: Enabling uupdate to simply remove files from upstream source (Was: Minified javascript files)

2012-09-05 Thread Stéphane Glondu
Le 05/09/2012 22:11, Andreas Tille a écrit : So we finally have three independently developed solutions (we also have several instances of a debian/get-orig-source script in Debian Med team) and my suggestion was just to settle with a common and simple solution. This should be pretty simple

Re: Enabling uupdate to simply remove files from upstream source (Was: Minified javascript files)

2012-09-04 Thread Stéphane Glondu
Le 17/08/2012 13:08, Andreas Tille a écrit : So we finally have three independently developed solutions (we also have several instances of a debian/get-orig-source script in Debian Med team) and my suggestion was just to settle with a common and simple solution. This should be pretty simple

Re: Enabling uupdate to simply remove files from upstream source (Was: Minified javascript files)

2012-08-30 Thread Nicolas Boulenguez
-- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120830225209.GA6550@pegase

Re: Enabling uupdate to simply remove files from upstream source (Was: Minified javascript files)

2012-08-24 Thread Ian Jackson
Andreas Tille writes (Re: Enabling uupdate to simply remove files from upstream source (Was: Minified javascript files)): 1. The new field Files-Excluded in debian/copyright contains a space separated list of regular expressions. The deletion process will loop over every expression

Re: Enabling uupdate to simply remove files from upstream source (Was: Minified javascript files)

2012-08-24 Thread Andreas Tille
Hi, On Fri, Aug 24, 2012 at 01:37:18PM +0100, Ian Jackson wrote: Andreas Tille writes (Re: Enabling uupdate to simply remove files from upstream source (Was: Minified javascript files)): 1. The new field Files-Excluded in debian/copyright contains I don't think debian/copyright should

Re: Enabling uupdate to simply remove files from upstream source (Was: Minified javascript files)

2012-08-24 Thread Ian Jackson
Andreas Tille writes (Re: Enabling uupdate to simply remove files from upstream source (Was: Minified javascript files)): On Fri, Aug 24, 2012 at 01:37:18PM +0100, Ian Jackson wrote: Andreas Tille writes (Re: Enabling uupdate to simply remove files from upstream source

Re: Enabling uupdate to simply remove files from upstream source (Was: Minified javascript files)

2012-08-24 Thread Andreas Tille
Hi, On Fri, Aug 24, 2012 at 04:32:05PM +0100, Ian Jackson wrote: Andreas Tille writes (Re: Enabling uupdate to simply remove files from upstream source (Was: Minified javascript files)): On Fri, Aug 24, 2012 at 01:37:18PM +0100, Ian Jackson wrote: Andreas Tille writes (Re: Enabling

Re: Enabling uupdate to simply remove files from upstream source (Was: Minified javascript files)

2012-08-24 Thread Ian Jackson
Andreas Tille writes (Re: Enabling uupdate to simply remove files from upstream source (Was: Minified javascript files)): On Fri, Aug 24, 2012 at 04:32:05PM +0100, Ian Jackson wrote: Some of the information is machine-readable, and some is not. This is obviously necessary in the general

Re: Enabling uupdate to simply remove files from upstream source (Was: Minified javascript files)

2012-08-20 Thread Andreas Tille
On Mon, Aug 20, 2012 at 12:32:28AM +0200, Jonas Smedegaard wrote: Well, uscan makes some use of system so this could work - but I hoped for a more Perl-ish solution (similar to the rfc822 reader in python-debian). Is this Perl-ish enough for you?: :-) #!/usr/bin/perl -w use

Re: Enabling uupdate to simply remove files from upstream source (Was: Minified javascript files)

2012-08-19 Thread Jonas Smedegaard
On 12-08-19 at 08:32am, Charles Plessy wrote: Le Sun, Aug 19, 2012 at 12:44:44AM +0200, Jonas Smedegaard a écrit : On 12-08-18 at 10:19pm, Andreas Tille wrote: 1. The new field Files-Excluded in debian/copyright contains a space separated list of regular expressions. The

Re: Enabling uupdate to simply remove files from upstream source (Was: Minified javascript files)

2012-08-19 Thread Andreas Tille
On Sun, Aug 19, 2012 at 12:44:44AM +0200, Jonas Smedegaard wrote: On 12-08-18 at 10:19pm, Andreas Tille wrote: 1. The new field Files-Excluded in debian/copyright contains a space separated list of regular expressions. The deletion process will loop over every expression

Re: Enabling uupdate to simply remove files from upstream source (Was: Minified javascript files)

2012-08-19 Thread Jonas Smedegaard
On 12-08-18 at 12:36am, Andreas Tille wrote: On Fri, Aug 17, 2012 at 11:03:27PM +0200, Jonas Smedegaard wrote: I admit I'm not very experienced with Perl and reading RFC822 files - so if somebody would help implementing this I'd be glad. grep-dctrl -FFormat -n -sFiles-Excluded \

Re: Enabling uupdate to simply remove files from upstream source (Was: Minified javascript files)

2012-08-18 Thread Andreas Tille
Hi, trying to summarise suggested changes for the proposal: 1. The new field Files-Excluded in debian/copyright contains a space separated list of regular expressions. The deletion process will loop over every expression rm -rf ${MAIN_SOURCE_DIR}/expression An example

Re: Enabling uupdate to simply remove files from upstream source (Was: Minified javascript files)

2012-08-18 Thread Jonas Smedegaard
On 12-08-18 at 10:19pm, Andreas Tille wrote: 1. The new field Files-Excluded in debian/copyright contains a space separated list of regular expressions. The deletion process will loop over every expression rm -rf ${MAIN_SOURCE_DIR}/expression Copyright file format emplicitly

Re: Enabling uupdate to simply remove files from upstream source (Was: Minified javascript files)

2012-08-18 Thread Charles Plessy
Le Sun, Aug 19, 2012 at 12:44:44AM +0200, Jonas Smedegaard a écrit : On 12-08-18 at 10:19pm, Andreas Tille wrote: 1. The new field Files-Excluded in debian/copyright contains a space separated list of regular expressions. The deletion process will loop over every expression

Enabling uupdate to simply remove files from upstream source (Was: Minified javascript files)

2012-08-17 Thread Andreas Tille
On Fri, Aug 17, 2012 at 09:39:05AM +0200, Jakub Wilk wrote: Part of the problem is that we lack good tools to do this extra work for us. As an unrelated idea which popped up when reading this: Do you think it would be a sensible enhancement to uupdate if it could deal with a list of files

Re: Enabling uupdate to simply remove files from upstream source (Was: Minified javascript files)

2012-08-17 Thread Daniel Leidert
Andreas Tille wrote: On Fri, Aug 17, 2012 at 09:39:05AM +0200, Jakub Wilk wrote: Part of the problem is that we lack good tools to do this extra work for us. As an unrelated idea which popped up when reading this: Do you think it would be a sensible enhancement to uupdate if it could

Re: Enabling uupdate to simply remove files from upstream source (Was: Minified javascript files)

2012-08-17 Thread Mike Hommey
On Fri, Aug 17, 2012 at 11:55:02AM +0200, Daniel Leidert wrote: Andreas Tille wrote: On Fri, Aug 17, 2012 at 09:39:05AM +0200, Jakub Wilk wrote: Part of the problem is that we lack good tools to do this extra work for us. As an unrelated idea which popped up when reading this: Do

Re: Enabling uupdate to simply remove files from upstream source (Was: Minified javascript files)

2012-08-17 Thread Mike Hommey
On Fri, Aug 17, 2012 at 12:23:56PM +0200, Mike Hommey wrote: On Fri, Aug 17, 2012 at 11:55:02AM +0200, Daniel Leidert wrote: Andreas Tille wrote: On Fri, Aug 17, 2012 at 09:39:05AM +0200, Jakub Wilk wrote: Part of the problem is that we lack good tools to do this extra work for us.

Re: Enabling uupdate to simply remove files from upstream source (Was: Minified javascript files)

2012-08-17 Thread Andreas Tille
On Fri, Aug 17, 2012 at 12:26:49PM +0200, Mike Hommey wrote: As an unrelated idea which popped up when reading this: Do you think it would be a sensible enhancement to uupdate if it could deal with a list of files (wildcard strings that could be feed to `rm -rf`) which should be

Re: Enabling uupdate to simply remove files from upstream source (Was: Minified javascript files)

2012-08-17 Thread gregor herrmann
On Fri, 17 Aug 2012 13:08:39 +0200, Andreas Tille wrote: So we finally have three independently developed solutions (we also have several instances of a debian/get-orig-source script in Debian Med team) and pkg-perl variant: http://anonscm.debian.org/gitweb/?p=pkg-perl/scripts.git;a=tree

Re: Enabling uupdate to simply remove files from upstream source (Was: Minified javascript files)

2012-08-17 Thread Pau Garcia i Quiles
On Fri, Aug 17, 2012 at 1:08 PM, Andreas Tille andr...@an3as.eu wrote: On Fri, Aug 17, 2012 at 12:26:49PM +0200, Mike Hommey wrote: As an unrelated idea which popped up when reading this: Do you think it would be a sensible enhancement to uupdate if it could deal with a list of

Re: Enabling uupdate to simply remove files from upstream source (Was: Minified javascript files)

2012-08-17 Thread Andreas Tille
Hi, On Fri, Aug 17, 2012 at 01:55:23PM +0200, Pau Garcia i Quiles wrote: On Fri, Aug 17, 2012 at 1:08 PM, Andreas Tille andr...@an3as.eu wrote: On Fri, Aug 17, 2012 at 12:26:49PM +0200, Mike Hommey wrote: As an unrelated idea which popped up when reading this: Do you think it

Re: Enabling uupdate to simply remove files from upstream source (Was: Minified javascript files)

2012-08-17 Thread Andreas Tille
Hi Gregor, On Fri, Aug 17, 2012 at 01:47:48PM +0200, gregor herrmann wrote: On Fri, 17 Aug 2012 13:08:39 +0200, Andreas Tille wrote: So we finally have three independently developed solutions (we also have several instances of a debian/get-orig-source script in Debian Med team) and

Re: Enabling uupdate to simply remove files from upstream source (Was: Minified javascript files)

2012-08-17 Thread Bastien ROUCARIES
Le 17 août 2012 14:15, Andreas Tille andr...@an3as.eu a écrit : Hi Gregor, On Fri, Aug 17, 2012 at 01:47:48PM +0200, gregor herrmann wrote: On Fri, 17 Aug 2012 13:08:39 +0200, Andreas Tille wrote: So we finally have three independently developed solutions (we also have several

Re: Enabling uupdate to simply remove files from upstream source (Was: Minified javascript files)

2012-08-17 Thread Andreas Tille
On Fri, Aug 17, 2012 at 03:12:02PM +0200, Bastien ROUCARIES wrote: I like this Please add a flag for specifying recompression method Noted. On the other hand I wonder whether this should be separated from the removal issue because we currently just do have a --repack option and I think this

Re: Enabling uupdate to simply remove files from upstream source (Was: Minified javascript files)

2012-08-17 Thread Jonas Smedegaard
On 12-08-17 at 02:12pm, Andreas Tille wrote: Hi Gregor, On Fri, Aug 17, 2012 at 01:47:48PM +0200, gregor herrmann wrote: On Fri, 17 Aug 2012 13:08:39 +0200, Andreas Tille wrote: So we finally have three independently developed solutions (we also have several instances of a

Re: Enabling uupdate to simply remove files from upstream source (Was: Minified javascript files)

2012-08-17 Thread Jakub Wilk
* Jonas Smedegaard d...@jones.dk, 2012-08-17, 16:38: It is already required (or only recommended?) to document in debian/copyright when source has been altered, See bug #561494. -- Jakub Wilk -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of unsubscribe.

Re: Enabling uupdate to simply remove files from upstream source (Was: Minified javascript files)

2012-08-17 Thread Jonas Smedegaard
On 12-08-17 at 05:17pm, Jakub Wilk wrote: * Jonas Smedegaard d...@jones.dk, 2012-08-17, 16:38: It is already required (or only recommended?) to document in debian/copyright when source has been altered, See bug #561494. Thanks. That bug is about it _both_ being required by Debian Policy to

Re: Enabling uupdate to simply remove files from upstream source (Was: Minified javascript files)

2012-08-17 Thread Jakub Wilk
* Jonas Smedegaard d...@jones.dk, 2012-08-17, 19:27: It is already required (or only recommended?) to document in debian/copyright when source has been altered, See bug #561494. Thanks. That bug is about it _both_ being required by Debian Policy to document in debian/copyright and it _also_

Re: Enabling uupdate to simply remove files from upstream source (Was: Minified javascript files)

2012-08-17 Thread Andreas Tille
Hi, On Fri, Aug 17, 2012 at 07:41:01PM +0200, Jakub Wilk wrote: Thanks. That bug is about it _both_ being required by Debian Policy to document in debian/copyright and it _also_ being documented in developers reference that such info should be in README.Source. FWIW, it's the other way

Re: Enabling uupdate to simply remove files from upstream source (Was: Minified javascript files)

2012-08-17 Thread Jonas Smedegaard
On 12-08-17 at 10:18pm, Andreas Tille wrote: On Fri, Aug 17, 2012 at 07:41:01PM +0200, Jakub Wilk wrote: Thanks. That bug is about it _both_ being required by Debian Policy to document in debian/copyright and it _also_ being documented in developers reference that such info should be in

Re: Enabling uupdate to simply remove files from upstream source (Was: Minified javascript files)

2012-08-17 Thread Andreas Tille
On Fri, Aug 17, 2012 at 11:03:27PM +0200, Jonas Smedegaard wrote: I admit I'm not very experienced with Perl and reading RFC822 files - so if somebody would help implementing this I'd be glad. grep-dctrl -FFormat -n -sFiles-Excluded \

Re: Enabling uupdate to simply remove files from upstream source (Was: Minified javascript files)

2012-08-17 Thread gregor herrmann
On Sat, 18 Aug 2012 00:36:05 +0200, Andreas Tille wrote: On Fri, Aug 17, 2012 at 11:03:27PM +0200, Jonas Smedegaard wrote: I admit I'm not very experienced with Perl and reading RFC822 files - so if somebody would help implementing this I'd be glad. grep-dctrl -FFormat -n

Re: Enabling uupdate to simply remove files from upstream source (Was: Minified javascript files)

2012-08-17 Thread gregor herrmann
On Sat, 18 Aug 2012 00:55:15 +0200, gregor herrmann wrote: I admit I'm not very experienced with Perl and reading RFC822 files - so if somebody would help implementing this I'd be glad. Might be a job for Debian::Copyright, packaged as libdebian-copyright-perl. Cheers, gregor,