moreonion / drupy Goto Github PK
View Code? Open in Web Editor NEWDrupal site-builder based on JSON-recipes
License: GNU General Public License v3.0
Drupal site-builder based on JSON-recipes
License: GNU General Public License v3.0
Currently setuptools.archive_util.unpack_archive
is used to unpack downloaded zip-files and tar-files as a simple function that handles both cases using Python’s built-in functions. When unpacking it sets the owner and permission of the extracted files to those specified in the archive, which is not always what we want when distributing code (eg. ckeditor-4.16.1 doesn’t grant read permissions for anything but the owner). There is two possible solutions:
As there doesn’t seem to be an alternative capable of 1. I tend towards 2.
If ruamel.yaml > 0.15.51
is installed, parsing of setup files fails with: TypeError: Object of type 'CommentedMap' is not JSON serializable
.
Steps to reproduce:
pip3 install drupy
pip3 install --upgrade ruamel.yaml
drupy install mysetup
This fails with all .yaml files, no matter if they're valid or not (even empty .yaml files produce the error).
Workaround:
pip3 install ruamel.yaml==0.15.51
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.