This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-11-30
Channels
- # adventofcode (4)
- # aleph (1)
- # announcements (7)
- # aws (10)
- # babashka (23)
- # beginners (23)
- # calva (20)
- # chlorine-clover (13)
- # cider (17)
- # clj-kondo (13)
- # cljfx (9)
- # cljsrn (9)
- # clojure (98)
- # clojure-australia (1)
- # clojure-dev (15)
- # clojure-europe (127)
- # clojure-nl (4)
- # clojure-sanfrancisco (3)
- # clojure-uk (98)
- # clojurescript (25)
- # community-development (8)
- # core-async (15)
- # cryogen (9)
- # cursive (7)
- # data-science (1)
- # datascript (5)
- # datomic (3)
- # devcards (2)
- # fulcro (5)
- # graalvm (1)
- # helix (8)
- # jackdaw (1)
- # jobs (5)
- # kaocha (17)
- # malli (5)
- # meander (5)
- # off-topic (37)
- # pathom (33)
- # pedestal (3)
- # re-frame (12)
- # reitit (1)
- # remote-jobs (3)
- # sci (1)
- # shadow-cljs (6)
- # testing (1)
- # vim (6)
- # vrac (5)
Question: https://github.com/cryogen-project/cryogen/pull/220 switches incremental compilation on by default for those creating a new blog. I think it is OK as it doesn't change any existing behavior but maybe worth discussing and hearing your opinions. So for existing sites, incremental compilation is opt in, for new ones it would be opt out.
The ideal situation would be to recompile only those pages that need it by using a dependency graph. But, that might take a long time to implement. In the mean time, the currently implemented incremental compilation does provide significant practical value to some subset of users right now. So, I'd be okay with it being an opt-in for present and future blogs. Being an explicit opt-in, users will be aware of the tradeoffs they are making.
Suppose we make a release that includes cryogen-core
with PR#149 and cryogen
with PR#220, how would someone using those releases, who creates a new blog, then opt-out of the incremental compilation?
I'll change 220 to be opt in with the separate lein alias etc
Great, thanks. Do PR#149 and PR#200 need to be coordinated and applied together? Meaning, can we make a release of cryogen-core
with PR#149, and then later, make a release of cryogen
with PR #220? Another way of asking - if we release cryogen-core
with PR#149 and someone starts using the new release with the current release of cryogen
, will that work?
Yes, do core release first. The change there is non breaking and backwards compatible. Notice 220 does not change anything, it only adds new behavior.
OK. Thanks. That makes my life a lot easier. I was trying to figure out how to test PR#220 and PR#149 at the same time. I will now focus on getting out a new release for cryogen-core
.
Now that the new version of cryogen-core
is out, I took another look at PR#220. I looked at the code diffs, and it visually looks okay. I am trying to figure out how best to test this. Can you share the commands you used? Thanks.
I created a new blog site then implanted the #220 changes to it. Then I run 1 by 1, lein serve, lein serve-fast, clojure - X:serve, clojure - X:serve-fast and, while running, changed a blog post.