-
Notifications
You must be signed in to change notification settings - Fork 3
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
Zimfarm readyness #14
Conversation
…lt and user provided values
In order to benefit from Docker build cache, we install Python dependencies separately from the scraper itself. We do it early in the build pipe so that this layer is modified only if dependencies are updated. Otherwise, only layers linked to scraper source code or zimui are updated, leading to a much faster build + using less resources since we do not update a big layer again and again for only a small scraper source code modification
bb2b0e7
to
e6a25b4
Compare
edd0d79
to
49af8e6
Compare
58fa4d0
to
fac9ab0
Compare
Is there any way to tell CodeFactor to ignore a check on a specific line (like I did for Ruff on the specific line which raised an issue)? |
Codefactor itself no but codefactor is just an integrated set of open tools (with private config). In this case it's a Bandit rule raising so silence it as such |
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.
A couple files like build.py appear as new ones. Without comment in PR it's painful to know whether you changed any behavior or just intoduce the ZIM metadata things
➡️ added the Trusted Publisher
Yes AFAIK with codefactor web ui |
Looks like I do not have proper access rights ... anyway, done through inline comment ok |
We obviously don't want to set exceptions on Codefactor UI! |
You're admin on this repo. |
- Makefile is not in the suite of file maintained at openzim - pypi-readme.rst provides less value than README.md and is more difficult / error prone to maintain
Sorry about the files that are considered by git as "deleted/new" instead of been "moved", unfortunately there is little I can do on this. Should I list in the first comment all files that are considered as "deleted/new" which have indeed only been "moved", so you can I agree this is a real pain. For instance here:
|
I guess. We can try next time |
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.
Can we change the scraper name in entrypoint? INFO:Starting scraper 1.0.0-dev0
- Docker can set its specific values based on environment variables - Default values are now ok for developer/Python usage
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.
Thanks ; Couple of questions that may or may not lead to changes. Very minor stuff anyway, you can merge once you've settled
Fix #11
Fix #13
Changes : MANY (sorry)
Some details:
I suggest that we release this as a 1.0.0 since it has not yet been released anyway.
NOTA: we have to enable Trusted Publishing for this repo.✅