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

Re: [DRE-maint] ruby-rchardet_1.3-2_amd64.changes REJECTED



Antonio Terceiro escreveu isso aí:
> Lucas Nussbaum escreveu isso aí:
> > (redirecting to debian-ruby@)
> > 
> > On 08/11/11 at 23:14 +0100, Paul van Tilburg wrote:
> > > Hello all,
> > > 
> > > On Tue, Nov 08, 2011 at 09:47:57PM +0000, Debian FTP Masters wrote:
> > > > Reject Reasons:
> > > > md5sum for /srv/ftp-master.debian.org/ftp/pool/main/r/ruby-rchardet/ruby-rchardet_1.3.orig.tar.gz doesn't match ruby-rchardet_1.3-2.dsc.
> > > > size for /srv/ftp-master.debian.org/ftp/pool/main/r/ruby-rchardet/ruby-rchardet_1.3.orig.tar.gz doesn't match ruby-rchardet_1.3-2.dsc.
> > > 
> > > This is a problem.  Why is the orig.tar.gz generated from the Git tree
> > > different from the one already uploaded.
> > > Maybe I'm not handling the repo right, see also my earlier mail.
> > 
> > When generating the tarball locally, is git-buildpackage using pristine-tar ?
> 
> Only if you pass --git-pristine-tar. We can change the make-mrconfig
> script to set this as default in .git/gbp.conf for every repository that
> mr checks out, what do you think?

Something like:

----------------------8<-------------------------8<----------------------------
diff --git a/make-mrconfig b/make-mrconfig
index c1c2f30..1faf8fc 100755
--- a/make-mrconfig
+++ b/make-mrconfig
@@ -39,20 +39,21 @@ fi
 output "[DEFAULT]
 lib=
       msg () {
         echo \"I: \$1\"
       }
       git_checkout () {
         git clone git+ssh://git.debian.org$GIT_REPODIR\$1.git &&
         cd \$1 &&
         { git branch --track upstream remotes/origin/upstream || true; } &&
         { git branch --track pristine-tar remotes/origin/pristine-tar || true; } &&
+        { echo -e \"[DEFAULT]\\npristine-tar = True\\n\" > .git/gbp.conf }
         { test -z \"\$DEBFULLNAME\" || git config user.name \"\$DEBFULLNAME\" || true; } &&
         { test -z \"\$DEBEMAIL\" || git config user.email \"\$DEBEMAIL\" || true; }
       }
       svn_checkout () {
         svn co $SVN_REPODIR/\$1
       }
 "
 
 # Sections for Git repositories
 for i in $GIT_PKGS; do
----------------------8<-------------------------8<----------------------------


-- 
Antonio Terceiro <terceiro@debian.org>

Attachment: signature.asc
Description: Digital signature


Reply to: