ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Trac​RPC

by Florian Cech ST3

Trac RPC package for Sublime Text 3

Details

  • 1.0.2
  • github.​com
  • github.​com
  • 10 years ago
  • 23 minutes ago
  • 10 years ago

Installs

  • Total 107
  • Win 58
  • Mac 20
  • Linux 29
Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

TracRPC

Trac RPC package for Sublime Text 3

Sublime Text Trac-Plugin to interface with an existing trac project.

Preconditions

Besides using the Sublime Text 3 editor, you will need to install the Trac XML-RPC plugin to your trac instance. Installation instructions can be found on the plugins website. Furthermore, the user you are using to connect to Trac might need to have the XML_RPC permission.

Installation

Package Control

Since this package has officially been accepted, it is available via Package Control.

Manual Installation

For bleeding-edge dev-versions, you can directly clone this github repository. To install this dev-preview, follow these steps:

  • Clone the git repository into your Sublime Text Package directory as a whole
git clone https://github.com/lyrixderaven/TracRPC.git

Settings

The package requires some settings to work, specifically setting url and authentication credentials for your Trac Environment:

  • Edit your project settings file to include the settings for your trac instance
"settings":
    {
        "trac_user": "me@myhost.com",
        "trac_pw": "my_super_secret_pw",
        "trac_url": "https://myhost.com/mytrac",
    }

Mind that the URL to your trac instance does not need a trailing slash or the /rpc postfix; the plugin takes care of that by itself.

Sublime Text should automatically update and include the package; you can check the presence of the package by looking at the settings, which should contain a new entry for TracRPC at Preferences>Package Settings>TracRPC

Usage

Currently, the following commands are implemented:

  1. List my tickets (owned) (⌘+t, ⌘+t)
  2. List all my tickets (owned, reported, cc) ((⌘+t, ⌘+a)
  3. Insert [refs #1] references statement for commit messages (⌘+t, ⌘+r)
  4. Add comment to ticket (⌘+t, ⌘+y)