Giter Site home page Giter Site logo

drupy's People

Contributors

dependabot[bot] avatar katzmo avatar m-strasser avatar torotil avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

m-strasser

drupy's Issues

File permissions when extracting archives

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:

  1. Find an alternative wrapper that allows us to specify that we don’t want to keep the permissions from the archive.
  2. Correct the permissions afterwards.

As there doesn’t seem to be an alternative capable of 1. I tend towards 2.

ruamel.yaml > 0.15.51 breaks setup parsing

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:

  1. pip3 install drupy
  2. pip3 install --upgrade ruamel.yaml
  3. 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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.