Skip to main content
Jump to: navigation, search

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

m (Greasemonkey scripts)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
= Greasemonkey scripts  =
 
= Greasemonkey scripts  =
  
With [http://en.wikipedia.org/wiki/Greasemonkey Greasemonkey] scripts, clonning a git repository into Orion is now 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 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 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.  
Line 9: Line 9:
 
[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]  
  
The script adds a button to Github repo landing page. When pressed, you're taken to orionhub.org with cloning dialog already populated and ready to be started.  
+
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>
  
 
[[Image:Orion-github-scripted.png]]  
 
[[Image:Orion-github-scripted.png]]  
 +
 +
<br>
  
 
== git.eclipse.org  ==
 
== git.eclipse.org  ==
 
The scripts converts git URLs at the bottom of a repo page into links. When clicked, you're taken to orionhub.org with cloning dialog already populated and ready to be started.
 
  
 
[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]  
 
[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]]  
 
[[Image:Orion-giteclipseorg-scripted.png]]  
 +
 +
<br>
  
 
== bugs.eclipse.org  ==
 
== bugs.eclipse.org  ==
Line 25: Line 29:
 
[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]  
 
[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 link to the bug header. When clicked, you're taken to orionhub.org with cloning dialog already populated and ready to be started. The link is added only for limited number of components within Orion and Platform projects.  
+
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]]
 
[[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