Commit Graph
606 Commits
Author SHA1 Message Date
Vincent Jacques 03d7fb012e #193: Add remarks 2013-08-23 11:15:17 +02:00
Vincent Jacques bae0a37d18 #193: Don't use a try-except for a usual execution flow in GithubObject.update
(and factorize assignment of headers in _storeAndUseAttributes,
as done for rawData)
2013-08-23 11:10:35 +02:00
Vincent Jacques bc3b819ac5 Separate tests for conditional requests (#193) 2013-08-23 09:50:51 +02:00
Vincent Jacques 0413c87c12 Remove _record_.py (#193)
According to https://github.com/jacquev6/PyGithub/commit/0f74e4389b3c0fa57a83083ecfbbf5c331022674#commitcomment-3919786
2013-08-23 09:39:19 +02:00
Vincent Jacques fb7325884e Fix remarks on #189 to #193 2013-08-23 09:32:47 +02:00
Vincent Jacques 0f74e4389b Review of #189: pep8, copyrights, style, remarks
For remarks, run: git grep "#189"
They are only my first thoughts while reviewing this pull request,
and should be reviewed themselves.
2013-08-22 12:12:38 +02:00
Vincent Jacques 1787765a61 Review of #189: use dict.get
http://docs.python.org/2/library/stdtypes.html#dict.get
2013-08-22 11:41:15 +02:00
Vincent Jacques cc1bcd5f2d Merge branch 'develop' into topic/ConditionalRequest
Conflicts:
	.gitignore
	github/Requester.py
2013-08-22 11:01:51 +02:00
Vincent Jacques ba5b0d5ea9 Fix merge of #192
One branch modified signature of constructors,
another branch added a call to a constructor.
2013-08-22 10:44:38 +02:00
Vincent Jacques 8a2624e3a1 Merge branch 'topic/RememberHeaders' into develop (#192)
Conflicts:
	github/Issue.py
	github/MainClass.py
	github/PaginatedList.py
	github/Repository.py
	github/Requester.py
2013-08-22 10:30:14 +02:00
Vincent Jacques 5c475c7683 First review of #192 (pep8, headers... nothing important)
./manage.sh check
./manage.sh fix_headers
2013-08-22 10:12:38 +02:00
AKFish c7593e84c4 Add test case for conditional request 2013-08-22 10:20:10 +08:00
AKFish d457afd23c Add test record helper 2013-08-22 08:45:10 +08:00
AKFish 70a7e9c83d Fix update 2013-08-22 07:45:27 +08:00
Vincent Jacques 1c993d3a5f Github.get_repos (to get all public repositories) 2013-08-21 22:28:15 +02:00
Vincent Jacques e384a52971 NamedUser.has_in_following 2013-08-21 22:26:58 +02:00
Vincent Jacques 0f369ba218 Use POST /repos/:owner/:repo/hooks/:id/tests instead of POST /repos/:owner/:repo/hooks/:id/test 2013-08-21 22:25:44 +02:00
Vincent Jacques 1955f7b39d Use POST /gists/:id/forks instead of POST /gists/:id/fork 2013-08-21 22:24:32 +02:00
AKFish 5b09f6c821 Implement conditional request 2013-08-21 23:17:59 +08:00
AKFish 6fd05baf6b Handle response code 304 2013-08-21 23:09:30 +08:00
AKFish 1e9ec2df08 Add NotModifiedException class 2013-08-21 23:04:07 +08:00
AKFish bd7abb5877 Add update() method 2013-08-21 23:01:40 +08:00
AKFish b71329e560 Implement data persistence 2013-08-21 22:25:20 +08:00
Vincent Jacques 0a2df45155 pep8 2013-08-21 16:18:33 +02:00
Vincent Jacques 2dec13c974 Run compare_to_api_ref_doc.py 2013-08-21 16:14:13 +02:00
Vincent Jacques 20107078d2 Fix copyrights (#181 #182 #184 #186 #187) 2013-08-21 16:08:02 +02:00
AKFish aa3025271c Assert response headers 2013-08-21 21:11:12 +08:00
AKFish e06257d060 Enable debug in TestCase 2013-08-21 20:58:29 +08:00
AKFish 1d18ea75cc Add debug / test mechanism 2013-08-21 19:25:05 +08:00
Vincent Jacques cbeea79a40 Update readme and doc for #184 2013-08-21 13:12:26 +02:00
Vincent Jacques 6a92d3ed63 Make PaginatedList.reversed return a new list (follow-up #184)
This will avoid surprises if both the list and its reversed version
are iterated.
2013-08-21 13:02:21 +02:00
Vincent Jacques 6dd8651faf Merge branch 'topic/ReversePagination' into develop 2013-08-21 12:29:20 +02:00
AKFish 912bec79d2 Update copyright information 2013-08-21 17:45:01 +08:00
AKFish 30d9d499a1 Clean up 2013-08-21 17:32:32 +08:00
AKFish 3f6d1b6b70 Remove helper method in Legacy.py 2013-08-21 17:27:37 +08:00
AKFish 8a301701db Remove helper method in PaginatedList.py 2013-08-21 17:25:29 +08:00
AKFish c4e8972be1 Update UserKey.py 2013-08-21 17:19:11 +08:00
AKFish 1070631c73 Update Team.py 2013-08-21 17:18:01 +08:00
AKFish 3c1d17cd64 Update Repository.py 2013-08-21 17:13:03 +08:00
AKFish 0e842637a6 Update PullRequest.py 2013-08-21 17:03:41 +08:00
AKFish ef912af6b7 Update Organization.py 2013-08-21 17:01:13 +08:00
AKFish 6cb6e8d232 Update Notification.py 2013-08-21 16:58:25 +08:00
AKFish ba6800ada4 Update NamedUser.py 2013-08-21 16:57:10 +08:00
AKFish e4baf577ed Update Milestone.py 2013-08-21 16:24:27 +08:00
AKFish 175488270a Update Label.py 2013-08-21 16:21:22 +08:00
AKFish 7d40b9eae8 Update IssueEvent.py 2013-08-21 16:17:26 +08:00
AKFish 8f2ba4f522 Update IssueComment.py 2013-08-21 16:13:22 +08:00
AKFish 49a69c9425 Update Issue.py 2013-08-21 16:08:54 +08:00
AKFish 044a000d76 Update Hook.py 2013-08-21 15:58:07 +08:00
AKFish 038e35cb3d Update GitTree 2013-08-21 15:55:42 +08:00