Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Nov 19, 2011

  1. Herbert Valerio Riedel

    Merge pull request #12 from andersk/deforkify

    Use git cat-file --batch and git log --name-status to avoid repeated fork+exec
    authored November 19, 2011
  2. Anders Kaseorg

    last_change: Use git log --name-status to avoid repeated fork+exec

    Signed-off-by: Anders Kaseorg <andersk@mit.edu>
    authored October 20, 2011

Nov 18, 2011

  1. Anders Kaseorg

    Use git cat-file --batch, to avoid repeated fork+exec

    Signed-off-by: Anders Kaseorg <andersk@mit.edu>
    authored October 20, 2011
  2. Anders Kaseorg

    GitCore: Abstract out __pipe

    Signed-off-by: Anders Kaseorg <andersk@mit.edu>
    authored October 20, 2011

Aug 19, 2011

  1. Herbert Valerio Riedel

    Relicence trac-git-plugin from GPL v2 to "3-clause BSD"

    authored August 19, 2011

Jan 22, 2011

  1. Noah Kantrowitz

    Add a check for empty repos.

    authored January 21, 2011 hvr committed January 22, 2011
  2. Noah Kantrowitz

    Add a repo provider that uses a gitweb projects file.

    authored January 21, 2011 hvr committed January 22, 2011

Nov 06, 2010

  1. Herbert Valerio Riedel

    Implement `Repository.get_path_url()`

    Since git urls carry no path or revision information we always return
    the same clone url regardless of the current shown revision or path.
    
    The url returned is the `url` property associated with the repository.
    authored November 06, 2010
  2. Herbert Valerio Riedel

    Merge branch 'rm-storage-del' of https://github.com/scbash/trac-git-p…

    …lugin into scbash-rm-storage-del
    authored November 06, 2010
  3. Herbert Valerio Riedel

    Provide `Repository.parent_revs()` and `Repository.children_revs()` f…

    …or `ticket-1492-svgweb`
    
    With this change and together with rblank's graph view implementation
    we get a working git commit graph view.
    
    (See http://trac.edgewall.org/ticket/1492 for discussion)
    authored November 06, 2010

Oct 21, 2010

  1. scbash

    Remove Storage.__del__

    On some machines the log message caused "Write to closed fd" while
    Python shutdown.  It was never all that helpful...
    authored October 21, 2010

Oct 20, 2010

  1. Herbert Valerio Riedel

    Revert "Hopefully fix GitPlugin's broken caching behavior."

    (due to unclear infinite-self-recursion issue)
    
    This reverts commit f65bc12.
    authored October 20, 2010
  2. Herbert Valerio Riedel

    Rename CachedChangeset2 to GitCachedChangeset and whitespace cleanups

    (followup to 3da8eea)
    authored October 20, 2010
  3. Herbert Valerio Riedel

    Merge branch 'cached-get-branch' of http://github.com/scbash/trac-git…

    …-plugin into scbash-cached-get-branch
    authored October 20, 2010
  4. scbash

    Hopefully fix GitPlugin's broken caching behavior.

    This hopefully fixes all the "no such changeset" errors in Trac.  Basically
    trac-admin's changeset added event updates trac-admin's GitPlugin's cache
    (and Trac's persistent cache), but Trac that's running under Apache is a
    separate process and thus GitPlugin's non-peristent cache goes stale without
    GitPlugin knowing it.  Trac's persistent cache contains a new changeset, Trac
    attempts to construct a CachedChangeset, which calls normalize_rev, which in
    turn calls verifyrev.  This fix causes verifyrev to rebuild GitPlugin's cache
    if git rev-parse returns a valid SHA that isn't in the current cache.
    authored October 09, 2010 hvr committed October 21, 2010
  5. Herbert Valerio Riedel

    Rename `CachedRepository2` to `GitCachedRepository`

    authored October 20, 2010
  6. scbash

    Extend CachedChangeset and modify CachedRepo for get_branches

    Trac's CachedChangeset does not implement get_branches, which is
    required to show branch information on the timeline.  This commit
    creates a CachedChangeset2 which GitPlugin's CachedRepository2
    returns when asked for a changeset.  The new class uses GitPlugin's
    internal rev_cache to speed up the branch information retrieval
    (shamelessly copied from GitChangeset.get_branches)
    authored October 20, 2010

Oct 19, 2010

  1. scbash

    Add display_rev to CachedRepository2

    authored October 19, 2010

Oct 18, 2010

  1. PyGIT: added `GitCore.__repr__` to help debugging, otherwise `GitCore…

    ….__getattr__` gets in the way.
    authored July 26, 2010 hvr committed October 18, 2010

Oct 17, 2010

  1. Herbert Valerio Riedel

    Add backport of Python 2.6+'s `collections.namedtuple` and use it for…

    … the `RevCache` tuple.
    authored October 17, 2010
  2. Herbert Valerio Riedel

    Increment version to 0.12.0.5

    authored October 17, 2010
  3. Herbert Valerio Riedel

    Fix bug in `Storage.ls_tree()` for git filenames containing TAB chara…

    …cters
    authored October 17, 2010
  4. Herbert Valerio Riedel

    Reimplement git filesystem charset handling

    Make use of the new encoding handling implemented in the
    `PyGit.Storage`. So now Trac should always get pathnames as unicode
    objects.
    
    A new TracIni option `git_fs_encoding` can be used to change the
    default utf8 encoding.
    
    This implementation assumes `from_unicode(to_unicode(.))` to be an
    identity function.
    authored October 17, 2010
  5. Herbert Valerio Riedel

    remove redundant `to_unicode` invocations

    authored October 17, 2010
  6. Herbert Valerio Riedel

    Add `git_fs_encoding` parameter to `Storage` and `StorageFactory`

    This optional parameter allows to enable on-the-fly en/decoding of
    bytestrings (as seen by git) from/to unicode objects (as seen by Trac)
    authored October 17, 2010
  7. Herbert Valerio Riedel

    Increment version to 0.12.0.4

    authored October 17, 2010
  8. Herbert Valerio Riedel

    Minor cleanups recommended by pylint

    Mostly whitespace changes
    authored October 17, 2010
  9. Herbert Valerio Riedel

    Change logging priority of `disabled CachedRepository` from INFO to D…

    …EBUG
    authored October 17, 2010
  10. Herbert Valerio Riedel

    Add `Branches` property to changeset views.

    The `Branches` property is rendered as links to the reachable
    branch tips labeled by the branch name.
    
    While at it, refactor joining of rendered property list items with new
    `intersperse()` helper function.
    authored October 17, 2010
  11. Herbert Valerio Riedel

    Implement GitChangeset.get_branches()

    This results in branch annotations in the timeline view.
    
    For now, GitChangeset.get_branches() returns all the branches the
    given changeset is on, or to quote the `git branch` man-page: "In
    other words, the branches whose tip commits are descendants of the
    named commit."
    authored October 17, 2010
  12. Herbert Valerio Riedel

    Code refactoring: introduce `RevCache` namedtuple instance to make co…

    …de more readabale
    authored October 17, 2010
  13. Herbert Valerio Riedel

    Add reachable heads for each revision to revision cache

    Also switch to `git rev-list --topo-order` traversal in order to avoid
    a 2nd pass in Python.
    authored October 17, 2010

Oct 16, 2010

  1. Herbert Valerio Riedel

    Add support for abbreviated wiki sha ids

    This introduces a new option `wiki_shortrev_len`, which defines the
    minimum length for which hex-strings are interpreted as sha ids.
    authored October 16, 2010
  2. Herbert Valerio Riedel

    Implement `Repository.display_rev()` for displaying abbreviating sha ids

    authored October 16, 2010
  3. Herbert Valerio Riedel

    Refactor IPropertyRender component and improve display of merge commits

    Merge commit display code has been "reused" from TracMercurial
    authored October 16, 2010
Something went wrong with that request. Please try again.