Skip to content

Commit f8ce24a

Browse files
committed
-#######->WARNING<-####### Directory structure changed, see commit message
If you use git-python as a submodule of your own project, which alters the sys.path to import it, you will have to adjust your code to take the changed directory structure into consideration. Previously, you would put the path ./git-python/lib into your syspath. All modules moved one level up into the 'git' subdirectory, which means that the 'git-python' directory now contains the 'git' root package. To allow git to be found, add ./git-python into your path. To finalize your update, run the following commands git submodule update --init --recursive As there will be left-over directories, consider running git-clean
2 parents 65747a2 + 9004e3a commit f8ce24a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+34
-245
lines changed

.gitmodules

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[submodule "gitdb"]
2-
path = ext/gitdb
3-
url = git://gitorious.org/git-python/gitdb.git
2+
path = git/ext/gitdb
3+
url = git://github.com/Byron/gitdb.git

CHANGES

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
11
Please see the online documentation for the latest changelog:
2-
http://packages.python.org/GitPython/0.3/changes.html
3-
4-
To see the changes of this very version, have a look at the file:
5-
doc/source/changes.rst
2+
http://packages.python.org/GitPython/

MANIFEST.in

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@ include CHANGES
44
include AUTHORS
55
include README
66

7-
graft test/fixtures
7+
graft git/test/fixtures
8+
graft git/test/performance
9+

README

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
GitPython
33
==========
44

5-
GitPython is a python library used to interact with Git repositories.
5+
GitPython is a python library used to interact with git repositories, high-level like git-porcelain, or low-level like git-plumbing.
66

7-
GitPython is a port of the grit library in Ruby created by
8-
Tom Preston-Werner and Chris Wanstrath.
7+
It provides abstractions of git objects for easy access of repository data, and additionally allows you to access the git repository more directly using either a pure python implementation, or the faster, but more resource intensive git command implementation.
98

9+
The object database implementation is optimized for handling large quantities of objects and large datasets, which is achieved by using low-level structures and data streaming.
1010

1111
REQUIREMENTS
1212
============
1313

14-
* Git ( tested with 1.5.3.7 )
14+
* Git ( tested with 1.7.3.2 )
1515
* Python Nose - used for running the tests
1616
* Mock by Michael Foord used for tests. Requires 0.5
1717

@@ -32,17 +32,21 @@ A distribution package can be obtained for manual installation at:
3232
SOURCE
3333
======
3434

35-
GitPython's git repo is available on Gitorious and GitHub, which can be browsed at:
35+
GitPython's git repo is available on GitHub, which can be browsed at:
3636

37-
http://gitorious.org/projects/git-python/
3837
http://github.com/Byron/GitPython
3938

4039
and cloned using:
4140

42-
git clone git://gitorious.org/git-python/mainline.git git-python
4341
git clone git://github.com/Byron/GitPython.git git-python
4442

4543

44+
DOCUMENTATION
45+
=============
46+
The html-compiled documentation can be found at the following URL:
47+
48+
http://packages.python.org/GitPython/
49+
4650
MAILING LIST
4751
============
4852
http://groups.google.com/group/git-python

doc/source/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
# is relative to the documentation root, use os.path.abspath to make it
2121
# absolute, like shown here.
2222
#sys.path.append(os.path.abspath('.'))
23-
sys.path.insert(0, os.path.abspath('../../../'))
23+
sys.path.insert(0, os.path.abspath('../..'))
24+
print sys.path
2425

2526
# General configuration
2627
# ---------------------

ext/gitdb

Lines changed: 0 additions & 1 deletion
This file was deleted.

ez_setup.py

Lines changed: 0 additions & 222 deletions
This file was deleted.
File renamed without changes.

cmd.py renamed to git/cmd.py

File renamed without changes.

config.py renamed to git/config.py

File renamed without changes.

0 commit comments

Comments
 (0)