Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/chris2011/nb-git-open-in-external-repoviewer

NetBeans Plugin which opens the Web UI of the Git repository you cloned from
https://github.com/chris2011/nb-git-open-in-external-repoviewer

bitbucket browser git gitblit gitlab netbeans-plugin revision url

Last synced: 23 days ago
JSON representation

NetBeans Plugin which opens the Web UI of the Git repository you cloned from

Awesome Lists containing this project

README

        



Looking for maintainers, who want to take over the development!



[![Build Status](https://travis-ci.org/markiewb/nb-git-open-in-external-repoviewer.svg?branch=master)](https://travis-ci.org/markiewb/nb-git-open-in-external-repoviewer)
[![Donate](https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=K4CMP92RZELE2)

nb-git-open-in-external-repoviewer
==================================

NetBeans Plugin which opens the Web UI of the Git repository you cloned from.

See http://plugins.netbeans.org/plugin/49930/open-url-of-git-repository-hoster

This plugins adds git-related actions to the context menu of a GIT-versioned project OR of the tab context menu.
Internally it parses the GIT URL of the project, generates specific URLs for the GIT repository hoster and opens the URL in the browser. The browser is configurable at Tools|Options|General|Web Browser.


Following actions are added to the project context menu:


  • "Show log"

    Open the commit overview/history view for the current branch



  • "Show commit"

    Open the commit for the current revision (where implemented)



  • "Show diff"

    Open the commit diff for the current revision (where implemented: currently github, gitblit, gitlab)



  • "Create pull request'

    Open a website to create a pull request (where implemented: currently bitbucket, gitlab)




Following actions are added to the context menu of the editor and its tab:


  • "Show file"

    Open the current file for the current revision (where implemented: currently gitblit, bitbucket, github, gitlab)



  • "Show file history"

    Open the history view of the current file (where implemented: currently gitblit, bitbucket, github, gitlab)



You can configure shortcuts for each action at Tools|Options|Keymap. Filter for the actions with the name "* (in browser)" in the category "Git".

Currently supported patterns: GitBlit, gitlab.com, bitbucket.org, github.com, GitWeb

Updates in 1.6.0:



  • [Feature 40]: Improved Gitlab support / add support for 'Merge request'

Updates in 1.5.0:


Updates in 1.4.2.1:



  • [Feature 35]: Add possibility to add keyboard shortcuts. Configure them at Tools|Options|Keymap

  • [Bugfix 36]: Fixed: Use configured browser to open links. Configure it at Tools|Options|General|Web Browser

  • [Bugfix 31]: Fixed: WARNING [org.openide.util.Utilities]: findContextMenuImpl, getPopupPresenter returning null for

Updates in 1.4.1.1:



  • [Issue 34]: Configuration-Migrator from 1.4.0.2 to 1.4.1.0 does not work

Updates in 1.4.1:



  • [Issue 28]: Open file, open file history and commit diff actions for github.com

  • [Issue 32]: Open file, open file history actions for bitbucket (PR by @mkleint)

  • [Issue 33]: Migrator for new patterns (NOTE: If you altered the pattern configuration manually in the previous version then the migration cannot be done automatically. You have to reset the configuration in the options and reintroduce your changed manually.)

Updates in 1.4.0.2:



  • [Issue 30]: Fixed NoSuchElementException

Updates in 1.4.0:



  • [Issue 22]: Add "Create Pull Request" action (currently for bitbucket only) (PR by @mkleint)

  • [Issue 20]: Support patterns for Gitlab.com

  • [Issue 24]: Additional patterns for github/gitblit

  • [Issue 26]: More patterns for gitblit

  • [Refactoring 23]: Refactoring of patterns - introduced a submenu and registered to editor tab too

  • [Refactoring 27]: Configurable options - custom patterns for hosters can be defined in options

Updates in 1.3.7:


Updates in 1.3.6:



  • [Issue 19]: Fixed: Pattern for Gitblit does not work

Updates in 1.3.5:



  • [Issue 10]: Fixed: Make query of strategies failsafe

Updates in 1.3.4:



  • [Issue 9]: Fixed: NullPointerException at GitUtils.getRemote

Updates in 1.3.3:



  • [Issue 8]: Fixed: Github: Remote URLs without ".git" postfix are not supported

Updates in 1.3.2:



  • [Issue 7]: Fixed: Branchnames with slashes are not supported

Updates in 1.3.1:



  • [Issue 5]: Fixed StringIndexOutOfBoundsException when opening the project's context menu

  • [Issue 6]: Add position attribute to action to prevent warning in the log

Updates in 1.3:



  • [Issue 2]: Convert to maven based module

  • [Issue 3]: Add support for URLs with embedded credentials

  • [Issue 4]: Implement GitHub connection also for git@... URLs


Note: It only works for tracked branches. That means your local branch must be associated with a remote one. For example: your local branch 'myfeature' has a remote counterpart 'origin/myfeature'.

Not supported are


  • Pure local branches

  • Checked out tags/revisions/detached heads

  • Multiple selected projects

Provide defects, request for enhancements (f.e. new patterns) and feedback at https://github.com/markiewb/nb-git-open-in-external-repoviewer/issues


btn_donate_SM.gif


Compatible to >=NB 7.4


Legal disclaimer: Code is licensed under Apache 2.0. The names of the GIT repository hosters are trademarks of their owners. I am not affiliated with any of these owners nor endorsed by them.