Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Pitt <[email protected]>
  • Loading branch information
jelly and martinpitt committed Aug 24, 2023
1 parent 8a9e239 commit dcb91c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions HACKING.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,15 +199,15 @@ The Python bridge can be used interactively on a local machine:
To make it easy to test out channels without having to write out messages
manually, `cockpit.misc.print` can be used:

PYTHONPATH=src python3 -m cockpit.misc.print open fslist1 path=/etc watch=False | PYTHONPATH=src -m cockpit.bridge
PYTHONPATH=src python3 -m cockpit.misc.print open fslist1 path=/etc watch=False | PYTHONPATH=src python3 -m cockpit.bridge

These shell aliases might be useful when experimenting with the protocol:

alias cpy='PYTHONPATH=src python3 -m cockpit.bridge'
alias cpf='PYTHONPATH=src python3 -m cockpit.misc.print'

When working with the Python bridge on test images, note that `RHEL/CentOS 8`,
`debian-stable` and `ubuntu-2204` use the C bridge. So if you want to
`debian-stable`, and `ubuntu-2204` still use the C bridge. So if you want to
explicitly have the Python bridge on those images use:

./test/image-prepare --python
Expand Down

0 comments on commit dcb91c2

Please sign in to comment.