Skip to content
Snippets Groups Projects
  1. Apr 10, 2025
    • STEVAN Antoine's avatar
      Merge branch 'main' into doc · 3af57bc5
      STEVAN Antoine authored
      get changes from !206.
      3af57bc5
    • STEVAN Antoine's avatar
      update the readme (!206) · 6ebc8bbd
      STEVAN Antoine authored
      This MR explains the use of `make.rs` and `nob.rs` in the README for newcomers.
      6ebc8bbd
    • STEVAN Antoine's avatar
      Merge branch 'main' into doc · 3fef202d
      STEVAN Antoine authored
      get changes from !207.
      3fef202d
    • STEVAN Antoine's avatar
      add `container list` for Docker containers (!207) · 38fe0ff4
      STEVAN Antoine authored
      ## examples
      ```bash
      ./make.rs container list --json
          | from ndjson
          | into datetime CreatedAt
          | into filesize Size VirtualSize
          | reject CreatedSince
      ```
      or
      ```bash
      ./make.rs container list --json
          | from ndjson
          | into datetime CreatedAt
          | into filesize Size VirtualSize
          | reject CreatedSince
          | select ID Repository Tag CreatedAt VirtualSize
          | update Tag { str substring 0..<7 }
      ```
      
      ## changelog
      - transform options of `container` to sub-subcommands
        - `container` --> `container build`
        - `container --login` --> `container login`
        - `container --push` --> `container push`
      - add `container list` to print the local images for the GitLab and GitHub repositories
        - `container list` will print in a pretty table
        - `container list --json` will print as NDJSON, i.e. one image per line as JSON
      - use wrappers around `nob::run_cmd_as_vec_and_fail!`
        - `extend_and_run` to run a partial command with an extra vector of args
        - `extend_and_run_and_capture_silent` to run a partial command with an extra vector of args and silently capture the stdout into a string
        - this allows to get rid of the `#[rustfmt::skip]` _directive_ on `main` and format the code not too aggressively
      38fe0ff4
  2. Apr 08, 2025
  3. Apr 03, 2025
  4. Apr 02, 2025
  5. Apr 01, 2025
Loading