-
Notifications
You must be signed in to change notification settings - Fork 127
Feature/3999 zip template from project #4097
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
base: master
Are you sure you want to change the base?
Feature/3999 zip template from project #4097
Conversation
… desired files and a manifest.yml
372b36d
to
aa8f44d
Compare
def create_template_manifest(file_names) | ||
template_manifest = File.open("#{project_dataroot}/template_manifest.yml", "w") | ||
template_manifest.write({ id: id, name: name, description: description, icon: icon, files: file_names }.to_yaml) | ||
template_manifest.close | ||
end |
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.
Why have a new file here? Why not just zip the actual manifest.yml
?
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.
The manifest.yml
does not include the list of files.
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.
🤦♂️ we haven't done #3987 yet...
This PR: