DEV Community

Juan C. Ruiz
Juan C. Ruiz

Posted on

Maintaining an open source gem in the Hacktoberfest

Some months ago I created a little gem to quickly access to different GitHub sections from the command line. The name of my gem is vpr (view pull request).

The idea of this gem is simple, you call the vpr command + some instruction + a commit SHA and you can access to a Github section of your interest. For example, vpr visit 123abc sends you to the commit page of the selected commit.

vpr visit command

In this Hacktoberfests I decided to open some issues to add the support for bitbucket pages. It was incredible the speed that the users started to contribute and recommend things for the project, like @andrewmcodes who added a GitHub action to run standardRB in the pull requests.

Add linter/formatter GitHub action #12

I noticed you aren’t using a linter/formatter like rubocop or standardRB. Would you be interested in adding one?

If so I can hook up a GitHub action for you. Check out this repo for an example of actions I have created.

Even if this is a simple side project, I'm happy to have had the opportunity to be a maintainer this year. I hope the next year have the opportunity to host a contribution fest in my city.

All these contributions will be released to RubyGems in November, thanks to all the participants for your support. If you are interested in know more about vpr, please visit the Github repository.

GitHub logo JuanCrg90 / vpr

A CLI to visit quickly github project sections

StandardRB CircleCI

vpr

A CLI to visit quickly github project sections

Installation

  $ gem install vpr

Usage

$ vpr home # visit the project page in github

vpr home

$ vpr pulls # visit the project pull requests page in github

vpr pulls

$ vpr issues # visit the project issues page in github

vpr issues

$ vpr branches # visit the project branches page in github

vpr branches

$ vpr branch # 'visit the current branch in github'

vpr branch

$ vpr pull # 'visit the pull request for the current branch (if exist) in github'

vpr pull

$ vpr visit <commit> # visit the commit in github

vpr visit

$ vpr search <commit> # search the commit in github

vpr search

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec

Top comments (0)