Fork me on GitHub
#cryogen
<
2020-10-16
>
holyjak12:10:46

☝️ has been extended to add support for setting asciidoctor options and attributes in config.edn. Please ping me when it is out so that I can use it on my blog 🙏 @carmen / @yogthos

👍 3
Eugen12:10:59

Nice. Looking forward to seeing some improvements in cryogen web.

Eugen12:10:28

Once I get back to my website I hope to contribute some features

❤️ 3
Eugen12:10:50

My focus is on asciidoc as I believe it has more potential (although less tooling suport atm). I also the conventions and structure that https://antora.org/ has around building (documentation) websites from different git repos and modules.

Eugen12:10:33

They also have a nice solution for providing an UI

yogthos13:10:42

thanks for the PR, just pushed out 0.3.0 version of cryogen-asciidoc with the update 🎉

holyjak18:10:35

@yogthos merging the multiple extensions PR broke asciidoc b/c it depends on https://github.com/cryogen-project/cryogen-core/pull/146 being merged into core and then depending on that version > Syntax error (IllegalArgumentException) compiling reify* at (cryogen_asciidoc/core.clj:22:3). > Can't define method not in interfaces: exts Here is a PR to revert it https://github.com/cryogen-project/cryogen-asciidoc/pull/10

holyjak18:10:59

Thanks for the merge! Can you re-release 0.3.0 to clojars? or bump the version and release? 🙏

yogthos18:10:40

oh yeah I'll push a new version out in a few minutes

yogthos18:10:19

ok everything should be up on Clojars

yogthos19:10:38

thanks again for doing the PRs 🙂

dorab23:10:20

• Sorry for the need to simultaneously update the various cryogen repos to handle the multiple-extensions PR. The list of PRs that need to be updated together are:`cryogen-asciidoc` PR number 7 • cryogen-docs PR number 32 • cryogen-markdown PR number 13 • cryogen-flexmark PR number 6 and cryogen-core PR number 146

dorab23:10:46

As @U0522TWDA noted, the dependencies need to be updated after the PRs are applied. I did not want to put the dependency changes into the PRs since I didn't know what the new version numbers would be. I think the current states of the sub-projects of cryogen-project are inconsistent. What is needed is to apply all the PRs in each of the sub-projects mentioned above and then to update all the dependencies.

dorab23:10:04

Please let me know how I can help.

dorab00:10:22

@yogthos Just to be clear, ALL the related PRs need to be applied and then all the dependencies updated. It is not enough to apply just some of them. This is because the name of the protocol method is changed from ext to exts. Happy to do this if I have write access to the repos.

yogthos00:10:10

I merged all the PRs I think, but check with @carmen about access

carmen00:10:33

@U0AT6MBUL I sent you an invite to the org!

dorab00:10:00

Thanks. @carmen. Joined. @yogthos thanks. I'll take a look and make the required changes.

dorab01:10:56

Does someone want to review the PRs before I merge them? I feel a bit strange merging my own PRs. But happy to do so if needed.

dorab01:10:29

I'm going ahead with merging the PRs.

yogthos01:10:15

Should I push out another release for core and asciidoc?

dorab01:10:26

I have applied the changes to all the relevant repos. BUT, I have not yet updated any of the version numbers. I will update the "patchlevel" versions of all the relevant repos and change the dependencies. Then the repos should be ready to be released.

dorab01:10:51

@yogthos, is the current cryogen-core master branch the same as 0.3.2? Asking because the last tag on the repo is 0.3.1 but the README says 0.3.2.

dorab02:10:13

I downloaded and looked at 0.3.2 and it looks like it matches master.

dorab03:10:18

I updated the master branch of the following repos:

dorab03:10:22

cryogen-asciidoc to 0.3.2

dorab03:10:39

cryogen-markdown to 0.1.13

dorab03:10:16

cryogen-flexmark to 0.1.4

dorab03:10:41

cryogen-docs to 0.1.1

dorab03:10:15

I'll leave the publishing of each of these repos to clojars to @yogthos.

dorab03:10:48

I'll note that the circleci build of cryogen-docs failed . Presumably because the correct versions of the dependencies are not yet on clojars. Other circleci jobs might fail too, for the same reason.

dorab03:10:14

After publishing to clojars, it might be good to run the tests in cryogen-core with all the latest versions.

dorab03:10:15

Going to bed now. Will check back here tomorrow morning.

dorab03:10:41

One other thing ... I did not make any changes to cryogen-core since 0.3.2 seemed to have all the necessary changes.

yogthos03:10:13

fantastic, just released all the updated libraries

yogthos03:10:11

and @carmen can take a look at the docs

yogthos03:10:21

oh it looks like the docs wasn't building because I haven't pushed the new libraries to clojars yet

holyjak14:10:21

@U0AT6MBUL The advice from the Clojure philosophy would be not to change the protocol (a breaking change) but to create a new one or one in a new namespace. Then you could simply add it to core, release it, and the plugins could choose to extend it in their own time

dorab17:10:48

Thanks. I agree. I did think about just adding an exts method to the existing Markup protocol. If I did that, it is my understanding that since the protocol itself has changed, that would still require synchronized updates. Meaning that if someone updated cryogen-core to the version containing the new Markup protocol, they could not continue to use the old implementations of the previous version of the Markup protocol. Is my understanding correct?

3