Giter Site home page Giter Site logo

ansible.silverstripe's People

Contributors

dependabot[bot] avatar github-actions[bot] avatar mleutenegger avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

ansible.silverstripe's Issues

The resource directory does not include root dependencies if no public directory is present

vendor directories are correctly exposed in every case. however, theme directories and local resources asre only exposed via resource directory if a public/ directory is present. This poses problems for projects which do not come with a public directory and are developed around not having one.

We need to find a way to patch this issue, as it basically means that in order to use this role, a project needs to be refactored to use a public/ directory.

The decision wether to expose a directory is made via https://github.com/silverstripe/vendor-plugin/blob/0705b1944e5e9b55fe62c3d417143da560698e7f/src/Library.php#L187.

For themes, all we need to do would be to basically render and move a link to the themes/ directory if it exists and no public/ directory exists. In the case of other directories, things get more complicated. While we could read the composer.json file and extract the extra.expose key, this means we would have to build a directory-structure similar to the one in the ressouces dir, and this would make a downtimeless deploy much harder.

Ill leave this issue here as a starting point, as we are currently only working with public installations and syntro/ssto contains one by default.

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.