Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
itamae-plugin-recipe-scalaenv
Advanced tools
Itamae plugin to install scala with scalaenv
Add this line to your application's Gemfile:
gem 'itamae-plugin-recipe-scalaenv'
And then execute:
$ bundle
Or install it yourself as:
$ gem install itamae-plugin-recipe-scalaenv
Install scalaenv to /usr/local/scalaenv or some shared path
# your recipe
include_recipe "scalaenv::system"
Use this with itamae -y node.yml
# node.yml
scalaenv:
global: scala-2.12.2
versions:
- scala-2.11.8
- scala-2.10.6
# scalaenv install dir, optional (default: /usr/local/scalaenv)
scalaenv_root: "/path/to/scalaenv"
# specify scheme to use in git clone, optional (default: git)
scheme: https
Recommend to append this to .bashrc in your server.
export SCALAENV_ROOT=/usr/local/scalaenv
export PATH="${SCALAENV_ROOT}/bin:${PATH}"
eval "$(scalaenv init -)"
Install scalaenv to ~#{node[:scalaenv][:user]}/.scalaenv
# your recipe
include_recipe "scalaenv::user"
Use this with itamae -y node.yml
# node.yml
scalaenv:
user: civitaspo
global: scala-2.12.2
versions:
- scala-2.11.8
- scala-2.10.6
# specify scheme to use in git clone, optional (default: git)
scheme: https
$ cd example
$ vagrant up
$ bundle exec itamae ssh --vagrant -y node.yml recipe.rb
This plugin can be used for MItamae too. Put this repository under ./plugins
as git submodule.
node.reverse_merge!(
scalaenv: {
user: 'civitaspo',
global: 'scala-2.12.2',
versions: %w[
scala-2.11.8
scala-2.10.6
],
}
)
include_recipe "scalaenv::user"
MIT License
FAQs
Unknown package
We found that itamae-plugin-recipe-scalaenv demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.