Skip to content
代码片段 群组 项目
未验证 提交 072e2d43 编辑于 作者: Ahmed Hemdan's avatar Ahmed Hemdan 提交者: GitLab
浏览文件

Merge branch 'jdsalaro-docs-development-gems-rubygemsorg-management-considerations' into 'master'

No related branches found
No related tags found
无相关合并请求
......@@ -348,12 +348,22 @@ to store them in monorepo:
- Those Gems will not be published by us to RubyGems.
- Those Gems will be referenced via `path:` in `Gemfile`, since we cannot depend on RubyGems.
## Reserve a gem name
## Considerations regarding rubygems.org
We reserve a gem name as a precaution **before publishing any public code that contains a new gem**, to avoid name-squatters taking over the name in RubyGems.
### Reserve a gem name
We may reserve gem names as a precaution **before publishing any public code that contains a new gem**, to avoid name-squatters taking over the name in RubyGems.
To reserve a gem name, follow the steps to [Create and publish a Ruby gem](#create-and-publish-a-ruby-gem), with the following changes:
- Use `0.0.0` as the version.
- Include a single file `lib/NAME.rb` with the content `raise "Reserved for GitLab"`.
- Perform the `build` and `publish`, and check <https://rubygems.org/gems/> to confirm it succeeded.
### Account creation
In case you are considering the creation of an account on RubyGems.org for the purpose of your work at GitLab, make sure to use your corporate email account.
### Maintainer and Account Changes
All changes such as modifications to account emails or passwords, gem owners, and gem deletion ought to be communicated previously to the directly responsible teams, through issues or Slack (the team's Slack channel, `#rubygems`, `#ruby`, `#development`).
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册