Skip to content

Scope Gemfile.local gem to development group only#1

Draft
Copilot wants to merge 3 commits intomainfrom
copilot/initialize-basic-infrastructure
Draft

Scope Gemfile.local gem to development group only#1
Copilot wants to merge 3 commits intomainfrom
copilot/initialize-basic-infrastructure

Conversation

Copy link

Copilot AI commented Mar 4, 2026

The README installation snippets were missing a group scope, meaning the plugin would be loaded in all environments including production.

Both Gemfile.local variants (git and local path) are now wrapped in group :development:

group :development do
  gem "openproject-dev_tools", path: "/path/to/openproject-dev_tools"
end
Original prompt

Initialize the repository with a the basic infrastructure (most importantly engine.rb) for an OpenProject plugin, as well as a README explaining how to add the plugin to OpenProject via a Gemfile.local file. You can take https://github.com/opf/openproject-proto_plugin as inspiration.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: machisuji <158871+machisuji@users.noreply.github.com>
Copilot AI changed the title [WIP] Initialize repository with basic OpenProject plugin infrastructure Initialize basic OpenProject plugin infrastructure Mar 4, 2026
Co-authored-by: machisuji <158871+machisuji@users.noreply.github.com>
Copilot AI changed the title Initialize basic OpenProject plugin infrastructure Scope Gemfile.local gem to development group only Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants