Vincent Jacques
ef403a1594
Do all paginated calls inside PaginatedList
...
This was already the case for Legacy.PaginatedList.
Doing it in PaginatedList.PaginatedList reduces the amount of
repeated code and will allow a generic solution for issue #77
2012-09-11 23:47:08 +02:00
Vincent Jacques
25a7696b76
Remove all old stuff related to code generation (issue #75 )
2012-09-11 22:01:22 +02:00
Andrew Bettison
9053b07425
Merge branch 'master' of github.com:servalproject/PyGithub
2012-09-10 10:00:42 +09:30
Andrew Bettison
d02437f681
Support Issue.edit(milestone=None, assignee=None)
2012-09-10 09:59:36 +09:30
Vincent Jacques
b758b24bdb
Implement https://api.github.com/hooks (issue #35 )
2012-09-08 19:35:58 +02:00
Vincent Jacques
fb62ca3fb2
Support Python 2.5 again (issue #73 )
2012-09-08 19:17:16 +02:00
Vincent Jacques
82b7322573
Clarify issue comments and review comments on pull requests (issue #59 )
2012-09-08 15:15:17 +02:00
Vincent Jacques
579f9bc915
Repository.merge (issue #69 )
2012-09-08 14:30:06 +02:00
Vincent Jacques
1713d3fb0b
Repository.get_branch
2012-09-08 14:08:20 +02:00
Vincent Jacques
03058a3616
Commit statuses (issue #67 )
2012-09-08 13:41:15 +02:00
Vincent Jacques
f109c644fd
Repository.get_archive_link (issue #65 )
2012-09-08 13:04:43 +02:00
Vincent Jacques
f963e6ac91
Repository.get_readme and Repository.get_contents (issue #65 )
2012-09-08 12:51:37 +02:00
Vincent Jacques
8335a8e4c8
Small no-impact code improvements
2012-09-08 11:18:56 +02:00
Vincent Jacques
3be2e82b40
Implement subscriptions (issue #70 )
2012-09-08 01:54:51 +02:00
Vincent Jacques
5d67293676
Implement stargazers (issue #70 )
2012-09-08 01:40:22 +02:00
Vincent Jacques
696e198c18
Implement assignees (issue #68 )
2012-09-08 01:16:14 +02:00
Vincent Jacques
8f184d93af
Reconciliate generated code with shipped code
...
(no impact on shipped code, only re-ordering)
2012-09-07 23:48:43 +02:00
Vincent Jacques
1322002d18
Merge branch 'topic/Timeout' into develop
...
Conflicts:
github/Requester.py
2012-09-05 19:21:10 +02:00
Vincent Jacques
7ae6c60843
Remove duplicated default value
2012-09-05 19:16:19 +02:00
Dima Kukushkin
6515629975
Add timeout option
2012-08-25 23:34:19 +04:00
Vincent Jacques
b8ac1eaa14
Repository.delete
2012-08-23 09:36:47 +02:00
Vincent Jacques
e4124980fa
Fix record/replay in test framework
2012-08-23 09:28:47 +02:00
Vincent Jacques
609b7b87cf
dos2unix, chmod +x
2012-08-04 07:58:30 +02:00
Vincent Jacques
ab824bf25d
Cover custom base url in tests
...
(we still have to record/replay the protocol, host and port)
2012-07-22 22:43:31 +02:00
Steve English
7456c1e49b
Specify a server url for Github.
...
Allows connection to GitHub Enterprise installs on local URLs.
2012-07-23 17:39:56 +01:00
Vincent Jacques
a21eb42be0
Merge branch 'topic/GitAuthorDateAsDatetime' into develop
2012-07-13 21:14:51 +02:00
Vincent Jacques
0218adc564
Finaly remove GitAuthor.timezone
...
See https://github.com/jacquev6/PyGithub/issues/54#issuecomment-6972414
2012-07-13 21:11:17 +02:00
Vincent Jacques
9c4a3a0bba
Merge branch 'topic/Markdown' into develop
2012-07-13 20:42:26 +02:00
Vincent Jacques
478c0aaa2b
Implement markdown rendering (Issue #56 )
2012-07-13 18:13:43 +02:00
Vincent Jacques
5cbee7346f
Small clean-up + type fixes
2012-07-10 20:37:49 +01:00
Vincent Jacques
4e85f4178a
Add tests about issue #54 , according to comments by @bilderbuchi
2012-07-10 18:09:35 +02:00
Vincent Jacques
f6a3490e7b
GitAuthor.date is now a datetime (Issue #54 )
2012-07-09 18:16:44 +02:00
Vincent Jacques
d40bec470e
Urlquote the keyword in legacy search APIs
2012-06-29 19:45:14 +01:00
Vincent Jacques
aa8fa5485c
Refactor PaginatedLists (legacy and modern) to restore test coverage
2012-06-29 18:10:37 +01:00
Vincent Jacques
df63f6be2c
Implement legacy pagination
2012-06-29 18:10:24 +01:00
Vincent Jacques
d8882e53ed
Improve legacy APIs:
...
- add a legacy_ prefix (avoir future name clashes)
- add the language parameter to Github.legacy_search_repos
- prepare legacy pagination
2012-06-29 18:09:43 +01:00
Vincent Jacques
37c06ea4fc
Convert legacy objects to v3 ones
...
Still needed:
- test completion of objects returned by legacy API
- implement legacy pagination
2012-06-29 07:44:10 +02:00
Vincent Jacques
ed31abe6de
Add 4 (failing) tests for legacy search API (issue #49 )
...
Naïve implementation done in this commit will not work:
- pagination is managed another way
- users, repositories and issues do not have the standard format
2012-06-28 22:06:05 +01:00
Vincent Jacques
bdad6a4612
Create documentation and method stubs for issue #49 (legacy search api)
2012-06-28 21:27:53 +01:00
Vincent Jacques
efdaa8945d
Fix tests after merging #50 , and fix Repository.create_issue and .get_issues as well
2012-06-28 21:06:05 +01:00
Philip Kimmey
8d24a4523b
[Issue] replace use of label _identity with name
...
- The label's _identity attribute is URL encoded.
This is probably correct when it is being
used as part of an API endpoint URL, but
when used as part of the POST data, GitHub
will return a 422 error stating that the
label does not exist.
2012-06-25 11:42:48 -07:00
Vincent Jacques
425989c066
This 'except' clause is covered only with Python 2.5
2012-06-20 21:11:09 +01:00
Petteri Muilu
89ed7d6d8c
Testing with Python 2.5
2012-06-19 19:45:15 +03:00
Vincent Jacques
41c2b94f95
Add a copyright and license notice (issue #16 )
2012-06-03 19:56:33 +01:00
Vincent Jacques
d261b4ba46
Factorize checking of status
2012-06-03 11:33:37 +02:00
Vincent Jacques
dbad46e856
Test more exceptions
2012-06-02 13:26:09 +01:00
Vincent Jacques
5384d6f9a8
Simplify understanding of GithubExceptions by displaying the error message from Github
2012-06-02 13:07:23 +01:00
Vincent Jacques
9820c58477
Move generated code to 'github' instead of 'src/github'
2012-06-02 13:06:28 +01:00
Vincent Jacques
d631e83b79
Move files around
2012-05-10 18:10:17 +02:00
Vincent Jacques
1292bf0e22
Remove completion functions from GitAuthor
2012-05-09 18:22:33 +02:00