Skip to content

Commit df570f0

Browse files
committed
preprended all modules with licensing information
1 parent 6d315b8 commit df570f0

34 files changed

+133
-1
lines changed

gitdb/__init__.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel ([email protected]) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
"""Initialize the object database module"""
26

37
import sys

gitdb/base.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel ([email protected]) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
"""Module with basic data structures - they are designed to be lightweight and fast"""
26
from util import (
37
bin_to_hex,

gitdb/db/__init__.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel ([email protected]) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15

26
from base import *
37
from loose import *

gitdb/db/base.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel ([email protected]) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
"""Contains implementations of database retrieveing objects"""
26
from gitdb.util import (
37
pool,

gitdb/db/git.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel ([email protected]) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
from base import (
26
CompoundDB,
37
ObjectDBW,

gitdb/db/loose.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel ([email protected]) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
from base import (
26
FileDBBase,
37
ObjectDBR,

gitdb/db/mem.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel ([email protected]) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
"""Contains the MemoryDatabase implementation"""
26
from loose import LooseObjectDB
37
from base import (

gitdb/db/pack.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel ([email protected]) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
"""Module containing a database to deal with packs"""
26
from base import (
37
FileDBBase,

gitdb/db/ref.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel ([email protected]) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
from base import (
26
CompoundDB,
37
)

gitdb/exc.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel ([email protected]) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
"""Module with common exceptions"""
26
from util import to_hex_sha
37

gitdb/fun.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel ([email protected]) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
"""Contains basic c-functions which usually contain performance critical code
26
Keeping this code separate from the beginning makes it easier to out-source
37
it into c later, if required"""

gitdb/pack.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel ([email protected]) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
"""Contains PackIndexFile and PackFile implementations"""
26
from gitdb.exc import (
37
BadObject,

gitdb/stream.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel ([email protected]) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15

26
from cStringIO import StringIO
37
import errno

gitdb/test/__init__.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel ([email protected]) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15

26
import gitdb.util
37

gitdb/test/db/__init__.py

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel ([email protected]) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php

gitdb/test/db/lib.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel ([email protected]) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
"""Base classes for object db testing"""
26
from gitdb.test.lib import (
37
with_rw_directory,

gitdb/test/db/test_git.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel ([email protected]) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
from lib import *
26
from gitdb.exc import BadObject
37
from gitdb.db import GitDB

gitdb/test/db/test_loose.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel ([email protected]) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
from lib import *
26
from gitdb.db import LooseObjectDB
37
from gitdb.exc import BadObject

gitdb/test/db/test_mem.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel ([email protected]) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
from lib import *
26
from gitdb.db import (
37
MemoryDB,

gitdb/test/db/test_pack.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel ([email protected]) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
from lib import *
26
from gitdb.db import PackedDB
37
from gitdb.test.lib import fixture_path

gitdb/test/db/test_ref.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel ([email protected]) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
from lib import *
26
from gitdb.db import ReferenceDB
37

gitdb/test/lib.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel ([email protected]) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
"""Utilities used in ODB testing"""
26
from gitdb import (
37
OStream,

gitdb/test/performance/lib.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel ([email protected]) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
"""Contains library functions"""
26
import os
37
from gitdb.test.lib import *

gitdb/test/performance/test_pack.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel ([email protected]) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
"""Performance tests for object store"""
26
from lib import (
37
TestBigRepoR

gitdb/test/performance/test_pack_streaming.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel ([email protected]) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
"""Specific test for pack streams only"""
26
from lib import (
37
TestBigRepoR

gitdb/test/performance/test_stream.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel ([email protected]) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
"""Performance data streaming performance"""
26
from lib import TestBigRepoR
37
from gitdb.db import *

gitdb/test/test_base.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel ([email protected]) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
"""Test for object db"""
26
from lib import (
37
TestBase,

gitdb/test/test_example.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel ([email protected]) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
"""Module with examples from the tutorial section of the docs"""
26
from lib import *
37
from gitdb import IStream

gitdb/test/test_pack.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel ([email protected]) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
"""Test everything about packs reading and writing"""
26
from lib import (
37
TestBase,

gitdb/test/test_stream.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel ([email protected]) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
"""Test for object db"""
26
from lib import (
37
TestBase,

gitdb/test/test_util.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel ([email protected]) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
"""Test for object db"""
26
import tempfile
37
import os

gitdb/typ.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel ([email protected]) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
"""Module containing information about types known to the database"""
26

37
#{ String types

gitdb/util.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel ([email protected]) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
import binascii
26
import os
37
import mmap

0 commit comments

Comments
 (0)