mirror of
https://github.com/openzim/zimit.git
synced 2025-09-22 19:38:32 -04:00
Merge pull request #407 from openzim/fix_help
Fix help and add test case to check this important feature
This commit is contained in:
commit
e8faebbb24
3
.github/workflows/Tests.yaml
vendored
3
.github/workflows/Tests.yaml
vendored
@ -59,6 +59,9 @@ jobs:
|
|||||||
- name: build image
|
- name: build image
|
||||||
run: docker build -t zimit .
|
run: docker build -t zimit .
|
||||||
|
|
||||||
|
- name: ensure help display without issue
|
||||||
|
run: docker run -v $PWD/output:/output zimit zimit --help
|
||||||
|
|
||||||
- name: run crawl
|
- name: run crawl
|
||||||
run: docker run -v $PWD/output:/output zimit zimit --url http://isago.rskg.org/ --name isago --zim-file isago.zim --adminEmail test@example.com --mobileDevice "Pixel 5" --statsFilename /output/stats.json --keep
|
run: docker run -v $PWD/output:/output zimit zimit --url http://isago.rskg.org/ --name isago --zim-file isago.zim --adminEmail test@example.com --mobileDevice "Pixel 5" --statsFilename /output/stats.json --keep
|
||||||
|
|
||||||
|
@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
- Upgrade to browsertrix crawler 1.3.2, warc2zim 2.1.2 and other dependencies (#406)
|
- Upgrade to browsertrix crawler 1.3.2, warc2zim 2.1.2 and other dependencies (#406)
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Fix help (#393)
|
||||||
|
|
||||||
## [2.1.2] - 2024-09-09
|
## [2.1.2] - 2024-09-09
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
@ -287,7 +287,7 @@ def run(raw_args):
|
|||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--diskUtilization",
|
"--diskUtilization",
|
||||||
help="Save state and exit if disk utilization exceeds this percentage value."
|
help="Save state and exit if disk utilization exceeds this percentage value."
|
||||||
" Default (if not set) is 90%. Set to 0 to disable disk utilization check.",
|
" Default (if not set) is 90%%. Set to 0 to disable disk utilization check.",
|
||||||
type=int,
|
type=int,
|
||||||
default=90,
|
default=90,
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user