GNU bug report logs - #20710
gitignore patterns for ps, html etc are too broad

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Mon, 1 Jun 2015 16:11:02 UTC

Severity: minor

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 20710 in the body.
You can then email your comments to 20710 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#20710; Package emacs. (Mon, 01 Jun 2015 16:11:02 GMT) Full text and rfc822 format available.

Message #3 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: submit <at> debbugs.gnu.org
Subject: gitignore patterns for ps, html etc are too broad
Date: Mon, 01 Jun 2015 12:10:03 -0400
Package: emacs
Severity: minor

git ls-files -i --exclude-standard
admin/unidata/copyright.html
etc/ps-prin0.ps
etc/ps-prin1.ps
leim/MISC-DIC/CTLau-b5.html
leim/MISC-DIC/CTLau.html
nextstep/Cocoa/Emacs.base/Contents/Resources/Credits.html
test/indent/ps-mode.ps
test/indent/sgml-mode-attribute.html

Due to the presence of

*.html
*.ps

in .gitignore.

With bzr, those forms were the correct:

doc/**/*.ps
doc/**/*.html

A comment at the start of .gitignore says it avoids '**' for the sake of
old git versions.

Explicitly listing all current and future versioned html and ps files
for the sake of old git versions seems like a PITA.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20710; Package emacs. (Mon, 01 Jun 2015 16:25:02 GMT) Full text and rfc822 format available.

Message #6 received at 20710 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 20710 <at> debbugs.gnu.org
Subject: Re: bug#20710: gitignore patterns for ps, html etc are too broad
Date: Mon, 01 Jun 2015 19:24:18 +0300
> From: Glenn Morris <rgm <at> gnu.org>
> Date: Mon, 01 Jun 2015 12:10:03 -0400
> 
> git ls-files -i --exclude-standard
> admin/unidata/copyright.html
> etc/ps-prin0.ps
> etc/ps-prin1.ps
> leim/MISC-DIC/CTLau-b5.html
> leim/MISC-DIC/CTLau.html
> nextstep/Cocoa/Emacs.base/Contents/Resources/Credits.html
> test/indent/ps-mode.ps
> test/indent/sgml-mode-attribute.html
> 
> Due to the presence of
> 
> *.html
> *.ps
> 
> in .gitignore.
> 
> With bzr, those forms were the correct:
> 
> doc/**/*.ps
> doc/**/*.html
> 
> A comment at the start of .gitignore says it avoids '**' for the sake of
> old git versions.
> 
> Explicitly listing all current and future versioned html and ps files
> for the sake of old git versions seems like a PITA.

There aren't too many subdirectories in doc/, so perhaps something
like

  doc/emacs/*.html
  doc/lispintro/*.html
  doc/lispref/*.html
  doc/man/*.html
  doc/mis/*.html

and similarly with *.ps will do?

OTOH, is "**" supported by Git 1.7.1?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20710; Package emacs. (Mon, 01 Jun 2015 22:56:02 GMT) Full text and rfc822 format available.

Message #9 received at 20710 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Glenn Morris <rgm <at> gnu.org>, 20710 <at> debbugs.gnu.org
Subject: Re: bug#20710: gitignore patterns for ps, html etc are too broad
Date: Tue, 02 Jun 2015 00:55:24 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

> There aren't too many subdirectories in doc/, so perhaps something
> like
>
>   doc/emacs/*.html
>   doc/lispintro/*.html
>   doc/lispref/*.html
>   doc/man/*.html
>   doc/mis/*.html

doc/*/*.html should work too.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20710; Package emacs. (Mon, 01 Jun 2015 22:58:02 GMT) Full text and rfc822 format available.

Message #12 received at 20710 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 20710 <at> debbugs.gnu.org
Subject: Re: bug#20710: gitignore patterns for ps, html etc are too broad
Date: Tue, 02 Jun 2015 00:57:31 +0200
Glenn Morris <rgm <at> gnu.org> writes:

> Due to the presence of
>
> *.html
> *.ps
>
> in .gitignore.

The pattern could be moved to doc/.gitignore.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Tue, 02 Jun 2015 15:30:09 GMT) Full text and rfc822 format available.

Notification sent to Glenn Morris <rgm <at> gnu.org>:
bug acknowledged by developer. (Tue, 02 Jun 2015 15:30:11 GMT) Full text and rfc822 format available.

Message #17 received at 20710-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: rgm <at> gnu.org, 20710-done <at> debbugs.gnu.org
Subject: Re: bug#20710: gitignore patterns for ps, html etc are too broad
Date: Tue, 02 Jun 2015 18:29:06 +0300
> From: Andreas Schwab <schwab <at> linux-m68k.org>
> Cc: Glenn Morris <rgm <at> gnu.org>,  20710 <at> debbugs.gnu.org
> Date: Tue, 02 Jun 2015 00:55:24 +0200
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > There aren't too many subdirectories in doc/, so perhaps something
> > like
> >
> >   doc/emacs/*.html
> >   doc/lispintro/*.html
> >   doc/lispref/*.html
> >   doc/man/*.html
> >   doc/mis/*.html
> 
> doc/*/*.html should work too.

Thanks, I pushed that.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 01 Jul 2015 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 47 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.