> On 14 Oct 2020, at 12:41, Liviu Ionescu <i...@livius.net> wrote:
> 
>> On 14 Oct 2020, at 14:31, Alex Blewitt <alex.blew...@gmail.com> wrote:
>> 
>> The quarantine bit is added when people download the archive via the 
>> browser. It does not apply to those downloading with another tool eg 
>> curl/wget.
> 
> Right, as long as you have a proper URL, not something like:
> 
> https://www.eclipse.org/downloads/download.php?file=/embed-cdt/packages/2020-09/eclipse-embedcdt-2020-09-R-macosx.cocoa.x86_64.tar.gz

You can add &r=1 to the end of the URL to be automatically redirected:

Without:
% curl --head 
"https://www.eclipse.org/downloads/download.php?file=/embed-cdt/packages/2020-09/eclipse-embedcdt-2020-09-R-macosx.cocoa.x86_64.tar.gz";
 | egrep 'HTTP|Location' 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
HTTP/1.1 200 OK

With:
% curl --head 
"https://www.eclipse.org/downloads/download.php?file=/embed-cdt/packages/2020-09/eclipse-embedcdt-2020-09-R-macosx.cocoa.x86_64.tar.gz&r=1";
 | egrep 'HTTP|Location'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
HTTP/1.1 302 Found
Location: 
https://ftp.halifax.rwth-aachen.de/eclipse/embed-cdt/packages/2020-09/eclipse-embedcdt-2020-09-R-macosx.cocoa.x86_64.tar.gz

>> It’s possible that your users are accustomed to downloading with one of 
>> those tools, or are expanding archives with a brew-installed tar (which 
>> might not support the propagation of the quarantine bit).
> 
> Although I don't exclude these use cases, I seriously doubt that someone 
> would prefer to do this, instead of simply downloading via the browser and 
> removing the quarantine bit, as recommended in the Download page.

My expectation is that users won’t read and follow directions :)

Alex
_______________________________________________
platform-dev mailing list
platform-dev@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/platform-dev

Reply via email to