Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-dev] MacOS .dmg vs .tar.gz


On 14 Oct 2020, at 12:41, Liviu Ionescu <ilg@xxxxxxxxxx> wrote:

On 14 Oct 2020, at 14:31, Alex Blewitt <alex.blewitt@xxxxxxxxx> 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:
  % 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:
  % 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

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

Back to the top