git.net

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

Re: .git(modules|attributes|ignore) files in source dists?


I don't have a preference on whether or not to include the SCM related files, but at least in the recent IvyDE release process, I setup the build to use "git archive" command to generate these source tar/zip packages[1]. The documentation of git archive doesn't explicitly state anything about files like .gitignore being packaged into the archive. So I looked into the generated source tar and those are indeed present.

I actually can't think of a reason why we should exclude these files.

[1] https://github.com/apache/ant-ivyde/blob/master/build.xml

-Jaikiran


On 19/06/18 8:12 PM, Stefan Bodewig wrote:
Hi all

when I set up the build for AntUnit I realized the source tarball didn't
contain the git config files that are part of the source repo and
changed the antlibs-common module to include them (they are part of
Ant's defaultexcludes for DirectoryScanner).

Later it dawned on me this may not be a good idea as we don't include
anything else that is SCM related either, so maybe not including the
files has been the correct choice all along.

Any opinions on whether we should include or exclude them?

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xxxxxxxxxxxxxx
For additional commands, e-mail: dev-help@xxxxxxxxxxxxxx



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xxxxxxxxxxxxxx
For additional commands, e-mail: dev-help@xxxxxxxxxxxxxx