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.
Difference between revisions of "EGit/GitHub/User Guide"
(→Issue Editor) |
(→Overview) |
||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Overview == | == Overview == | ||
The EGit Mylyn GitHub connector supports creating task repositories for working with [http://www.github.com GitHub] issues and [http://gist.github.com Gists]. A GitHub issue task repository is required for each GitHub project repository you want to access issues for. A single Gist repository allows you to access all Gists on http://gist.github.com. | The EGit Mylyn GitHub connector supports creating task repositories for working with [http://www.github.com GitHub] issues and [http://gist.github.com Gists]. A GitHub issue task repository is required for each GitHub project repository you want to access issues for. A single Gist repository allows you to access all Gists on http://gist.github.com. | ||
+ | |||
+ | The latest version of the EGit Mylyn GitHub connector can be installed from following update site: | ||
+ | |||
+ | http://download.eclipse.org/egit/github/updates-nightly | ||
== Getting Started== | == Getting Started== | ||
Line 30: | Line 34: | ||
* Closing & reopening the issue from the ''Actions'' section | * Closing & reopening the issue from the ''Actions'' section | ||
* Assigning the issue to someone from the ''People'' section | * Assigning the issue to someone from the ''People'' section | ||
− | * Adding labels from the ''Attributes'' section | + | * Adding and removing labels from the ''Attributes'' section |
* Updating the milestone from the ''Attributes'' section | * Updating the milestone from the ''Attributes'' section | ||
[[Image:GitHubMylynIssueEditor.png|center]] | [[Image:GitHubMylynIssueEditor.png|center]] | ||
Line 36: | Line 40: | ||
== Gists == | == Gists == | ||
=== Creating === | === Creating === | ||
− | Gists can be created by selecting text in a editor or files in an explorer and selecting the '''Create Gist''' context menu. The Gist will be created in a background job and a notification popup will display with a link to open the newly created Gist | + | Gists can be created by selecting text in a editor or files in an explorer and selecting either the ''GitHub'' > '''Create Private Gist''' or ''GitHub'' > '''Create Public Gist''' context menu. The Gist will be created in a background job and a notification popup will display with a link to open the newly created Gist. |
=== Queries === | === Queries === | ||
Line 43: | Line 47: | ||
=== Gist Editor === | === Gist Editor === | ||
The task editor for Gists supports the following: | The task editor for Gists supports the following: | ||
− | * | + | * Editing the description |
* Adding a new comment | * Adding a new comment | ||
* Opening the files in a gist in an editor | * Opening the files in a gist in an editor | ||
Line 53: | Line 57: | ||
== Frequently Asked Questions (FAQ) == | == Frequently Asked Questions (FAQ) == | ||
* Does the connector support GitHub API tokens? | * Does the connector support GitHub API tokens? | ||
− | ** '''No''', API tokens are no longer supported by the | + | ** '''No''', API tokens are no longer supported by the GitHub v3 API which the connector uses for requests. |
* Are GitHub API requests made over HTTPS? | * Are GitHub API requests made over HTTPS? | ||
** '''Yes''', all requests made through the GitHub API are over HTTPS. | ** '''Yes''', all requests made through the GitHub API are over HTTPS. |
Revision as of 12:14, 27 May 2011
Contents
Overview
The EGit Mylyn GitHub connector supports creating task repositories for working with GitHub issues and Gists. A GitHub issue task repository is required for each GitHub project repository you want to access issues for. A single Gist repository allows you to access all Gists on http://gist.github.com.
The latest version of the EGit Mylyn GitHub connector can be installed from following update site:
http://download.eclipse.org/egit/github/updates-nightly
Getting Started
The Mylyn GitHub connector supports bulk adding all your GitHub repositories to the Mylyn Task Repositorities view.
- Select File > Import...
- Select the GitHub Task Repositories node under the Tasks category
- Select Next
- Enter your GitHub login name and password on the credentials wizard page
- Select Next
- Check all the GitHub repositories that you want to access issues from.
- Select Finish
- Open the Task Repositories view to browse the newly added task repositories and add queries or create new tasks.
Issues
Queries
GitHub issue task repositories support creating queries that filter by the following fields:
- State (open or closed)
- Milestones
- Mentions
- Assignee
- Labels
Note that when multiple filters are used in the same query the returned issues will match all of the filters. The minimum required for a valid query is at least one status selected and a non-empty title.
Issue Editor
The GitHub issue task editor supports the following:
- Editing the title & description
- Adding a new comment
- Closing & reopening the issue from the Actions section
- Assigning the issue to someone from the People section
- Adding and removing labels from the Attributes section
- Updating the milestone from the Attributes section
Gists
Creating
Gists can be created by selecting text in a editor or files in an explorer and selecting either the GitHub > Create Private Gist or GitHub > Create Public Gist context menu. The Gist will be created in a background job and a notification popup will display with a link to open the newly created Gist.
Queries
Gist queries only support filtering by a specified GitHub login name.
Gist Editor
The task editor for Gists supports the following:
- Editing the description
- Adding a new comment
- Opening the files in a gist in an editor
- Adding new files to the gist
- Replacing the content of a file currently in the gist
- Cloning the gist to a local Eclipse project
Frequently Asked Questions (FAQ)
- Does the connector support GitHub API tokens?
- No, API tokens are no longer supported by the GitHub v3 API which the connector uses for requests.
- Are GitHub API requests made over HTTPS?
- Yes, all requests made through the GitHub API are over HTTPS.