* What are those .gitignore files doing in the CVS?
@ 2009-02-04 14:07 Stefan Monnier
2009-02-04 15:26 ` Miles Bader
0 siblings, 1 reply; 17+ messages in thread
From: Stefan Monnier @ 2009-02-04 14:07 UTC (permalink / raw)
To: emacs-devel
I suspect it was just a mistake, but before I take them out, I'd rather
make sure,
Stefan
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: What are those .gitignore files doing in the CVS?
2009-02-04 14:07 What are those .gitignore files doing in the CVS? Stefan Monnier
@ 2009-02-04 15:26 ` Miles Bader
2009-02-04 16:31 ` Juanma Barranquero
2009-02-04 19:36 ` Stefan Monnier
0 siblings, 2 replies; 17+ messages in thread
From: Miles Bader @ 2009-02-04 15:26 UTC (permalink / raw)
To: Stefan Monnier; +Cc: emacs-devel
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> I suspect it was just a mistake, but before I take them out, I'd rather
> make sure,
Eh, of course they're not a mistake (why a mistake?).
-miles
--
"She looks like the wax version of herself."
[Comment under a Paris Hilton fashion pic]
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: What are those .gitignore files doing in the CVS?
2009-02-04 15:26 ` Miles Bader
@ 2009-02-04 16:31 ` Juanma Barranquero
2009-02-04 22:21 ` Miles Bader
2009-02-04 19:36 ` Stefan Monnier
1 sibling, 1 reply; 17+ messages in thread
From: Juanma Barranquero @ 2009-02-04 16:31 UTC (permalink / raw)
To: Miles Bader; +Cc: Stefan Monnier, emacs-devel
On Wed, Feb 4, 2009 at 16:26, Miles Bader <miles@gnu.org> wrote:
> Eh, of course they're not a mistake (why a mistake?).
Then, there should be more.
For example, I use this (one .gitignore, at the root):
### .gitignore ###
*.elc
*.pyc
stamp_BLD
makefile
DOC
info/*
!info/COPYING
!info/dir
*loaddefs.el
!cl-loaddefs.el
bin/
oo-spd/
oo/
site-lisp/
etc/icons/
etc/DOC-X
leim/leim-list.el
leim/quail/4Corner.el
leim/quail/ARRAY30.el
leim/quail/CCDOSPY.el
leim/quail/CTLau-b5.el
leim/quail/CTLau.el
leim/quail/ECDICT.el
leim/quail/ETZY.el
leim/quail/PY-b5.el
leim/quail/PY.el
leim/quail/Punct-b5.el
leim/quail/Punct.el
leim/quail/QJ-b5.el
leim/quail/QJ.el
leim/quail/SW.el
leim/quail/TONEPY.el
leim/quail/ZIRANMA.el
leim/quail/ZOZY.el
leim/quail/quick-b5.el
leim/quail/quick-cns.el
leim/quail/tsang-b5.el
leim/quail/tsang-cns.el
lib-src/ctags.c
lib-src/getopt.h
lisp/cus-load.el
lisp/eshell/esh-groups.el
lisp/finder-inf.el
lisp/subdirs.el
nt/config.log
src/config.h
src/epaths.h
### end of .gitignore ###
Juanma
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: What are those .gitignore files doing in the CVS?
2009-02-04 15:26 ` Miles Bader
2009-02-04 16:31 ` Juanma Barranquero
@ 2009-02-04 19:36 ` Stefan Monnier
2009-02-04 22:31 ` Miles Bader
1 sibling, 1 reply; 17+ messages in thread
From: Stefan Monnier @ 2009-02-04 19:36 UTC (permalink / raw)
To: Miles Bader; +Cc: emacs-devel
>> I suspect it was just a mistake, but before I take them out, I'd rather
>> make sure,
> Eh, of course they're not a mistake (why a mistake?).
Oh, I see we do have some .arch-inventory in our CVS, so I guess there's
a precedent for it. Still, since the Git repository is only sync'd one
way (contrary to Arch's), I don't think the .gitignore files are needed
in the CVS.
Also, the Git repository has been around for a while, yet those files
only appear now. Also, the Hg and Bzr repository have been around for
a while, but I haven't seen any request to add .bzrignore or whatever Hg
uses for that.
So, again: what are they doing there?
Stefan
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: What are those .gitignore files doing in the CVS?
2009-02-04 16:31 ` Juanma Barranquero
@ 2009-02-04 22:21 ` Miles Bader
2009-02-04 22:38 ` Gilaras Drakeson
2009-02-04 23:37 ` Juanma Barranquero
0 siblings, 2 replies; 17+ messages in thread
From: Miles Bader @ 2009-02-04 22:21 UTC (permalink / raw)
To: Juanma Barranquero; +Cc: Stefan Monnier, emacs-devel
Juanma Barranquero <lekktu@gmail.com> writes:
>> Eh, of course they're not a mistake (why a mistake?).
>
> Then, there should be more.
Perhaps so; I just added what I needed to shut up git after building
emacs in a separate build dir.
-Miles
--
Omochiroi!
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: What are those .gitignore files doing in the CVS?
2009-02-04 19:36 ` Stefan Monnier
@ 2009-02-04 22:31 ` Miles Bader
2009-02-04 23:17 ` Stefan Monnier
0 siblings, 1 reply; 17+ messages in thread
From: Miles Bader @ 2009-02-04 22:31 UTC (permalink / raw)
To: Stefan Monnier; +Cc: emacs-devel
Stefan Monnier <monnier@IRO.UMontreal.CA> writes:
>>> I suspect it was just a mistake, but before I take them out, I'd rather
>>> make sure,
>> Eh, of course they're not a mistake (why a mistake?).
>
> Oh, I see we do have some .arch-inventory in our CVS, so I guess there's
> a precedent for it. Still, since the Git repository is only sync'd one
> way (contrary to Arch's), I don't think the .gitignore files are needed
> in the CVS.
>
> So, again: what are they doing there?
I built an emacs from a git-cloned source-dir (using a separate
build-dir), and thereafter, "git status" thereafter started blathering
about stuff added to the source dir during the build (which probably
_shouldn't_ be added to the source dir, but that's unlikely to change
any time soon).
I do not want git status about those auto-generated files because it
interferes with status reports about things I intentionally changed.
Obviously any other people similarly using git to manage emacs locally
will have similar problems. Thus, .gitignore files are wanted. Git is
not some obscure system, and the read-only emacs git mirror is a useful
and popular tool.
[If some other emacs devs want .bzrignore or .svnignore or whatever
files, that seems fine to me...]
I'm not sure why you even asked .... isn't the above pretty obvious?
-Miles
--
Insurrection, n. An unsuccessful revolution.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: What are those .gitignore files doing in the CVS?
2009-02-04 22:21 ` Miles Bader
@ 2009-02-04 22:38 ` Gilaras Drakeson
2009-02-04 22:56 ` Miles Bader
2009-02-04 23:18 ` Stefan Monnier
2009-02-04 23:37 ` Juanma Barranquero
1 sibling, 2 replies; 17+ messages in thread
From: Gilaras Drakeson @ 2009-02-04 22:38 UTC (permalink / raw)
To: emacs-devel
Are the formats of .bzrignore and .gitignore different? If not, how
about adding a .vc-ignore and symlinking both to it, locally?
--
Gilaras
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: What are those .gitignore files doing in the CVS?
2009-02-04 22:38 ` Gilaras Drakeson
@ 2009-02-04 22:56 ` Miles Bader
2009-02-04 23:18 ` Stefan Monnier
1 sibling, 0 replies; 17+ messages in thread
From: Miles Bader @ 2009-02-04 22:56 UTC (permalink / raw)
To: Gilaras Drakeson; +Cc: emacs-devel
Gilaras Drakeson <gilaras@gmail.com> writes:
> Are the formats of .bzrignore and .gitignore different? If not, how
> about adding a .vc-ignore and symlinking both to it, locally?
'cause that's annoying?
-Miles
--
In New York, most people don't have cars, so if you want to kill a person, you
have to take the subway to their house. And sometimes on the way, the train
is delayed and you get impatient, so you have to kill someone on the subway.
[George Carlin]
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: What are those .gitignore files doing in the CVS?
2009-02-04 22:31 ` Miles Bader
@ 2009-02-04 23:17 ` Stefan Monnier
2009-02-04 23:38 ` Miles Bader
0 siblings, 1 reply; 17+ messages in thread
From: Stefan Monnier @ 2009-02-04 23:17 UTC (permalink / raw)
To: Miles Bader; +Cc: emacs-devel
> Obviously any other people similarly using git to manage emacs locally
> will have similar problems. Thus, .gitignore files are wanted. Git is
> not some obscure system, and the read-only emacs git mirror is a useful
> and popular tool.
> I'm not sure why you even asked .... isn't the above pretty obvious?
I'd expect the Git mirror to work as follows:
First the Emacs-CVS is converted to an internal Emacs-Git, then a second
Emacs-Git (or maybe just another branch) is created which adds the
.gitignore files (and any other changes required/useful for Git, it
could remove the .cvsignore files as well for example).
Thereafter the internal Emacs-Git can be updated by an automatic script
which will also merge those changes into the external Emacs-Git.
That's how I do it for my Bzr branch, although Jason's Bzr repository
currently only corresponds to the "internal" Emacs-Bzr, so I haven't
bothered to create an external Emacs-Bzr because it's not widely
used enough.
So, as long as the mirror is only one-way I don't see a need for those
files to appear in the CVS.
Stefan
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: What are those .gitignore files doing in the CVS?
2009-02-04 22:38 ` Gilaras Drakeson
2009-02-04 22:56 ` Miles Bader
@ 2009-02-04 23:18 ` Stefan Monnier
1 sibling, 0 replies; 17+ messages in thread
From: Stefan Monnier @ 2009-02-04 23:18 UTC (permalink / raw)
To: Gilaras Drakeson; +Cc: emacs-devel
> Are the formats of .bzrignore and .gitignore different?
Yes, of course, life would be too easy otherwise,
Stefan
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: What are those .gitignore files doing in the CVS?
2009-02-04 22:21 ` Miles Bader
2009-02-04 22:38 ` Gilaras Drakeson
@ 2009-02-04 23:37 ` Juanma Barranquero
1 sibling, 0 replies; 17+ messages in thread
From: Juanma Barranquero @ 2009-02-04 23:37 UTC (permalink / raw)
To: Miles Bader; +Cc: Stefan Monnier, emacs-devel
On Wed, Feb 4, 2009 at 23:21, Miles Bader <miles@gnu.org> wrote:
> Perhaps so; I just added what I needed to shut up git after building
> emacs in a separate build dir.
Obviously, I build in place...
Juanma
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: What are those .gitignore files doing in the CVS?
2009-02-04 23:17 ` Stefan Monnier
@ 2009-02-04 23:38 ` Miles Bader
2009-02-05 0:10 ` Miles Bader
2009-02-06 7:42 ` Jonathan Rockway
0 siblings, 2 replies; 17+ messages in thread
From: Miles Bader @ 2009-02-04 23:38 UTC (permalink / raw)
To: Stefan Monnier; +Cc: emacs-devel
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> So, as long as the mirror is only one-way I don't see a need for those
> files to appear in the CVS.
I certainly don't want to spend the time setting up a complicated
infrastructure for 4 very small files; if somebody else does it, great,
whatever.
But until somebody _does_ do it, there's obviously a reason for those
files to be in CVS. They are useful, and do not have a negative impact.
-Miles
--
Absurdity, n. A statement or belief manifestly inconsistent with one's own
opinion.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: What are those .gitignore files doing in the CVS?
2009-02-04 23:38 ` Miles Bader
@ 2009-02-05 0:10 ` Miles Bader
2009-02-06 7:42 ` Jonathan Rockway
1 sibling, 0 replies; 17+ messages in thread
From: Miles Bader @ 2009-02-05 0:10 UTC (permalink / raw)
To: Stefan Monnier; +Cc: emacs-devel
Miles Bader <miles@gnu.org> writes:
>> So, as long as the mirror is only one-way I don't see a need for those
>> files to appear in the CVS.
>
> I certainly don't want to spend the time setting up a complicated
> infrastructure for 4 very small files; if somebody else does it, great,
> whatever.
>
> But until somebody _does_ do it, there's obviously a reason for those
> files to be in CVS. They are useful, and do not have a negative impact.
BTW, I think it's also a bad idea in _general_ to separate out such
files in context-specific subdistributions. We do not have a separate
"windows" source tree, and we should not a have a separate "git" source
tree, nor a separate "bzr" tree.
-Miles
--
`There are more things in heaven and earth, Horatio,
Than are dreamt of in your philosophy.'
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: What are those .gitignore files doing in the CVS?
2009-02-04 23:38 ` Miles Bader
2009-02-05 0:10 ` Miles Bader
@ 2009-02-06 7:42 ` Jonathan Rockway
2009-02-07 1:58 ` Stefan Monnier
1 sibling, 1 reply; 17+ messages in thread
From: Jonathan Rockway @ 2009-02-06 7:42 UTC (permalink / raw)
To: emacs-devel
* On Wed, Feb 04 2009, Miles Bader wrote:
> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> So, as long as the mirror is only one-way I don't see a need for those
>> files to appear in the CVS.
>
> I certainly don't want to spend the time setting up a complicated
> infrastructure for 4 very small files; if somebody else does it, great,
> whatever.
>
> But until somebody _does_ do it, there's obviously a reason for those
> files to be in CVS. They are useful, and do not have a negative impact.
I agree here. I think most people just want to get the source code via
their favorite method, hack a bit, and then be able to get a clean
"stat" or "diff".
It is definitely messy to have .gitignore, .bzrignore, .whateverignore
files all over the place... but the reality is that it isn't *all that*
messy, and it makes it easy for someone to clone the repository and be
able to write code in a comfortable environment. I think making
contributing easy outweighs the cost of a few ugly files in the
repository.
Anyway, since I use Git, I appreciate the addition of .gitignore to the
repository.
Regards,
Jonathan Rockway
--
print just => another => perl => hacker => if $,=$"
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: What are those .gitignore files doing in the CVS?
2009-02-06 7:42 ` Jonathan Rockway
@ 2009-02-07 1:58 ` Stefan Monnier
2009-02-07 3:00 ` mail
0 siblings, 1 reply; 17+ messages in thread
From: Stefan Monnier @ 2009-02-07 1:58 UTC (permalink / raw)
To: Jonathan Rockway; +Cc: emacs-devel
> I agree here. I think most people just want to get the source code via
> their favorite method, hack a bit, and then be able to get a clean
> "stat" or "diff".
That's irrelevant. My proposal is to push this responsibility on the
people who maintain the mirror.
> Anyway, since I use Git, I appreciate the addition of .gitignore to the
> repository.
Better would be to add it to the Git mirror without adding it to
Emacs's CVS. For you it wouldn't make any difference, except that you
might even have a cleaner Git because additionally to adding
.gitignore files, the mirror could remove the .cvsignore files, rename
INSTALL.CVS to INSTALL.GIT, you name it.
Stefan
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: What are those .gitignore files doing in the CVS?
2009-02-07 1:58 ` Stefan Monnier
@ 2009-02-07 3:00 ` mail
0 siblings, 0 replies; 17+ messages in thread
From: mail @ 2009-02-07 3:00 UTC (permalink / raw)
To: emacs-devel
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> I agree here. I think most people just want to get the source code via
>> their favorite method, hack a bit, and then be able to get a clean
>> "stat" or "diff".
>
> That's irrelevant. My proposal is to push this responsibility on the
> people who maintain the mirror.
>
>> Anyway, since I use Git, I appreciate the addition of .gitignore to the
>> repository.
>
> Better would be to add it to the Git mirror without adding it to
> Emacs's CVS. For you it wouldn't make any difference, except that you
> might even have a cleaner Git because additionally to adding
> .gitignore files, the mirror could remove the .cvsignore files, rename
> INSTALL.CVS to INSTALL.GIT, you name it.
>
I agree, having both a .gitignore and a .cvsignore (or .hgignore or
whatever) would be a bad thing. If the formats are all identical, a
single .vc-ignore and symlinks would ensure that they all stay
synchronized. If this is not the case (I haven't looked into it), then
having the maintainers of the mirrors take care of these conversions
accomplishes the same goal.
If we have .gitignore, .hgignore, .cvsignore, .fancynewvcsignore,
and 100 others, they will certainly become out of sync almost every time
someone updates them, and even if everyone is extremely disciplined,
they're redundant information.
*if* it's completely unacceptable for the maintainers of the mirrors to
maintain these, *and* the formats are incompatible, perhaps these files
could be generated from a .vc-ignore template during the build process,
though this seems like more effort than it's worth.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: What are those .gitignore files doing in the CVS?
@ 2009-02-07 9:35 Alfred M. Szmidt
0 siblings, 0 replies; 17+ messages in thread
From: Alfred M. Szmidt @ 2009-02-07 9:35 UTC (permalink / raw)
To: Stefan Monnier; +Cc: jon, emacs-devel
This is alot of noise over something that isn't causing harm or
trouble for anyone. Is one file that isn't even visible really
causing this much headache for you?
^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2009-02-07 9:35 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-04 14:07 What are those .gitignore files doing in the CVS? Stefan Monnier
2009-02-04 15:26 ` Miles Bader
2009-02-04 16:31 ` Juanma Barranquero
2009-02-04 22:21 ` Miles Bader
2009-02-04 22:38 ` Gilaras Drakeson
2009-02-04 22:56 ` Miles Bader
2009-02-04 23:18 ` Stefan Monnier
2009-02-04 23:37 ` Juanma Barranquero
2009-02-04 19:36 ` Stefan Monnier
2009-02-04 22:31 ` Miles Bader
2009-02-04 23:17 ` Stefan Monnier
2009-02-04 23:38 ` Miles Bader
2009-02-05 0:10 ` Miles Bader
2009-02-06 7:42 ` Jonathan Rockway
2009-02-07 1:58 ` Stefan Monnier
2009-02-07 3:00 ` mail
-- strict thread matches above, loose matches on Subject: below --
2009-02-07 9:35 Alfred M. Szmidt
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).