diff options
author | Adam Niedzielski <adamsunday@gmail.com> | 2017-01-26 18:08:21 +0100 |
---|---|---|
committer | Adam Niedzielski <adamsunday@gmail.com> | 2017-01-26 18:08:21 +0100 |
commit | 2e1e5721e0368e222530aac76bca95987da87201 (patch) | |
tree | 4f73888b2a673d295b01fdfecd6e897cb51f9e6d | |
parent | f27721e842b608f4a63bd0bc59ce77175ae530ca (diff) | |
download | gitlab-ce-gemfile-development-guideline.tar.gz |
Document "No gems fetched from git repositories" policy [ci skip]gemfile-development-guideline
-rw-r--r-- | doc/development/README.md | 1 | ||||
-rw-r--r-- | doc/development/gemfile.md | 14 |
2 files changed, 15 insertions, 0 deletions
diff --git a/doc/development/README.md b/doc/development/README.md index 6f2ca7b8590..265df98fb87 100644 --- a/doc/development/README.md +++ b/doc/development/README.md @@ -18,6 +18,7 @@ - [Frontend guidelines](frontend.md) - [SQL guidelines](sql.md) for working with SQL queries - [Sidekiq guidelines](sidekiq_style_guide.md) for working with Sidekiq workers +- [`Gemfile` guidelines](gemfile.md) ## Process diff --git a/doc/development/gemfile.md b/doc/development/gemfile.md new file mode 100644 index 00000000000..7ef28414a71 --- /dev/null +++ b/doc/development/gemfile.md @@ -0,0 +1,14 @@ +# `Gemfile` guidelines + +When adding a new entry to `Gemfile` or upgrading an existing dependency pay +attention to the following rules. + +## No gems fetched from git repositories + +We do not allow gems that are fetched from git repositories. All gems have +to be available in RubyGems index. We want to minimize the external services +that we depend on in our builds and also reduce the build time. + +## License compliance + +Refer to [licensing guidelines](licensing.md) for ensuring license compliance. |