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

🤐 Use adm-zip to unzip templates, not unzipper #481

Merged
merged 2 commits into from
Jul 13, 2023
Merged

Conversation

fwkoch
Copy link
Collaborator

@fwkoch fwkoch commented Jul 13, 2023

This should address myst-templates/docx_default#1

Same change we made here: curvenote/jats#19


Also this switches site template download from git clone to admzip. Before we needed a clone in order to pick up submodules. Now, though, the templates are bundled nicely and can simply be downloaded. Hopefully fixes: #209

Note - it would be good to update the myst-templates API to have zip urls for site templates, not git, but for now, we construct zip from git.

@fwkoch fwkoch marked this pull request as ready for review July 13, 2023 08:06
@rowanc1
Copy link
Collaborator

rowanc1 commented Jul 13, 2023

@fwkoch can you confirm this also fixes the site clone, I am not seeing the code for that.

@fwkoch
Copy link
Collaborator Author

fwkoch commented Jul 13, 2023

Oops! You're right, added it now.

@rowanc1 rowanc1 merged commit 016c55e into main Jul 13, 2023
3 checks passed
@rowanc1 rowanc1 deleted the fix/template-unzip branch July 13, 2023 16:55
@rowanc1
Copy link
Collaborator

rowanc1 commented Jul 14, 2023

This has broken site templates, they are not unzipped correctly and are nested into a folder.

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.

Template clone can fail in windows machines
2 participants