[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [PATCH] proposed v3 source format using .git.tar.gz



One thing I forgot:

On Fri, Oct 05, 2007 at 07:16:13PM -0400, Joey Hess wrote:
> @@ -825,14 +881,17 @@ if ($opmode eq 'build') {
>      if ($native) {
>  	warning(_g("multiple tarfiles in native package")) if @tarfiles > 1;
>  	warning(_g("native package with .orig.tar"))
> -	    unless $seen{'.tar'} or $seen{"-$revision.tar"};
> +	    unless $seen{'.tar'} or $seen{"-$revision.tar"} or %vcsfiles;
>      } else {
> -	warning(_g("no upstream tarfile in Files field")) unless $seen{'.orig.tar'};
> +	warning(_g("no upstream tarfile in Files field")) unless $seen{'.orig.tar'} or %vcsfiles;

This should probably error out. Aren't v3 packages always native in the
sense tested here?

>  	if ($dscformat =~ /^1\./) {
>  	    warning(sprintf(_g("multiple upstream tarballs in %s format dsc"), $dscformat)) if @tarfiles > 1;
>  	    warning(sprintf(_g("debian.tar in %s format dsc"), $dscformat)) if $debianfile;
>  	}
>      }
> +    if (%vcsfiles && $dscformat !~ /^3\./) {
> +	warning(sprintf(_g("<rc>.tar file in %s format dsc"), $dscformat));
> +    }
>  
>      $newdirectory = $sourcepackage.'-'.$baseversion unless defined($newdirectory);
>      $expectprefix = $newdirectory;


Gruesse,
-- 
Frank Lichtenheld <djpig@debian.org>
www: http://www.djpig.de/



Reply to: