Commit Graph
27 Commits
Author SHA1 Message Date
Uriel Corfa 626d29c938 Add support to create Repository objects lazily in MainClass.
This lets users do the following without issuing an unnecessary request:

issues_of_my_repository = g.get_repo('PyGithub/PyGithub').get_issues()

Since the GithubObject layer handles laziness transparently, lazy
loading is enabled by default, and can be disabled via the `lazy`
kwarg. This does not affect any test except tests that pertain to
caching or laziness itself.
2015-03-26 20:56:27 -07:00
Vincent Jacques abca7a026e pep8
This is strange, maybe Cygwin's version is stricter.
No time to investigate.
2014-05-04 12:54:05 -07:00
Vincent Jacques 3ff7e4843e Publish version 1.21.0 2013-11-17 14:07:01 -08:00
Vincent Jacques ebe6f01151 Fix tests for Python 2.5 and 2.6 2013-11-17 10:19:40 -08:00
Vincent Jacques c6671c6466 Finish .../stats/... (#203) 2013-11-17 10:16:59 -08:00
Vincent Jacques a4910ac922 First step of implementation of Repository.get_stats_xxx (#203) 2013-11-10 18:09:48 -08:00
Vincent Jacques 6c37e68901 Add 'author' to 'Repository.get_commits' (#204) 2013-11-10 16:52:46 -08:00
Vincent Jacques 51fa637514 Remove tests for deleted methods! 2013-10-20 19:17:38 -07:00
Vincent Jacques 5093cc255a Fix public/private in Repository.edit (#199) 2013-10-20 19:03:35 -07:00
Vincent Jacques 0a2df45155 pep8 2013-08-21 16:18:33 +02:00
Vincent Jacques 67a7daa22b Improve coverage for #187 2013-08-19 23:35:02 +02:00
Vincent Jacques 06a3d87098 Change source file header format 2013-07-13 19:03:53 +02:00
Vincent Jacques db5560bd65 Add a script to check copyrights with git log. And fix copyrights. 2013-03-29 16:54:15 +01:00
Vincent Jacques 1e99e7d5b2 Reduce 2to3 differences 2013-03-21 22:05:37 +01:00
Vincent Jacques 6ac783974d Use assertTrue and assertFalse where applicable 2013-03-14 12:26:34 +01:00
Vincent Jacques 6c84693d98 Fix unit tests (my sed was a bit violent) 2013-02-17 11:32:49 +01:00
Vincent Jacques 7a415fda66 Change home page 2013-02-16 21:19:49 +01:00
Vincent Jacques f024950884 First implementation of PubSubHubbub (un)subscription (Issue #129)
This will need 'some' refactoring.
2013-02-05 19:23:20 +01:00
Vincent Jacques 5edf5a120e Repository.get_issues_comments and Repository.get_pulls_comments (issue #126) 2012-12-25 13:02:15 +01:00
Vincent Jacques d8e4ece9a7 Complete "ref in Repository.get_contents and .get_readme" (pull #124)
Add documentation and automated tests
2012-12-25 11:50:54 +01:00
Vincent Jacques 47dee65b63 Implement default_branch in Repository.edit (issue #107)
See http://developer.github.com/changes/2012-10-24-set-default-branch/
2012-11-03 09:49:01 +01:00
Zearin 4c6a70c24a Add encoding comment to source files
This is a minor thing.  It’s a convention, not a rule (obviously)—but it’s also a best practice.

Many text editors look for this kind of comment as the first line—or second line, if there is a shebang (the `#!/usr/bin/env python`, or whatever else)—and make use of this to determine the file’s encoding.
2012-11-01 11:43:56 -04:00
Vincent Jacques ca1e799826 Restore measure of test coverage 2012-10-28 15:53:03 +01:00
Vincent Jacques d4679b330d pep8... 2012-10-28 10:29:19 +01:00
Vincent Jacques af98e6d1d4 Implement optional revert of #102 (issue #104) 2012-10-28 10:12:25 +01:00
Vincent Jacques 531c3f2d32 Improve comformance to pep8 (+dos2unix)
PyGithub is now a public projects with several public contibutors,
I have to abandon my very personal coding conventions.
2012-09-17 20:37:22 +02:00
Vincent Jacques aadb06753c On the way to publish tests (issue #86)
This commit only moves stuff around.
Modifications will be done in next commit.
2012-09-16 20:07:33 +02:00