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

Unofficial LilyPond version for macOS Catalina #39

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

papilip
Copy link

@papilip papilip commented Jun 9, 2020

The official cask try for macOS Mojave, this cask repare that !

With appcast as requested by @fanninpm

@fanninpm
Copy link

fanninpm commented Jun 9, 2020

For future reference, it's inefficient to close and open new pull requests for the same changes. Now, all you would need is git push --force origin EL_NOMBRE_DE_SU_RAMA.

Comment on lines 6 to 7
url "https://bintray.com/marnen/lilypond-darwin-64/download_file?file_path=lilypond-#{version}.build20200311175017-darwin-64.tar.gz"
appcast 'https://bintray.com/marnen/lilypond-darwin-64/lilypond-2.20.0#release'
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On line 2, you declare version '2.20.0'. However, I would hazard to guess (and @marnen can correct me if I'm wrong) that the build number (currently 20200311175017) would normally change more often than the patch number. When I tried my hand at creating a cask for this, I declared version '2.20.0.build20200311175017', but then I found a way that I think is even better because it allows the part of the version number before the build number to be used in one more place.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fanninpm Thank you very much for this tip. I correct right away.

However, I did not understand the EL_NOMBRE_DE_SU_RAMA.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems from my latest push that you got the gist of what I meant by LE_NOME_DE_VOTER_BRANCH, but it's currently late at night where I am.

You may want to add the version number to the appcast string (but I would personally hold off from doing that until the maintainer comes by to comment that this is the correct way to go).

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fanninpm:

However, I would hazard to guess (and @marnen can correct me if I'm wrong) that the build number (currently 20200311175017) would normally change more often than the patch number.

That's generally correct, although at this point, they may change at the same rate. I originally had the build number in there because I had to develop a new build process for 64-bit Mac builds, and since I might build the same source code with several different attempts at a Makefile that worked, it made sense to have a build number so I could track which version of the Makefile had been used for which build.

Now that the Makefile more or less works, the build number won't change that often (probably just when I actually build from a new version of the source, or when the Makefile requires major changes).

@@ -0,0 +1,45 @@
cask 'lilypond-unofficial' do
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about lilypond-64-bit or something like that?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The file would also have to be renamed, and that would most likely involve git mv OLD_FILE_NAME NEW_FILE_NAME.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, cask renamed,
What do you want more ?


# bintray.com/marnen/lilypond-darwin-64/download_file?file_path=lilypond- was verified as official when first introduced to the cask
url "https://bintray.com/marnen/lilypond-darwin-64/download_file?file_path=lilypond-#{version.before_comma}.build#{version.after_comma}-darwin-64.tar.gz"
appcast 'https://bintray.com/marnen/lilypond-darwin-64/lilypond-2.20.0#release'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could mention the #{version.before_comma} (but make sure to put it in double quotes if you do that).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants