This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-05-26
Channels
- # aleph (1)
- # announcements (9)
- # aws (6)
- # babashka (18)
- # babashka-sci-dev (25)
- # beginners (79)
- # calva (30)
- # cider (34)
- # clj-kondo (25)
- # cljsrn (6)
- # clojure (26)
- # clojure-australia (1)
- # clojure-europe (6)
- # clojure-norway (1)
- # clojure-poland (6)
- # clojure-uk (3)
- # clojured (2)
- # clojurescript (14)
- # datomic (19)
- # events (1)
- # google-cloud (1)
- # gratitude (2)
- # helix (1)
- # hyperfiddle (2)
- # interceptors (1)
- # jobs (17)
- # joyride (96)
- # leiningen (5)
- # lsp (20)
- # minecraft (2)
- # nbb (5)
- # other-languages (1)
- # re-frame (34)
- # releases (2)
- # shadow-cljs (15)
- # spacemacs (1)
- # xtdb (19)
For the CI shorting script, need some opinions: • includes vs excludes: we short when file(s) in the changeset are in either of the lists? • how to specify the files: as a vec of strings of globs or direct file paths or regexes? • should we also support git message based shorting? • how much should the script be aware of where its running: should it signal a short by a non zero exit or call some ci-centric API/shell command? • if this is written using bb, should we bootstrap it?
@rahul080327 I'm mostly concerned about circleci, so we can just use the circleci short command which is already in there somewhere.
Also as a first iteration, just filtering on only .md
files is sufficient: if the changed files are only .md
files, then short, that's it. This is what I need for clj-kondo and babashka, nothing more complex at the moment.
okay so this is what I'll start with the logic short by calling the circleci command if includes only *.md
. for the bb question, should be bootstrap it like the docker script?
here i think we need to use a pre built bb? cant do it exactly like the docker one as its pretty much at the end.
maybe since this will be a simple script, hopefully, some bash would be ok...? famous last word
I'd rather not have a bb within the bb build as I'm afraid that it will mess things up
or python maybe? have some sanity than bash
can just use jvm clj
yeah im all for isolating the other bb
sounds good to me, would have a go at it in a day or so. have a fair idea now
or this could also be the first tools.build thing too
please not, tools.build is a build tool, let's not spawn JVMs within JVMs for simple stuff
fair point
I will eventually rework the feature stuff with tools.build, it's a natural fit for that
Just a .clj
file will also do, we should be able to run that either with JVM or a bespoke bb download
probably would be a bb centric clj file, would involve shelling out to git, gotten hooked to bb.process
now 😄