mirror of
https://gitlab.cern.ch/wotsubo/psboard-qaqc-postprocess.git
synced 2024-11-22 15:21:00 +09:00
Wataru Otsubo
46487320b0
- this commits includes 2 other implementations - 1st one with custom type with `impl Read` for Lazy evaluation - this somehow ended up in infinite loop - 2nd one which collects lines without skipped lines first - this works - the current implementations has another File and catches invalid row and check the line later
41 lines
696 B
Markdown
41 lines
696 B
Markdown
# psb_qaqc
|
|
|
|
WIP
|
|
|
|
日本語: [./docs/README-ja.md](README-ja.md)
|
|
|
|
## For developers
|
|
Use `rustup` to set up developing tools.
|
|
|
|
### build / run
|
|
```sh
|
|
cargo build
|
|
cargo run -- -h
|
|
```
|
|
|
|
Build for JATHub using cross:
|
|
```sh
|
|
CROSS_CONTAINER_ENGINE=podman cross build --release --target armv7-unknown-linux-musleabihf
|
|
```
|
|
`CROSS_CONTAINER_ENGINE=podman` is optional(default docker).
|
|
|
|
### test
|
|
```sh
|
|
cargo test
|
|
```
|
|
|
|
### doc
|
|
```sh
|
|
cargo doc --open
|
|
```
|
|
|
|
## TODO
|
|
- add more unittests
|
|
- test for various cases
|
|
- split into mods(maybe as lib crates)
|
|
- add csv check/validate subcommand
|
|
- skew measurement?
|
|
- skew measurement test
|
|
- for start-shiftwork v1.0.0 (add start date parsing)
|
|
|
|
check `TODO`s in comments.
|