Code Monkey home page Code Monkey logo

gradle-plugin-cq-bundle's People

Contributors

jdigger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

anton-saurytski

gradle-plugin-cq-bundle's Issues

uninstallBundles should use dependency ordering

Right now "uninstallBundles" simply uninstalls the bundles in the order it "discovers" them, which is effectively alphabetical. Unfortunately that can also effectively be the opposite order that they should be uninstalled.

It should ask each bundle what other bundles depend on them (or what other bundles it depends on) and build a dependency graph so that it can uninstall from "least connected" to "most connected".

Extract server code into its own project

SlingSupport, SlingServerConfigurations, etc. are not bundle-specific and are shared with the -package project. They should be moved into their own library/project.

Use Environment Vars to Fill In Server Details

Currently in SlingServersConfiguration.groovy, the method defaultServers() uses hard coded values for an local author and publish server. This should be updated to try to pull from the system's environment variables if they are configured.

For Ex.
Could have following environment vars set:
AEM_AUTHOR_MACHINENAME
AEM_AUTHOR_PORT
AEM_AUTHOR_PROTOCOL
AEM_AUTHOR_USERNAME
AEM_AUTHOR_PASSWORD
AEM_PUBLISH_MACHINENAME
AEM_PUBLISH_PORT
AEM_PUBLISH_PROTOCOL
AEM_PUBLISH_USERNAME
AEM_PUBLISH_PASSWORD

The method should try to set values based on the environment variables if they are set. If not then fall back to the hardcoded standard OOTB values.

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.