git.net

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

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


Please see [1]

Gintas

[1] https://feeding.cloud.geek.nz/posts/excluding-files-from-git-archive/

On Wed, 20 Jun 2018 at 05:43, Jaikiran Pai <jai.forums2013@xxxxxxxxx> wrote:

> 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
>
>


( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache-ant-development/msg02073.html on line 117
Call Stack
#TimeMemoryFunctionLocation
10.0008364600{main}( ).../msg02073.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache-ant-development/msg02073.html on line 117
Call Stack
#TimeMemoryFunctionLocation
10.0008364600{main}( ).../msg02073.html:0