Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we have .dmg file on releases download page? #58

Closed
juniorb2ss opened this issue Jun 22, 2020 · 30 comments · Fixed by #297
Closed

Can we have .dmg file on releases download page? #58

juniorb2ss opened this issue Jun 22, 2020 · 30 comments · Fixed by #297
Labels
Feature Request New feature or request PR Welcome Issues and fixes available for wide community to help us move forward by creating a PR with solution
Projects

Comments

@juniorb2ss
Copy link

juniorb2ss commented Jun 22, 2020

That can be good to create a cask formule for brew, like we have today for sequel-pro: https://github.com/Homebrew/homebrew-cask/blob/master/Casks/sequel-pro.rb

@Kaspik
Copy link
Member

Kaspik commented Jun 22, 2020

Could you please hint me an idea or reason why would you prefer Brew instead of Mac AppStore? :)

Thanks!

@juniorb2ss
Copy link
Author

Could you please hint me an idea or reason why would you prefer Brew instead of Mac AppStore? :)

Thanks!

Hello @Kaspik

Just my preference. Because with brew I have brew bundle dump which helps a lot when I change my computer.

I don't see that the possibility of using the brew will remove the use of the Mac AppStore. I particularly find the brew much more dynamic and practical, which makes it much easier. So, just as the sequel-pro allows installation using the brew, I believe that this project can also allow it.

@Kaspik Kaspik added the Feature Request New feature or request label Jun 22, 2020
@Jason-Morcos Jason-Morcos added this to To do in Future Work via automation Jun 22, 2020
@jpmurray
Copy link

To add my voice to this, I have a .dotfile install setup that automates the installation process of my work computer, having a cask makes it a breeze.

(Also, but that is just personnal, I haven't logged to the app store in years and I'd like for that to continue! 🙂)

@Jason-Morcos
Copy link
Member

Would be cool! I know nothing about publishing to homebrew. What do we need to do exactly to make Sequel Ace available as a cask?

@juniorb2ss
Copy link
Author

Would be cool! I know nothing about publishing to homebrew. What do we need to do exactly to make Sequel Ace available as a cask?

@Jason-Morcos

Only .dmg file and sha256 to make security verification. The rest we can use the same cask used for sequel pro: https://github.com/Homebrew/homebrew-cask/blob/master/Casks/sequel-pro.rb

If we have a .dmg file available, I can create the cask file instructions

@Kaspik
Copy link
Member

Kaspik commented Jun 22, 2020

I would suggest including the dmg file here on Github in release - but we will need to figure out code signing first.

Let's investigate this. :)

@juniorb2ss
Copy link
Author

FYI @Jason-Morcos https://github.com/Homebrew/homebrew-cask/blob/master/CONTRIBUTING.md#adding-a-cask

@jeffbyrnes
Copy link

It’s possible to install Mac App Store stuff via Homebrew:

brew install mas-cli/tap/mas
# mas install $app_store_id
mas install 1518036000 # Sequel Ace

@Kaspik
Copy link
Member

Kaspik commented Jun 22, 2020

Ohh love it! Let me create a PR with updated readme as a supported way of installation. :)

@jpmurray
Copy link

@jeffbyrnes do we need to be logged in to the App Store for that to work ? Because on my end, one of the joy of using homebrew is not to use the app store entirely when possible... ;-)

@jeffbyrnes
Copy link

You do have to be logged in, yes.

@jeffbyrnes
Copy link

I’d be happy to help automate non-MAS release going to Homebrew, but this is a good workaround for now!

@Kaspik Kaspik added the PR Welcome Issues and fixes available for wide community to help us move forward by creating a PR with solution label Jun 22, 2020
@Kaspik
Copy link
Member

Kaspik commented Jun 22, 2020

Agree, let's add it to the Readme anyways, but keep this open for future reference completely without AppStore.

@emjayess
Copy link

Many thanks to everyone with the initiative to breathe life into this project!

I'll echo the sentiments of others here... I love using mac homebrew to manage installed software packages, and loathe using the mac app store. In fact, if an app isn't available via brew, the likelihood that I'll even bother installing it drops by probably 75%.

@jpmurray
Copy link

Take this a grain of salt, I'm reading and learning about punlishing cask as we go but it seems we could forgot (at least for now!) the usage of an SHA check for the casks. Taken from their docs page for adding a cask, you can see an example without it from a package called "advancedcolors":

And here is one for advancedcolors. Note that it has an unversioned download (the download url does not contain the version number, unlike the example above). It also suppresses the checksum with sha256 :no_check (necessary since the checksum will change when a new distribution is made available). This combination of version :latest and sha256 :no_check is currently the preferred mechanism when a versioned download URL is not available and the cask does not have an appcast.

cask 'advancedcolors' do
  version :latest
  sha256 :no_check

  url 'https://advancedcolors.com/AdvancedColors.zip'
  name 'Advanced Colors'
  homepage 'https://advancedcolors.com/'

  app 'AdvancedColors.app'
end

Since you said you could help do it, @jeffbyrnes, do you think it's a good avenue ?

@jeffbyrnes
Copy link

I can certainly take a look, maybe this weekend. This would be my first time defining a cask, but I’ve worked with regular formulæ a few times, so I don’t foresee it being too difficult (famous last words?)

The other approach I’ve seen is to have some kind of CI functionality that handles updating the formula (GitHub Action would work well, I think).

@Kaspik
Copy link
Member

Kaspik commented Jun 23, 2020

I'm planning to introduce Github CI here, so if you can wait, we can get back to it.

@zylo47
Copy link

zylo47 commented Jun 25, 2020

I'm logged into the app store and when I try the commands provided to install with homebrew above I get the following message:

Redownload Unavailable with This Apple ID
This redownload is not available for this Apple ID either because it was bought by a different user or the item was refunded or cancelled.

@jeffbyrnes
Copy link

@zylo47 that’s an App Store error, not a Homebrew error. The error says exactly what it means; I would try deleting your existing local copy of the app, logging out & back in to the store, and trying again.

@Bytesmiths
Copy link

Could you please hint me an idea or reason why would you prefer Brew instead of Mac AppStore? :)

Well, Homebrew is open source and free, whereas Apple Store is proprietary, and Apple reserves the right to market your personal information. I have cancelled my Apple Store account, and will not use it.

@loranger
Copy link

loranger commented Jul 6, 2020

I'd be glad to have an alternative download solution too, as I cannot install Sequel Ace from the french App Store :

mas install

@Jason-Morcos
Copy link
Member

I'd be glad to have an alternative download solution too, as I cannot install Sequel Ace from the french App Store :

mas install

@loranger You can download the release zip directly from GitHub. We upload a zip for each release.
https://github.com/Sequel-Ace/Sequel-Ace/releases

@njvack
Copy link

njvack commented Aug 10, 2020

Maybe a weird question here, but: What's the motivation for releasing through the MAS at all? Is an iPad version in the plans? Or a paid version?

@Jason-Morcos
Copy link
Member

Maybe a weird question here, but: What's the motivation for releasing through the MAS at all? Is an iPad version in the plans? Or a paid version?

Ease of distribution, no requirement to run any special build server (the demise of Sequel Pro), trusted distribution platform, available on all Macs. No plans for iPad or paid version. Also, why not? If we're gonna notarize and sandbox for security and interoperability (and we follow Apple's rules), why not distribute on MAS?

@samuelbradshaw
Copy link

samuelbradshaw commented Aug 10, 2020

As a user, I like using the App Store because it's easier to search for apps and compare them to each other, with standardized rating/reviews, etc. I also like that Apple keeps track of App Store apps I've installed, so when I switch to a different computer, I can download many of the apps I need all in one place (which is similar to how people above are using Homebrew – but the Mac App Store is built in; Homebrew has to be installed).

To me, the convenience of having most apps in one place is similar to the convenience of having a package manager for Python libraries, or knowing that if I want to buy something online, chances are I can find it on Amazon. There are still a few apps that aren't on the App Store, that I wish were.

@njvack
Copy link

njvack commented Aug 11, 2020

The main reason to not use the MAS would be to avoid dealing with sandboxing restrictions. Consumer apps are, generally, a better fit there than developer apps which often want to talk to areas of your filesystem (say, /private/tmp/mysql.sock) or do other things that are prohibited by the sandbox.

@plessbd
Copy link
Contributor

plessbd commented Aug 13, 2020

Having a DMG might still be wanted, but it is not needed for this to work with homebrew. a cask, sequel-act already exists
https://github.com/Homebrew/homebrew-cask/blob/master/Casks/sequel-ace.rb
just have to run it.
Might want to update the readme to point this out. Having a DMG might still be wanted, but it is not needed for this to work with homebrew

@Jason-Morcos
Copy link
Member

See #297 for the discussion of the cask.
As of now, the Sequel Ace team does not advise using the cask to install Sequel Ace. We aren't the ones controlling the cask. The only two official distributions of the app are the Mac App Store and GitHub releases.

@stychos
Copy link
Contributor

stychos commented Aug 14, 2020

Actually, Cask use our releases, but yes, we can't control it.

Future Work automation moved this from To do to Done Aug 19, 2020
@Bytesmiths
Copy link

Bytesmiths commented Aug 28, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request New feature or request PR Welcome Issues and fixes available for wide community to help us move forward by creating a PR with solution
Projects
No open projects
Future Work
  
Done
Development

Successfully merging a pull request may close this issue.