Giter Club home page Giter Club logo

chef-sbt-extras's People

Contributors

gildegoma avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

chef-sbt-extras's Issues

Problems with /etc/sbt/... templates

in 0.2.2:

  • sbtopts template is not optional (missing only_if/not_if clause)
  • optional attribute style is ugly, improve the way to trigger/configure optional templates.

Templates for global config files

Goal: jvm and sbt arguments can be store in some global (system-wide) config files, instead of project-local own .sbtopts and .jvmopts

requires sbt-extras add-on (cherry pick from typesafe fork)

DRY the code

To be refactored:

  • default recipe: sbtopts and jvmopts stuff can share code
  • default recipe: create tmp_dir + execute sbt + delete tmp_dir
  • fetch default sbt version from sbt-extras script code (or command).

Use Travis CI

  1. first for static validation (foodcritic/tailor)
  2. for BDD (#1)

Integrate original paulp/sbt-extras

Introducing "latest" paulp/sbt-extras introduce following changes between cookbook 0.2.x and 0.3+:

Fixed for Milestone 0.3:

  • Most important: dwijnand/sbt-extras#43 has been merged. Fixed in 37ef057
  • sbt-launcher are now by default stored in ~/.sbt/launchers, which makes obsolete to share installed dependencies in /opt/sbt-like common directory.
  • sbt and scala boot libraries are now stored only once ๐Ÿ˜„ It means that "pre-installation" can be strongly improved / extended, which is good for Travis CI!!! But note that with new "latest launcher" strategy, -sbt-create trick does not work anymore. As workaround we can create additional fake project/build.properties file

Planned for Milestone 0.4:

Usage question

If sbt-extras conflicts with typesafe-stack, which one do you recommend I use?

Also, please provide a best-practice example of running SBT, e.g. "sbt stage" on a project, from within an app's recipe.

Thank you!

Clean sbtopts and jvmopts templates

Should we keep them as templates (and thus support all/many options as chef attributes), or go back to file instead of template strategy ?

-mem option does not exist anymore, should be replaced by something like -Xms128m -Xmx128m -XX:MaxPermSize=64m in default jvmopts

Improve chefspec examples?

see also #14

100% idempotent

  • The dynamic download/installation of default sbt-laucher is not yet idempotent.

Could not build with new enviroment

I was trying to update the travis build on my own branch and could not do it even after several days trying.

Is this project dead? I came here because it is used in the build of another project

Can you list the config so i can try to replicate your old build?

Hardcode "root.root" ownership everywhere?

Looks like worst style, but after 0.3 milestone, there is no more need to be owner or group member of the sbt script. Hence the question (to be compared with other cookbook practices).

Optionally pre-install sbt versions in user environments (0.11+ supported)

OK:

The download of sbt own-scala dependencies work fine (one scala version per sbt version)

Problem:

The download of libraries of a specific scala version is not working... I'm not sure if it is possible to achieve it, with a dummy/empty project (created by -sbt-create option) ?

(Current) Conclusion

The 'scala' dimension of pre-install matrix (user-sbt-scala) is for now useless, only the sbt setup can be preinstalled.

Generic placeholders for the configuration file templates

Main Idea would consist in generalizing the code for

:arg_mem => node['sbt-extras']['sbtopts']['mem']

into something like

:arg_x => node['sbt-extras']['sbtopts']['x']

that would then dynamically fill the template placeholders.

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.