gitignore foo

View: New views
3 Messages — Rating Filter:   Alert me  

gitignore foo

by Arun Raghavan-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello folks,
I've committed a couple of changes to the autofoo files to allow
automagic generation of .gitignore files. There was some information
about this on the gnome-infrastructure mailing list a while ago.
Basically, there's a git.mk file at the top-level that does everything
for you. All you need to do after the first configure is a:

make gitignore

And voila, it scans all the Makefile.ams and generates .gitignore
files for each directory, and those pesky autogenerate files in git
status go away. All we need to do to keep this running is:

a) When there's a new subdirectory, just do a make -f git.mk at the
top directory and it'll add a line at the bottom to source itself in
the new Makefile.am

b) Make sure (MOSTLY|DIST|MAINTAINER)CLEANFILES is up-to-date (which
it generally is anyway)

I'll make the same changes to libbeagle, beagle-xesam, etc. too.

Cheers,
--
Arun Raghavan
(http://arunraghavan.net/)
v2sw5Chw4+5ln4pr6$OFck2ma4+9u8w3+1!m?l7+9GSCKi056
e6+9i4b8/9HTAen4+5g4/8APa2Xs8r1/2p5-8 hackerkey.com
_______________________________________________
Dashboard-hackers mailing list
Dashboard-hackers@...
http://mail.gnome.org/mailman/listinfo/dashboard-hackers

Re: gitignore foo

by Joe Shaw-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

On Thu, May 14, 2009 at 1:51 PM, Arun Raghavan <arunissatan@...> wrote:
> Hello folks,
> I've committed a couple of changes to the autofoo files to allow
> automagic generation of .gitignore files. There was some information
> about this on the gnome-infrastructure mailing list a while ago.

Looks good, although I never understood why checking .gitignore files
into git was a bad idea.

Joe
_______________________________________________
Dashboard-hackers mailing list
Dashboard-hackers@...
http://mail.gnome.org/mailman/listinfo/dashboard-hackers

Re: gitignore foo

by Arun Raghavan-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/5/14 Joe Shaw <joe@...>:

> Hi,
>
> On Thu, May 14, 2009 at 1:51 PM, Arun Raghavan <arunissatan@...> wrote:
>> Hello folks,
>> I've committed a couple of changes to the autofoo files to allow
>> automagic generation of .gitignore files. There was some information
>> about this on the gnome-infrastructure mailing list a while ago.
>
> Looks good, although I never understood why checking .gitignore files
> into git was a bad idea.

I don't really see any major disadvantage to either approach. A very
minor plus for the git.mk is that you don't need to update .gitignore
even those few rare times that you might otherwise have to (since
it'll just "introspect" it from the build system).
--
Arun Raghavan
(http://arunraghavan.net/)
v2sw5Chw4+5ln4pr6$OFck2ma4+9u8w3+1!m?l7+9GSCKi056
e6+9i4b8/9HTAen4+5g4/8APa2Xs8r1/2p5-8 hackerkey.com
_______________________________________________
Dashboard-hackers mailing list
Dashboard-hackers@...
http://mail.gnome.org/mailman/listinfo/dashboard-hackers