forked from davglass/github-trac
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
153 additions
and
382 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
*.pyc | ||
*.pyo | ||
*~ | ||
*.swp | ||
*.egg-info | ||
build | ||
dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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...) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.