emacs-devel
[Top][All Lists]
Advanced

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

Re: New Git repository is up.


From: Eric S. Raymond
Subject: Re: New Git repository is up.
Date: Thu, 13 Nov 2014 09:15:59 -0500
User-agent: Mutt/1.5.21 (2010-09-15)

Lars Magne Ingebrigtsen <address@hidden>:
> Christoph <address@hidden> writes:
> 
> > There is at least one typo in the .gitignore (makefile instead of
> > Makefile) and a rule for .o files seems to be missing also, as well as
> > ignoring any of the binaries created in the src directories when
> > building the source tree. Shouldn't be too hard to fix.
> 
> Yeah.  The old .bzrignore was really long, and the .gitignore file is
> quite short.  I'm wondering whether the contents weren't copied over on
> purpose, or whether somebody forgot...

That's complicated.  Here is how the relevant section of my lift script reads:

# IGNORE FILES
#
# Remove every .cvsignore not older than when .gitignores were first
# added.  Then rename all remaining (older) .cvsignores to
# corresponding .gitignore paths after copying in CVS defaults; the
# syntax is upward-compatible.  The date marks the introduction of
# .gitignore files.
#
# (The first .cvsignore commit was 1999-09-30T14:07:address@hidden>.
# The last CVS commit was <2009-12-27T08:11:address@hidden>)
#
<2009-02-03T23:32:38Z>..$ expunge /\.cvsignore$/
=B & [/^.cvsignore$/] filter --regex /^/# CVS default ignores 
begin\ntags\nTAGS\n.make.state\n.nse_depinfo\n*~\n#*\n.#*\n,*\n_$*\n*$\n*.old\n*.bak\n*.BAK\n*.orig\n*.rej\n.del-*\n*.a\n*.olb\n*.o\n*.obj\n*.so\n*.exe\n*.Z\n*.elc\n*.ln\ncore\n#
 CVS default ignores end\n/
path ^.cvsignore$ rename .gitignore
path (.*)/\.cvsignore$ rename \1/.gitignore
#
# Remove .bzrignore files, treating .gitignores as authoritative.
#
<2009-12-27T21:38:14Z>..$ expunge /\.bzrignore$/

My thinking here was that the .gitignores were tuned for git by people
actually using git, so they'd be better value than an attempted 
translation of the .bzrignore files that might trip over edge cases
in the syntax.

This sot of thing is why I went to considerable effort to put up seven
trial conversions at Gitorious.  Other people were supposed to be 
reviewing these issues *before* conversion day...

Please post a fixed version, as well as committing it.  I'll add it
to my list of things to retrofix if we do a correction day.
-- 
                <a href="http://www.catb.org/~esr/";>Eric S. Raymond</a>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]