Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

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

(github.com)
 
(4 intermediate revisions by 3 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, the menu with various Orion instances listed occurs. By clicking on the OrionHub or orion.eclipse.org the new browser tab with Orion will be opened. There is one more additional field to type there address of another Orion instance. To start cloning action simply click it when the address is typed.
+
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  ==
  
[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 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.  
+
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

Copyright © Eclipse Foundation, Inc. All Rights Reserved.