The test is shell code that invokes ruby and looks at output.
I think we can use the functionality in 'go test' to replace a lot of the "shell test infrastructure".
'gem_test.go' here replaces the --require=
functionality in seen
there in gem-check
.
This is function for a usrMerge tool.
The goal is to call usrSbinMergeRoot
with a target directory
and it should apply a usrSbinMerge to the contents of that directory.
The plan for making usrMerge in wolfi was:
- setup things such that this tool can be called from a pipeline
I played with virtio-serial today and don't want to lose the information that I had.
Here is an example of booting with multiple
-chardev socket,wait=off,id=mychardev0,server=on,path=/tmp/.sock0
-chardev socket,wait=off,id=mychardev1,server=on,path=/tmp/.sock1
-device virtio-serial-pci
-device virtserialport,name=smoser0,chardev=mychardev1
Gotty is really nice, allowing you to share your terminal in a browser.
I had never wanted to do that until I realized that the only thing I ever share in a video conference is:
- terminal
- browser window.
I don't share my whole screen, because I don't want you seeing the notifications of new cat videos on youtube and you probably would not appreciate the full 4880x2560 screen.
Sometimes its helpful to edit lots of melange files quickly.
This is something that I used to do that.
- uses ruamel.yaml this is pretty good. I have seen one case where messed up roundtrip (py3-botocore.yaml)
- running 'yam' afterwards fixed up more of the small differences with indentation.
- see also https://github.com/dannf/py-melange-yaml
-
get-archive-info - get a
tar tvf
output and the .APKINFO for every file in the archive. -
build-stage - throw a bunch of files and see which build. they do not depend on each other (each only builds with the wolfi repo)
I used this to help create batches of things when changing lots of files.
-
test-installable - its like the c-i test that checks that all packages