Fork me on GitHub
#cryogen
<
2020-12-08
>
dorab01:12:27

I've created a new release for cryogen version 0.6.3. Thanks to @holyjak. @yogthos would you please push to clojars. Thanks.

yogthos01:12:44

oh yeah sure thing

🙏 3
dorab01:12:57

@yogthos Thanks for the publishing to clojars. Does the clojars deployment need a jar or pom added to it? I ask because I just tried lein new cryogen myblog and got

Dorabs-iMac:tmp dorab$ lein new cryogen myblog
OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
Retrieving cryogen/lein-template/0.6.3/lein-template-0.6.3.pom from clojars
Could not find artifact cryogen:lein-template:jar:RELEASE
This could be due to a typo in :dependencies, file system permissions, or network issues.
If you are behind a proxy, try setting the 'http_proxy' environment variable.
Could not find template cryogen on the classpath.
Dorabs-iMac:tmp dorab$ 
Or, was it something I did wrong in assembling the release?

dorab01:12:25

I just checked and the jar is missing from clojars.

dorab01:12:40

The pom is there.

seancorfield01:12:45

I was able to do clojure -X:new :template cryogen :name cryogen.test and get a working new project.

seancorfield01:12:22

One thing I noticed in the generated deps.edn file: (requires tools-deps 0.9.745+) -- I'm not sure what you're referring to there? The exec stuff came in with Clojure CLI 1.10.1.697 -- that's the relevant version for this stuff per https://clojure.org/releases/tools (and 0.9.810 is the t.d.a version in that CLI)

seancorfield01:12:42

@dorab Just want to check that this comment wasn't missed in the convo about downloading the JAR...

dorab02:12:24

Yes. Thanks. Investigating.

dorab02:12:07

I agree. That comment is incorrect. Will fix it in the next release, since it is a comment.

dorab01:12:41

Hmm. That is strange. I just looked at my ~/.m2 and did not see any jar file.

dorab01:12:19

Will try downloading again.

seancorfield01:12:37

When folks run clojure -Sdescribe they'll see the 1.10.1.* version which is the important part.

seancorfield01:12:41

(! 962)-> ls -lR ~/.m2/repository/cryogen/lein-template/0.6.3/
total 424
-rw-r--r--  1 sean  staff     206 Dec  7 17:50 _remote.repositories
-rw-r--r--  1 sean  staff  197754 Dec  7 17:50 lein-template-0.6.3.jar
-rw-r--r--  1 sean  staff      40 Dec  7 17:50 lein-template-0.6.3.jar.sha1
-rw-r--r--  1 sean  staff    3564 Dec  7 17:50 lein-template-0.6.3.pom
-rw-r--r--  1 sean  staff      40 Dec  7 17:50 lein-template-0.6.3.pom.sha1

seancorfield01:12:33

Maybe you genuinely had a network glitch @dorab?

dorab01:12:51

Possibly. I'll try again.

dorab02:12:13

Works now 🙂

yogthos05:12:32

good to hear everything's working

seancorfield05:12:27

Very pleased to see CLI/`deps.edn` support.

Andrei Stan10:12:25

Hi, where do i 'tell' cryogen to generate pages from content/asc/pages and not content/md/pages ? i tried deleting the content/md folder but no pages will be generated in my public

3
Andrei Stan11:12:04

seems that i needed to add "asc/" into config.edn file:

:post-root  "asc/posts"

Andrei Stan11:12:49

but this does not resolve it; it just copies asc files into public/pages/

Jakub Holý (HolyJak)12:12:27

It depends on your dependencies. Remove the cryogen-flexmark dependency and add the cryogen-asciidoc one. The dependency hardcodes where it looks for content.

Jakub Holý (HolyJak)12:12:52

https://github.com/holyjak/blog.jakubholy.net uses asciidoc (and I have :post-root "posts" , which will look for content/<installed markdown code, ie. asc or md>/posts

👍 3
Andrei Stan12:12:17

@holyjak thank you, it resolved my issue 😄

👍 3
dorab17:12:56

There are new releases for cryogen-core, cryogen, and cryogen-docs (and thus http://cryogenweb.org). Adding support for Clojure CLI / deps.edn support (in addition to lein), and also a fast compilation mode, for use during development, that compiles just the changed pages (but not dependent pages).

bananadance 9