Skip to content

Commit

Permalink
Convert to githubsimple project
Browse files Browse the repository at this point in the history
  • Loading branch information
pv committed Sep 16, 2010
1 parent ef00412 commit c15b551
Show file tree
Hide file tree
Showing 10 changed files with 153 additions and 382 deletions.
4 changes: 4 additions & 0 deletions .gitignore
@@ -1,3 +1,7 @@
*.pyc
*.pyo
*~
*.swp
*.egg-info
build
dist
83 changes: 0 additions & 83 deletions README

This file was deleted.

62 changes: 62 additions & 0 deletions README.rst
@@ -0,0 +1,62 @@
=================
githubsimple-trac
=================

This is a simplified version of the Trac/Github integration plugin
http://github.com/davglass/github-trac

Many features and most dependencies are stripped, leaving only the browser/ and changeset/
redirects.


Installation
============

This plugin allows you to replace the builtin Trac browser with redirects to the GitHub source browser.

To install this Trac Plugin:

1. Clone the repository::

git clone git://github.com/pv/githubsimple-trac.git

2. Install the Plugin::

cd githubsimple-trac
sudo python setup.py install # ... or something similar

3. Configure Trac by editing your ``trac.ini``::
[components]
githubsimple.* = enabled

[githubsimple]
browser = http://github.com/davglass/tree/master
4. All done.


The Code Browser
================

The code browser portion of the plugin is designed to replace the code browser
built into Trac with a simple redirect to the GitHub source browser.

Note that this will not make the commits appear in the timeline etc. You need
the GitPlugin to do that: http://trac-hacks.org/wiki/GitPlugin

Also, if you want that, consider using the full github-trac plugin.


Changesets
==========

This plugin intercepts the /changeset url, which allows using::

changeset:98d9ffe2

syntax to refer to Git commits.

It tries to automatically detect if the commit is a valid SVN revision number,
and in that case points it to Trac's builtin source browser instead of Github.
(May be useful for projects converted from SVN...)
3 changes: 0 additions & 3 deletions dev.sh

This file was deleted.

1 change: 0 additions & 1 deletion github/__init__.py

This file was deleted.

122 changes: 0 additions & 122 deletions github/github.py

This file was deleted.

0 comments on commit c15b551

Please sign in to comment.