jocker

Crates.iojocker
lib.rsjocker
version0.3.0
sourcesrc
created_at2024-10-10 10:02:24.502013
updated_at2024-11-26 09:30:58.508128
descriptionRun your monorepo binaries locally with ease !
homepage
repositoryhttps://gitlab.com/wykiki/jocker
max_upload_size
id1403661
size106,527
(Wykiki)

documentation

README

Jocker

Manage your mono-repo binaries locally at ease !

This projects aims at giving you anything you need to easily run your binaries in a mono-repo setup, giving you an similar experience to what you may already know with docker CLI.

NOTE : It does not aim to reproduce the exact same behaviour as what does docker, but stick to its API when relevant.

Installation

cargo install --git https://gitlab.com/wykiki/jocker.git jocker

# From sources
git clone https://gitlab.com/wykiki/jocker.git
cargo install --offline --path .

Wipe state

In case you have weird behaviour, you can delete jocker's states located under ~/.local/state/jocker/. Doing so won't terminate running subprocesses, so you may need to terminate them yourself, with some kill, like : ps u | grep target | awk '{print $2}' | xargs kill

TODO

  • Reconcile process status at each CLI call
  • Automatically refresh process list when project workspace is updated
  • Refresh process config when jocker.yaml is updated
  • Split project into different crates
  • Have an UI
  • Handle stack keyword in config
  • Check references behind stack keyword
  • Handle stack.inherits keyword in config
  • Correctly show logs while building
  • Correctly show both stdout and stderr of a running process
  • When showing all logs, group logs per service before streaming them
  • Correctly stop child processes
  • Command to wipe project state
Commit count: 43

cargo fmt