Commit Graph
590 Commits
Author SHA1 Message Date
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 18b9182f71 Merge branch 'master' of github.com:roverdotcom/PyGithub into topic/IssuesWithSpacesInName 2012-06-28 20:53:08 +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
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 6658713d27 Try to fix location of installed documentation (Issue #48)
I hope I've understood well http://docs.python.org/distutils/setupscript.html#installing-package-data
2012-06-20 22:01:18 +01:00
Vincent Jacques 373cc790e0 Prepare version 1.1 2012-06-20 21:55:56 +01:00
Vincent Jacques 425989c066 This 'except' clause is covered only with Python 2.5 2012-06-20 21:11:09 +01:00
Vincent Jacques d0cfb623c5 Merge pull request #47 from pmuilu/master
Restore compatibility with Python 2.5
2012-06-20 13:08:20 -07:00
Petteri Muilu 89ed7d6d8c Testing with Python 2.5 2012-06-19 19:45:15 +03:00
Vincent Jacques 04f2fcc9cf Add a note about licensing (issue #45) 2012-06-13 13:57:25 +03:00
Vincent Jacques 0855be0a4d Merge branch 'develop'
Conflicts:
	setup.py
2012-06-03 20:46:38 +01:00
Vincent Jacques 663a54fdb0 Merge branch 'topic/RewriteWithGeneratedCode' into develop 2012-06-03 20:44:00 +01:00
Vincent Jacques eaf4ca394d Prepare setup.py for version 1.0 2012-06-03 20:14:12 +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 813f18c9d5 Fix generation of reference of APIs 2012-06-03 14:32:00 +02:00
Vincent Jacques 5e725fcaeb Make generated code closer to correct code 2012-06-03 14:03:14 +02:00
Vincent Jacques d261b4ba46 Factorize checking of status 2012-06-03 11:33:37 +02:00
Vincent Jacques a77b972dd5 Set attributes of executable files 2012-06-02 23:33:38 +02:00
Vincent Jacques c06cd82ccd Readme 2012-06-02 14:15:13 +01:00
Vincent Jacques 5e250d1265 Remove last silly 'todo's (issue #34) 2012-06-02 13:44:20 +01:00
Vincent Jacques a0111d392f List client projects (issue #25) 2012-06-02 13:39:30 +01:00
Vincent Jacques 53bdf94807 Prepare version 1.0 2012-06-02 13:35:08 +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 d6215894a4 Remove many useless conversions to string 2012-06-01 20:11:33 +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 ed75bb74ec Remove some 'todo's 2012-06-01 17:48:25 +01:00
Vincent Jacques 9f248338ff Refactor switches in templates: step 2 2012-06-01 18:04:25 +02:00
Vincent Jacques ca390879f0 Refactor switches in templates: step 1 2012-05-31 21:53:27 +01:00
Vincent Jacques 0cc1743b3c A litle bit more structure 2012-05-31 19:43:33 +01:00
Vincent Jacques 94b12a18f4 Acknowledge that some attributes/parameters are variant dictionaries 2012-05-31 19:12:10 +01:00
Vincent Jacques c4bb0e9555 Structure some attributes 2012-05-31 19:02:03 +01:00
Vincent Jacques 71a5e9751d Refactor assertions about parameters 2012-05-31 18:27:54 +01:00
Vincent Jacques 559ab8f621 Move old doc generators to not forget them 2012-05-31 18:09:35 +02:00
Vincent Jacques 6f564e5aca Use a special value for not set attributes and parameters 2012-05-31 18:04:22 +02:00
Vincent Jacques ccf59e62af Make 'isCompletable = True' the default case 2012-05-31 18:07:03 +02:00
Vincent Jacques 6d795bd429 Remove old 'todo's 2012-05-30 21:06:29 +01:00
Vincent Jacques 3837e6b418 Factorize repeated code in base class GithubObject 2012-05-30 20:40:14 +01:00
Vincent Jacques 61e2fa67ac Only one class per file 2012-05-30 19:07:55 +01:00
Vincent Jacques da89613a8d Remove _identity from json description 2012-05-30 19:03:12 +02:00
Vincent Jacques 7248e66831 Check HTTP status on all requests 2012-05-30 18:58:18 +02:00