Coder Social home page Coder Social logo

juancrg90 / vpr Goto Github PK

View Code? Open in Web Editor NEW
21.0 6.0 7.0 122 KB

VPR is a CLI that helps you to quickly manage your project in GitHub/GitLab/Bitbucket

License: MIT License

Ruby 99.62% Shell 0.38%
cli github automation agile-development bitbucket gitlab vpr hacktoberfest

vpr's Introduction

vpr

StandardRB CI

VPR is a CLI that helps you to quickly manage your project in GitHub/GitLab/Bitbucket. You can visit with ease different project sections, like the issues page, a specific commit, create pull requests (merge requests for GitLab), and more, also is configurable for other platforms PRs are open.

vpr pull

Installation

  $ gem install vpr

Usage

All the commands use the URL set as origin in your git remote to perform the web request, you can use the flag --remote=REMOTE to specify which service you want to visit if you have your project stored in more than one platform.

vpr branch

Open in your browser your current branch.

vpr branches

Open the page that shows the uploaded branch list.

vpr help

Show the likst of available vpr commands, you can pass an specific command to get more details.

vpr home

Open in your browser the project page.

vpr issues

Open the in your browser issues list page.

vpr pull

Create a new pull request or visit an existing one for the current branch.

vpr pulls

Open the pull requests list page.

vpr search COMMIT

Search a given commit in the project page. the behavior of this command depends of the plaftorm, for example GitHub search in code, issues an PRs.

vpr visit COMMIT

Open in the browser the page with the commit passed as an argument.

vpr version

Show the current vpr version

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 rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/JuanCrg90/vpr. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the Vpr project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

vpr's People

Contributors

andrewmcodes avatar dependabot[bot] avatar eduardoghdez avatar juancrg90 avatar n8chz avatar pathway27 avatar schmidt avatar snick555 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

vpr's Issues

Add linter/formatter GitHub action

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.

Allow to use vpr even if you are not in the root directory

Currently vpr only can be used in the project root directory where .git directory lives.

Traceback (most recent call last):
/Users/juancarlosruiz/project/app/models/.git: path does not exist (ArgumentError)

Update the behavior to look for .git directory in the parent directories

Add support vpr pull in bitbucket

The route for pull requests in bit bucket is different to the github endpoint

Analyze if is possible to map the pull request endpoint like in github

command to update

vpr pull

Add support vpr search in bitbucket

The route for commit search in bitbucket is different to the GitHub endpoint

update

vpr search <commit>

to support bitbucket

examples:

Github
https://github.com/JuanCrg90/vpr/search?q=ff1018601

bitbucket
https://bitbucket.org/JuanCrg90/vpr/commits/?search=ff1018601

Improve the Readme

Currently, the readme only talks about GitHub and has a lot of (maybe) unnecessary gifs. It's necessary update it to include information about bitbucket and gitlab.

Add support vpr branch in bitbucket

The route for branches in bitbucket is different to the GitHub endpoint

update

vpr branch

to support bitbucket

examples:

GitHub:
https://github.com/JuanCrg90/vpr/tree/master

bitbucket
https://bitbucket.org/JuanCrg90/vpr/branch/master

Add support vpr pulls in bitbucket

The route for pull requests index in bitbucket is different to the GitHub endpoint

update

vpr pulls

to support bitbucket

examples:

GitHub:
https://github.com/JuanCrg90/vpr/pulls

bitbucket
https://bitbucket.org/JuanCrg90/vpr/pull-requests

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.