[Debian-med-packaging] Git usage / workflow (Was: [SCM] tabix branch, master, updated. debian/0.2.5-1-8-gbf5a05a)

Andreas Tille andreas at an3as.eu
Thu Apr 26 06:05:04 UTC 2012


Hi Charles,

On Thu, Apr 26, 2012 at 08:48:00AM +0900, Charles Plessy wrote:
> Le Wed, Apr 25, 2012 at 03:15:23PM +0000, Andreas Tille a écrit :
> > The following commit has been merged in the master branch:
> > commit bf5a05a0e9e71e0802d8acaf6573cb78982f6f59
> > Author: Andreas Tille <tille at debian.org>
> > Date:   Wed Apr 25 17:08:43 2012 +0200
> > 
> >     let .gitignore deal with .pc dir
> > 
> > diff --git a/.gitignore b/.gitignore
> > new file mode 100644
> > index 0000000..845ca06
> > --- /dev/null
> > +++ b/.gitignore
> > @@ -0,0 +1 @@
> > +.pc
> 
> Hi Andreas,
> 
> sorry to be picky, but this does not fit well with my workflow.  For most
> packages in Git, I do not run debian/rules clean anymore, mostly because of the
> Dpkg source format version 3.0 (quilt), but I simply run 'git clean -fd' to
> wipe out all changes to files unknown to Git (plus git checkout in case some
> known files have been modified).  If the file is ignored in some of the
> repositories, it looks like I will make mistakes.
> 
> How are the other teams doing with these .pc directories ?

I was not aware that

    git clean -fd
    git checkout

could replace a

    make debian/rules clean

So if you prefer this I'm perfectly fine if you would revert my change
above.  It would be good if this could be documented somewhere to be at
hand if I might forget this again. :-)

Kind regards

      Andreas.

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list