Commit Graph
125 Commits
Author SHA1 Message Date
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 1c47c37c96 Add recorded conversation with github for #74 2012-09-11 20:49:48 +02:00
Vincent Jacques 697920fe59 Anticipate doc and tests for pull request #74 2012-09-11 20:45:56 +02:00
Vincent Jacques b758b24bdb Implement https://api.github.com/hooks (issue #35) 2012-09-08 19:35:58 +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 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 a867416f3f Test GET on url returned by Github Enterprise 2012-07-22 22:45:26 +02:00
Vincent Jacques 9653d44188 Record/replay protocol, host, port 2012-07-22 22:45:06 +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
Vincent Jacques b9c4eef489 Fix tests 2012-07-13 21:50:43 +02: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 478c0aaa2b Implement markdown rendering (Issue #56) 2012-07-13 18:13:43 +02: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 df63f6be2c Implement legacy pagination 2012-06-29 18:10:24 +01:00
Vincent Jacques 7e695132fc Add a (failing) test for legacy pagination 2012-06-29 18:10:12 +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 efdaa8945d Fix tests after merging #50, and fix Repository.create_issue and .get_issues as well 2012-06-28 21:06:05 +01:00
Vincent Jacques cc775229d3 Add (failing) integration tests for issue #50 (labels with spaces in name) 2012-06-28 20:50:53 +01:00
Vincent Jacques 41c2b94f95 Add a copyright and license notice (issue #16) 2012-06-03 19:56:33 +01:00
Vincent Jacques b2ce4ae66e Set executable attribute of IntegrationTest.py 2012-06-03 14:32:20 +02:00
Vincent Jacques 5e250d1265 Remove last silly 'todo's (issue #34) 2012-06-02 13:44:20 +01: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 a842a90e7d Remove silly 'todo's in replay data 2012-06-02 08:31:01 +01:00
Vincent Jacques 76f05598f4 Use datetime where it makes sence (issue #41) 2012-06-02 08:28:34 +01:00
Vincent Jacques dc8143c12e Implement wildcards ("*" and "none") for milestone and assignee in Repository.get_issues 2012-06-02 07:19:49 +01:00
Vincent Jacques 1527a836b3 Structure more parameters
We will HAVE to reduce differences between generated
code and code that actualy works...
2012-06-01 21:16:42 +01:00
Vincent Jacques ed7d1531d7 Structure parameters of Issue.edit 2012-06-01 20:00:03 +01:00
Vincent Jacques 8b6d463cd9 Generate code for complex parameters
(+ find bug in Repository.create_commit with parents !)
2012-06-01 19:41:50 +01:00
Vincent Jacques b3fce397c0 Restore compatibility with Python 2.6
Remove:
- dict comprehensions
- unittest.TestCase.assertRaises with only one argument
2012-06-01 19:05:02 +01:00
Vincent Jacques 9954a3fd1b Manual implementation of typing of last parameters 2012-06-01 18:54:35 +01:00
Vincent Jacques 0cc1743b3c A litle bit more structure 2012-05-31 19:43:33 +01:00
Vincent Jacques c4bb0e9555 Structure some attributes 2012-05-31 19:02:03 +01:00