Skip to content

Commit

Permalink
Various Updates & Fixes to bridgectl (#3)
Browse files Browse the repository at this point in the history
* update deps, fix exit code, allow configuring port

- update our dependencies to their latest versions
- also pre-emptively bump our misc version for packaging
- don't error out when using the `--help` flag on bridgectl
  - we should only error when you specify no args including no help flag
- allow configuring the parameter space port
  - i see this option in `setup.cgi` of my MION, i don't know why none
    of the tools techincally allow you to configure this port.

* various bridgectl fixes, dev work on mion http

- bridgectl was not respecting `cafe`/`cafex`/`mochiato` env vars
  - this wasn't necissarily a bug, but a behaviour we should support
    to continue making bridgectl "just work" when you'd expect it too.
  - this wasn't added in previous commits because:
    - `mochiato` doesn't techincally exist yet, due to other missing
      pre-requisites before it can be implemented.
    - while running under `cafe`/`cafex` for Sprig is supported, it
      is not something I do frequently. this was just one behavior
      i had missed because i wasn't thinking about it.
  - this basically just gets around needing to manually specify
    `-d`/`--default` or a bridge name/ip/mac when running with the
    environment variables that get set by `cafe`/`cafex`/`mochiato`
- also fixed several outputs where things like set-parameters said
  it can't "get parameters", even though you're trying to... set
  parameters not get them.
- fix some bad documentation links in `cat-dev`
  - this was because i had changed some module paths, and variable names
- also start throwing in some WIP parts of MION FSEmul work,
  specifically talking to `control.cgi` which is used to actually tell
  the MION to power on, and get some information about it.

* fix actually using cafe env vars

* fix typo in suggestion
  • Loading branch information
Mythra authored Feb 18, 2024
1 parent ddcfca1 commit e4db35c
Show file tree
Hide file tree
Showing 28 changed files with 1,025 additions and 196 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,19 +96,19 @@ jobs:
- uses: actions/upload-artifact@v3
with:
name: sprig_amd64.deb
path: installer-scripts/unix/sprig_0.0.2_amd64.deb
path: installer-scripts/unix/sprig_0.0.3_amd64.deb
- uses: actions/upload-artifact@v3
with:
name: sprig_amd64.rpm
path: installer-scripts/unix/sprig-0.0.2-1.x86_64.rpm
path: installer-scripts/unix/sprig-0.0.3-1.x86_64.rpm
- uses: actions/upload-artifact@v3
with:
name: sprig_amd64.apk
path: installer-scripts/unix/sprig_0.0.2_x86_64.apk
path: installer-scripts/unix/sprig_0.0.3_x86_64.apk
- uses: actions/upload-artifact@v3
with:
name: sprig_amd64.pkg.tar.zst
path: installer-scripts/unix/sprig-0.0.2-1-x86_64.pkg.tar.zst
path: installer-scripts/unix/sprig-0.0.3-1-x86_64.pkg.tar.zst
- uses: actions/upload-artifact@v3
with:
name: sprig-target-directory-unix
Expand Down
Loading

0 comments on commit e4db35c

Please sign in to comment.