[PROJ] PROJ 9.4.0RC1 & PROJ-data 1.17RC1

Sebastiaan Couwenberg sebastic at xs4all.nl
Wed Feb 28 10:10:32 PST 2024


On 2/28/24 7:04 PM, Sebastiaan Couwenberg wrote:
> On 2/28/24 6:28 PM, Kristian Evers via PROJ wrote:
>> I’m on a Mac and they don’t always behave as you would expect coming 
>> from a Linux system. For instance, Bas’ tar command doesn’t fly with 
>> my particular brand of tar:
>>
>> $ tar tavf proj-data-1.17RC2.tar.gz | grep '\._'
>> tar: Option -a is not permitted in mode -t
> 
> -a is likely a GNU tar specific option. I'm remember cursing grep on 
> Solaris not supporting -A/-B/-C back in the day.
> 
> `tar tzvf proj-data-1.17RC2.tar.gz` does work on Mac, but it ignores the 
> ._ files, they are also not present after unpacking the archive.
> 
>> Unpacking the file surprisingly doesn’t reveal anything either. You’d 
>> think this sort of thing was easy to figure out but here we are. I am 
>> not the release manager you deserve but the one you got. Sorry.
> 
> Apparently the ._ files are an Mac thing for extended attributes:
> 
> https://unix.stackexchange.com/questions/282055/a-lot-of-files-inside-a-tar

The attributes in question:

% xattr /tmp/proj-data/*_README.txt
/tmp/proj-data/fr_ign_README.txt: 
com.apple.metadata:kMDItemKeyphraseConfidences
/tmp/proj-data/fr_ign_README.txt: com.apple.metadata:kMDItemKeyphraseLabels
/tmp/proj-data/fr_ign_README.txt: com.apple.metadata:kMDItemKeyphraseVersion
/tmp/proj-data/fr_ign_README.txt: 
com.apple.metadata:kMDItemTextContentLanguage
/tmp/proj-data/no_kv_README.txt: 
com.apple.metadata:kMDItemKeyphraseConfidences
/tmp/proj-data/no_kv_README.txt: com.apple.metadata:kMDItemKeyphraseLabels
/tmp/proj-data/no_kv_README.txt: com.apple.metadata:kMDItemKeyphraseVersion
/tmp/proj-data/no_kv_README.txt: 
com.apple.metadata:kMDItemTextContentLanguage

Removing them:

% xattr -c /tmp/proj-data/*_README.txt
% xattr /tmp/proj-data/*_README.txt
%

The *_README.txt files in the git repo don't seem to have these attributes.

Kind Regards,

Bas

-- 
  GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1



More information about the PROJ mailing list