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
  • From: "Homer, Tony" <tony.homer@xxxxxxxxx>
  • Date: Tue, 13 Oct 2020 17:48:03 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VcJ2Af6eWqTMFTZ7zThj5S6dwErAeDJ2Jwv3UX5y0Hk=; b=kuh4lg8UlmCA6O+MEbE3hIW8j9OVvexti5sqdq5f686+MrG9SudGYNGnEdasl5U6PspZUqS8aLV/xQARFNSkNR1RXN/2wUfcGH3aWW4aDsSin31X5kVZf4q6DBBu2SbdEgUIUB+3Fbjdwxuh6+0ndUYtLhj7j423CDs4d6iC2/khlbtB+gwljxcq5VbMF3X69UqsfROYcSWqOZP6C53jorwvcfAyQSPSDByWoDE2bolgGYm0gtlokDauGTbjH3hQsxUg8duspJcbZSVKvlhaQzP+PaFRih/SJEP5VuFQ7yYc4Ucvgn4/qQ2xllNQxou35k5DHLPaAdbP2z1YfSkwsw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CdRvD+ExQg9kv8zOcpMHqQbsEtHM3jE/RhO24aWpVMlqk6Fe9L5GimWaY5zoMxkmZz9g/hYFbH6NVHW7ryT1hc9ZiSIWNwbEXgSaCvJTqVfE+hkWh7FFamJk5Tp90jOLJBxmsTuoQUHvHBdpMyahmCP9H/ZYkUvDRbO3dIK9dDHfPreDWyYCxICtjm4RAiQX7edigNaMjEKD8osXLhWRB8AzoOV75IIfp/ksHtH/3fFpUOO5Ta6rQmudymrHP4SjDLkIXhKslylzz7TpU4V+NcFunDLkbqWGWIxvhg1aq+MHY3qVpZnXEBjKjc3BUNxLQLYS6mwER5uHxFk5CkuteA==
  • Delivered-to: platform-dev@xxxxxxxxxxx
  • Ironport-sdr: s/woezVQIHp2sPmZKOPL2Cdjr09oXmY316T8M4EN4ZSTBy8H5gzBCXsdyBv9TdHmspmAWgl0Yb ggplmlOp0oTA==
  • Ironport-sdr: jIQmJFfnYrEVCqJmeMdjKeKUlr/MXIvMAdTdk/0vzQ0zF0y7O1FuYHwsfKcJxRsW9JrqyjJuK/ Ud4CYdxjV3vA==
  • List-archive: <https://www.eclipse.org/mailman/private/platform-dev>
  • List-help: <mailto:platform-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/platform-dev>, <mailto:platform-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/platform-dev>, <mailto:platform-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHWoYj/T4RNok2bXUqsSQ0thmXu0Q==
  • Thread-topic: [platform-dev] MacOS .dmg vs .tar.gz
  • User-agent: Microsoft-MacOutlook/16.42.20100402

A .dmg is an installer.  In the case of the Eclipse macOS installer, I imagine it mostly just extracts the archive and moves it into the Applications folder.

Originally I was going to say that it wouldn’t be unreasonable to publish a .tar.gz for macOS but thanks Mikael Barbero for calling out https://bugs.eclipse.org/bugs/show_bug.cgi?id=507328.  The comments are very informative and the (accidentally) linked article (https://lapcatsoftware.com/articles/app-translocation.html) is interesting as well.

 

Based on reading all of that, I think it would be best to stick with .dmg.

Providing instructions with a .tar.gz to drag the bundle into /Applications would take care of the issue if users actually read it and heed the warning

But my guess is most people would extract the .tar.gz and run it from ~/Downloads without reading anything, then get into trouble and be mad/sad.

 

Liviu, thanks for linking to your package page which has the instructions, but according to one of the comments removing that flag was not enough:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=507328#c15

Maybe things have improved since Sierra, but even so, for most users it seems like moving the bundle out of Downloads would be preferable to changing file attributes.

 

Tony Homer

 

 

From: <platform-dev-bounces@xxxxxxxxxxx> on behalf of Mikael Barbero <mikael.barbero@xxxxxxxxxxxxxxxxxxxxxx>
Reply-To: "Eclipse platform general developers list." <platform-dev@xxxxxxxxxxx>
Date: Tuesday, October 13, 2020 at 10:45 AM
To: "Eclipse platform general developers list." <platform-dev@xxxxxxxxxxx>
Subject: Re: [platform-dev] MacOS .dmg vs .tar.gz

 

I always released my macOS package as a .tar.gz and they work very well. Just that you have to remove the quarantine attribute added by the browser after download:

https://projects.eclipse.org/projects/iot.embed-cdt/downloads

 

You're right, it can also be done this way. However, to offer a seamless experience to the end users, one have to deliver a .dmg (or .pkg).

 


Mikaël Barbero 

Manager — Release Engineering and Technology | Eclipse Foundation

🐦 @mikbarbero

Eclipse Foundation: The Platform for Open Innovation and Collaboration

 


Back to the top