Permalink
Browse files

Merge branch 'feat/packaging_smells'

* feat/packaging_smells:
  [QA] Clean up the ignore list.
  Add per-file licensing info.

Conflicts:
	github2/__init__.py
  • Loading branch information...
2 parents d8f4d6c + cd43618 commit 1668a7489e80afaf8791b99815bdc2eb8b4c2249 @JNRowe JNRowe committed May 16, 2012
Showing with 426 additions and 41 deletions.
  1. +13 −14 .gitignore
  2. +21 −0 .ucopy.cfg
  3. +28 −21 AUTHORS
  4. +7 −0 doc/.templates/layout.html
  5. +8 −0 doc/api/client.rst
  6. +6 −0 doc/api/commit.rst
  7. +6 −0 doc/api/core.rst
  8. +6 −0 doc/api/index.rst
  9. +6 −0 doc/api/issues.rst
  10. +6 −0 doc/api/network.rst
  11. +6 −0 doc/api/object.rst
  12. +6 −0 doc/api/organizations.rst
  13. +6 −0 doc/api/pull_requests.rst
  14. +6 −0 doc/api/repos.rst
  15. +6 −0 doc/api/request.rst
  16. +6 −0 doc/api/teams.rst
  17. +6 −0 doc/api/users.rst
  18. +6 −0 doc/bugs.rst
  19. +6 −0 doc/contributing.rst
  20. +5 −4 doc/index.rst
  21. +7 −0 doc/install.rst
  22. +6 −0 doc/license.rst
  23. +6 −0 doc/problems.rst
  24. +6 −0 doc/quickstart.rst
  25. +6 −0 doc/release.rst
  26. +7 −0 doc/wild.rst
  27. +5 −0 examples/friend-or-follow.py
  28. +6 −0 github2/__init__.py
  29. +4 −0 github2/bin/__init__.py
  30. +5 −2 github2/bin/manage_collaborators.py
  31. +4 −0 github2/bin/search_repos.py
  32. +15 −0 github2/client.py
  33. +9 −0 github2/commits.py
  34. +13 −0 github2/core.py
  35. +10 −0 github2/issues.py
  36. +7 −0 github2/organizations.py
  37. +9 −0 github2/pull_requests.py
  38. +17 −0 github2/repositories.py
  39. +21 −0 github2/request.py
  40. +6 −0 github2/teams.py
  41. +9 −0 github2/users.py
  42. +10 −0 setup.py
  43. +5 −0 tests/test_charset_header.py
  44. +5 −0 tests/test_commits.py
  45. +4 −0 tests/test_date_handling.py
  46. +5 −0 tests/test_issues.py
  47. +5 −0 tests/test_organizations.py
  48. +5 −0 tests/test_pull_requests.py
  49. +5 −0 tests/test_regression.py
  50. +7 −0 tests/test_repositories.py
  51. +5 −0 tests/test_request.py
  52. +5 −0 tests/test_teams.py
  53. +4 −0 tests/test_tz_aware_date_handling.py
  54. +7 −0 tests/test_unit.py
  55. +5 −0 tests/test_user.py
  56. +5 −0 tests/utils.py
View
@@ -1,18 +1,17 @@
-.DS_Store
-.coverage
-.noseids
-.ropeproject/
-.tox/
-*.py[co]
-*~
-*.sqlite
-*.sqlite-journal
-settings_local.py
-local_settings.py
+*.egg-info/
+
.*.sw[po]
+*.py[co]
+
+build/
dist/
-*.egg-info
doc/.build/
-build/
-locale/
+.ropeproject/
+.tox/
+
+ChangeLog
pip-log.txt
+
+.DS_Store
+.coverage
+.noseids
View
@@ -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>
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
-----------
@@ -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
@@ -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
@@ -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.
@@ -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
Oops, something went wrong.

0 comments on commit 1668a74

Please sign in to comment.