Uploaded image for project: 'Rave'
  1. Rave
  2. RAVE-1100

Introduce Bower

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • rave-portal
    • None

    Description

      The problem:

      https://github.com/apache/rave/blob/angular/rave-portal-resources/src/main/webapp/static/script/requireConfig.js#L22-L37

      Why is this a problem:

      By hardcoding versions we make it more difficult to work with versions of these libraries. Bower, a client-side package manager, all but gives this to us for free.

      Using the ^ and ~ operators we get bug fixes/minor releases for free, and our dependency tree, no matter how complex, is automatically solved for us. At the moment we're just hoping that all of these versions play well together.

      Better yet, updating our dependencies with Bower is as simple as running `bower update`. To seal the deal we get great integration with a handful of free services that make our lives easier like Travis for CI and David to keep track of our dependencies.

      Last but not least, we can move dependencies like Bootstrap out of the repo.

      https://github.com/apache/rave/tree/angular/rave-portal-resources/src/main/webapp/static/css/bootstrap

      because they don't need to be in there.

      +1 to add Bower.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jmeas Jmeas Pls
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: