Skip to content
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

Merged
merged 3 commits into from
Feb 29, 2024
Merged

Conversation

Pagla-Dasu
Copy link
Contributor

Changes made to CONTRIBUTING.md for easy setup for new contributors.

Copy link
Collaborator

@benoit74 benoit74 left a 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
Copy link
Collaborator

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?

Copy link
Contributor Author

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)
Copy link
Collaborator

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.

Copy link
Contributor Author

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).
Copy link
Collaborator

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)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@Pagla-Dasu
Copy link
Contributor Author

@benoit74 , Changes are done according to the request.

CHANGELOG.md Outdated Show resolved Hide resolved
@benoit74 benoit74 merged commit 8836d3c into openzim:new_ui Feb 29, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants