oxygen-git-client-addon icon indicating copy to clipboard operation
oxygen-git-client-addon copied to clipboard

Button for "Create Pull Request"

Open ttasovac opened this issue 6 years ago • 2 comments

As you are working on extending the features of the Git Staging plugin, I'd like to chip in a suggestion for having a button for "Creating Pull Requests".

I understand it would be too much to implement submitting pull requests from within oXygen, but it would already be a very helpful addition to our workflow if our encoders could click on a button and be taken directly to a new pull request on github.com, where they could submit it.

This is also how GitHub Desktop does it (Branch > Create Pull Request).

ttasovac avatar Jul 23 '18 08:07 ttasovac

Hi, The plugin works with any Git repository so I would prefer not to add something specific to GitHub although I agree that it would be faster to implement it like that.

Since the plugin is open source, you can fork it and add a button on the toolbar with this functionality. This way you wont have to wait for us to implement the feature...

AlexJitianu avatar Aug 07 '18 12:08 AlexJitianu

I know that this thread is quite old, but I wanted to paste this proposal/workaround by @georgebina, until we implement this directly in the plugin:

One quick solution available right now is to define an external tool in Oxygen to open a pull request on a specific branch of your project. For example on my Mac I can define it with a command line like

open https://github.com/[username]/[project]/compare/[branch]?expand=1

where [username], [project] and [branch] need to be replaced with your actual repository information. The external tool will appear on the toolbar and you may also associate also a shortcut with an external tool so it will be easy to trigger that.

sorincarbunaru avatar Aug 23 '21 10:08 sorincarbunaru