Skip to main content
Jump to: navigation, search

Difference between revisions of "Orion/Documentation/User Guide/Reference/Greasemonkey scripts"

m (New page: = Greasemonkey scripts = Using [http://en.wikipedia.org/wiki/Greasemonkey Greasemonkey] scripts, clonning git repositories into Orion is now much even easier then it used to be. To insta...)
 
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
= Greasemonkey scripts =
+
= Greasemonkey scripts =
  
Using [http://en.wikipedia.org/wiki/Greasemonkey Greasemonkey] scripts, clonning git repositories into Orion is now much even easier then it used to be.
+
With [http://en.wikipedia.org/wiki/Greasemonkey Greasemonkey] scripts, cloning a git repository into Orion is now even easier than it used to be.  
  
To install in Firefox ...
+
To install a script of your choice in Firefox, you need to install [https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/ Greasemonkey Add-on] first, and then follow the script "Install" link. For Chrome, following the "Install" link should be enough.  
To install in Chrome ...
+
  
== github.com ==
+
== github.com ==
  
[http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/plain/bundles/org.eclipse.orion.client.git.greasemonkey/github.com/cloneIntoOrion.user.js install]
+
[http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/plain/bundles/org.eclipse.orion.client.git.greasemonkey/github.com/cloneIntoOrion.user.js Install]  
  
== git.eclipse.org ==
+
The script adds a button to Github repo landing page. When clicked, the menu occurs with various Orion instances. Clicking the OrionHub or orion.eclipse.org menu item will open a new browser tab with Orion ready to clone the selected GitHub repo. In the menu there is one more additional field to type in the address of a custom Orion instance. To start cloning action simply click it when the address is typed.<br>
  
[http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/plain/bundles/org.eclipse.orion.client.git.greasemonkey/git.eclipse.org/cloneIntoOrion.user.js install]
+
[[Image:Orion-github-scripted.png]]  
  
== bugs.eclipse.org ==
+
<br>
  
[http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/plain/bundles/org.eclipse.orion.client.git.greasemonkey/bugs.eclipse.org/cloneIntoOrion.user.js install]
+
== git.eclipse.org  ==
 +
 
 +
[http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/plain/bundles/org.eclipse.orion.client.git.greasemonkey/git.eclipse.org/cloneIntoOrion.user.js Install]
 +
 
 +
The script converts Git urls at the bottom of the repo page into links. Select the preferred Orion instance using radio buttons. Then clicking one of the urls will open Orion ready to clone the selected repo.<br>
 +
 
 +
[[Image:Orion-giteclipseorg-scripted.png]]
 +
 
 +
<br>
 +
 
 +
== bugs.eclipse.org  ==
 +
 
 +
[http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/plain/bundles/org.eclipse.orion.client.git.greasemonkey/bugs.eclipse.org/cloneIntoOrion.user.js Install]
 +
 
 +
The script adds a section above the attachment area. Select the preferred Orion instance using radio buttons. Then clicking the url will open Orion ready to clone the repo. The link is added only for limited number of components within Orion and Platform projects.
 +
 
 +
[[Image:Orion-bugzilla-scripted.png]]
 +
 
 +
[[Category:Orion]]

Latest revision as of 11:48, 5 July 2017

Greasemonkey scripts

With Greasemonkey scripts, cloning a git repository into Orion is now even easier than it used to be.

To install a script of your choice in Firefox, you need to install Greasemonkey Add-on first, and then follow the script "Install" link. For Chrome, following the "Install" link should be enough.

github.com

Install

The script adds a button to Github repo landing page. When clicked, the menu occurs with various Orion instances. Clicking the OrionHub or orion.eclipse.org menu item will open a new browser tab with Orion ready to clone the selected GitHub repo. In the menu there is one more additional field to type in the address of a custom Orion instance. To start cloning action simply click it when the address is typed.

Orion-github-scripted.png


git.eclipse.org

Install

The script converts Git urls at the bottom of the repo page into links. Select the preferred Orion instance using radio buttons. Then clicking one of the urls will open Orion ready to clone the selected repo.

Orion-giteclipseorg-scripted.png


bugs.eclipse.org

Install

The script adds a section above the attachment area. Select the preferred Orion instance using radio buttons. Then clicking the url will open Orion ready to clone the repo. The link is added only for limited number of components within Orion and Platform projects.

Orion-bugzilla-scripted.png

Back to the top