-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
Removed external dependency src/gutenberg2zim/templates/jquery/jquery… #238
base: main
Are you sure you want to change the base?
Conversation
@@ -29,7 +30,7 @@ def deps_already_installed(self) -> bool: | |||
for dep in JS_DEPS: | |||
if ( | |||
not Path(self.root) | |||
.joinpath("gutebergtozim/templates") |
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'm a bit puzzled by this change, does it means we had a bug which forced dependencies to always be re-downloaded?
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.
No sir I actually wrote gutenbergtozim instead of gutenberg2zim. That's why.
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.
But why this change then, I don't get it, sorry
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 there was a typo in the original code, it should be gutenberg2zim
. I checked by running hatch build
and it is working fine.
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 am sorry I changed it back to original and again it is working fine. I think we should stick to the original code. Should I make the changes?
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.
But why did you had to change this in the first place ? To me it looks like original code is wrong, but I would like to be sure about what we are doing.
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 changed it because after adding root directory, this code adds template
which is under gutenberg2zim
also the actual directory structure we observed when running ls -la src/
shows the directory name is gutenberg2zim. I have not changed it solve any bug I was going through the hatch_build.py
file and thought this should be the correct line. But after you mentioned I changed it back to original and it is still working. I am also confused to be honest.
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.
Please investigate
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.
For sure
Issue #198
Removed the external dependency - jquery-1.11.1.min.js
On running
hatch build
the dependency is getting downloaded to the repo