Liking cljdoc? Tell your friends :D

wagoe.cli.upgrade

wagoe upgrade: rewrite what a release deprecated, driven by upgrades.edn.

rewrite-clj edits the parsed text, so formatting and comments survive.

`wagoe upgrade`: rewrite what a release deprecated, driven by upgrades.edn.

rewrite-clj edits the parsed text, so formatting and comments survive.
raw docstring

-mainclj

(-main args)
source

config-noticesclj

(config-notices table text path)

A notice for each deprecated config value set only through an Aero tag, such as #keyword #env JOBS_PROVIDER: there is no literal to rewrite, and the value the environment supplies may still be an old name.

A notice for each deprecated config value set only through an Aero tag, such
as `#keyword #env JOBS_PROVIDER`: there is no literal to rewrite, and the
value the environment supplies may still be an old name.
sourceraw docstring

key-locclj

(key-loc loc k)

Location of key k in the map at loc, or nil.

Location of key `k` in the map at `loc`, or nil.
sourceraw docstring

load-tableclj

(load-table)
source

path-locclj

(path-loc loc path)
source

planclj

(plan dir table)

What table would change under project dir: {:changes [{:path :file :old :new}] :notices [...]}.

What `table` would change under project `dir`:
{:changes [{:path :file :old :new}] :notices [...]}.
sourceraw docstring

relativeclj

(relative dir f)
source

rewrite-configclj

(rewrite-config table text)

text of a config.edn with every config rewrite in table applied.

`text` of a config.edn with every config rewrite in `table` applied.
sourceraw docstring

rewrite-sourceclj

(rewrite-source table text path)

{:text :notices} — text of a .clj(c) file with the ns and fn renames in table applied. path only labels the notices.

{:text :notices} — `text` of a .clj(c) file with the ns and fn renames in
`table` applied. `path` only labels the notices.
sourceraw docstring

runclj

(run dir table apply?)

Plans and prints the upgrade of dir; writes the files when apply?. Returns the plan.

Plans and prints the upgrade of `dir`; writes the files when `apply?`.
Returns the plan.
sourceraw docstring

table-problemsclj

(table-problems table)

Why each entry of table is malformed, as strings. Empty when it is fine.

Why each entry of `table` is malformed, as strings. Empty when it is fine.
sourceraw docstring

unified-diffclj

(unified-diff path old new)

old → new as a unified diff with three lines of context.

`old` → `new` as a unified diff with three lines of context.
sourceraw docstring

usageclj

source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close