Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add per-file licensing info.

Removes a -10 'packaging smell', and basically for free with ucopy ;)
  • Loading branch information...
commit 6eeeef96f877d44a8e54a75846617fa5b225b313 1 parent 6432fe9
@JNRowe JNRowe authored
Showing with 413 additions and 27 deletions.
  1. +21 −0 .ucopy.cfg
  2. +28 −21 AUTHORS
  3. +7 −0 doc/.templates/layout.html
  4. +8 −0 doc/api/client.rst
  5. +6 −0 doc/api/commit.rst
  6. +6 −0 doc/api/core.rst
  7. +6 −0 doc/api/index.rst
  8. +6 −0 doc/api/issues.rst
  9. +6 −0 doc/api/network.rst
  10. +6 −0 doc/api/object.rst
  11. +6 −0 doc/api/organizations.rst
  12. +6 −0 doc/api/pull_requests.rst
  13. +6 −0 doc/api/repos.rst
  14. +6 −0 doc/api/request.rst
  15. +6 −0 doc/api/teams.rst
  16. +6 −0 doc/api/users.rst
  17. +6 −0 doc/bugs.rst
  18. +6 −0 doc/contributing.rst
  19. +5 −4 doc/index.rst
  20. +7 −0 doc/install.rst
  21. +6 −0 doc/license.rst
  22. +6 −0 doc/problems.rst
  23. +6 −0 doc/quickstart.rst
  24. +6 −0 doc/release.rst
  25. +7 −0 doc/wild.rst
  26. +5 −0 examples/friend-or-follow.py
  27. +6 −0 github2/__init__.py
  28. +4 −0 github2/bin/__init__.py
  29. +5 −2 github2/bin/manage_collaborators.py
  30. +4 −0 github2/bin/search_repos.py
  31. +15 −0 github2/client.py
  32. +9 −0 github2/commits.py
  33. +13 −0 github2/core.py
  34. +10 −0 github2/issues.py
  35. +7 −0 github2/organizations.py
  36. +9 −0 github2/pull_requests.py
  37. +17 −0 github2/repositories.py
  38. +21 −0 github2/request.py
  39. +6 −0 github2/teams.py
  40. +9 −0 github2/users.py
  41. +10 −0 setup.py
  42. +5 −0 tests/test_charset_header.py
  43. +5 −0 tests/test_commits.py
  44. +4 −0 tests/test_date_handling.py
  45. +5 −0 tests/test_issues.py
  46. +5 −0 tests/test_organizations.py
  47. +5 −0 tests/test_pull_requests.py
  48. +5 −0 tests/test_regression.py
  49. +7 −0 tests/test_repositories.py
  50. +5 −0 tests/test_request.py
  51. +5 −0 tests/test_teams.py
  52. +4 −0 tests/test_tz_aware_date_handling.py
  53. +7 −0 tests/test_unit.py
  54. +5 −0 tests/test_user.py
  55. +5 −0 tests/utils.py
View
21 .ucopy.cfg
@@ -0,0 +1,21 @@
+[repo]
+name = python-github2
+license-from = bsd-3
+vcs = git
+
+[files]
+ignore-from = git
+ignore-glob = COPYING, README.rst, .keep, test/data/github.com,api*
+
+[patch]
+unicode = python
+
+[author-override]
+Ask Solem = <askh@modwheel.net> <askh@opera.com>
+Chris Vale = <crispywalrus@gmail.com>
+Claudio B. = <claudiob@gmail.com>
+Daniel Greenfeld = <pydanny@gmail.com>
+Donald von Stufft = <donald@xenofox.com>
+Michael Basnight = <mbasnight@gmail.com>
+Sameer Al-Sakran = <sameer@whitelabellabs.com>
+Stéphane Angel = <s.angel@twidi.com>
View
49 AUTHORS
@@ -1,31 +1,38 @@
-Ask Solem <askh@opera.com>
-Mark Paschal <markpasc@markpasc.org>
-Donald von Stufft <donald@xenofox.com>
-Maximillian Dornseif
+python-github2 was written by:
+
+Ask Solem <askh@modwheel.net>
+
+with contributions from the following people:
+
+Adam Vandenberg <flangy@gmail.com>
Asheesh Laroia <asheesh@openhatch.org>
-Rick Harris <rick.harris@rackspace.com>
-Cody Soyland <codysoyland@gmail.com>
-Fernando Perez <Fernando.Perez@berkeley.edu>
-Evan Broder <broder@mit.edu>
-Scott Torborg <scott@crookedmedia.com>
-Claudio B. <claudiob@gmail.com>
+Barthelemy Dagenais <bart@cs.mcgill.ca>
Chris Vale <crispywalrus@gmail.com>
-Adam Vandenberg <flangy@gmail.com>
-Kenneth Reitz <me@kennethreitz.com>
+Christopher MacGown <ignoti+github@gmail.com>
+Claudio B. <claudiob@gmail.com>
+Cody Soyland <codysoyland@gmail.com>
Daniel Greenfeld <pydanny@gmail.com>
+Donald von Stufft <donald@xenofox.com>
+Evan Broder <broder@mit.edu>
+Fernando Perez <Fernando.Perez@berkeley.edu>
+Ionuț Arțăriși <mapleoin@lavabit.com>
+James Rowe <jnrowe@gmail.com>
+Jens Ohlig <jens.ohlig@gmail.com>
Jeremy Dunck <jdunck@gmail.com>
Jonas Obrist <jonas.obrist@divio.ch>
-Sameer Al-Sakran <sameer@whitelabellabs.com>
-Vincent Driessen <vincent@datafox.nl>
-James Rowe <jnrowe@gmail.com>
Josh Weinberg <daemoncollector@gmail.com>
-Barthelemy Dagenais <bart@cs.mcgill.ca>
-Surajram Kumarave <root@surajram.com>
-broderboy <timothy.broder@gmail.com>
-Patryk Zawadzki <patrys@pld-linux.org>
+Justin Quick <justquick@gmail.com>
+Kenneth Reitz <me@kennethreitz.com>
+Mark Paschal <markpasc@markpasc.org>
+Maximillian Dornseif <m.dornseif@hudora.de>
Michael Basnight <mbasnight@gmail.com>
-Christopher MacGown <ignoti+github@gmail.com>
+Patryk Zawadzki <patrys@pld-linux.org>
+Rick Harris <rick.harris@rackspace.com>
Rok Garbas <rok@garbas.si>
-Ionuț Arțăriși <mapleoin@lavabit.com>
+Sameer Al-Sakran <sameer@whitelabellabs.com>
+Scott Torborg <scott@crookedmedia.com>
Stéphane Angel <s.angel@twidi.com>
+Surajram Kumaravel <root@surajram.com>
+Vincent Driessen <vincent@datafox.nl>
+broderboy <timothy.broder@gmail.com>
modocache <modocache@gmail.com>
View
7 doc/.templates/layout.html
@@ -1,3 +1,10 @@
+{#
+ Copyright (C) 2011-2012 James Rowe <jnrowe@gmail.com>
+
+ This file is part of python-github2, and is licensed under the 3-clause BSD
+ License. See the LICENSE file in the top distribution directory for the full
+ license text.
+#}
{% extends "!layout.html" %}
{% block extrahead %}
View
8 doc/api/client.rst
@@ -1,3 +1,11 @@
+.. Copyright (C) 2011-2012 James Rowe <jnrowe@gmail.com>
+ Michael Basnight <mbasnight@gmail.com>
+ modocache <modocache@gmail.com>
+
+ This file is part of python-github2, is licensed under the 3-clause BSD
+ License. See the LICENSE file in the top distribution directory for the full
+ license text.
+
.. module:: github2.client
Creating a client
View
6 doc/api/commit.rst
@@ -1,3 +1,9 @@
+.. Copyright (C) 2011-2012 James Rowe <jnrowe@gmail.com>
+
+ This file is part of python-github2, is licensed under the 3-clause BSD
+ License. See the LICENSE file in the top distribution directory for the full
+ license text.
+
.. module:: github2.commits
Commit
View
6 doc/api/core.rst
@@ -1,3 +1,9 @@
+.. Copyright (C) 2011-2012 James Rowe <jnrowe@gmail.com>
+
+ This file is part of python-github2, is licensed under the 3-clause BSD
+ License. See the LICENSE file in the top distribution directory for the full
+ license text.
+
.. module:: github2.core
Core
View
6 doc/api/index.rst
@@ -1,3 +1,9 @@
+.. Copyright (C) 2011-2012 James Rowe <jnrowe@gmail.com>
+
+ This file is part of python-github2, is licensed under the 3-clause BSD
+ License. See the LICENSE file in the top distribution directory for the full
+ license text.
+
API documentation
=================
View
6 doc/api/issues.rst
@@ -1,3 +1,9 @@
+.. Copyright (C) 2011-2012 James Rowe <jnrowe@gmail.com>
+
+ This file is part of python-github2, is licensed under the 3-clause BSD
+ License. See the LICENSE file in the top distribution directory for the full
+ license text.
+
.. module:: github2.issues
Issues
View
6 doc/api/network.rst
@@ -1,3 +1,9 @@
+.. Copyright (C) 2011-2012 James Rowe <jnrowe@gmail.com>
+
+ This file is part of python-github2, is licensed under the 3-clause BSD
+ License. See the LICENSE file in the top distribution directory for the full
+ license text.
+
.. currentmodule:: github2.client
Network
View
6 doc/api/object.rst
@@ -1,3 +1,9 @@
+.. Copyright (C) 2011-2012 James Rowe <jnrowe@gmail.com>
+
+ This file is part of python-github2, is licensed under the 3-clause BSD
+ License. See the LICENSE file in the top distribution directory for the full
+ license text.
+
.. currentmodule:: github2.client
Object
View
6 doc/api/organizations.rst
@@ -1,3 +1,9 @@
+.. Copyright (C) 2011-2012 James Rowe <jnrowe@gmail.com>
+
+ This file is part of python-github2, is licensed under the 3-clause BSD
+ License. See the LICENSE file in the top distribution directory for the full
+ license text.
+
.. module:: github2.organizations
Organizations
View
6 doc/api/pull_requests.rst
@@ -1,3 +1,9 @@
+.. Copyright (C) 2011-2012 James Rowe <jnrowe@gmail.com>
+
+ This file is part of python-github2, is licensed under the 3-clause BSD
+ License. See the LICENSE file in the top distribution directory for the full
+ license text.
+
.. module:: github2.pull_requests
Pull requests
View
6 doc/api/repos.rst
@@ -1,3 +1,9 @@
+.. Copyright (C) 2011-2012 James Rowe <jnrowe@gmail.com>
+
+ This file is part of python-github2, is licensed under the 3-clause BSD
+ License. See the LICENSE file in the top distribution directory for the full
+ license text.
+
.. module:: github2.repositories
Repository
View
6 doc/api/request.rst
@@ -1,3 +1,9 @@
+.. Copyright (C) 2011-2012 James Rowe <jnrowe@gmail.com>
+
+ This file is part of python-github2, is licensed under the 3-clause BSD
+ License. See the LICENSE file in the top distribution directory for the full
+ license text.
+
.. module:: github2.request
Requests
View
6 doc/api/teams.rst
@@ -1,3 +1,9 @@
+.. Copyright (C) 2011-2012 James Rowe <jnrowe@gmail.com>
+
+ This file is part of python-github2, is licensed under the 3-clause BSD
+ License. See the LICENSE file in the top distribution directory for the full
+ license text.
+
.. module:: github2.teams
Teams
View
6 doc/api/users.rst
@@ -1,3 +1,9 @@
+.. Copyright (C) 2011-2012 James Rowe <jnrowe@gmail.com>
+
+ This file is part of python-github2, is licensed under the 3-clause BSD
+ License. See the LICENSE file in the top distribution directory for the full
+ license text.
+
.. module:: github2.users
Users
View
6 doc/bugs.rst
@@ -1,3 +1,9 @@
+.. Copyright (C) 2011-2012 James Rowe <jnrowe@gmail.com>
+
+ This file is part of python-github2, and is licensed under the 3-clause BSD
+ License. See the LICENSE file in the top distribution directory for the full
+ license text.
+
Reporting bugs
==============
View
6 doc/contributing.rst
@@ -1,3 +1,9 @@
+.. Copyright (C) 2011-2012 James Rowe <jnrowe@gmail.com>
+
+ This file is part of python-github2, and is licensed under the 3-clause BSD
+ License. See the LICENSE file in the top distribution directory for the full
+ license text.
+
Contributing
============
View
9 doc/index.rst
@@ -1,7 +1,8 @@
-.. python-github2 documentation master file, created by
- sphinx-quickstart on Mon Apr 11 16:16:25 2011.
- You can adapt this file completely to your liking, but it should at least
- contain the root `toctree` directive.
+.. Copyright (C) 2011-2012 James Rowe <jnrowe@gmail.com>
+
+ This file is part of python-github2, and is licensed under the 3-clause BSD
+ License. See the LICENSE file in the top distribution directory for the full
+ license text.
..
If you prefer you can also read the pre-built documentation at
View
7 doc/install.rst
@@ -1,3 +1,10 @@
+.. Copyright (C) 2011-2012 James Rowe <jnrowe@gmail.com>
+ Michael Basnight <mbasnight@gmail.com>
+
+ This file is part of python-github2, and is licensed under the 3-clause BSD
+ License. See the LICENSE file in the top distribution directory for the full
+ license text.
+
Installation
------------
View
6 doc/license.rst
@@ -1,3 +1,9 @@
+.. Copyright (C) 2011-2012 James Rowe <jnrowe@gmail.com>
+
+ This file is part of python-github2, and is licensed under the 3-clause BSD
+ License. See the LICENSE file in the top distribution directory for the full
+ license text.
+
License
=======
View
6 doc/problems.rst
@@ -1,3 +1,9 @@
+.. Copyright (C) 2011-2012 James Rowe <jnrowe@gmail.com>
+
+ This file is part of python-github2, and is licensed under the 3-clause BSD
+ License. See the LICENSE file in the top distribution directory for the full
+ license text.
+
Solving problems
================
View
6 doc/quickstart.rst
@@ -1,3 +1,9 @@
+.. Copyright (C) 2011-2012 James Rowe <jnrowe@gmail.com>
+
+ This file is part of python-github2, and is licensed under the 3-clause BSD
+ License. See the LICENSE file in the top distribution directory for the full
+ license text.
+
Quickstart
==========
View
6 doc/release.rst
@@ -1,3 +1,9 @@
+.. Copyright (C) 2012 James Rowe <jnrowe@gmail.com>
+
+ This file is part of python-github2, and is licensed under the 3-clause BSD
+ License. See the LICENSE file in the top distribution directory for the full
+ license text.
+
Release HOWTO
=============
View
7 doc/wild.rst
@@ -1,3 +1,10 @@
+.. Copyright (C) 2011-2012 James Rowe <jnrowe@gmail.com>
+ Stéphane Angel <s.angel@twidi.com>
+
+ This file is part of python-github2, and is licensed under the 3-clause BSD
+ License. See the LICENSE file in the top distribution directory for the full
+ license text.
+
In the wild
-----------
View
5 examples/friend-or-follow.py
@@ -1,3 +1,8 @@
+# Copyright (C) 2010-2012 Ask Solem <askh@modwheel.net>
+#
+# This file is part of python-github2, and is made available under the 3-clause
+# BSD license. See LICENSE for the full details.
+
import sys
import optparse
from subprocess import Popen, PIPE
View
6 github2/__init__.py
@@ -1,4 +1,10 @@
"Github API v2 library for Python"
+# Copyright (C) 2009-2012 Ask Solem <askh@modwheel.net>
+# James Rowe <jnrowe@gmail.com>
+# Maximillian Dornseif <m.dornseif@hudora.de>
+#
+# This file is part of python-github2, and is made available under the 3-clause
+# BSD license. See LICENSE for the full details.
from github2 import _version
View
4 github2/bin/__init__.py
@@ -1 +1,5 @@
#
+# Copyright (C) 2011-2012 James Rowe <jnrowe@gmail.com>
+#
+# This file is part of python-github2, and is made available under the 3-clause
+# BSD license. See LICENSE for the full details.
View
7 github2/bin/manage_collaborators.py
@@ -8,8 +8,11 @@
"""
# Created by Maximillian Dornseif on 2009-12-31 for HUDORA.
-# Copyright (c) 2009 HUDORA. All rights reserved.
-# BSD licensed
+# Copyright (C) 2009-2012 James Rowe <jnrowe@gmail.com>
+# Maximillian Dornseif <m.dornseif@hudora.de>
+#
+# This file is part of python-github2, and is made available under the 3-clause
+# BSD license. See LICENSE for the full details.
import logging
import sys
View
4 github2/bin/search_repos.py
@@ -1,6 +1,10 @@
#! /usr/bin/env python
# coding: utf-8
"""github_search_repos - search for repositories on GitHub"""
+# Copyright (C) 2011-2012 James Rowe <jnrowe@gmail.com>
+#
+# This file is part of python-github2, and is made available under the 3-clause
+# BSD license. See LICENSE for the full details.
import logging
View
15 github2/client.py
@@ -1,3 +1,18 @@
+# -*- coding: utf-8 -*-
+# Copyright (C) 2009-2012 Ask Solem <askh@modwheel.net>
+# Christopher MacGown <ignoti+github@gmail.com>
+# Evan Broder <broder@mit.edu>
+# James Rowe <jnrowe@gmail.com>
+# Jeremy Dunck <jdunck@gmail.com>
+# Michael Basnight <mbasnight@gmail.com>
+# Patryk Zawadzki <patrys@pld-linux.org>
+# Surajram Kumaravel <root@surajram.com>
+# Vincent Driessen <vincent@datafox.nl>
+# modocache <modocache@gmail.com>
+#
+# This file is part of python-github2, and is made available under the 3-clause
+# BSD license. See LICENSE for the full details.
+
from github2.request import GithubRequest
from github2.issues import Issues
from github2.repositories import Repositories
View
9 github2/commits.py
@@ -1,3 +1,12 @@
+# -*- coding: utf-8 -*-
+# Copyright (C) 2009-2012 Ask Solem <askh@modwheel.net>
+# James Rowe <jnrowe@gmail.com>
+# Stéphane Angel <s.angel@twidi.com>
+# Vincent Driessen <vincent@datafox.nl>
+#
+# This file is part of python-github2, and is made available under the 3-clause
+# BSD license. See LICENSE for the full details.
+
from github2.core import (BaseData, GithubCommand, Attribute, DateAttribute,
repr_string)
View
13 github2/core.py
@@ -1,3 +1,16 @@
+# -*- coding: utf-8 -*-
+# Copyright (C) 2009-2012 Ask Solem <askh@modwheel.net>
+# Fernando Perez <Fernando.Perez@berkeley.edu>
+# James Rowe <jnrowe@gmail.com>
+# Mark Paschal <markpasc@markpasc.org>
+# Patryk Zawadzki <patrys@pld-linux.org>
+# Sameer Al-Sakran <sameer@whitelabellabs.com>
+# Stéphane Angel <s.angel@twidi.com>
+# Vincent Driessen <vincent@datafox.nl>
+#
+# This file is part of python-github2, and is made available under the 3-clause
+# BSD license. See LICENSE for the full details.
+
import logging
import sys
View
10 github2/issues.py
@@ -1,3 +1,13 @@
+# Copyright (C) 2009-2012 Adam Vandenberg <flangy@gmail.com>
+# Ask Solem <askh@modwheel.net>
+# Barthelemy Dagenais <bart@cs.mcgill.ca>
+# Fernando Perez <Fernando.Perez@berkeley.edu>
+# James Rowe <jnrowe@gmail.com>
+# Scott Torborg <scott@crookedmedia.com>
+#
+# This file is part of python-github2, and is made available under the 3-clause
+# BSD license. See LICENSE for the full details.
+
try:
from urllib.parse import quote_plus # For Python 3
except ImportError:
View
7 github2/organizations.py
@@ -1,3 +1,10 @@
+# Copyright (C) 2011-2012 James Rowe <jnrowe@gmail.com>
+# Patryk Zawadzki <patrys@pld-linux.org>
+# Rok Garbas <rok@garbas.si>
+#
+# This file is part of python-github2, and is made available under the 3-clause
+# BSD license. See LICENSE for the full details.
+
from github2.core import (BaseData, GithubCommand, Attribute, DateAttribute,
requires_auth)
from github2.repositories import Repository
View
9 github2/pull_requests.py
@@ -1,3 +1,12 @@
+# -*- coding: utf-8 -*-
+# Copyright (C) 2010-2012 Christopher MacGown <ignoti+github@gmail.com>
+# Ionuț Arțăriși <mapleoin@lavabit.com>
+# James Rowe <jnrowe@gmail.com>
+# Stéphane Angel <s.angel@twidi.com>
+#
+# This file is part of python-github2, and is made available under the 3-clause
+# BSD license. See LICENSE for the full details.
+
from github2.core import (BaseData, GithubCommand, Attribute, DateAttribute,
repr_string)
View
17 github2/repositories.py
@@ -1,3 +1,20 @@
+# -*- coding: utf-8 -*-
+# Copyright (C) 2009-2012 Ask Solem <askh@modwheel.net>
+# Claudio B. <claudiob@gmail.com>
+# Daniel Greenfeld <pydanny@gmail.com>
+# James Rowe <jnrowe@gmail.com>
+# Jens Ohlig <jens.ohlig@gmail.com>
+# Jeremy Dunck <jdunck@gmail.com>
+# Jonas Obrist <jonas.obrist@divio.ch>
+# Kenneth Reitz <me@kennethreitz.com>
+# Mark Paschal <markpasc@markpasc.org>
+# Maximillian Dornseif <m.dornseif@hudora.de>
+# Sameer Al-Sakran <sameer@whitelabellabs.com>
+# Stéphane Angel <s.angel@twidi.com>
+#
+# This file is part of python-github2, and is made available under the 3-clause
+# BSD license. See LICENSE for the full details.
+
from github2.core import (BaseData, GithubCommand, Attribute, DateAttribute,
requires_auth)
View
21 github2/request.py
@@ -1,3 +1,24 @@
+# Copyright (C) 2009-2012 Adam Vandenberg <flangy@gmail.com>
+# Asheesh Laroia <asheesh@openhatch.org>
+# Ask Solem <askh@modwheel.net>
+# Chris Vale <crispywalrus@gmail.com>
+# Daniel Greenfeld <pydanny@gmail.com>
+# Evan Broder <broder@mit.edu>
+# James Rowe <jnrowe@gmail.com>
+# Jeremy Dunck <jdunck@gmail.com>
+# Josh Weinberg <daemoncollector@gmail.com>
+# Mark Paschal <markpasc@markpasc.org>
+# Maximillian Dornseif <m.dornseif@hudora.de>
+# Michael Basnight <mbasnight@gmail.com>
+# Patryk Zawadzki <patrys@pld-linux.org>
+# Rick Harris <rick.harris@rackspace.com>
+# Sameer Al-Sakran <sameer@whitelabellabs.com>
+# Vincent Driessen <vincent@datafox.nl>
+# modocache <modocache@gmail.com>
+#
+# This file is part of python-github2, and is made available under the 3-clause
+# BSD license. See LICENSE for the full details.
+
import datetime
import logging
import re
View
6 github2/teams.py
@@ -1,3 +1,9 @@
+# Copyright (C) 2011-2012 James Rowe <jnrowe@gmail.com>
+# Patryk Zawadzki <patrys@pld-linux.org>
+#
+# This file is part of python-github2, and is made available under the 3-clause
+# BSD license. See LICENSE for the full details.
+
from github2.core import BaseData, GithubCommand, Attribute, requires_auth
from github2.repositories import Repository
from github2.users import User
View
9 github2/users.py
@@ -1,3 +1,12 @@
+# -*- coding: utf-8 -*-
+# Copyright (C) 2009-2012 Ask Solem <askh@modwheel.net>
+# James Rowe <jnrowe@gmail.com>
+# Sameer Al-Sakran <sameer@whitelabellabs.com>
+# Stéphane Angel <s.angel@twidi.com>
+#
+# This file is part of python-github2, and is made available under the 3-clause
+# BSD license. See LICENSE for the full details.
+
try:
from urllib.parse import quote_plus # For Python 3
except ImportError:
View
10 setup.py
@@ -1,5 +1,15 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
+# Copyright (C) 2009-2012 Ask Solem <askh@modwheel.net>
+# Cody Soyland <codysoyland@gmail.com>
+# Donald von Stufft <donald@xenofox.com>
+# James Rowe <jnrowe@gmail.com>
+# Maximillian Dornseif <m.dornseif@hudora.de>
+# Michael Basnight <mbasnight@gmail.com>
+#
+# This file is part of python-github2, and is made available under the 3-clause
+# BSD license. See LICENSE for the full details.
+
import codecs
import sys
View
5 tests/test_charset_header.py
@@ -1,3 +1,8 @@
+# Copyright (C) 2011-2012 James Rowe <jnrowe@gmail.com>
+#
+# This file is part of python-github2, and is made available under the 3-clause
+# BSD license. See LICENSE for the full details.
+
from nose.tools import assert_equals
from github2.request import charset_from_headers
View
5 tests/test_commits.py
@@ -1,3 +1,8 @@
+# Copyright (C) 2011-2012 James Rowe <jnrowe@gmail.com>
+#
+# This file is part of python-github2, and is made available under the 3-clause
+# BSD license. See LICENSE for the full details.
+
from datetime import datetime
from nose.tools import assert_equals
View
4 tests/test_date_handling.py
@@ -1,4 +1,8 @@
# -*- coding: utf-8 -*-
+# Copyright (C) 2011-2012 James Rowe <jnrowe@gmail.com>
+#
+# This file is part of python-github2, and is made available under the 3-clause
+# BSD license. See LICENSE for the full details.
from datetime import datetime as dt
View
5 tests/test_issues.py
@@ -1,3 +1,8 @@
+# Copyright (C) 2011-2012 James Rowe <jnrowe@gmail.com>
+#
+# This file is part of python-github2, and is made available under the 3-clause
+# BSD license. See LICENSE for the full details.
+
from datetime import datetime
from nose.tools import assert_equals
View
5 tests/test_organizations.py
@@ -1,3 +1,8 @@
+# Copyright (C) 2011-2012 James Rowe <jnrowe@gmail.com>
+#
+# This file is part of python-github2, and is made available under the 3-clause
+# BSD license. See LICENSE for the full details.
+
from datetime import datetime
from nose.tools import (assert_equals, assert_true)
View
5 tests/test_pull_requests.py
@@ -1,3 +1,8 @@
+# Copyright (C) 2011-2012 James Rowe <jnrowe@gmail.com>
+#
+# This file is part of python-github2, and is made available under the 3-clause
+# BSD license. See LICENSE for the full details.
+
from datetime import datetime
from nose.tools import assert_equals
View
5 tests/test_regression.py
@@ -1,3 +1,8 @@
+# Copyright (C) 2011-2012 James Rowe <jnrowe@gmail.com>
+#
+# This file is part of python-github2, and is made available under the 3-clause
+# BSD license. See LICENSE for the full details.
+
import httplib2
from nose.tools import assert_equals
View
7 tests/test_repositories.py
@@ -1,3 +1,10 @@
+# coding: utf-8
+# Copyright (C) 2011-2012 James Rowe <jnrowe@gmail.com>
+# Stéphane Angel <s.angel@twidi.com>
+#
+# This file is part of python-github2, and is made available under the 3-clause
+# BSD license. See LICENSE for the full details.
+
import datetime
from nose.tools import assert_equals
View
5 tests/test_request.py
@@ -1,3 +1,8 @@
+# Copyright (C) 2011-2012 James Rowe <jnrowe@gmail.com>
+#
+# This file is part of python-github2, and is made available under the 3-clause
+# BSD license. See LICENSE for the full details.
+
import unittest
try:
View
5 tests/test_teams.py
@@ -1,3 +1,8 @@
+# Copyright (C) 2011-2012 James Rowe <jnrowe@gmail.com>
+#
+# This file is part of python-github2, and is made available under the 3-clause
+# BSD license. See LICENSE for the full details.
+
from nose.tools import assert_equals
import utils
View
4 tests/test_tz_aware_date_handling.py
@@ -1,4 +1,8 @@
# -*- coding: utf-8 -*-
+# Copyright (C) 2011-2012 James Rowe <jnrowe@gmail.com>
+#
+# This file is part of python-github2, and is made available under the 3-clause
+# BSD license. See LICENSE for the full details.
from datetime import datetime as dt
View
7 tests/test_unit.py
@@ -1,4 +1,11 @@
# -*- coding: utf-8 -*-
+# Copyright (C) 2010-2012 Adam Vandenberg <flangy@gmail.com>
+# James Rowe <jnrowe@gmail.com>
+# Jeremy Dunck <jdunck@gmail.com>
+# modocache <modocache@gmail.com>
+#
+# This file is part of python-github2, and is made available under the 3-clause
+# BSD license. See LICENSE for the full details.
import datetime
import unittest
View
5 tests/test_user.py
@@ -1,3 +1,8 @@
+# Copyright (C) 2011-2012 James Rowe <jnrowe@gmail.com>
+#
+# This file is part of python-github2, and is made available under the 3-clause
+# BSD license. See LICENSE for the full details.
+
import datetime
from nose.tools import (assert_equals, assert_false, assert_true)
View
5 tests/utils.py
@@ -1,3 +1,8 @@
+# Copyright (C) 2011-2012 James Rowe <jnrowe@gmail.com>
+#
+# This file is part of python-github2, and is made available under the 3-clause
+# BSD license. See LICENSE for the full details.
+
import os
import sys
import unittest
Please sign in to comment.
Something went wrong with that request. Please try again.