Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Remer is a tool for managing Redmine Extension, which means Redmine Plugin and Theme in this tool.
It is mainly aimed at helping with the development of Redmine and its plugins, allowing you to define extensions in a Ruby DSL and install, uninstall, update, and switch between different sets of the extensions.
Install the gem and add to the application's Gemfile by executing:
bundle add remer
If bundler is not being used to manage dependencies, install the gem by executing:
gem install remer
First, create a .extensions.rb
file in the root directory of the Redmine application.
theme :bleuclair, github: { repo: "farend/redmine_theme_farend_bleuclair", branch: "support-propshaft" }
plugin :view_customize, github: { repo: "onozaty/redmine-view-customize", tag: "v3.5.2" }
plugin :redmine_issues_panel, git: { url: "https://github.com/redmica/redmine_issues_panel", tag: "v1.0.2" }
Then, run the following command in the root directory of the Redmine application.
rem install
This command installs plugins and themes defined in the .extensions.rb
file and generates the .extensions.lock
file.
[!NOTE] The
.extensions.lock
file is a file that locks the state of the installed extensions, but it's NOT a file that locks the version of the extensions.
If you want to uninstall the extensions, run the following command.
rem uninstall
This command uninstalls the extensions and deletes the .extensions.lock
file.
$ rem
Commands:
rem help [COMMAND] # Describe available commands or one specific command
rem install [ENV] # Install extensions for the specified environment
rem state # Show the current state of the installed extensions
rem switch [ENV] # Uninstall extensions for the currently installed environment and install extensions for the specified environment
rem uninstall # Uninstall extensions for the currently installed environment
rem update # Update extensions for the currently installed environment to the latest version
rem version # Show Remer version
theme :bleuclair, github: { repo: "farend/redmine_theme_farend_bleuclair" }
plugin :redmine_issues_panel, git: { url: "https://github.com/redmica/redmine_issues_panel" }
env :stable do
theme :bleuclair, github: { repo: "farend/redmine_theme_farend_bleuclair", branch: "support-propshaft" }
plugin :redmine_issues_panel, git: { url: "https://github.com/redmica/redmine_issues_panel", tag: "v1.0.2" }
end
In above example, the bleuclair
theme and the redmine_issues_panel
plugin are defined for the default
environment. The bleuclair
theme and the redmine_issues_panel
plugin are defined for the stable
environment.
If you want to install extensions for the default
environment, run the following command.
rem install
or
rem install default
Similarly, if you want to install extensions for the stable
environment, run the following command.
rem install stable
In addition, you can switch between environments.
rem switch stable
or
rem install stable
The above command uninstalls the extensions for the currently installed environment and installs the extensions for the stable
environment.
You can define hooks for each extension.
plugin :redmica_s3, github: { repo: "redmica/redmica_s3" } do
installed do
Pathname.new("config", "s3.yml").write <<~YAML
access_key_id: ...
YAML
end
uninstalled do
Pathname.new("config", "s3.yml").delete
end
updated do
puts "updated"
end
end
First, you need to build the docker image for the integration tests.
rake remer:test:build_integration_test_image
Then, you can run the integration tests.
rake teste
This project uses Standard for code formatting and linting. You can format and check the code by running the following commands.
rake standard
rake standard:fix
Bug reports and pull requests are welcome on GitHub at https://github.com/hidakatsuya/remer.
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that remer demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.