-
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactored shell scripts. Fix - #91 #92
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some fixes, thank you
CONTRIBUTING.md
Outdated
@@ -44,7 +45,7 @@ docker build -t local-kolibri2zim . | |||
Scrape a channel (here we use the minimal channel, but you could use any other one of interest for your UI developments). | |||
|
|||
``` | |||
docker run --rm -it -v $PWD/output:/output local-kolibri2zim kolibri2zim --name "minimal_test" --title "Minimal Kolibri Channel Test" --description "This is a minimal K | |||
docker run --rm -it -v "$PWD/output:/output" local-kolibri2zim kolibri2zim --name "minimal_test" --title "Minimal Kolibri Channel Test" --description "This is a minimal K |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think docker run --rm -it -v "$PWD/output":/output local-kolibri2zim ...
would be more correct, could you confirm it works as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this also works fine. Will refactor this in the next commmit.
CHANGELOG.md
Outdated
@@ -22,6 +22,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |||
- Fix caching of re-encoded video files (#82) | |||
- Do not start multiple video processing threads by default (`--processes` default value) (second part of #83) | |||
- Fix logging issue in DEBUG mode | |||
- Refactored some shell scripts in `CONTRIBUTING.md` (#91) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has to be added to the [Unreleased]
section, not to the already released 1.2.0
I would rephrase this to "Enhance contribution guidelines", which is a bit too vague, but more inline with your intent.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
CONTRIBUTING.md
Outdated
@@ -36,6 +36,7 @@ To simplify this, it is possible to: | |||
- iterate on ZIM UI code | |||
|
|||
To achieve this, first build the Docker image based on current code base. | |||
Make sure Docker is running in the background ("Docker Deamon" app for Windows and Mac, or `docker start` in Linux). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should not be placed here, we should instead rewrite the contributions
section:
- state the requirements more clearly: Python 3.12 and preferably Docker (which engine must run in the background)
- add mention of
pre-commit
which must be activated (code must pass all pre-commit checks to succeed in the CI)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@benoit74 , Changes are done according to the request. |
Changes made to
CONTRIBUTING.md
for easy setup for new contributors.