[gmx-developers] source tree is git repository check
Roland Schulz
roland at utk.edu
Thu Aug 30 16:05:39 CEST 2012
Hi,
On Thu, Aug 30, 2012 at 9:17 AM, Szilárd Páll <szilard.pall at cbr.su.se>wrote:
> Hi,
>
> Commit 26bd5f7 added a the admin/.isreposource file to distinguish git
> and non-git source trees. As far as I know git repositories will
> always contain the .git directory, so I think it is enough to check
> the existence of this (as it is done in
> cmake/gmxGenerateVersionInfo.cmake).
>
> Is there any strong reason for having an extra file for this simple check?
>
Yes. If you download the source as archive (e.g. from github) you will get
the source not from cpack but it won't contain .git. We want
to distinguish with this file whether the source is directly from the git
sources without having been processed by cpack. That's why this file is
required.
Roland
>
> Cheers,
> --
> Szilárd
> --
> gmx-developers mailing list
> gmx-developers at gromacs.org
> http://lists.gromacs.org/mailman/listinfo/gmx-developers
> Please don't post (un)subscribe requests to the list. Use the
> www interface or send it to gmx-developers-request at gromacs.org.
>
>
>
>
>
--
ORNL/UT Center for Molecular Biophysics cmb.ornl.gov
865-241-1537, ORNL PO BOX 2008 MS6309
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-developers/attachments/20120830/e9b72728/attachment.html>
More information about the gromacs.org_gmx-developers
mailing list