Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report GitLab CI within bundler user-agent string #3432

Merged
merged 1 commit into from
Mar 27, 2020

Conversation

brodock
Copy link
Contributor

@brodock brodock commented Mar 26, 2020

Description:

Bundler user-agent is being used to generate content for rubygems stats
https://stats.rubygems.org

This adds GitLab CI specific ENV variable.

What was the end-user or developer problem that led to this PR?

There is a limited amount of CI providers being listed in https://stats.rubygems.org/

By including GitLab we expect that a portion of the current "Ci" item should include GitLab CI and therefore report correctly.

What is your fix for the problem, implemented in this PR?

Added specific ENV to the list of known providers. This will allow bundler to report that information, which can later on be parsed by https://github.com/rubytogether/kirby


Tasks:

  • Describe the problem / feature
  • Write tests
  • Write code to solve the problem
  • Get code review from coworkers / friends

I will abide by the code of conduct.

Bundler user-agent is being used to generate content for rubygems stats
https://stats.rubygems.org
@welcome
Copy link

welcome bot commented Mar 26, 2020

Thanks for opening a pull request and helping make RubyGems and Bundler better! Someone from the RubyGems team will take a look at your pull request shortly and leave any feedback. Please make sure that your pull request has tests for any changes or added functionality.

We use GitHub Actions to test and make sure your change works functionally and uses acceptable conventions, you can review the current progress of GitHub Actions in the PR status window below.

If you have any questions or concerns that you wish to ask, feel free to leave a comment in this PR or join our #rubygems or #bundler channel on Slack.

For more information about contributing to the RubyGems project feel free to review our CONTRIBUTING guide

Copy link
Member

@deivid-rodriguez deivid-rodriguez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@colby-swandale
Copy link
Member

Thanks!

@colby-swandale colby-swandale merged commit 7f84c7b into rubygems:master Mar 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants