Re: [netcdfgroup] source code distribution is riddled with invisible files

Thanks for alerting us to the issue; in the past we've tended to generate the files on a linux machine, but this last time I used my OSX box thinking about this issue; my apologies, I'm sure we can eliminate this in the future!

-Ward

On 11/20/13, 12:00 PM, Larry Baker wrote:
COPYFILE_DISABLE=1 gnutar on Mac OS X will disable such files, at least those created by Apple tar. gnutar is included with Mac OS X. E.g.,

COPYFILE_DISABLE=1 gnutar -czf modflow-mac-gfortran.tar.gz Unix

Larry Baker
US Geological Survey
650-329-5608
baker@xxxxxxxx <mailto:baker@xxxxxxxx>



On 20 Nov 2013, at 3:46 AM, huebbe wrote:

Dear Netcdf developers,
I just wanted to bring to your attention that the current source code
distribution "netcdf-4.3.0.tar.gz" is riddled with a multitude of files
starting with "._". There is one such invisible file for each and every
visible file or directory. Introspection of these files revealed some
MacOS-X system as the culprit, on which the ".tar.gz" was presumably
generated. Especially nasty is the fact, that there is even one such
file outside the top level directory "._netcdf-4.3.0", which will not be
automatically destroyed when the unpacked directory is removed.

Please be sure not to include such files in future source distributions.

One easy way to be safe from such unwanted files within a tarball is to
use `git archive` to generate the distribution tarballs. This will
ignore any files not under version control. Maybe other version control
systems have similar features, but I don't know about them.

Cheers,
Nathanael Hübbe

_______________________________________________
netcdfgroup mailing list
netcdfgroup@xxxxxxxxxxxxxxxx <mailto:netcdfgroup@xxxxxxxxxxxxxxxx>
For list information or to unsubscribe, visit: http://www.unidata.ucar.edu/mailing_lists/



_______________________________________________
netcdfgroup mailing list
netcdfgroup@xxxxxxxxxxxxxxxx
For list information or to unsubscribe,  visit: 
http://www.unidata.ucar.edu/mailing_lists/

  • 2013 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: