Skip to content
代码片段 群组 项目
未验证 提交 3c900055 编辑于 作者: Jayson Salazar Rodriguez's avatar Jayson Salazar Rodriguez 提交者: GitLab
浏览文件

Improve development docs regarding managing RubyGems.org footprint

上级 6862e514
No related branches found
No related tags found
无相关合并请求
...@@ -346,12 +346,22 @@ to store them in monorepo: ...@@ -346,12 +346,22 @@ to store them in monorepo:
- Those Gems will not be published by us to RubyGems. - 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. - 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: 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. - Use `0.0.0` as the version.
- Include a single file `lib/NAME.rb` with the content `raise "Reserved for GitLab"`. - 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. - 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.
先完成此消息的编辑!
想要评论请 注册