Skip Menu |

This queue is for tickets about the Dist-Zilla-Plugin-Git CPAN distribution.

Report information
The Basics
Id: 57179
Status: resolved
Priority: 0/
Queue: Dist-Zilla-Plugin-Git

People
Owner: Nobody in particular
Requestors: mschout [...] gkg.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Git::CommitBuild should honor .gitignore
Date: Mon, 03 May 2010 14:29:23 -0500
To: bug-dist-zilla-plugin-git [...] rt.cpan.org
From: Michael Schout <mschout [...] gkg.net>
Hi. I saw you added Git::CommitBuild which looks interesting. It would be nice if it could honor the .gitignore that is in the top directory somehow. Without it, the committed build includes all of the files that were otherwise ignored by the .gitignore file. In my case, I use the ArchiveRelease plugin, which stores released tarballs under archive/. These files all get added to the committed build, in addition to files like Makefile, Makefile.old etc which I have ignored in .gitignore. I suppose one way around that would be to include .gitignore via gatherdir. But that would result in the .gitignore getting added to the dist tarball, which really isn't desirable. My Dist::Zilla kung fu is not strong enough to figure out the best way to accomplish this :) Thanks for the cool plugin. Michael Schout
Ok, I give myself the moron of the day award for this one. The gitignore is correctly handled. Disregard this ticket :).
ENOTABUG :-)