MultiMarkdown-6 icon indicating copy to clipboard operation
MultiMarkdown-6 copied to clipboard

Update homebrew formula

Open fletcher opened this issue 8 years ago • 14 comments

fletcher avatar Feb 18 '17 02:02 fletcher

Updating formula to make it available via homebrew would be fantastic!

Thank you for great tool!

f8ttyc8t avatar Apr 26 '17 13:04 f8ttyc8t

I assume @fletcher is leaving it a while to make sure any residual bugs are fixed before pushing V6 to brew.

iandol avatar May 25 '17 04:05 iandol

Because v6 does do a few things quite differently than earlier versions, I want to be careful about "forcing" people to upgrade. At least until they have a chance to understand the benefits of v6.

fletcher avatar May 25 '17 12:05 fletcher

Thank you very much for explaining! Agree, could cause some irritations.

Maybe there is a chance to provide two formulas, a v5 and a v6 ones?

f8ttyc8t avatar May 25 '17 13:05 f8ttyc8t

I thought about a separate v6 formula, but just haven't had time to get to it.

fletcher avatar May 25 '17 13:05 fletcher

I created a pull request for homebrew for multimarkdown6.

fletcher avatar May 25 '17 18:05 fletcher

Great news - thank you very much!

f8ttyc8t avatar May 25 '17 20:05 f8ttyc8t

Homebrew won't accept separate formulas.

fletcher avatar May 26 '17 12:05 fletcher

Too bad.

Thank you anyway!

f8ttyc8t avatar May 26 '17 13:05 f8ttyc8t

The formula should probably be called multimarkdown@6. There are a few packages available as different versions, e.g.:

$ brew search llvm
llvm             [email protected]           [email protected]           [email protected]           llvm@4

hosewiejacke avatar Sep 15 '17 11:09 hosewiejacke

As above, they won't accept multiple formulas -- at least not for "regular" projects. I guess llvm gets a pass.

fletcher avatar Sep 15 '17 13:09 fletcher

Strange. There are quite a few formulas having at least 2 versions:

$ brew search '@' | sed 's/@.*//' | sort | uniq | wc -l
      91

hosewiejacke avatar Sep 16 '17 06:09 hosewiejacke

All I know is that I tried to create a new version, and was rejected saying they don't allow it. I don't know whether all 91 of those are valid exemptions are not.

But in either case, when I get around to it I'll update the main recipe to v6.

fletcher avatar Sep 16 '17 15:09 fletcher

It seems this has now happened, multimarkdown formula now installs V6... Currently it does not install the LaTeX support files, and the only way to get them is to install from the standalone installer (which would also overwrite the homebrew mmd, breaking the symlink), perhaps the formula could comment on this to help users, or a small update to the limited documentation at https://fletcher.github.io/MultiMarkdown-6/ to help a user work out what to do.

iandol avatar Feb 12 '18 06:02 iandol