Merge branch 'develop'

Conflicts:
	setup.py
This commit is contained in:
Vincent Jacques
2012-06-03 20:46:38 +01:00
439 changed files with 28109 additions and 5660 deletions
+1
View File
@@ -3,3 +3,4 @@ GithubCredentials.py
.coverage
/dist
/MANIFEST
/test/htmlcov/
+674
View File
@@ -0,0 +1,674 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<http://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
+165
View File
@@ -0,0 +1,165 @@
GNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
This version of the GNU Lesser General Public License incorporates
the terms and conditions of version 3 of the GNU General Public
License, supplemented by the additional permissions listed below.
0. Additional Definitions.
As used herein, "this License" refers to version 3 of the GNU Lesser
General Public License, and the "GNU GPL" refers to version 3 of the GNU
General Public License.
"The Library" refers to a covered work governed by this License,
other than an Application or a Combined Work as defined below.
An "Application" is any work that makes use of an interface provided
by the Library, but which is not otherwise based on the Library.
Defining a subclass of a class defined by the Library is deemed a mode
of using an interface provided by the Library.
A "Combined Work" is a work produced by combining or linking an
Application with the Library. The particular version of the Library
with which the Combined Work was made is also called the "Linked
Version".
The "Minimal Corresponding Source" for a Combined Work means the
Corresponding Source for the Combined Work, excluding any source code
for portions of the Combined Work that, considered in isolation, are
based on the Application, and not on the Linked Version.
The "Corresponding Application Code" for a Combined Work means the
object code and/or source code for the Application, including any data
and utility programs needed for reproducing the Combined Work from the
Application, but excluding the System Libraries of the Combined Work.
1. Exception to Section 3 of the GNU GPL.
You may convey a covered work under sections 3 and 4 of this License
without being bound by section 3 of the GNU GPL.
2. Conveying Modified Versions.
If you modify a copy of the Library, and, in your modifications, a
facility refers to a function or data to be supplied by an Application
that uses the facility (other than as an argument passed when the
facility is invoked), then you may convey a copy of the modified
version:
a) under this License, provided that you make a good faith effort to
ensure that, in the event an Application does not supply the
function or data, the facility still operates, and performs
whatever part of its purpose remains meaningful, or
b) under the GNU GPL, with none of the additional permissions of
this License applicable to that copy.
3. Object Code Incorporating Material from Library Header Files.
The object code form of an Application may incorporate material from
a header file that is part of the Library. You may convey such object
code under terms of your choice, provided that, if the incorporated
material is not limited to numerical parameters, data structure
layouts and accessors, or small macros, inline functions and templates
(ten or fewer lines in length), you do both of the following:
a) Give prominent notice with each copy of the object code that the
Library is used in it and that the Library and its use are
covered by this License.
b) Accompany the object code with a copy of the GNU GPL and this license
document.
4. Combined Works.
You may convey a Combined Work under terms of your choice that,
taken together, effectively do not restrict modification of the
portions of the Library contained in the Combined Work and reverse
engineering for debugging such modifications, if you also do each of
the following:
a) Give prominent notice with each copy of the Combined Work that
the Library is used in it and that the Library and its use are
covered by this License.
b) Accompany the Combined Work with a copy of the GNU GPL and this license
document.
c) For a Combined Work that displays copyright notices during
execution, include the copyright notice for the Library among
these notices, as well as a reference directing the user to the
copies of the GNU GPL and this license document.
d) Do one of the following:
0) Convey the Minimal Corresponding Source under the terms of this
License, and the Corresponding Application Code in a form
suitable for, and under terms that permit, the user to
recombine or relink the Application with a modified version of
the Linked Version to produce a modified Combined Work, in the
manner specified by section 6 of the GNU GPL for conveying
Corresponding Source.
1) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (a) uses at run time
a copy of the Library already present on the user's computer
system, and (b) will operate properly with a modified version
of the Library that is interface-compatible with the Linked
Version.
e) Provide Installation Information, but only if you would otherwise
be required to provide such information under section 6 of the
GNU GPL, and only to the extent that such information is
necessary to install and execute a modified version of the
Combined Work produced by recombining or relinking the
Application with a modified version of the Linked Version. (If
you use option 4d0, the Installation Information must accompany
the Minimal Corresponding Source and Corresponding Application
Code. If you use option 4d1, you must provide the Installation
Information in the manner specified by section 6 of the GNU GPL
for conveying Corresponding Source.)
5. Combined Libraries.
You may place library facilities that are a work based on the
Library side by side in a single library together with other library
facilities that are not Applications and are not covered by this
License, and convey such a combined library under terms of your
choice, if you do both of the following:
a) Accompany the combined library with a copy of the same work based
on the Library, uncombined with any other library facilities,
conveyed under the terms of this License.
b) Give prominent notice with the combined library that part of it
is a work based on the Library, and explaining where to find the
accompanying uncombined form of the same work.
6. Revised Versions of the GNU Lesser General Public License.
The Free Software Foundation may publish revised and/or new versions
of the GNU Lesser General Public License from time to time. Such new
versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the
Library as you received it specifies that a certain numbered version
of the GNU Lesser General Public License "or any later version"
applies to it, you have the option of following the terms and
conditions either of that published version or of any later version
published by the Free Software Foundation. If the Library as you
received it does not specify a version number of the GNU Lesser
General Public License, you may choose any version of the GNU Lesser
General Public License ever published by the Free Software Foundation.
If the Library as you received it specifies that a proxy can decide
whether future versions of the GNU Lesser General Public License shall
apply, that proxy's public statement of acceptance of any version is
permanent authorization for you to choose that version for the
Library.
-602
View File
@@ -1,602 +0,0 @@
#!/bin/env python
import re
import time
import sys
import httplib
import base64
from github import Github
class RecordReplayException( Exception ):
pass
class RecordingHttpsConnection:
class HttpResponse( object ):
def __init__( self, file, res ):
self.status = res.status
self.__headers = res.getheaders()
self.__output = res.read()
file.write( str( self.status ) + "\n" )
file.write( str( self.__headers ) + "\n" )
file.write( str( self.__output ) + "\n" )
def getheaders( self ):
return self.__headers
def read( self ):
return self.__output
__realHttpsConnection = httplib.HTTPSConnection
def __init__( self, file, *args, **kwds ):
self.__file = file
self.__cnx = self.__realHttpsConnection( *args, **kwds )
def request( self, verb, url, input, headers ):
print verb, url
self.__cnx.request( verb, url, input, headers )
del headers[ "Authorization" ] # Do not let sensitive info in git :-p
self.__file.write( verb + " " + url + " " + str( headers ) + " " + input + "\n" )
def getresponse( self ):
return RecordingHttpsConnection.HttpResponse( self.__file, self.__cnx.getresponse() )
def close( self ):
self.__file.write( "\n" )
return self.__cnx.close()
class ReplayingHttpsConnection:
class HttpResponse( object ):
def __init__( self, file ):
self.status = int( file.readline().strip() )
self.__headers = eval( file.readline().strip() )
self.__output = file.readline().strip()
def getheaders( self ):
return self.__headers
def read( self ):
return self.__output
def __init__( self, file ):
self.__file = file
def request( self, verb, url, input, headers ):
del headers[ "Authorization" ]
expectation = self.__file.readline().strip()
if expectation != verb + " " + url + " " + str( headers ) + " " + input:
# print expectation, "!=", verb + " " + url + " " + str( headers ) + " " + input
raise RecordReplayException( "This test has been changed since last record. Please re-run this script with argument '--record'" )
def getresponse( self ):
return ReplayingHttpsConnection.HttpResponse( self.__file )
def close( self ):
self.__file.readline()
class IntegrationTest:
cobayeUser = "Lyloa"
cobayeOrganization = "BeaverSoftware"
def main( self, argv ):
record = False
if len( argv ) >= 1:
if argv[ 0 ] == "--record":
argv = argv[ 1: ]
record = True
elif argv[ 0 ] == "--list":
print "List of available tests:"
print "\n".join( self.listTests() )
return
if record:
print "Record mode: this script is really going to do requests to github.com"
else:
print "Replay mode: this script will use requests to and replies from github.com recorded in previous runs in record mode"
if len( argv ) == 0:
tests = self.listTests()
else:
tests = argv
self.runTests( tests, record )
if self.succeeded:
self.analyseCoverage()
def prepareRecord( self, test ):
self.avoidError500FromGithub = lambda: time.sleep( 1 )
try:
import GithubCredentials
self.g = Github( GithubCredentials.login, GithubCredentials.password )
self.__file = open( self.__fileName( test ), "w" )
httplib.HTTPSConnection = lambda *args, **kwds: RecordingHttpsConnection( self.__file, *args, **kwds )
except ImportError:
raise RecordReplayException( textwrap.dedent( """\
Please create a 'GithubCredentials.py' file containing:"
login = '<your github login>'"
password = '<your github password>'""" ) )
def prepareReplay( self, test ):
self.avoidError500FromGithub = lambda: 0
try:
self.__file = None
self.__file = open( self.__fileName( test ) )
httplib.HTTPSConnection = lambda *args, **kwds: ReplayingHttpsConnection( self.__file )
self.g = Github( "login", "password" )
except IOError:
raise RecordReplayException( "This test has never been recorded. Please re-run this script with argument '--record'" )
def __fileName( self, test ):
return "ReplayDataForIntegrationTest/" + test + ".txt"
def listTests( self ):
return [ f[ 4: ] for f in dir( self ) if f.startswith( "test" ) ]
def runTests( self, tests, record ):
self.succeeded = True
for test in tests:
print
print test
print "=" * len( test )
try:
if record:
self.prepareRecord( test )
else:
self.prepareReplay( test )
getattr( self, "test" + test )()
if not record:
if self.__file.readline():
raise RecordReplayException( "This test has been changed since last record. Please re-run this script with argument '--record'" )
except RecordReplayException, e:
print "*" * len( str( e ) )
print e
print "*" * len( str( e ) )
self.succeeded = False
finally:
if self.__file is not None:
self.__file.close()
def analyseCoverage( self ):
coveredUrls = dict()
for test in self.listTests():
with open( self.__fileName( test ) ) as file:
requests = [ line.strip() for line in file.readlines() ][ 0 : : 5 ]
for request in requests:
verb, url = request.split( " " )[ 0 : 2 ]
if url not in coveredUrls:
coveredUrls[ url ] = set()
coveredUrls[ url ].add( verb )
uncoveredMethods = set()
uncoveredApis = set()
with open( "ReferenceOfApis.md" ) as file:
for line in file.readlines():
line = line.strip()
if line.startswith( "API" ):
currentApi = line[ 5 : -1 ]
apiRegex = re.sub( ":\w+", "\w+", currentApi )
if line.startswith( "* " ):
verb = line[ 2 : line.find( ":" ) ]
for url, verbs in coveredUrls.iteritems():
if re.match( apiRegex, url ) and verb in verbs:
break
else:
if "`" in line:
uncoveredMethods.add( line[ line.find( "`" ) + 1 : -1 ] )
else:
uncoveredApis.add( verb + " " + currentApi )
if len( uncoveredMethods ) != 0:
print
header = "Not covered (" + str( len( uncoveredMethods ) ) + ")"
print header
print "=" * len( header )
print "\n".join( sorted( uncoveredMethods ) )
if len( uncoveredApis ) != 0:
print
header = "Not implemented (" + str( len( uncoveredApis ) ) + ")"
print header
print "=" * len( header )
print "\n".join( sorted( uncoveredApis ) )
def testAuthenticatedUserDetails( self ):
u = self.g.get_user()
self.printList( "Organizations", u.get_orgs(), lambda o: o.login )
def testColaborators( self ):
r = self.g.get_user().get_repo( "TestPyGithub" )
cobaye = self.g.get_user( self.cobayeUser )
self.printList( "Collaborators", r.get_collaborators(), lambda m: m.login )
r.add_to_collaborators( cobaye )
assert r.has_in_collaborators( cobaye )
self.printList( "Collaborators", r.get_collaborators(), lambda m: m.login )
r.remove_from_collaborators( cobaye )
assert not r.has_in_collaborators( cobaye )
self.printList( "Collaborators", r.get_collaborators(), lambda m: m.login )
def testCommentCommit( self ):
r = self.g.get_user().get_repo( "TestPyGithub" )
c = r.get_commits()[ 0 ]
self.printList( "Comments", c.get_comments(), lambda c: c.body )
com1 = c.create_comment( "Comment created by PyGithub" )
self.printList( "Comments", c.get_comments(), lambda c: c.body )
com2 = c.create_comment( "Comment also created by PyGithub", path = "ReadMe.md", line = 1 )
self.printList( "Comments", c.get_comments(), lambda c: c.body )
com2.delete()
com1.edit( body = "Comment edited by PyGithub" )
self.printList( "Comments", c.get_comments(), lambda c: c.body )
def testCreateForkForOrganization( self ):
o = self.g.get_organization( self.cobayeOrganization )
r = self.g.get_user().get_repo( "TestPyGithub" )
rf = o.create_fork( r )
print r.owner.login + "/" + r.name, "->", rf.owner.login + "/" + rf.name
def testCreateRepoForOrganization( self ):
o = self.g.get_organization( self.cobayeOrganization )
self.printList( "Repos", o.get_repos(), lambda r: r.name )
r = o.create_repo( "CreatedByPyGithub", has_wiki = False )
self.printList( "Repos", o.get_repos(), lambda r: r.name )
def testCreateRepoForUser( self ):
u = self.g.get_user()
self.printList( "Repos", u.get_repos(), lambda r: r.name )
r = u.create_repo( "CreatedByPyGithub", has_wiki = False )
self.printList( "Repos", u.get_repos(), lambda r: r.name )
def testDownloads( self ):
r = self.g.get_user().get_repo( "TestPyGithub" )
self.printList( "Downloads", r.get_downloads(), lambda d: d.name )
d = r.create_download( "DownloadCreatedByPyGithub.txt", 1024 )
self.printList( "Downloads", r.get_downloads(), lambda d: d.name )
sameDownload = r.get_download( d.id )
sameDownload.delete()
self.printList( "Downloads", r.get_downloads(), lambda d: d.name )
def testEditAuthenticatedUser( self ):
u = self.g.get_user()
originalName = u.name
print u.name
u.edit( name = u.name + " (edited by PyGithub)" )
print u.name
u.edit( name = originalName )
print u.name
def testEditOrganization( self ):
o = self.g.get_organization( self.cobayeOrganization )
originalName = o.name
print o.name
o.edit( name = str( o.name ) + " (edited by PyGithub)" )
print o.name
o.edit( name = originalName )
print o.name
def testEditOrganizationTeamAndMembers( self ):
o = self.g.get_organization( self.cobayeOrganization )
r = o.get_repo( "TestPyGithub" )
self.printList( "Teams", o.get_teams(), lambda t: t.name )
t = o.create_team( "PyGithubTesters" )
t.edit( "PyGithubTesters", permission = "push" )
self.printList( "Teams", o.get_teams(), lambda t: t.name )
u = self.g.get_user( self.cobayeUser )
self.printList( "Team members", t.get_members(), lambda m: m.login )
self.printList( "Team repos", t.get_repos(), lambda r: r.name )
assert not t.has_in_repos( r )
assert not t.has_in_members( u )
t.add_to_members( u )
t.add_to_repos( r )
assert t.has_in_repos( r )
assert t.has_in_members( u )
self.printList( "Team members", t.get_members(), lambda m: m.login )
self.printList( "Team repos", t.get_repos(), lambda r: r.name )
self.printList( "Public members", o.get_public_members(), lambda m: m.login )
o.add_to_public_members( u )
assert o.has_in_public_members( u )
self.printList( "Public members", o.get_public_members(), lambda m: m.login )
o.remove_from_public_members( u )
assert not o.has_in_public_members( u )
self.printList( "Public members", o.get_public_members(), lambda m: m.login )
self.printList( "Members", o.get_members(), lambda m: m.login )
assert o.has_in_members( u )
o.remove_from_members( u )
assert not o.has_in_members( u )
self.printList( "Members", o.get_members(), lambda m: m.login )
self.printList( "Team members", t.get_members(), lambda m: m.login )
self.printList( "Team repos", t.get_repos(), lambda r: r.name )
t.remove_from_members( u )
t.remove_from_repos( r )
assert not t.has_in_repos( r )
assert not t.has_in_members( u )
self.printList( "Team members", t.get_members(), lambda m: m.login )
self.printList( "Team repos", t.get_repos(), lambda r: r.name )
t.delete()
self.printList( "Teams", o.get_teams(), lambda t: t.name )
def testEvents( self ):
self.printList( "User events", self.g.get_user( self.cobayeUser ).get_events(), lambda e: e.type )
self.printList( "User public events", self.g.get_user( self.cobayeUser ).get_public_events(), lambda e: e.type )
self.printList( "User public received events", self.g.get_user( self.cobayeUser ).get_public_received_events(), lambda e: e.type )
self.printList( "User received events", self.g.get_user( self.cobayeUser ).get_received_events(), lambda e: e.type )
self.printList( "Organization events", self.g.get_organization( self.cobayeOrganization ).get_events(), lambda e: e.type )
self.printList( "User events", self.g.get_user().get_events(), lambda e: e.type )
o = self.g.get_organization( self.cobayeOrganization )
self.printList( "Organization events", self.g.get_user().get_organization_events( o ), lambda e: e.type )
self.printList( "Repo events", self.g.get_user().get_repo( "TestPyGithub" ).get_events(), lambda e: e.type )
self.printList( "Repo issues events", self.g.get_user().get_repo( "TestPyGithub" ).get_issues_events(), lambda e: e.event )
print self.g.get_user().get_repo( "TestPyGithub" ).get_issues_event( 10693379 ).event
self.printList( "Repo network events", self.g.get_user().get_repo( "TestPyGithub" ).get_network_events(), lambda e: e.type )
self.printList( "Issue events", self.g.get_user().get_repo( "TestPyGithub" ).get_issue( 23 ).get_events(), lambda e: e.event )
def testFollow( self ):
cobaye = self.g.get_user( self.cobayeUser )
u = self.g.get_user()
u.remove_from_following( cobaye )
assert not u.has_in_following( cobaye )
u.add_to_following( cobaye )
assert u.has_in_following( cobaye )
self.printList( "Following", u.get_following(), lambda f: f.login )
self.printList( "Followers", u.get_followers(), lambda f: f.login )
def testGists( self ):
u = self.g.get_user()
self.printList( "Gists", u.get_gists(), lambda g: g.description )
g = u.create_gist( public = True, description = "Gist created by PyGithub", files = { "foo.bar": { "content": "This gist was created by PyGithub" } } )
self.printList( "Gists", u.get_gists(), lambda g: g.description )
g.edit( description = "Gist edited by PyGithub" )
self.printList( "Gists", u.get_gists(), lambda g: g.description )
self.printList( "Starred gists", u.get_starred_gists(), lambda g: g.description )
g.set_starred()
assert g.is_starred()
self.printList( "Starred gists", u.get_starred_gists(), lambda g: g.description )
g.reset_starred()
self.printList( "Starred gists", u.get_starred_gists(), lambda g: g.description )
self.printList( "Gist comments", g.get_comments(), lambda c: c.body )
c = g.create_comment( "Comment created by PyGithub" )
self.printList( "Gist comments", g.get_comments(), lambda c: c.body )
c.edit( "Comment edited by PyGithub" )
self.printList( "Gist comments", g.get_comments(), lambda c: c.body )
sameComment = g.get_comment( c.id )
c.delete()
self.printList( "Gist comments", g.get_comments(), lambda c: c.body )
otherGist = self.g.get_gist( 1965703 ).create_fork() # Origin gist picked up randomly
self.printList( "Gists", u.get_gists(), lambda g: g.description or "None" )
otherGist.delete()
self.printList( "Gists", u.get_gists(), lambda g: g.description )
g.delete()
self.printList( "Gists", u.get_gists(), lambda g: g.description )
def testGistsAll( self ):
self.printList( "Gists", self.g.get_gists(), lambda g: g.description )
def testGitObjects( self ):
o = self.g.get_organization( self.cobayeOrganization )
r = o.get_repo( "TestPyGithub" )
masterRef = r.get_git_ref( "refs/heads/master" )
masterCommit = r.get_git_commit( masterRef.object[ "sha" ] )
masterTree = r.get_git_tree( masterCommit.tree.sha )
readmeBlob = None
for element in masterTree.tree:
if element[ "path" ] == "ReadMe.md":
readmeBlob = r.get_git_blob( element[ "sha" ] )
break
blob = r.create_git_blob( "This blob was created by PyGithub", encoding = "latin1" )
tree = r.create_git_tree( [ { "path": "foo.bar", "mode": "100644", "type": "blob", "sha": blob.sha }, { "path": "ReadMe.md", "mode": "100644", "type": "blob", "sha": readmeBlob.sha } ] )
commit = r.create_git_commit( "This commit was created by PyGithub", tree.sha, [ masterCommit.sha ] )
r.create_git_ref( "refs/heads/previous_master", masterRef.object[ "sha" ] )
masterRef.edit( commit.sha )
tag = r.create_git_tag( "tagCreatedByPyGithub", "This tag was created by PyGithub", commit.sha, "commit" )
r.create_git_ref( "refs/tags/tagCreatedByPyGithub", tag.sha )
reTag = r.get_git_tag( tag.sha )
def testGitObjectsAlternative( self ):
o = self.g.get_organization( self.cobayeOrganization )
r = o.get_repo( "TestPyGithub" )
masterRef = r.get_git_ref( "refs/heads/master" )
masterCommit = r.get_git_commit( masterRef.object[ "sha" ] )
masterTree = r.get_git_tree( masterCommit.tree.sha, recursive = True )
blob = r.create_git_blob( "This blob was also created by PyGithub", encoding = "latin1" )
tree = r.create_git_tree( [ { "path": "new.bar", "mode": "100644", "type": "blob", "sha": blob.sha } ], base_tree = masterTree.sha )
def testHooks( self ):
u = self.g.get_user()
r = u.get_repo( "TestPyGithub" )
self.printList( "Hooks", r.get_hooks(), lambda h: h.name + str( h.config ) )
h = r.create_hook( "web", { "url": "http://www.invalid.org" } )
self.printList( "Hooks", r.get_hooks(), lambda h: h.name + str( h.config ) )
h.edit( "web", { "url": "http://www.postbin.org/w5cgjr" } )
self.printList( "Hooks", r.get_hooks(), lambda h: h.name + str( h.config ) )
sameHook = r.get_hook( h.id )
h.test()
h.delete()
self.printList( "Hooks", r.get_hooks(), lambda h: h.name + str( h.config ) )
def testIssuesAndMilestones( self ):
u = self.g.get_user()
r = u.get_repo( "TestPyGithub" )
self.printList( "Issues", r.get_issues(), lambda i: i.title )
i = r.create_issue( "Issue created by PyGithub" )
self.printList( "Issues", r.get_issues(), lambda i: i.title )
i.edit( body = "Issue edited by PyGithub" )
self.printList( "Comments on issue", i.get_comments(), lambda c: c.body )
c = i.create_comment( "Comment created by PyGithub" )
self.printList( "Comments on issue", i.get_comments(), lambda c: c.body )
c.edit( "Comment edited by PyGithub" )
sameComment = i.get_comment( c.id )
self.printList( "Comments on issue", i.get_comments(), lambda c: c.body )
c.delete()
self.printList( "Comments on issue", i.get_comments(), lambda c: c.body )
self.printList( "Milestones", r.get_milestones(), lambda m: m.title )
m = r.create_milestone( "Milestone created by PyGithub" )
self.printList( "Milestones", r.get_milestones(), lambda m: m.title )
m.edit( title = "Milestone edited by PyGithub" )
self.printList( "Milestones", r.get_milestones(), lambda m: m.title )
self.printList( "Issues of milestone", r.get_issues( milestone = m.number ), lambda i: i.title )
i.edit( milestone = m.number )
self.printList( "Issues of milestone", r.get_issues( milestone = m.number ), lambda i: i.title )
self.printList( "Repository labels", r.get_labels(), lambda l: l.name )
labelD = r.create_label( "D", "FF0000" )
self.printList( "Repository labels", r.get_labels(), lambda l: l.name )
labelD.edit( "Dada", "00FF00" )
self.printList( "Repository labels", r.get_labels(), lambda l: l.name )
labelD.delete()
self.printList( "Repository labels", r.get_labels(), lambda l: l.name )
labelA = r.get_label( "bug" )
labelB = r.get_label( "duplicate" )
labelC = r.get_label( "invalid" )
self.printList( "Labels", i.get_labels(), lambda l: l.name )
i.set_labels( labelA, labelB )
self.printList( "Labels", i.get_labels(), lambda l: l.name )
i.remove_from_labels( labelB )
self.printList( "Labels", i.get_labels(), lambda l: l.name )
i.delete_labels()
self.printList( "Labels", i.get_labels(), lambda l: l.name )
i.add_to_labels( labelB, labelC )
self.printList( "Labels", i.get_labels(), lambda l: l.name )
self.printList( "Milestone labels", r.get_milestone( m.number ).get_labels(), lambda l: l.name )
m.delete()
self.printList( "Milestones", r.get_milestones(), lambda m: m.title )
def testIssuesForAuthenticatedUser( self ):
self.printList( "Issues", self.g.get_user().get_issues(), lambda i: i.title )
def testKeys( self ):
u = self.g.get_user()
self.printList( "Keys", u.get_keys(), lambda k: k.title )
k = u.create_key( u.login + "@PyGithub", "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAvborozfBBn2a+JETqPekTWZ1tmYjpfH9wTKFPLjIXQmxXjNye6HVgvi+iMI436RdoLsPEFDe3cjrQ6CJa7KzhRJKNTPh5EZbKI13CXfMGr7V1i3tOokXBFSRQKnDx2dj2hnswqxGUk2jXpgC/KA1q71yqnL45CBlWr50eDpwUIEPnmqSrPpRV/0ZGwIlh4o7+6HwPUF9aBhWj945WSkjZubR4UFWlDZl7ROafpkJHs2cQzaxtmBOZnu6dzmfyro0zJsvhZKD2K6d9eKgpDeKaw5rWr6FeOZPd4xyDaV1gctG0YEui8uuSPKhpcykgREUAFf+vmOKt+yXnOoq8P4vIQ==" )
self.printList( "Keys", u.get_keys(), lambda k: k.title )
k.edit( title = u.login + "@PyGithub2" )
k = u.get_key( k.id )
self.printList( "Keys", u.get_keys(), lambda k: k.title )
k.delete()
self.printList( "Keys", u.get_keys(), lambda k: k.title )
def testMergePullRequest( self ):
r = self.g.get_user().get_repo( "TestPyGithub" )
p = r.get_pull( 26 )
assert not p.is_merged()
p.merge()
assert p.is_merged()
def testNamedUserDetails( self ):
u = self.g.get_user( "jacquev6" )
print u.login, "(" + u.name + ") is from", u.location
self.printList( "Repos", u.get_repos(), lambda r: r.name )
self.printList( "Followers", u.get_followers(), lambda m: m.login )
self.printList( "Following", u.get_following(), lambda m: m.login )
self.printList( "Watched", u.get_watched(), lambda r: r.owner.login + "/" + r.name )
self.printList( "Organizations", u.get_orgs(), lambda o: o.login )
self.printList( "Gists", u.get_gists(), lambda g: g.description )
def testOrganizationDetails( self ):
o = self.g.get_organization( "github" )
print o.login, "(" + o.name + ") is in", o.location
def testPullRequest( self ):
r = self.g.get_user().get_repo( "TestPyGithub" )
self.printList( "Pull requests", r.get_pulls(), lambda p: p.title )
p1 = r.create_pull( "Pull request created by PyGithub", "", "master", "BeaverSoftware:master" )
self.printList( "Pull requests", r.get_pulls(), lambda p: p.title )
p1.edit( state = "closed" )
self.printList( "Pull requests", r.get_pulls(), lambda p: p.title )
p2 = r.create_pull( "Pull request also created by PyGithub", "", "master", "BeaverSoftware:master" )
self.printList( "Pull requests", r.get_pulls(), lambda p: p.title )
self.printList( "Files", p2.get_files(), lambda f: f.filename )
self.printList( "Commits", p2.get_commits(), lambda c: c.commit.message )
self.printList( "Comments", p2.get_comments(), lambda c: c.body )
com = p2.create_comment( "Comment created by PyGithub", "e4e84560cb5e87f3c0e9f710dae1ddab0eef487b", "foo.bar", 1 )
self.printList( "Comments", p2.get_comments(), lambda c: c.body )
com.edit( body = "Comment edited by PyGithub" )
self.printList( "Comments", p2.get_comments(), lambda c: c.body )
sameCom = p2.get_comment( com.id )
sameCom.delete()
self.printList( "Comments", p2.get_comments(), lambda c: c.body )
p2.edit( state = "closed" )
self.printList( "Pull requests", r.get_pulls(), lambda p: p.title )
def testRepositoryCompare( self ):
r = self.g.get_user().get_repo( "PyGithub" )
print str( r.compare( "master", "develop" ) )[ :100 ]
def testRepositoryDetails( self ):
r1 = self.g.get_user().get_repo( "PyGithub" )
r2 = self.g.get_user().get_repo( "TestPyGithub" )
self.printList( "Branches", r1.get_branches(), lambda b: b.name )
self.printList( "Comments", r2.get_comments(), lambda c: c.body )
r2.get_comment( r2.get_comments()[ 0 ].id )
self.printList( "Contributors", r1.get_contributors(), lambda m: m.login )
self.printList( "Forks", r2.get_forks(), lambda r: r.owner.login )
print "Languages:", r1.get_languages()
self.printList( "Tags", r1.get_tags(), lambda t: t.name )
self.printList( "Watchers", r1.get_watchers(), lambda m: m.login )
r3 = self.g.get_organization( "BeaverSoftware" ).get_repo( "TestPyGithub" )
self.printList( "Teams", r3.get_teams(), lambda t: t.name )
def testRepositoryKeys( self ):
r = self.g.get_user().get_repo( "TestPyGithub" )
self.printList( "Keys", r.get_keys(), lambda k: k.title )
k = r.create_key( "Key created by PyGithub", "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAvborozfBBn2a+JETqPekTWZ1tmYjpfH9wTKFPLjIXQmxXjNye6HVgvi+iMI436RdoLsPEFDe3cjrQ6CJa7KzhRJKNTPh5EZbKI13CXfMGr7V1i3tOokXBFSRQKnDx2dj2hnswqxGUk2jXpgC/KA1q71yqnL45CBlWr50eDpwUIEPnmqSrPpRV/0ZGwIlh4o7+6HwPUF9aBhWj945WSkjZubR4UFWlDZl7ROafpkJHs2cQzaxtmBOZnu6dzmfyro0zJsvhZKD2K6d9eKgpDeKaw5rWr6FeOZPd4xyDaV1gctG0YEui8uuSPKhpcykgREUAFf+vmOKt+yXnOoq8P4vIQ==" )
self.printList( "Keys", r.get_keys(), lambda k: k.title )
k.edit( "Key edited by PyGithub", "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAvborozfBBn2a+JETqPekTWZ1tmYjpfH9wTKFPLjIXQmxXjNye6HVgvi+iMI436RdoLsPEFDe3cjrQ6CJa7KzhRJKNTPh5EZbKI13CXfMGr7V1i3tOokXBFSRQKnDx2dj2hnswqxGUk2jXpgC/KA1q71yqnL45CBlWr50eDpwUIEPnmqSrPpRV/0ZGwIlh4o7+6HwPUF9aBhWj945WSkjZubR4UFWlDZl7ROafpkJHs2cQzaxtmBOZnu6dzmfyro0zJsvhZKD2K6d9eKgpDeKaw5rWr6FeOZPd4xyDaV1gctG0YEui8uuSPKhpcykgREUAFf+vmOKt+yXnOoq8P4vIQ==" )
self.printList( "Keys", r.get_keys(), lambda k: k.title )
sameKey = r.get_key( k.id )
sameKey.delete()
self.printList( "Keys", r.get_keys(), lambda k: k.title )
def testWatch( self ):
r = self.g.get_user( "jacquev6" ).get_repo( "PyGithub" )
u = self.g.get_user()
u.remove_from_watched( r )
assert not u.has_in_watched( r )
u.add_to_watched( r )
assert u.has_in_watched( r )
self.printList( "Watched", u.get_watched(), lambda r: r.name )
def testEmails( self ):
u = self.g.get_user()
self.printList( "Emails", u.get_emails() )
u.add_to_emails( "ab@xxx.com", "cd@xxx.com" )
self.printList( "Emails", u.get_emails() )
u.remove_from_emails( "ab@xxx.com", "cd@xxx.com" )
self.printList( "Emails", u.get_emails() )
def printList( self, title, iterable, f = lambda x: x ):
print title + ":", ", ".join( str( f( x ) ) for x in iterable[ :10 ] ), "..." if len( iterable ) > 10 else ""
sys.setrecursionlimit( 50 )
IntegrationTest().main( sys.argv[ 1: ] )
+36 -4
View File
@@ -1,12 +1,15 @@
This is a Python library to access the [Github API v3](http://developer.github.com/v3).
With it, you can manage your Github resources (repositories, user profiles, organizations, etc.) from Python scripts.
With it, you can manage your [Github](http://github.com) resources (repositories, user profiles, organizations, etc.) from Python scripts.
It is still a work in progress, but it already covers the **full** API in version 0.5.
It covers the **full** API, and all methods are tested against the real Github site.
Next version (1.0) will focus on creating a really homogeneous and meaningful public interface. See the [milestone on Github](https://github.com/jacquev6/PyGithub/issues?milestone=2).
Should you have any question, or if you find a bug, or if there is something you can do with the API but not with PyGithub, please [open an issue](https://github.com/jacquev6/PyGithub/issues).
Should you have any question, or if you find a bug, please [open an issue on Github](https://github.com/jacquev6/PyGithub/issues).
News (on June 3rd, 2012)
========================
Version 1.0 is out! You can now consider PyGithub stable. I will maintain it up to date with the API, and fix bugs if any, but I don't plan new heavy developments.
Download and install
====================
@@ -29,9 +32,38 @@ Then play with your Github objects:
print repo.name
repo.edit( has_wiki = False )
You can also create a Github instance with an OAuth token:
g = Github( token )
Or without authentication:
g = Github()
Projects using PyGithub
=======================
([Open an issue](https://github.com/jacquev6/PyGithub/issues) if you want to be listed here, I'll be glad to add your project)
* [Tratihubis](http://pypi.python.org/pypi/tratihubis/) converts Trac tickets to Github issues
History
=======
Version 1.0 (June 3rd, 2012)
----------------------------
* Complete rewrite, with no more complicated meta-description
* Full typing of attributes and parameters
* Full documentation of attributes and parameters
* More usable exceptions raised in case on problems with the API
* Some bugs and limitations fixed, special thanks to [bilderbuchi](https://github.com/bilderbuchi), [roskakori](https://github.com/roskakori) and [tallforasmurf](https://github.com/tallforasmurf) for reporting them!
Version 0.7 (May 26th, 2012)
----------------------------
* Use PyGithub with OAuth authentication or with no authentication at all
Version 0.6 (April 17th, 2012)
------------------------------
File diff suppressed because it is too large Load Diff
@@ -1,5 +0,0 @@
GET /user/orgs {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4935'), ('content-length', '262'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"3454c1345755c67af87593d8c4c9f79d"'), ('date', 'Sun, 04 Mar 2012 09:31:50 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"login":"BeaverSoftware","url":"https://api.github.com/orgs/BeaverSoftware","id":1424031,"avatar_url":"https://secure.gravatar.com/avatar/d563e337cac2fdc644e2aaaad1e23266?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png"}]
@@ -1,50 +0,0 @@
GET /user {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4991'), ('content-length', '801'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"8516c4047fdb107d6a3ec08981b26671"'), ('date', 'Sun, 04 Mar 2012 08:21:36 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"disk_usage":17432,"type":"User","gravatar_id":"b68de5ae38616c296fa345d2b9df2225","following":24,"avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"jacquev6","public_gists":1,"public_repos":17,"hireable":false,"private_gists":2,"plan":{"private_repos":5,"collaborators":1,"name":"micro","space":614400},"blog":"http://vincent-jacques.net","location":"Paris, France","bio":"","collaborators":0,"company":"Criteo","total_private_repos":5,"url":"https://api.github.com/users/jacquev6","html_url":"https://github.com/jacquev6","created_at":"2010-07-09T06:10:06Z","name":"Vincent Jacques","email":"vincent@vincent-jacques.net","owned_private_repos":5,"id":327146,"followers":12}
GET /repos/jacquev6/TestPyGithub {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4990'), ('content-length', '1067'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"14e49b73728e4b2ba7978b158e43208c"'), ('date', 'Sun, 04 Mar 2012 08:21:37 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"watchers":1,"pushed_at":"2012-03-03T07:43:16Z","homepage":"http://vincent-jacques.net/PyGithub","mirror_url":null,"has_downloads":true,"has_issues":true,"master_branch":null,"updated_at":"2012-03-03T07:53:19Z","forks":2,"fork":false,"svn_url":"https://github.com/jacquev6/TestPyGithub","language":null,"private":false,"size":84,"has_wiki":true,"url":"https://api.github.com/repos/jacquev6/TestPyGithub","html_url":"https://github.com/jacquev6/TestPyGithub","created_at":"2012-03-03T07:41:19Z","owner":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"jacquev6","url":"https://api.github.com/users/jacquev6","id":327146},"name":"TestPyGithub","git_url":"git://github.com/jacquev6/TestPyGithub.git","clone_url":"https://github.com/jacquev6/TestPyGithub.git","id":3609314,"ssh_url":"git@github.com:jacquev6/TestPyGithub.git","description":"Guinea-pig for PyGithub testing","open_issues":16}
GET /users/Lyloa {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4989'), ('content-length', '554'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"f7d3e93a234c3e0d389940339ef8ac34"'), ('date', 'Sun, 04 Mar 2012 08:21:37 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"type":"User","gravatar_id":"1517ed584458ccf83e03f5d77d9699d7","following":0,"login":"Lyloa","blog":null,"public_gists":0,"location":"Paris","hireable":false,"company":null,"avatar_url":"https://secure.gravatar.com/avatar/1517ed584458ccf83e03f5d77d9699d7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","bio":null,"url":"https://api.github.com/users/Lyloa","html_url":"https://github.com/Lyloa","created_at":"2011-10-16T14:36:46Z","name":"Lyloa","email":"nyu@lyloa.net","id":1131432,"public_repos":0,"followers":1}
GET /repos/jacquev6/TestPyGithub/collaborators {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4988'), ('content-length', '298'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"0f7fc68f68409b0b3c1fc6958ea0ad7b"'), ('date', 'Sun, 04 Mar 2012 08:21:38 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","id":327146}]
PUT /repos/jacquev6/TestPyGithub/collaborators/Lyloa {} null
204
[('status', '204 No Content'), ('x-ratelimit-remaining', '4987'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d41d8cd98f00b204e9800998ecf8427e"'), ('date', 'Sun, 04 Mar 2012 08:21:39 GMT')]
GET /repos/jacquev6/TestPyGithub/collaborators/Lyloa {} null
204
[('status', '204 No Content'), ('x-ratelimit-remaining', '4986'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d41d8cd98f00b204e9800998ecf8427e"'), ('date', 'Sun, 04 Mar 2012 08:21:39 GMT')]
GET /repos/jacquev6/TestPyGithub/collaborators {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4985'), ('content-length', '590'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"04c1d43ae0dc4037aeb590f030dc5931"'), ('date', 'Sun, 04 Mar 2012 08:21:40 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"jacquev6","url":"https://api.github.com/users/jacquev6","id":327146},{"gravatar_id":"1517ed584458ccf83e03f5d77d9699d7","avatar_url":"https://secure.gravatar.com/avatar/1517ed584458ccf83e03f5d77d9699d7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"Lyloa","url":"https://api.github.com/users/Lyloa","id":1131432}]
DELETE /repos/jacquev6/TestPyGithub/collaborators/Lyloa {} null
204
[('status', '204 No Content'), ('x-ratelimit-remaining', '4984'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d41d8cd98f00b204e9800998ecf8427e"'), ('date', 'Sun, 04 Mar 2012 08:21:40 GMT')]
GET /repos/jacquev6/TestPyGithub/collaborators/Lyloa {} null
404
[('status', '404 Not Found'), ('x-ratelimit-remaining', '4983'), ('content-length', '23'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"e66a7a6c91e2c26803f3f49feb7a883f"'), ('date', 'Sun, 04 Mar 2012 08:21:41 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"message":"Not Found"}
GET /repos/jacquev6/TestPyGithub/collaborators {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4982'), ('content-length', '298'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"0f7fc68f68409b0b3c1fc6958ea0ad7b"'), ('date', 'Sun, 04 Mar 2012 08:21:42 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","id":327146}]
@@ -1,55 +0,0 @@
GET /user {} null
200
[('status', '200 OK'), ('content-length', '801'), ('x-ratelimit-remaining', '4952'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"3b296e11a55f0739bb046fd278e27d36"'), ('date', 'Sun, 04 Mar 2012 08:35:53 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"public_repos":16,"type":"User","bio":"","collaborators":0,"created_at":"2010-07-09T06:10:06Z","location":"Paris, France","total_private_repos":5,"html_url":"https://github.com/jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","plan":{"collaborators":1,"private_repos":5,"name":"micro","space":614400},"owned_private_repos":5,"public_gists":1,"company":"Criteo","followers":12,"email":"vincent@vincent-jacques.net","url":"https://api.github.com/users/jacquev6","private_gists":2,"following":24,"name":"Vincent Jacques","disk_usage":17432,"hireable":false,"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","id":327146,"blog":"http://vincent-jacques.net","login":"jacquev6"}
GET /repos/jacquev6/TestPyGithub {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4951'), ('content-length', '1067'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"ca89234a5c95a785a9ca7428b08e52a8"'), ('date', 'Sun, 04 Mar 2012 08:35:53 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"watchers":1,"pushed_at":"2012-03-03T07:43:16Z","homepage":"http://vincent-jacques.net/PyGithub","has_downloads":true,"has_issues":true,"master_branch":null,"updated_at":"2012-03-03T07:53:19Z","forks":2,"fork":false,"svn_url":"https://github.com/jacquev6/TestPyGithub","language":null,"private":false,"size":84,"mirror_url":null,"has_wiki":true,"url":"https://api.github.com/repos/jacquev6/TestPyGithub","html_url":"https://github.com/jacquev6/TestPyGithub","created_at":"2012-03-03T07:41:19Z","owner":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"jacquev6","url":"https://api.github.com/users/jacquev6","id":327146},"name":"TestPyGithub","git_url":"git://github.com/jacquev6/TestPyGithub.git","clone_url":"https://github.com/jacquev6/TestPyGithub.git","id":3609314,"ssh_url":"git@github.com:jacquev6/TestPyGithub.git","description":"Guinea-pig for PyGithub testing","open_issues":16}
GET /repos/jacquev6/TestPyGithub/commits {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4950'), ('content-length', '1319'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"89ade3ce2474e34958117cbb4bb0ba6f"'), ('date', 'Sun, 04 Mar 2012 08:35:54 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"commit":{"message":"Readme","author":{"email":"vincent@vincent-jacques.net","name":"Vincent Jacques","date":"2012-03-02T23:43:05-08:00"},"tree":{"sha":"fb9dc597be6b32f6c2e095ca46e3e7fd57af3a5e","url":"https://api.github.com/repos/jacquev6/TestPyGithub/git/trees/fb9dc597be6b32f6c2e095ca46e3e7fd57af3a5e"},"url":"https://api.github.com/repos/jacquev6/TestPyGithub/git/commits/6967a1f8f46e71d93ded1f0dd7c75ddb86d27dea","committer":{"email":"vincent@vincent-jacques.net","name":"Vincent Jacques","date":"2012-03-02T23:43:05-08:00"}},"author":{"login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","gravatar_id":"b68de5ae38616c296fa345d2b9df2225","id":327146},"parents":[],"sha":"6967a1f8f46e71d93ded1f0dd7c75ddb86d27dea","url":"https://api.github.com/repos/jacquev6/TestPyGithub/commits/6967a1f8f46e71d93ded1f0dd7c75ddb86d27dea","committer":{"login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","gravatar_id":"b68de5ae38616c296fa345d2b9df2225","id":327146}}]
GET /repos/jacquev6/TestPyGithub/commits/6967a1f8f46e71d93ded1f0dd7c75ddb86d27dea/comments {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4949'), ('content-length', '2800'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d93812aa84e0c340d80662e3b2bd1fa6"'), ('date', 'Sun, 04 Mar 2012 08:35:55 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"updated_at":"2012-03-04T08:32:17Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"jacquev6","url":"https://api.github.com/users/jacquev6","id":327146},"commit_id":"6967a1f8f46e71d93ded1f0dd7c75ddb86d27dea","url":"https://api.github.com/repos/jacquev6/TestPyGithub/comments/1039835","created_at":"2012-03-04T08:32:17Z","position":null,"html_url":"https://github.com/jacquev6/TestPyGithub/commit/6967a1f8f4#commitcomment-1039835","path":"ReadMe.md","line":1,"id":1039835,"body":"Comment also created by PyGithub"},{"updated_at":"2012-03-04T08:33:53Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"jacquev6","url":"https://api.github.com/users/jacquev6","id":327146},"commit_id":"6967a1f8f46e71d93ded1f0dd7c75ddb86d27dea","url":"https://api.github.com/repos/jacquev6/TestPyGithub/comments/1039839","created_at":"2012-03-04T08:33:53Z","position":null,"html_url":"https://github.com/jacquev6/TestPyGithub/commit/6967a1f8f4#commitcomment-1039839","path":"ReadMe.md","line":1,"id":1039839,"body":"Comment also created by PyGithub"},{"updated_at":"2012-03-04T08:34:49Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"jacquev6","url":"https://api.github.com/users/jacquev6","id":327146},"commit_id":"6967a1f8f46e71d93ded1f0dd7c75ddb86d27dea","url":"https://api.github.com/repos/jacquev6/TestPyGithub/comments/1039842","created_at":"2012-03-04T08:34:49Z","position":null,"html_url":"https://github.com/jacquev6/TestPyGithub/commit/6967a1f8f4#commitcomment-1039842","path":null,"line":null,"id":1039842,"body":"Comment created by PyGithub"},{"updated_at":"2012-03-04T08:34:50Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"jacquev6","url":"https://api.github.com/users/jacquev6","id":327146},"commit_id":"6967a1f8f46e71d93ded1f0dd7c75ddb86d27dea","url":"https://api.github.com/repos/jacquev6/TestPyGithub/comments/1039843","created_at":"2012-03-04T08:34:50Z","position":null,"html_url":"https://github.com/jacquev6/TestPyGithub/commit/6967a1f8f4#commitcomment-1039843","path":"ReadMe.md","line":1,"id":1039843,"body":"Comment also created by PyGithub"}]
POST /repos/jacquev6/TestPyGithub/commits/6967a1f8f46e71d93ded1f0dd7c75ddb86d27dea/comments {} {"body": "Comment created by PyGithub"}
201
[('status', '201 Created'), ('x-ratelimit-remaining', '4948'), ('content-length', '692'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"777c7cdfec791ab2c4c451e8c456866b"'), ('date', 'Sun, 04 Mar 2012 08:35:55 GMT'), ('content-type', 'application/json; charset=utf-8'), ('location', 'https://api.github.com/repos/jacquev6/TestPyGithub/comments/1039845')]
{"updated_at":"2012-03-04T08:35:55Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","id":327146},"commit_id":"6967a1f8f46e71d93ded1f0dd7c75ddb86d27dea","url":"https://api.github.com/repos/jacquev6/TestPyGithub/comments/1039845","created_at":"2012-03-04T08:35:55Z","position":null,"html_url":"https://github.com/jacquev6/TestPyGithub/commit/6967a1f8f4#commitcomment-1039845","path":null,"line":null,"id":1039845,"body":"Comment created by PyGithub"}
GET /repos/jacquev6/TestPyGithub/commits/6967a1f8f46e71d93ded1f0dd7c75ddb86d27dea/comments {} null
200
[('status', '200 OK'), ('content-length', '3493'), ('x-ratelimit-remaining', '4947'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"abaf49cbec981c0092d1fb3dc66ca2fc"'), ('date', 'Sun, 04 Mar 2012 08:35:56 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"created_at":"2012-03-04T08:32:17Z","path":"ReadMe.md","html_url":"https://github.com/jacquev6/TestPyGithub/commit/6967a1f8f4#commitcomment-1039835","body":"Comment also created by PyGithub","user":{"avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","gravatar_id":"b68de5ae38616c296fa345d2b9df2225","id":327146,"login":"jacquev6"},"commit_id":"6967a1f8f46e71d93ded1f0dd7c75ddb86d27dea","url":"https://api.github.com/repos/jacquev6/TestPyGithub/comments/1039835","line":1,"position":null,"updated_at":"2012-03-04T08:32:17Z","id":1039835},{"created_at":"2012-03-04T08:33:53Z","path":"ReadMe.md","html_url":"https://github.com/jacquev6/TestPyGithub/commit/6967a1f8f4#commitcomment-1039839","body":"Comment also created by PyGithub","user":{"avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","gravatar_id":"b68de5ae38616c296fa345d2b9df2225","id":327146,"login":"jacquev6"},"commit_id":"6967a1f8f46e71d93ded1f0dd7c75ddb86d27dea","url":"https://api.github.com/repos/jacquev6/TestPyGithub/comments/1039839","line":1,"position":null,"updated_at":"2012-03-04T08:33:53Z","id":1039839},{"created_at":"2012-03-04T08:34:49Z","path":null,"html_url":"https://github.com/jacquev6/TestPyGithub/commit/6967a1f8f4#commitcomment-1039842","body":"Comment created by PyGithub","user":{"avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","gravatar_id":"b68de5ae38616c296fa345d2b9df2225","id":327146,"login":"jacquev6"},"commit_id":"6967a1f8f46e71d93ded1f0dd7c75ddb86d27dea","url":"https://api.github.com/repos/jacquev6/TestPyGithub/comments/1039842","line":null,"position":null,"updated_at":"2012-03-04T08:34:49Z","id":1039842},{"created_at":"2012-03-04T08:34:50Z","path":"ReadMe.md","html_url":"https://github.com/jacquev6/TestPyGithub/commit/6967a1f8f4#commitcomment-1039843","body":"Comment also created by PyGithub","user":{"avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","gravatar_id":"b68de5ae38616c296fa345d2b9df2225","id":327146,"login":"jacquev6"},"commit_id":"6967a1f8f46e71d93ded1f0dd7c75ddb86d27dea","url":"https://api.github.com/repos/jacquev6/TestPyGithub/comments/1039843","line":1,"position":null,"updated_at":"2012-03-04T08:34:50Z","id":1039843},{"created_at":"2012-03-04T08:35:55Z","path":null,"html_url":"https://github.com/jacquev6/TestPyGithub/commit/6967a1f8f4#commitcomment-1039845","body":"Comment created by PyGithub","user":{"avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","gravatar_id":"b68de5ae38616c296fa345d2b9df2225","id":327146,"login":"jacquev6"},"commit_id":"6967a1f8f46e71d93ded1f0dd7c75ddb86d27dea","url":"https://api.github.com/repos/jacquev6/TestPyGithub/comments/1039845","line":null,"position":null,"updated_at":"2012-03-04T08:35:55Z","id":1039845}]
POST /repos/jacquev6/TestPyGithub/commits/6967a1f8f46e71d93ded1f0dd7c75ddb86d27dea/comments {} {"body": "Comment also created by PyGithub", "path": "ReadMe.md", "line": 1}
201
[('status', '201 Created'), ('x-ratelimit-remaining', '4946'), ('content-length', '701'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"92f86d0e24f5f91b29a21c3202fc52d9"'), ('date', 'Sun, 04 Mar 2012 08:35:57 GMT'), ('content-type', 'application/json; charset=utf-8'), ('location', 'https://api.github.com/repos/jacquev6/TestPyGithub/comments/1039846')]
{"updated_at":"2012-03-04T08:35:57Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"jacquev6","url":"https://api.github.com/users/jacquev6","id":327146},"commit_id":"6967a1f8f46e71d93ded1f0dd7c75ddb86d27dea","url":"https://api.github.com/repos/jacquev6/TestPyGithub/comments/1039846","created_at":"2012-03-04T08:35:57Z","position":null,"html_url":"https://github.com/jacquev6/TestPyGithub/commit/6967a1f8f4#commitcomment-1039846","path":"ReadMe.md","line":1,"id":1039846,"body":"Comment also created by PyGithub"}
GET /repos/jacquev6/TestPyGithub/commits/6967a1f8f46e71d93ded1f0dd7c75ddb86d27dea/comments {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4945'), ('content-length', '4195'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"518bbf50ee3ba2d4d945e3acd5f6893d"'), ('date', 'Sun, 04 Mar 2012 08:35:57 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"html_url":"https://github.com/jacquev6/TestPyGithub/commit/6967a1f8f4#commitcomment-1039835","updated_at":"2012-03-04T08:32:17Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","id":327146},"commit_id":"6967a1f8f46e71d93ded1f0dd7c75ddb86d27dea","url":"https://api.github.com/repos/jacquev6/TestPyGithub/comments/1039835","created_at":"2012-03-04T08:32:17Z","position":null,"path":"ReadMe.md","line":1,"id":1039835,"body":"Comment also created by PyGithub"},{"html_url":"https://github.com/jacquev6/TestPyGithub/commit/6967a1f8f4#commitcomment-1039839","updated_at":"2012-03-04T08:33:53Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","id":327146},"commit_id":"6967a1f8f46e71d93ded1f0dd7c75ddb86d27dea","url":"https://api.github.com/repos/jacquev6/TestPyGithub/comments/1039839","created_at":"2012-03-04T08:33:53Z","position":null,"path":"ReadMe.md","line":1,"id":1039839,"body":"Comment also created by PyGithub"},{"html_url":"https://github.com/jacquev6/TestPyGithub/commit/6967a1f8f4#commitcomment-1039842","updated_at":"2012-03-04T08:34:49Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","id":327146},"commit_id":"6967a1f8f46e71d93ded1f0dd7c75ddb86d27dea","url":"https://api.github.com/repos/jacquev6/TestPyGithub/comments/1039842","created_at":"2012-03-04T08:34:49Z","position":null,"path":null,"line":null,"id":1039842,"body":"Comment created by PyGithub"},{"html_url":"https://github.com/jacquev6/TestPyGithub/commit/6967a1f8f4#commitcomment-1039843","updated_at":"2012-03-04T08:34:50Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","id":327146},"commit_id":"6967a1f8f46e71d93ded1f0dd7c75ddb86d27dea","url":"https://api.github.com/repos/jacquev6/TestPyGithub/comments/1039843","created_at":"2012-03-04T08:34:50Z","position":null,"path":"ReadMe.md","line":1,"id":1039843,"body":"Comment also created by PyGithub"},{"html_url":"https://github.com/jacquev6/TestPyGithub/commit/6967a1f8f4#commitcomment-1039845","updated_at":"2012-03-04T08:35:55Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","id":327146},"commit_id":"6967a1f8f46e71d93ded1f0dd7c75ddb86d27dea","url":"https://api.github.com/repos/jacquev6/TestPyGithub/comments/1039845","created_at":"2012-03-04T08:35:55Z","position":null,"path":null,"line":null,"id":1039845,"body":"Comment created by PyGithub"},{"html_url":"https://github.com/jacquev6/TestPyGithub/commit/6967a1f8f4#commitcomment-1039846","updated_at":"2012-03-04T08:35:57Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","id":327146},"commit_id":"6967a1f8f46e71d93ded1f0dd7c75ddb86d27dea","url":"https://api.github.com/repos/jacquev6/TestPyGithub/comments/1039846","created_at":"2012-03-04T08:35:57Z","position":null,"path":"ReadMe.md","line":1,"id":1039846,"body":"Comment also created by PyGithub"}]
DELETE /repos/jacquev6/TestPyGithub/comments/1039846 {} null
204
[('status', '204 No Content'), ('x-ratelimit-remaining', '4944'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d41d8cd98f00b204e9800998ecf8427e"'), ('date', 'Sun, 04 Mar 2012 08:35:58 GMT')]
PATCH /repos/jacquev6/TestPyGithub/comments/1039845 {} {"body": "Comment edited by PyGithub"}
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4943'), ('content-length', '691'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"282c88301c6c5105e7f32ebb5b1f9df1"'), ('date', 'Sun, 04 Mar 2012 08:35:59 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"updated_at":"2012-03-04T08:35:59Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"jacquev6","url":"https://api.github.com/users/jacquev6","id":327146},"commit_id":"6967a1f8f46e71d93ded1f0dd7c75ddb86d27dea","url":"https://api.github.com/repos/jacquev6/TestPyGithub/comments/1039845","created_at":"2012-03-04T08:35:55Z","position":null,"html_url":"https://github.com/jacquev6/TestPyGithub/commit/6967a1f8f4#commitcomment-1039845","path":null,"line":null,"id":1039845,"body":"Comment edited by PyGithub"}
GET /repos/jacquev6/TestPyGithub/commits/6967a1f8f46e71d93ded1f0dd7c75ddb86d27dea/comments {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4942'), ('content-length', '3492'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"3c76a352d7afa4de2e354423d44f4b56"'), ('date', 'Sun, 04 Mar 2012 08:35:59 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"updated_at":"2012-03-04T08:32:17Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"jacquev6","url":"https://api.github.com/users/jacquev6","id":327146},"commit_id":"6967a1f8f46e71d93ded1f0dd7c75ddb86d27dea","url":"https://api.github.com/repos/jacquev6/TestPyGithub/comments/1039835","created_at":"2012-03-04T08:32:17Z","position":null,"html_url":"https://github.com/jacquev6/TestPyGithub/commit/6967a1f8f4#commitcomment-1039835","path":"ReadMe.md","line":1,"id":1039835,"body":"Comment also created by PyGithub"},{"updated_at":"2012-03-04T08:33:53Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"jacquev6","url":"https://api.github.com/users/jacquev6","id":327146},"commit_id":"6967a1f8f46e71d93ded1f0dd7c75ddb86d27dea","url":"https://api.github.com/repos/jacquev6/TestPyGithub/comments/1039839","created_at":"2012-03-04T08:33:53Z","position":null,"html_url":"https://github.com/jacquev6/TestPyGithub/commit/6967a1f8f4#commitcomment-1039839","path":"ReadMe.md","line":1,"id":1039839,"body":"Comment also created by PyGithub"},{"updated_at":"2012-03-04T08:34:49Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"jacquev6","url":"https://api.github.com/users/jacquev6","id":327146},"commit_id":"6967a1f8f46e71d93ded1f0dd7c75ddb86d27dea","url":"https://api.github.com/repos/jacquev6/TestPyGithub/comments/1039842","created_at":"2012-03-04T08:34:49Z","position":null,"html_url":"https://github.com/jacquev6/TestPyGithub/commit/6967a1f8f4#commitcomment-1039842","path":null,"line":null,"id":1039842,"body":"Comment created by PyGithub"},{"updated_at":"2012-03-04T08:34:50Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"jacquev6","url":"https://api.github.com/users/jacquev6","id":327146},"commit_id":"6967a1f8f46e71d93ded1f0dd7c75ddb86d27dea","url":"https://api.github.com/repos/jacquev6/TestPyGithub/comments/1039843","created_at":"2012-03-04T08:34:50Z","position":null,"html_url":"https://github.com/jacquev6/TestPyGithub/commit/6967a1f8f4#commitcomment-1039843","path":"ReadMe.md","line":1,"id":1039843,"body":"Comment also created by PyGithub"},{"updated_at":"2012-03-04T08:35:59Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"jacquev6","url":"https://api.github.com/users/jacquev6","id":327146},"commit_id":"6967a1f8f46e71d93ded1f0dd7c75ddb86d27dea","url":"https://api.github.com/repos/jacquev6/TestPyGithub/comments/1039845","created_at":"2012-03-04T08:35:55Z","position":null,"html_url":"https://github.com/jacquev6/TestPyGithub/commit/6967a1f8f4#commitcomment-1039845","path":null,"line":null,"id":1039845,"body":"Comment edited by PyGithub"}]
@@ -1,20 +0,0 @@
GET /orgs/BeaverSoftware {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4960'), ('content-length', '714'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"8290675d07eecaf4d9610721da1c1bf2"'), ('date', 'Sat, 03 Mar 2012 07:53:17 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"disk_usage":0,"type":"Organization","total_private_repos":0,"following":0,"html_url":"https://github.com/BeaverSoftware","blog":null,"login":"BeaverSoftware","owned_private_repos":0,"billing_email":"BeaverSoftware@vincent-jacques.net","plan":{"private_repos":0,"name":"free","space":307200},"public_gists":0,"location":"Paris, France","public_repos":1,"company":null,"avatar_url":"https://secure.gravatar.com/avatar/d563e337cac2fdc644e2aaaad1e23266?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","private_gists":0,"url":"https://api.github.com/orgs/BeaverSoftware","created_at":"2012-02-09T19:20:12Z","name":null,"email":null,"collaborators":0,"id":1424031,"followers":0}
GET /user {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4959'), ('content-length', '801'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"90e781e59d3daef52b36b404ee56f0ff"'), ('date', 'Sat, 03 Mar 2012 07:53:18 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"disk_usage":17368,"type":"User","bio":"","gravatar_id":"b68de5ae38616c296fa345d2b9df2225","total_private_repos":5,"following":24,"avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"jacquev6","public_gists":4,"owned_private_repos":5,"private_gists":2,"plan":{"private_repos":5,"name":"micro","collaborators":1,"space":614400},"location":"Paris, France","public_repos":17,"company":"Criteo","url":"https://api.github.com/users/jacquev6","html_url":"https://github.com/jacquev6","created_at":"2010-07-09T06:10:06Z","name":"Vincent Jacques","blog":"http://vincent-jacques.net","email":"vincent@vincent-jacques.net","collaborators":0,"hireable":false,"id":327146,"followers":12}
GET /repos/jacquev6/TestPyGithub {} null
200
[('status', '200 OK'), ('content-length', '1066'), ('x-ratelimit-remaining', '4958'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"b2d6ee284273f92a3ca25d2b305b3c6d"'), ('date', 'Sat, 03 Mar 2012 07:53:18 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"git_url":"git://github.com/jacquev6/TestPyGithub.git","homepage":"http://vincent-jacques.net/PyGithub","forks":1,"svn_url":"https://github.com/jacquev6/TestPyGithub","created_at":"2012-03-03T07:41:19Z","owner":{"url":"https://api.github.com/users/jacquev6","gravatar_id":"b68de5ae38616c296fa345d2b9df2225","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","id":327146,"login":"jacquev6"},"html_url":"https://github.com/jacquev6/TestPyGithub","has_wiki":true,"language":null,"clone_url":"https://github.com/jacquev6/TestPyGithub.git","open_issues":0,"url":"https://api.github.com/repos/jacquev6/TestPyGithub","watchers":0,"pushed_at":"2012-03-03T07:43:16Z","description":"Guinea-pig for PyGithub testing","fork":false,"size":84,"ssh_url":"git@github.com:jacquev6/TestPyGithub.git","updated_at":"2012-03-03T07:43:30Z","name":"TestPyGithub","private":false,"has_downloads":true,"id":3609314,"mirror_url":null,"has_issues":true,"master_branch":null}
POST /repos/jacquev6/TestPyGithub/forks?org=BeaverSoftware {} null
202
[('status', '202 Accepted'), ('x-ratelimit-remaining', '4957'), ('content-length', '3594'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"ab518650c1254abf0bb465f76c723433"'), ('date', 'Sat, 03 Mar 2012 07:53:19 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"watchers":1,"pushed_at":"2012-03-03T07:43:16Z","html_url":"https://github.com/BeaverSoftware/TestPyGithub","source":{"watchers":1,"pushed_at":"2012-03-03T07:43:16Z","html_url":"https://github.com/jacquev6/TestPyGithub","homepage":"http://vincent-jacques.net/PyGithub","has_downloads":true,"has_issues":true,"master_branch":null,"updated_at":"2012-03-03T07:53:19Z","forks":2,"fork":false,"git_url":"git://github.com/jacquev6/TestPyGithub.git","svn_url":"https://github.com/jacquev6/TestPyGithub","language":null,"private":false,"size":84,"has_wiki":true,"url":"https://api.github.com/repos/jacquev6/TestPyGithub","created_at":"2012-03-03T07:41:19Z","owner":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"jacquev6","url":"https://api.github.com/users/jacquev6","id":327146},"name":"TestPyGithub","clone_url":"https://github.com/jacquev6/TestPyGithub.git","mirror_url":null,"id":3609314,"ssh_url":"git@github.com:jacquev6/TestPyGithub.git","description":"Guinea-pig for PyGithub testing","open_issues":0},"homepage":"http://vincent-jacques.net/PyGithub","has_downloads":true,"parent":{"watchers":1,"pushed_at":"2012-03-03T07:43:16Z","html_url":"https://github.com/jacquev6/TestPyGithub","homepage":"http://vincent-jacques.net/PyGithub","has_downloads":true,"has_issues":true,"master_branch":null,"updated_at":"2012-03-03T07:53:19Z","forks":2,"fork":false,"git_url":"git://github.com/jacquev6/TestPyGithub.git","svn_url":"https://github.com/jacquev6/TestPyGithub","language":null,"private":false,"size":84,"has_wiki":true,"url":"https://api.github.com/repos/jacquev6/TestPyGithub","created_at":"2012-03-03T07:41:19Z","owner":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"jacquev6","url":"https://api.github.com/users/jacquev6","id":327146},"name":"TestPyGithub","clone_url":"https://github.com/jacquev6/TestPyGithub.git","mirror_url":null,"id":3609314,"ssh_url":"git@github.com:jacquev6/TestPyGithub.git","description":"Guinea-pig for PyGithub testing","open_issues":0},"has_issues":false,"master_branch":null,"updated_at":"2012-03-03T07:53:19Z","organization":{"gravatar_id":"d563e337cac2fdc644e2aaaad1e23266","avatar_url":"https://secure.gravatar.com/avatar/d563e337cac2fdc644e2aaaad1e23266?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","login":"BeaverSoftware","url":"https://api.github.com/users/BeaverSoftware","id":1424031},"forks":0,"fork":true,"git_url":"git://github.com/BeaverSoftware/TestPyGithub.git","svn_url":"https://github.com/BeaverSoftware/TestPyGithub","language":null,"private":false,"size":84,"has_wiki":true,"url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub","created_at":"2012-03-03T07:53:19Z","owner":{"gravatar_id":"d563e337cac2fdc644e2aaaad1e23266","avatar_url":"https://secure.gravatar.com/avatar/d563e337cac2fdc644e2aaaad1e23266?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","login":"BeaverSoftware","url":"https://api.github.com/users/BeaverSoftware","id":1424031},"name":"TestPyGithub","clone_url":"https://github.com/BeaverSoftware/TestPyGithub.git","mirror_url":null,"id":3609352,"ssh_url":"git@github.com:BeaverSoftware/TestPyGithub.git","description":"Guinea-pig for PyGithub testing","open_issues":0}
@@ -1,20 +0,0 @@
GET /orgs/BeaverSoftware {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4995'), ('content-length', '714'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"4e8827d67e3d9e14b05b3d393b68fdcb"'), ('date', 'Sun, 04 Mar 2012 08:17:12 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"disk_usage":0,"type":"Organization","following":0,"html_url":"https://github.com/BeaverSoftware","login":"BeaverSoftware","public_gists":0,"blog":null,"total_private_repos":0,"private_gists":0,"collaborators":0,"owned_private_repos":0,"billing_email":"BeaverSoftware@vincent-jacques.net","plan":{"name":"free","private_repos":0,"space":307200},"location":"Paris, France","company":null,"avatar_url":"https://secure.gravatar.com/avatar/d563e337cac2fdc644e2aaaad1e23266?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","url":"https://api.github.com/orgs/BeaverSoftware","created_at":"2012-02-09T19:20:12Z","name":null,"email":null,"id":1424031,"public_repos":2,"followers":0}
GET /orgs/BeaverSoftware/repos {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4994'), ('content-length', '2151'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"b47d94ab3eb50cad006b9bfdb8025262"'), ('date', 'Sun, 04 Mar 2012 08:17:13 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"mirror_url":null,"has_downloads":true,"homepage":"","has_issues":true,"master_branch":null,"forks":1,"updated_at":"2012-02-16T21:51:15Z","svn_url":"https://github.com/BeaverSoftware/FatherBeaver","fork":false,"git_url":"git://github.com/BeaverSoftware/FatherBeaver.git","has_wiki":true,"language":null,"private":false,"html_url":"https://github.com/BeaverSoftware/FatherBeaver","size":0,"url":"https://api.github.com/repos/BeaverSoftware/FatherBeaver","ssh_url":"git@github.com:BeaverSoftware/FatherBeaver.git","clone_url":"https://github.com/BeaverSoftware/FatherBeaver.git","created_at":"2012-02-09T19:32:21Z","owner":{"login":"BeaverSoftware","avatar_url":"https://secure.gravatar.com/avatar/d563e337cac2fdc644e2aaaad1e23266?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","url":"https://api.github.com/users/BeaverSoftware","gravatar_id":"d563e337cac2fdc644e2aaaad1e23266","id":1424031},"name":"FatherBeaver","open_issues":0,"id":3400397,"description":"","watchers":2,"pushed_at":null},{"mirror_url":null,"has_downloads":true,"homepage":"http://vincent-jacques.net/PyGithub","has_issues":false,"master_branch":null,"forks":0,"updated_at":"2012-03-03T08:57:40Z","svn_url":"https://github.com/BeaverSoftware/TestPyGithub","fork":true,"git_url":"git://github.com/BeaverSoftware/TestPyGithub.git","has_wiki":true,"language":null,"private":false,"html_url":"https://github.com/BeaverSoftware/TestPyGithub","size":112,"url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub","ssh_url":"git@github.com:BeaverSoftware/TestPyGithub.git","clone_url":"https://github.com/BeaverSoftware/TestPyGithub.git","created_at":"2012-03-03T07:53:19Z","owner":{"login":"BeaverSoftware","avatar_url":"https://secure.gravatar.com/avatar/d563e337cac2fdc644e2aaaad1e23266?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","url":"https://api.github.com/users/BeaverSoftware","gravatar_id":"d563e337cac2fdc644e2aaaad1e23266","id":1424031},"name":"TestPyGithub","open_issues":0,"id":3609352,"description":"Guinea-pig for PyGithub testing","watchers":1,"pushed_at":"2012-03-03T08:57:40Z"}]
POST /orgs/BeaverSoftware/repos {} {"has_wiki": false, "name": "CreatedByPyGithub"}
201
[('status', '201 Created'), ('x-ratelimit-remaining', '4993'), ('content-length', '1397'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"5209d4d802f3675ad41695562be67a36"'), ('date', 'Sun, 04 Mar 2012 08:17:14 GMT'), ('content-type', 'application/json; charset=utf-8'), ('location', 'https://api.github.com/repos/BeaverSoftware/CreatedByPyGithub')]
{"organization":{"login":"BeaverSoftware","avatar_url":"https://secure.gravatar.com/avatar/d563e337cac2fdc644e2aaaad1e23266?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","url":"https://api.github.com/users/BeaverSoftware","gravatar_id":"d563e337cac2fdc644e2aaaad1e23266","id":1424031},"mirror_url":null,"has_downloads":true,"homepage":null,"has_issues":true,"master_branch":null,"forks":1,"updated_at":"2012-03-04T08:17:14Z","svn_url":"https://github.com/BeaverSoftware/CreatedByPyGithub","fork":false,"git_url":"git://github.com/BeaverSoftware/CreatedByPyGithub.git","has_wiki":false,"language":null,"private":false,"html_url":"https://github.com/BeaverSoftware/CreatedByPyGithub","size":0,"url":"https://api.github.com/repos/BeaverSoftware/CreatedByPyGithub","ssh_url":"git@github.com:BeaverSoftware/CreatedByPyGithub.git","clone_url":"https://github.com/BeaverSoftware/CreatedByPyGithub.git","created_at":"2012-03-04T08:17:14Z","owner":{"login":"BeaverSoftware","avatar_url":"https://secure.gravatar.com/avatar/d563e337cac2fdc644e2aaaad1e23266?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","url":"https://api.github.com/users/BeaverSoftware","gravatar_id":"d563e337cac2fdc644e2aaaad1e23266","id":1424031},"name":"CreatedByPyGithub","open_issues":0,"id":3616888,"description":null,"watchers":1,"pushed_at":null}
GET /orgs/BeaverSoftware/repos {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4992'), ('content-length', '3223'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"c9a3f6dbd4ef4baea140d60cfd872ed0"'), ('date', 'Sun, 04 Mar 2012 08:17:14 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"watchers":2,"pushed_at":null,"html_url":"https://github.com/BeaverSoftware/FatherBeaver","homepage":"","has_downloads":true,"mirror_url":null,"has_issues":true,"master_branch":null,"updated_at":"2012-02-16T21:51:15Z","git_url":"git://github.com/BeaverSoftware/FatherBeaver.git","forks":1,"fork":false,"svn_url":"https://github.com/BeaverSoftware/FatherBeaver","language":null,"private":false,"size":0,"has_wiki":true,"url":"https://api.github.com/repos/BeaverSoftware/FatherBeaver","created_at":"2012-02-09T19:32:21Z","owner":{"gravatar_id":"d563e337cac2fdc644e2aaaad1e23266","login":"BeaverSoftware","avatar_url":"https://secure.gravatar.com/avatar/d563e337cac2fdc644e2aaaad1e23266?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","url":"https://api.github.com/users/BeaverSoftware","id":1424031},"name":"FatherBeaver","clone_url":"https://github.com/BeaverSoftware/FatherBeaver.git","id":3400397,"ssh_url":"git@github.com:BeaverSoftware/FatherBeaver.git","description":"","open_issues":0},{"watchers":1,"pushed_at":"2012-03-03T08:57:40Z","html_url":"https://github.com/BeaverSoftware/TestPyGithub","homepage":"http://vincent-jacques.net/PyGithub","has_downloads":true,"mirror_url":null,"has_issues":false,"master_branch":null,"updated_at":"2012-03-03T08:57:40Z","git_url":"git://github.com/BeaverSoftware/TestPyGithub.git","forks":0,"fork":true,"svn_url":"https://github.com/BeaverSoftware/TestPyGithub","language":null,"private":false,"size":112,"has_wiki":true,"url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub","created_at":"2012-03-03T07:53:19Z","owner":{"gravatar_id":"d563e337cac2fdc644e2aaaad1e23266","login":"BeaverSoftware","avatar_url":"https://secure.gravatar.com/avatar/d563e337cac2fdc644e2aaaad1e23266?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","url":"https://api.github.com/users/BeaverSoftware","id":1424031},"name":"TestPyGithub","clone_url":"https://github.com/BeaverSoftware/TestPyGithub.git","id":3609352,"ssh_url":"git@github.com:BeaverSoftware/TestPyGithub.git","description":"Guinea-pig for PyGithub testing","open_issues":0},{"watchers":1,"pushed_at":null,"html_url":"https://github.com/BeaverSoftware/CreatedByPyGithub","homepage":null,"has_downloads":true,"mirror_url":null,"has_issues":true,"master_branch":null,"updated_at":"2012-03-04T08:17:14Z","git_url":"git://github.com/BeaverSoftware/CreatedByPyGithub.git","forks":1,"fork":false,"svn_url":"https://github.com/BeaverSoftware/CreatedByPyGithub","language":null,"private":false,"size":0,"has_wiki":false,"url":"https://api.github.com/repos/BeaverSoftware/CreatedByPyGithub","created_at":"2012-03-04T08:17:14Z","owner":{"gravatar_id":"d563e337cac2fdc644e2aaaad1e23266","login":"BeaverSoftware","avatar_url":"https://secure.gravatar.com/avatar/d563e337cac2fdc644e2aaaad1e23266?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","url":"https://api.github.com/users/BeaverSoftware","id":1424031},"name":"CreatedByPyGithub","clone_url":"https://github.com/BeaverSoftware/CreatedByPyGithub.git","id":3616888,"ssh_url":"git@github.com:BeaverSoftware/CreatedByPyGithub.git","description":null,"open_issues":0}]
File diff suppressed because one or more lines are too long
@@ -1,40 +0,0 @@
GET /user {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4952'), ('content-length', '801'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"af60c5219a9f43db638a8829ef34dd06"'), ('date', 'Sun, 04 Mar 2012 09:21:33 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"disk_usage":17432,"type":"User","gravatar_id":"b68de5ae38616c296fa345d2b9df2225","public_gists":1,"following":24,"html_url":"https://github.com/jacquev6","bio":"","login":"jacquev6","private_gists":2,"avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","collaborators":0,"plan":{"collaborators":1,"name":"micro","private_repos":5,"space":614400},"location":"Paris, France","company":"Criteo","blog":"http://vincent-jacques.net","url":"https://api.github.com/users/jacquev6","total_private_repos":5,"created_at":"2010-07-09T06:10:06Z","name":"Vincent Jacques","email":"vincent@vincent-jacques.net","public_repos":16,"id":327146,"owned_private_repos":5,"followers":12,"hireable":false}
GET /repos/jacquev6/TestPyGithub {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4951'), ('content-length', '1067'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"affc476c2c09dd57c385f29030068b94"'), ('date', 'Sun, 04 Mar 2012 09:21:34 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"watchers":1,"pushed_at":"2012-03-03T07:43:16Z","homepage":"http://vincent-jacques.net/PyGithub","has_downloads":true,"has_issues":true,"master_branch":null,"updated_at":"2012-03-03T07:53:19Z","forks":2,"fork":false,"svn_url":"https://github.com/jacquev6/TestPyGithub","mirror_url":null,"language":null,"private":false,"git_url":"git://github.com/jacquev6/TestPyGithub.git","size":84,"has_wiki":true,"url":"https://api.github.com/repos/jacquev6/TestPyGithub","html_url":"https://github.com/jacquev6/TestPyGithub","created_at":"2012-03-03T07:41:19Z","owner":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","id":327146},"name":"TestPyGithub","clone_url":"https://github.com/jacquev6/TestPyGithub.git","id":3609314,"ssh_url":"git@github.com:jacquev6/TestPyGithub.git","description":"Guinea-pig for PyGithub testing","open_issues":16}
GET /repos/jacquev6/TestPyGithub/downloads {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4950'), ('content-length', '2'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d751713988987e9331980363e24189ce"'), ('date', 'Sun, 04 Mar 2012 09:21:35 GMT'), ('content-type', 'application/json; charset=utf-8')]
[]
POST /repos/jacquev6/TestPyGithub/downloads {} {"name": "DownloadCreatedByPyGithub.txt", "size": 1024}
201
[('status', '201 Created'), ('x-ratelimit-remaining', '4949'), ('content-length', '1174'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"451d8bbe00a984a32935496084f0260a"'), ('date', 'Sun, 04 Mar 2012 09:21:35 GMT'), ('content-type', 'application/json; charset=utf-8'), ('location', 'https://api.github.com/repos/jacquev6/TestPyGithub/downloads/199118')]
{"s3_url":"https://github.s3.amazonaws.com/","signature":"4NbFHuOl1FCXyq0YDumbMQPlY9Q=","acl":"public-read","accesskeyid":"1DWESVTPGHQVTX38V182","redirect":false,"policy":"ewogICAgJ2V4cGlyYXRpb24nOiAnMjExMi0wMy0wNFQwOToyMTozNS4wMDBaJywKICAgICdjb25kaXRpb25zJzogWwogICAgICAgIHsnYnVja2V0JzogJ2dpdGh1Yid9LAogICAgICAgIHsna2V5JzogJ2Rvd25sb2Fkcy9qYWNxdWV2Ni9UZXN0UHlHaXRodWIvRG93bmxvYWRDcmVhdGVkQnlQeUdpdGh1Yi50eHQnfSwKICAgICAgICB7J2FjbCc6ICdwdWJsaWMtcmVhZCd9LAogICAgICAgIHsnc3VjY2Vzc19hY3Rpb25fc3RhdHVzJzogJzIwMSd9LAogICAgICAgIFsnc3RhcnRzLXdpdGgnLCAnJEZpbGVuYW1lJywgJyddLAogICAgICAgIFsnc3RhcnRzLXdpdGgnLCAnJENvbnRlbnQtVHlwZScsICcnXQogICAgXQp9","mime_type":"text/plain","prefix":"downloads/jacquev6/TestPyGithub","content_type":"text/plain","bucket":"github","size":1024,"html_url":"https://github.com/downloads/jacquev6/TestPyGithub/DownloadCreatedByPyGithub.txt","url":"https://api.github.com/repos/jacquev6/TestPyGithub/downloads/199118","expirationdate":"2112-03-04T09:21:35.000Z","created_at":"2012-03-04T09:21:35Z","name":"DownloadCreatedByPyGithub.txt","path":"downloads/jacquev6/TestPyGithub/DownloadCreatedByPyGithub.txt","id":199118,"download_count":0,"description":null}
GET /repos/jacquev6/TestPyGithub/downloads {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4948'), ('content-length', '338'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"721bf9ef9c6c23a9d9535172e9166b22"'), ('date', 'Sun, 04 Mar 2012 09:21:36 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"download_count":0,"content_type":"text/plain","size":1024,"url":"https://api.github.com/repos/jacquev6/TestPyGithub/downloads/199118","created_at":"2012-03-04T09:21:35Z","name":"DownloadCreatedByPyGithub.txt","html_url":"https://github.com/downloads/jacquev6/TestPyGithub/DownloadCreatedByPyGithub.txt","id":199118,"description":null}]
GET /repos/jacquev6/TestPyGithub/downloads/199118 {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4947'), ('content-length', '336'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d2bf872f9be7d3aa54527be83be3131a"'), ('date', 'Sun, 04 Mar 2012 09:21:36 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"download_count":0,"html_url":"https://github.com/downloads/jacquev6/TestPyGithub/DownloadCreatedByPyGithub.txt","content_type":"text/plain","size":1024,"url":"https://api.github.com/repos/jacquev6/TestPyGithub/downloads/199118","created_at":"2012-03-04T09:21:35Z","name":"DownloadCreatedByPyGithub.txt","id":199118,"description":null}
DELETE /repos/jacquev6/TestPyGithub/downloads/199118 {} null
204
[('status', '204 No Content'), ('x-ratelimit-remaining', '4946'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d41d8cd98f00b204e9800998ecf8427e"'), ('date', 'Sun, 04 Mar 2012 09:21:39 GMT')]
GET /repos/jacquev6/TestPyGithub/downloads {} null
200
[('status', '200 OK'), ('content-length', '2'), ('x-ratelimit-remaining', '4945'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d751713988987e9331980363e24189ce"'), ('date', 'Sun, 04 Mar 2012 09:21:40 GMT'), ('content-type', 'application/json; charset=utf-8')]
[]
@@ -1,15 +0,0 @@
GET /user {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4980'), ('x-ratelimit-limit', '5000'), ('content-length', '801'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('etag', '"b20002247c9333d5a126bde09e47f03f"'), ('date', 'Thu, 01 Mar 2012 19:36:16 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"owned_private_repos":5,"type":"User","private_gists":2,"created_at":"2010-07-09T06:10:06Z","location":"Paris, France","plan":{"private_repos":5,"collaborators":1,"name":"micro","space":614400},"company":"Criteo","collaborators":0,"followers":12,"email":"vincent@vincent-jacques.net","hireable":false,"url":"https://api.github.com/users/jacquev6","blog":"http://vincent-jacques.net","bio":"","following":24,"html_url":"https://github.com/jacquev6","name":"Vincent Jacques","total_private_repos":5,"disk_usage":17252,"public_repos":15,"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","id":327146,"public_gists":4,"login":"jacquev6"}
PATCH /user {} {"name": "Vincent Jacques (edited by PyGithub)"}
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4979'), ('content-length', '822'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"88b4716a95aef77621acb9cd30e6f7da"'), ('date', 'Thu, 01 Mar 2012 19:36:17 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"private_gists":2,"disk_usage":17252,"collaborators":0,"type":"User","gravatar_id":"b68de5ae38616c296fa345d2b9df2225","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","public_repos":15,"following":24,"hireable":false,"login":"jacquev6","bio":"","total_private_repos":5,"plan":{"collaborators":1,"private_repos":5,"name":"micro","space":614400},"html_url":"https://github.com/jacquev6","location":"Paris, France","company":"Criteo","owned_private_repos":5,"url":"https://api.github.com/users/jacquev6","created_at":"2010-07-09T06:10:06Z","name":"Vincent Jacques (edited by PyGithub)","email":"vincent@vincent-jacques.net","public_gists":4,"id":327146,"followers":12,"blog":"http://vincent-jacques.net"}
PATCH /user {} {"name": "Vincent Jacques"}
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4978'), ('content-length', '801'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"12f25f2f0113a8271ea9a607f2347ee9"'), ('date', 'Thu, 01 Mar 2012 19:36:17 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"disk_usage":17252,"type":"User","gravatar_id":"b68de5ae38616c296fa345d2b9df2225","following":24,"bio":"","login":"jacquev6","blog":"http://vincent-jacques.net","total_private_repos":5,"owned_private_repos":5,"plan":{"private_repos":5,"name":"micro","collaborators":1,"space":614400},"html_url":"https://github.com/jacquev6","location":"Paris, France","company":"Criteo","url":"https://api.github.com/users/jacquev6","public_repos":15,"public_gists":4,"created_at":"2010-07-09T06:10:06Z","name":"Vincent Jacques","email":"vincent@vincent-jacques.net","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","id":327146,"private_gists":2,"collaborators":0,"followers":12,"hireable":false}
@@ -1,15 +0,0 @@
GET /orgs/BeaverSoftware {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4892'), ('content-length', '714'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"f73559c0664ec6f30687db3525857aa2"'), ('date', 'Thu, 01 Mar 2012 20:27:24 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"disk_usage":0,"type":"Organization","following":0,"login":"BeaverSoftware","public_gists":0,"private_gists":0,"public_repos":2,"billing_email":"BeaverSoftware@vincent-jacques.net","plan":{"private_repos":0,"name":"free","space":307200},"location":"Paris, France","company":null,"avatar_url":"https://secure.gravatar.com/avatar/d563e337cac2fdc644e2aaaad1e23266?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","collaborators":0,"url":"https://api.github.com/orgs/BeaverSoftware","total_private_repos":0,"html_url":"https://github.com/BeaverSoftware","created_at":"2012-02-09T19:20:12Z","name":null,"blog":null,"email":null,"id":1424031,"owned_private_repos":0,"followers":0}
PATCH /orgs/BeaverSoftware {} {"name": "None (edited by PyGithub)"}
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4891'), ('content-length', '737'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"e102f7d1ea751894fb3857442d8e77fd"'), ('date', 'Thu, 01 Mar 2012 20:27:25 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"disk_usage":0,"public_repos":2,"type":"Organization","avatar_url":"https://secure.gravatar.com/avatar/d563e337cac2fdc644e2aaaad1e23266?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","following":0,"html_url":"https://github.com/BeaverSoftware","blog":null,"login":"BeaverSoftware","billing_email":"BeaverSoftware@vincent-jacques.net","plan":{"private_repos":0,"name":"free","space":307200},"public_gists":0,"location":"Paris, France","company":null,"private_gists":0,"url":"https://api.github.com/orgs/BeaverSoftware","total_private_repos":0,"created_at":"2012-02-09T19:20:12Z","name":"None (edited by PyGithub)","email":null,"collaborators":0,"id":1424031,"owned_private_repos":0,"followers":0}
PATCH /orgs/BeaverSoftware {} {"name": null}
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4890'), ('content-length', '714'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"5254dae932bd5b18fc04d2610ab4189b"'), ('date', 'Thu, 01 Mar 2012 20:27:25 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"plan":{"name":"free","private_repos":0,"space":307200},"type":"Organization","blog":null,"collaborators":0,"following":0,"login":"BeaverSoftware","billing_email":"BeaverSoftware@vincent-jacques.net","public_repos":2,"location":"Paris, France","public_gists":0,"company":null,"total_private_repos":0,"html_url":"https://github.com/BeaverSoftware","avatar_url":"https://secure.gravatar.com/avatar/d563e337cac2fdc644e2aaaad1e23266?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","url":"https://api.github.com/orgs/BeaverSoftware","private_gists":0,"created_at":"2012-02-09T19:20:12Z","name":null,"email":null,"owned_private_repos":0,"disk_usage":0,"followers":0,"id":1424031}
@@ -1,195 +0,0 @@
GET /orgs/BeaverSoftware {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4991'), ('content-length', '714'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"cfa759042dc02a332d2c8163b4a36f8c"'), ('date', 'Sun, 04 Mar 2012 09:17:58 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"disk_usage":0,"type":"Organization","following":0,"avatar_url":"https://secure.gravatar.com/avatar/d563e337cac2fdc644e2aaaad1e23266?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","login":"BeaverSoftware","public_gists":0,"public_repos":2,"private_gists":0,"billing_email":"BeaverSoftware@vincent-jacques.net","plan":{"private_repos":0,"name":"free","space":307200},"blog":null,"location":"Paris, France","collaborators":0,"company":null,"total_private_repos":0,"url":"https://api.github.com/orgs/BeaverSoftware","html_url":"https://github.com/BeaverSoftware","created_at":"2012-02-09T19:20:12Z","name":null,"email":null,"owned_private_repos":0,"id":1424031,"followers":0}
GET /repos/BeaverSoftware/TestPyGithub {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4990'), ('content-length', '3597'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"52dde0bcd87fbe4570605c46795ed151"'), ('date', 'Sun, 04 Mar 2012 09:17:59 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"watchers":1,"pushed_at":"2012-03-03T08:57:40Z","html_url":"https://github.com/BeaverSoftware/TestPyGithub","source":{"watchers":1,"pushed_at":"2012-03-03T07:43:16Z","html_url":"https://github.com/jacquev6/TestPyGithub","homepage":"http://vincent-jacques.net/PyGithub","has_downloads":true,"mirror_url":null,"has_issues":true,"master_branch":null,"updated_at":"2012-03-03T07:53:19Z","git_url":"git://github.com/jacquev6/TestPyGithub.git","forks":2,"fork":false,"svn_url":"https://github.com/jacquev6/TestPyGithub","language":null,"private":false,"size":84,"has_wiki":true,"url":"https://api.github.com/repos/jacquev6/TestPyGithub","created_at":"2012-03-03T07:41:19Z","owner":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","id":327146},"name":"TestPyGithub","clone_url":"https://github.com/jacquev6/TestPyGithub.git","id":3609314,"ssh_url":"git@github.com:jacquev6/TestPyGithub.git","description":"Guinea-pig for PyGithub testing","open_issues":16},"homepage":"http://vincent-jacques.net/PyGithub","has_downloads":true,"parent":{"watchers":1,"pushed_at":"2012-03-03T07:43:16Z","html_url":"https://github.com/jacquev6/TestPyGithub","homepage":"http://vincent-jacques.net/PyGithub","has_downloads":true,"mirror_url":null,"has_issues":true,"master_branch":null,"updated_at":"2012-03-03T07:53:19Z","git_url":"git://github.com/jacquev6/TestPyGithub.git","forks":2,"fork":false,"svn_url":"https://github.com/jacquev6/TestPyGithub","language":null,"private":false,"size":84,"has_wiki":true,"url":"https://api.github.com/repos/jacquev6/TestPyGithub","created_at":"2012-03-03T07:41:19Z","owner":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","id":327146},"name":"TestPyGithub","clone_url":"https://github.com/jacquev6/TestPyGithub.git","id":3609314,"ssh_url":"git@github.com:jacquev6/TestPyGithub.git","description":"Guinea-pig for PyGithub testing","open_issues":16},"mirror_url":null,"has_issues":false,"master_branch":null,"updated_at":"2012-03-03T08:57:40Z","organization":{"gravatar_id":"d563e337cac2fdc644e2aaaad1e23266","login":"BeaverSoftware","avatar_url":"https://secure.gravatar.com/avatar/d563e337cac2fdc644e2aaaad1e23266?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","url":"https://api.github.com/users/BeaverSoftware","id":1424031},"git_url":"git://github.com/BeaverSoftware/TestPyGithub.git","forks":0,"fork":true,"svn_url":"https://github.com/BeaverSoftware/TestPyGithub","language":null,"private":false,"size":112,"has_wiki":true,"url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub","created_at":"2012-03-03T07:53:19Z","owner":{"gravatar_id":"d563e337cac2fdc644e2aaaad1e23266","login":"BeaverSoftware","avatar_url":"https://secure.gravatar.com/avatar/d563e337cac2fdc644e2aaaad1e23266?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","url":"https://api.github.com/users/BeaverSoftware","id":1424031},"name":"TestPyGithub","clone_url":"https://github.com/BeaverSoftware/TestPyGithub.git","id":3609352,"ssh_url":"git@github.com:BeaverSoftware/TestPyGithub.git","description":"Guinea-pig for PyGithub testing","open_issues":0}
GET /orgs/BeaverSoftware/teams {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4989'), ('content-length', '150'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"43d7c883d1cb7d50a08d2c189550023c"'), ('date', 'Sun, 04 Mar 2012 09:18:00 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"url":"https://api.github.com/teams/141496","name":"Members","id":141496},{"url":"https://api.github.com/teams/141487","name":"Owners","id":141487}]
POST /orgs/BeaverSoftware/teams {} {"name": "PyGithubTesters"}
201
[('status', '201 Created'), ('x-ratelimit-remaining', '4988'), ('content-length', '136'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"9d32da01e6b059472dea93675a1bce8f"'), ('date', 'Sun, 04 Mar 2012 09:18:00 GMT'), ('content-type', 'application/json; charset=utf-8'), ('location', 'https://api.github.com/teams/152420')]
{"repos_count":0,"members_count":0,"url":"https://api.github.com/teams/152420","name":"PyGithubTesters","id":152420,"permission":"pull"}
PATCH /teams/152420 {} {"name": "PyGithubTesters", "permission": "push"}
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4987'), ('content-length', '136'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"43b93490a5778053ee5a048ab08fdb4a"'), ('date', 'Sun, 04 Mar 2012 09:18:01 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"members_count":0,"repos_count":0,"url":"https://api.github.com/teams/152420","name":"PyGithubTesters","id":152420,"permission":"push"}
GET /orgs/BeaverSoftware/teams {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4986'), ('content-length', '233'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"f774b8a588de9a9210f417fe35e7b33a"'), ('date', 'Sun, 04 Mar 2012 09:18:02 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"url":"https://api.github.com/teams/141496","name":"Members","id":141496},{"url":"https://api.github.com/teams/141487","name":"Owners","id":141487},{"url":"https://api.github.com/teams/152420","name":"PyGithubTesters","id":152420}]
GET /users/Lyloa {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4985'), ('content-length', '554'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"4fd4148b4278cb268681c7712aa4cce6"'), ('date', 'Sun, 04 Mar 2012 09:18:02 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"type":"User","blog":null,"hireable":false,"following":0,"login":"Lyloa","bio":null,"location":"Paris","public_gists":0,"company":null,"avatar_url":"https://secure.gravatar.com/avatar/1517ed584458ccf83e03f5d77d9699d7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","html_url":"https://github.com/Lyloa","url":"https://api.github.com/users/Lyloa","gravatar_id":"1517ed584458ccf83e03f5d77d9699d7","created_at":"2011-10-16T14:36:46Z","name":"Lyloa","email":"nyu@lyloa.net","public_repos":0,"followers":1,"id":1131432}
GET /teams/152420/members {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4984'), ('content-length', '2'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d751713988987e9331980363e24189ce"'), ('date', 'Sun, 04 Mar 2012 09:18:03 GMT'), ('content-type', 'application/json; charset=utf-8')]
[]
GET /teams/152420/repos {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4983'), ('content-length', '2'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d751713988987e9331980363e24189ce"'), ('date', 'Sun, 04 Mar 2012 09:18:03 GMT'), ('content-type', 'application/json; charset=utf-8')]
[]
GET /teams/152420/repos/BeaverSoftware/TestPyGithub {} null
404
[('status', '404 Not Found'), ('x-ratelimit-remaining', '4982'), ('content-length', '23'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"e66a7a6c91e2c26803f3f49feb7a883f"'), ('date', 'Sun, 04 Mar 2012 09:18:04 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"message":"Not Found"}
GET /teams/152420/members/Lyloa {} null
404
[('status', '404 Not Found'), ('x-ratelimit-remaining', '4981'), ('content-length', '23'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"e66a7a6c91e2c26803f3f49feb7a883f"'), ('date', 'Sun, 04 Mar 2012 09:18:05 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"message":"Not Found"}
PUT /teams/152420/members/Lyloa {} null
204
[('status', '204 No Content'), ('x-ratelimit-remaining', '4980'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d41d8cd98f00b204e9800998ecf8427e"'), ('date', 'Sun, 04 Mar 2012 09:18:05 GMT')]
PUT /teams/152420/repos/BeaverSoftware/TestPyGithub {} null
204
[('status', '204 No Content'), ('x-ratelimit-remaining', '4979'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d41d8cd98f00b204e9800998ecf8427e"'), ('date', 'Sun, 04 Mar 2012 09:18:06 GMT')]
GET /teams/152420/repos/BeaverSoftware/TestPyGithub {} null
204
[('status', '204 No Content'), ('x-ratelimit-remaining', '4978'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d41d8cd98f00b204e9800998ecf8427e"'), ('date', 'Sun, 04 Mar 2012 09:18:07 GMT')]
GET /teams/152420/members/Lyloa {} null
204
[('status', '204 No Content'), ('x-ratelimit-remaining', '4977'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d41d8cd98f00b204e9800998ecf8427e"'), ('date', 'Sun, 04 Mar 2012 09:18:07 GMT')]
GET /teams/152420/members {} null
200
[('status', '200 OK'), ('content-length', '293'), ('x-ratelimit-remaining', '4976'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"87c656909bfd0ee9970ae3c48f271644"'), ('date', 'Sun, 04 Mar 2012 09:18:08 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"avatar_url":"https://secure.gravatar.com/avatar/1517ed584458ccf83e03f5d77d9699d7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/Lyloa","gravatar_id":"1517ed584458ccf83e03f5d77d9699d7","id":1131432,"login":"Lyloa"}]
GET /teams/152420/repos {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4975'), ('content-length', '1119'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"5f467942afce5564360be34b69cb09cc"'), ('date', 'Sun, 04 Mar 2012 09:18:08 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"watchers":1,"pushed_at":"2012-03-03T08:57:40Z","html_url":"https://github.com/BeaverSoftware/TestPyGithub","homepage":"http://vincent-jacques.net/PyGithub","has_downloads":true,"has_issues":false,"master_branch":null,"updated_at":"2012-03-03T08:57:40Z","forks":0,"fork":true,"svn_url":"https://github.com/BeaverSoftware/TestPyGithub","language":null,"private":false,"git_url":"git://github.com/BeaverSoftware/TestPyGithub.git","size":112,"has_wiki":true,"url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub","created_at":"2012-03-03T07:53:19Z","owner":{"gravatar_id":"d563e337cac2fdc644e2aaaad1e23266","login":"BeaverSoftware","url":"https://api.github.com/users/BeaverSoftware","id":1424031,"avatar_url":"https://secure.gravatar.com/avatar/d563e337cac2fdc644e2aaaad1e23266?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png"},"name":"TestPyGithub","clone_url":"https://github.com/BeaverSoftware/TestPyGithub.git","mirror_url":null,"id":3609352,"ssh_url":"git@github.com:BeaverSoftware/TestPyGithub.git","description":"Guinea-pig for PyGithub testing","open_issues":0}]
GET /orgs/BeaverSoftware/public_members {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4974'), ('content-length', '298'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"4b489b2fa5e52eee15c0302190372870"'), ('date', 'Sun, 04 Mar 2012 09:18:09 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"jacquev6","url":"https://api.github.com/users/jacquev6","id":327146}]
PUT /orgs/BeaverSoftware/public_members/Lyloa {} null
204
[('status', '204 No Content'), ('x-ratelimit-remaining', '4973'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d41d8cd98f00b204e9800998ecf8427e"'), ('date', 'Sun, 04 Mar 2012 09:18:10 GMT')]
GET /orgs/BeaverSoftware/public_members/Lyloa {} null
204
[('status', '204 No Content'), ('x-ratelimit-remaining', '4972'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d41d8cd98f00b204e9800998ecf8427e"'), ('date', 'Sun, 04 Mar 2012 09:18:11 GMT')]
GET /orgs/BeaverSoftware/public_members {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4971'), ('content-length', '590'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"7e2e6a5dc7aa753ebf0443be19feb5c2"'), ('date', 'Sun, 04 Mar 2012 09:18:11 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","gravatar_id":"b68de5ae38616c296fa345d2b9df2225","id":327146},{"login":"Lyloa","avatar_url":"https://secure.gravatar.com/avatar/1517ed584458ccf83e03f5d77d9699d7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/Lyloa","gravatar_id":"1517ed584458ccf83e03f5d77d9699d7","id":1131432}]
DELETE /orgs/BeaverSoftware/public_members/Lyloa {} null
204
[('status', '204 No Content'), ('x-ratelimit-remaining', '4970'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d41d8cd98f00b204e9800998ecf8427e"'), ('date', 'Sun, 04 Mar 2012 09:18:12 GMT')]
GET /orgs/BeaverSoftware/public_members/Lyloa {} null
404
[('status', '404 Not Found'), ('x-ratelimit-remaining', '4969'), ('content-length', '23'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"e66a7a6c91e2c26803f3f49feb7a883f"'), ('date', 'Sun, 04 Mar 2012 09:18:13 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"message":"Not Found"}
GET /orgs/BeaverSoftware/public_members {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4968'), ('content-length', '298'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"0f7fc68f68409b0b3c1fc6958ea0ad7b"'), ('date', 'Sun, 04 Mar 2012 09:18:13 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","id":327146}]
GET /orgs/BeaverSoftware/members {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4967'), ('content-length', '886'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"1c680f8602334d11737f6c7634027131"'), ('date', 'Sun, 04 Mar 2012 09:18:14 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"gravatar_id":"197eed5292fd11c0277335c3524ccfd5","login":"cjuniet","avatar_url":"https://secure.gravatar.com/avatar/197eed5292fd11c0277335c3524ccfd5?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/cjuniet","id":1233553},{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","id":327146},{"gravatar_id":"1517ed584458ccf83e03f5d77d9699d7","login":"Lyloa","avatar_url":"https://secure.gravatar.com/avatar/1517ed584458ccf83e03f5d77d9699d7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/Lyloa","id":1131432}]
GET /orgs/BeaverSoftware/members/Lyloa {} null
204
[('status', '204 No Content'), ('x-ratelimit-remaining', '4966'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d41d8cd98f00b204e9800998ecf8427e"'), ('date', 'Sun, 04 Mar 2012 09:18:14 GMT')]
DELETE /orgs/BeaverSoftware/members/Lyloa {} null
204
[('status', '204 No Content'), ('x-ratelimit-remaining', '4965'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d41d8cd98f00b204e9800998ecf8427e"'), ('date', 'Sun, 04 Mar 2012 09:18:15 GMT')]
GET /orgs/BeaverSoftware/members/Lyloa {} null
403
[('status', '403 Forbidden'), ('x-ratelimit-remaining', '4964'), ('content-length', '37'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"ab43ecb6e2f75e3940aa869edc5ed691"'), ('date', 'Sun, 04 Mar 2012 09:18:16 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"message":"You need to be a member"}
GET /orgs/BeaverSoftware/members {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4963'), ('content-length', '594'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"b8f497b9c5a79bfd8a5671118b39f69c"'), ('date', 'Sun, 04 Mar 2012 09:18:16 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"gravatar_id":"197eed5292fd11c0277335c3524ccfd5","avatar_url":"https://secure.gravatar.com/avatar/197eed5292fd11c0277335c3524ccfd5?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"cjuniet","url":"https://api.github.com/users/cjuniet","id":1233553},{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"jacquev6","url":"https://api.github.com/users/jacquev6","id":327146}]
GET /teams/152420/members {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4962'), ('content-length', '2'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d751713988987e9331980363e24189ce"'), ('date', 'Sun, 04 Mar 2012 09:18:17 GMT'), ('content-type', 'application/json; charset=utf-8')]
[]
GET /teams/152420/repos {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4961'), ('content-length', '1119'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"b76ded2d9b76b2a35d4e997ad18db0ee"'), ('date', 'Sun, 04 Mar 2012 09:18:18 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"watchers":1,"pushed_at":"2012-03-03T08:57:40Z","html_url":"https://github.com/BeaverSoftware/TestPyGithub","homepage":"http://vincent-jacques.net/PyGithub","has_downloads":true,"has_issues":false,"master_branch":null,"updated_at":"2012-03-03T08:57:40Z","forks":0,"fork":true,"svn_url":"https://github.com/BeaverSoftware/TestPyGithub","language":null,"private":false,"size":112,"has_wiki":true,"url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub","created_at":"2012-03-03T07:53:19Z","owner":{"gravatar_id":"d563e337cac2fdc644e2aaaad1e23266","login":"BeaverSoftware","avatar_url":"https://secure.gravatar.com/avatar/d563e337cac2fdc644e2aaaad1e23266?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","url":"https://api.github.com/users/BeaverSoftware","id":1424031},"name":"TestPyGithub","clone_url":"https://github.com/BeaverSoftware/TestPyGithub.git","mirror_url":null,"id":3609352,"git_url":"git://github.com/BeaverSoftware/TestPyGithub.git","ssh_url":"git@github.com:BeaverSoftware/TestPyGithub.git","description":"Guinea-pig for PyGithub testing","open_issues":0}]
DELETE /teams/152420/members/Lyloa {} null
204
[('status', '204 No Content'), ('x-ratelimit-remaining', '4960'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d41d8cd98f00b204e9800998ecf8427e"'), ('date', 'Sun, 04 Mar 2012 09:18:18 GMT')]
DELETE /teams/152420/repos/BeaverSoftware/TestPyGithub {} null
204
[('status', '204 No Content'), ('x-ratelimit-remaining', '4959'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d41d8cd98f00b204e9800998ecf8427e"'), ('date', 'Sun, 04 Mar 2012 09:18:19 GMT')]
GET /teams/152420/repos/BeaverSoftware/TestPyGithub {} null
404
[('status', '404 Not Found'), ('x-ratelimit-remaining', '4958'), ('content-length', '23'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"e66a7a6c91e2c26803f3f49feb7a883f"'), ('date', 'Sun, 04 Mar 2012 09:18:20 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"message":"Not Found"}
GET /teams/152420/members/Lyloa {} null
404
[('status', '404 Not Found'), ('x-ratelimit-remaining', '4957'), ('content-length', '23'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"e66a7a6c91e2c26803f3f49feb7a883f"'), ('date', 'Sun, 04 Mar 2012 09:18:20 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"message":"Not Found"}
GET /teams/152420/members {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4956'), ('content-length', '2'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d751713988987e9331980363e24189ce"'), ('date', 'Sun, 04 Mar 2012 09:18:21 GMT'), ('content-type', 'application/json; charset=utf-8')]
[]
GET /teams/152420/repos {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4955'), ('content-length', '2'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d751713988987e9331980363e24189ce"'), ('date', 'Sun, 04 Mar 2012 09:18:21 GMT'), ('content-type', 'application/json; charset=utf-8')]
[]
DELETE /teams/152420 {} null
204
[('status', '204 No Content'), ('x-ratelimit-remaining', '4954'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d41d8cd98f00b204e9800998ecf8427e"'), ('date', 'Sun, 04 Mar 2012 09:18:22 GMT')]
GET /orgs/BeaverSoftware/teams {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4953'), ('content-length', '150'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"43d7c883d1cb7d50a08d2c189550023c"'), ('date', 'Sun, 04 Mar 2012 09:18:23 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"url":"https://api.github.com/teams/141496","name":"Members","id":141496},{"url":"https://api.github.com/teams/141487","name":"Owners","id":141487}]
-25
View File
@@ -1,25 +0,0 @@
GET /user/emails {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4997'), ('content-length', '64'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"ea6dacf29569317ccf460b4bb07075e5"'), ('date', 'Sat, 03 Mar 2012 10:12:06 GMT'), ('content-type', 'application/json; charset=utf-8')]
["vincent@vincent-jacques.net","github.com@vincent-jacques.net"]
POST /user/emails {} ["ab@xxx.com", "cd@xxx.com"]
201
[('status', '201 Created'), ('x-ratelimit-remaining', '4996'), ('content-length', '90'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"97fc1904c0b7302c11effa23aa4b37d1"'), ('date', 'Sat, 03 Mar 2012 10:12:06 GMT'), ('content-type', 'application/json; charset=utf-8')]
["vincent@vincent-jacques.net","ab@xxx.com","cd@xxx.com","github.com@vincent-jacques.net"]
GET /user/emails {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4995'), ('content-length', '90'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"97fc1904c0b7302c11effa23aa4b37d1"'), ('date', 'Sat, 03 Mar 2012 10:12:07 GMT'), ('content-type', 'application/json; charset=utf-8')]
["vincent@vincent-jacques.net","ab@xxx.com","cd@xxx.com","github.com@vincent-jacques.net"]
DELETE /user/emails {} ["ab@xxx.com", "cd@xxx.com"]
204
[('status', '204 No Content'), ('x-ratelimit-remaining', '4994'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d41d8cd98f00b204e9800998ecf8427e"'), ('date', 'Sat, 03 Mar 2012 10:12:08 GMT')]
GET /user/emails {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4993'), ('content-length', '64'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"ea6dacf29569317ccf460b4bb07075e5"'), ('date', 'Sat, 03 Mar 2012 10:12:08 GMT'), ('content-type', 'application/json; charset=utf-8')]
["vincent@vincent-jacques.net","github.com@vincent-jacques.net"]
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-130
View File
@@ -1,130 +0,0 @@
GET /gists {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4841'), ('content-length', '1871'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"c8780dad88525da2c5b64403f5439d62"'), ('date', 'Sat, 03 Mar 2012 11:52:03 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"files":{"fail_github.py":{"type":"application/python","raw_url":"https://gist.github.com/raw/1942384/2fb3aa84e0efa50dc0f4c18b5df5b7b9ab27076b/fail_github.py","language":"Python","size":1636,"filename":"fail_github.py"}},"git_pull_url":"git://gist.github.com/1942384.git","public":true,"comments":0,"updated_at":"2012-02-29T16:47:12Z","git_push_url":"git@gist.github.com:1942384.git","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","id":327146},"url":"https://api.github.com/gists/1942384","created_at":"2012-02-29T16:47:12Z","html_url":"https://gist.github.com/1942384","id":"1942384","description":"How to error 500 Github API v3, as requested by Rick (GitHub Staff)"},{"files":{"cadfael.txt":{"type":"text/plain","raw_url":"https://gist.github.com/raw/dcb7de17e8a52b74541d/48ca696645682d7430d73180814434e0284796b2/cadfael.txt","language":"Text","size":585,"filename":"cadfael.txt"}},"git_pull_url":"git://gist.github.com/dcb7de17e8a52b74541d.git","public":false,"comments":1,"updated_at":"2012-02-28T19:44:42Z","git_push_url":"git@gist.github.com:dcb7de17e8a52b74541d.git","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","id":327146},"url":"https://api.github.com/gists/dcb7de17e8a52b74541d","created_at":"2012-02-28T19:44:42Z","html_url":"https://gist.github.com/dcb7de17e8a52b74541d","id":"dcb7de17e8a52b74541d","description":"Cadfael: order of episodes in French DVD edition"}]
POST /gists {} {"files": {"foo.bar": {"content": "This gist was created by PyGithub"}}, "public": true, "description": "Gist created by PyGithub"}
201
[('status', '201 Created'), ('x-ratelimit-remaining', '4840'), ('content-length', '1444'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"363ccd2b4f7a0111b78eb26caa6a8088"'), ('date', 'Sat, 03 Mar 2012 11:52:03 GMT'), ('content-type', 'application/json; charset=utf-8'), ('location', 'https://api.github.com/gists/1965711')]
{"files":{"foo.bar":{"content":"This gist was created by PyGithub","type":"text/plain","raw_url":"https://gist.github.com/raw/1965711/112d2a475502a6ef977c724a9a7383d21728be06/foo.bar","language":null,"size":33,"filename":"foo.bar"}},"git_pull_url":"git://gist.github.com/1965711.git","history":[{"committed_at":"2012-03-03T11:52:03Z","change_status":{"additions":1,"deletions":0,"total":1},"user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","id":327146},"url":"https://api.github.com/gists/1965711/fe3fb9ce9dde8631317879c933375d7256f3b41b","version":"fe3fb9ce9dde8631317879c933375d7256f3b41b"}],"public":true,"comments":0,"updated_at":"2012-03-03T11:52:03Z","git_push_url":"git@gist.github.com:1965711.git","forks":[],"user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","id":327146},"url":"https://api.github.com/gists/1965711","created_at":"2012-03-03T11:52:03Z","html_url":"https://gist.github.com/1965711","id":"1965711","description":"Gist created by PyGithub"}
GET /gists {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4839'), ('content-length', '2708'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"0067ac7b54d82dea371c18ac891fb493"'), ('date', 'Sat, 03 Mar 2012 11:52:04 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"files":{"foo.bar":{"type":"text/plain","raw_url":"https://gist.github.com/raw/1965711/112d2a475502a6ef977c724a9a7383d21728be06/foo.bar","language":null,"size":33,"filename":"foo.bar"}},"html_url":"https://gist.github.com/1965711","public":true,"comments":0,"updated_at":"2012-03-03T11:52:03Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","id":327146},"url":"https://api.github.com/gists/1965711","created_at":"2012-03-03T11:52:03Z","git_pull_url":"git://gist.github.com/1965711.git","id":"1965711","description":"Gist created by PyGithub","git_push_url":"git@gist.github.com:1965711.git"},{"files":{"fail_github.py":{"type":"application/python","raw_url":"https://gist.github.com/raw/1942384/2fb3aa84e0efa50dc0f4c18b5df5b7b9ab27076b/fail_github.py","language":"Python","size":1636,"filename":"fail_github.py"}},"html_url":"https://gist.github.com/1942384","public":true,"comments":0,"updated_at":"2012-02-29T16:47:12Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","id":327146},"url":"https://api.github.com/gists/1942384","created_at":"2012-02-29T16:47:12Z","git_pull_url":"git://gist.github.com/1942384.git","id":"1942384","description":"How to error 500 Github API v3, as requested by Rick (GitHub Staff)","git_push_url":"git@gist.github.com:1942384.git"},{"files":{"cadfael.txt":{"type":"text/plain","raw_url":"https://gist.github.com/raw/dcb7de17e8a52b74541d/48ca696645682d7430d73180814434e0284796b2/cadfael.txt","language":"Text","size":585,"filename":"cadfael.txt"}},"html_url":"https://gist.github.com/dcb7de17e8a52b74541d","public":false,"comments":1,"updated_at":"2012-02-28T19:44:42Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","id":327146},"url":"https://api.github.com/gists/dcb7de17e8a52b74541d","created_at":"2012-02-28T19:44:42Z","git_pull_url":"git://gist.github.com/dcb7de17e8a52b74541d.git","id":"dcb7de17e8a52b74541d","description":"Cadfael: order of episodes in French DVD edition","git_push_url":"git@gist.github.com:dcb7de17e8a52b74541d.git"}]
PATCH /gists/1965711 {} {"description": "Gist edited by PyGithub"}
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4838'), ('content-length', '1443'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"e41da3fbcd8df5574a236ff0a037b2f4"'), ('date', 'Sat, 03 Mar 2012 11:52:05 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"files":{"foo.bar":{"content":"This gist was created by PyGithub","type":"text/plain","language":null,"size":33,"filename":"foo.bar","raw_url":"https://gist.github.com/raw/1965711/112d2a475502a6ef977c724a9a7383d21728be06/foo.bar"}},"history":[{"committed_at":"2012-03-03T11:52:03Z","user":{"login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","gravatar_id":"b68de5ae38616c296fa345d2b9df2225","id":327146},"url":"https://api.github.com/gists/1965711/fe3fb9ce9dde8631317879c933375d7256f3b41b","version":"fe3fb9ce9dde8631317879c933375d7256f3b41b","change_status":{"deletions":0,"additions":1,"total":1}}],"public":true,"forks":[],"comments":0,"updated_at":"2012-03-03T11:52:05Z","user":{"login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","gravatar_id":"b68de5ae38616c296fa345d2b9df2225","id":327146},"html_url":"https://gist.github.com/1965711","url":"https://api.github.com/gists/1965711","created_at":"2012-03-03T11:52:03Z","git_pull_url":"git://gist.github.com/1965711.git","id":"1965711","description":"Gist edited by PyGithub","git_push_url":"git@gist.github.com:1965711.git"}
GET /gists {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4837'), ('content-length', '2707'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"4461e3cbb8fdab75dba90f70aa2d8191"'), ('date', 'Sat, 03 Mar 2012 11:52:06 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"files":{"foo.bar":{"type":"text/plain","language":null,"size":33,"filename":"foo.bar","raw_url":"https://gist.github.com/raw/1965711/112d2a475502a6ef977c724a9a7383d21728be06/foo.bar"}},"public":true,"comments":0,"updated_at":"2012-03-03T11:52:05Z","user":{"login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","gravatar_id":"b68de5ae38616c296fa345d2b9df2225","id":327146},"html_url":"https://gist.github.com/1965711","url":"https://api.github.com/gists/1965711","created_at":"2012-03-03T11:52:03Z","git_pull_url":"git://gist.github.com/1965711.git","id":"1965711","description":"Gist edited by PyGithub","git_push_url":"git@gist.github.com:1965711.git"},{"files":{"fail_github.py":{"type":"application/python","language":"Python","size":1636,"filename":"fail_github.py","raw_url":"https://gist.github.com/raw/1942384/2fb3aa84e0efa50dc0f4c18b5df5b7b9ab27076b/fail_github.py"}},"public":true,"comments":0,"updated_at":"2012-02-29T16:47:12Z","user":{"login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","gravatar_id":"b68de5ae38616c296fa345d2b9df2225","id":327146},"html_url":"https://gist.github.com/1942384","url":"https://api.github.com/gists/1942384","created_at":"2012-02-29T16:47:12Z","git_pull_url":"git://gist.github.com/1942384.git","id":"1942384","description":"How to error 500 Github API v3, as requested by Rick (GitHub Staff)","git_push_url":"git@gist.github.com:1942384.git"},{"files":{"cadfael.txt":{"type":"text/plain","language":"Text","size":585,"filename":"cadfael.txt","raw_url":"https://gist.github.com/raw/dcb7de17e8a52b74541d/48ca696645682d7430d73180814434e0284796b2/cadfael.txt"}},"public":false,"comments":1,"updated_at":"2012-02-28T19:44:42Z","user":{"login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","gravatar_id":"b68de5ae38616c296fa345d2b9df2225","id":327146},"html_url":"https://gist.github.com/dcb7de17e8a52b74541d","url":"https://api.github.com/gists/dcb7de17e8a52b74541d","created_at":"2012-02-28T19:44:42Z","git_pull_url":"git://gist.github.com/dcb7de17e8a52b74541d.git","id":"dcb7de17e8a52b74541d","description":"Cadfael: order of episodes in French DVD edition","git_push_url":"git@gist.github.com:dcb7de17e8a52b74541d.git"}]
GET /gists/starred {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4836'), ('content-length', '1871'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"85fd7e5f00bf578e50d9b0f619b04ecc"'), ('date', 'Sat, 03 Mar 2012 11:52:06 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"git_push_url":"git@gist.github.com:1942384.git","files":{"fail_github.py":{"type":"application/python","raw_url":"https://gist.github.com/raw/1942384/2fb3aa84e0efa50dc0f4c18b5df5b7b9ab27076b/fail_github.py","language":"Python","size":1636,"filename":"fail_github.py"}},"html_url":"https://gist.github.com/1942384","public":true,"comments":0,"updated_at":"2012-02-29T16:47:12Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","id":327146},"url":"https://api.github.com/gists/1942384","created_at":"2012-02-29T16:47:12Z","git_pull_url":"git://gist.github.com/1942384.git","id":"1942384","description":"How to error 500 Github API v3, as requested by Rick (GitHub Staff)"},{"git_push_url":"git@gist.github.com:dcb7de17e8a52b74541d.git","files":{"cadfael.txt":{"type":"text/plain","raw_url":"https://gist.github.com/raw/dcb7de17e8a52b74541d/48ca696645682d7430d73180814434e0284796b2/cadfael.txt","language":"Text","size":585,"filename":"cadfael.txt"}},"html_url":"https://gist.github.com/dcb7de17e8a52b74541d","public":false,"comments":1,"updated_at":"2012-02-28T19:44:42Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","id":327146},"url":"https://api.github.com/gists/dcb7de17e8a52b74541d","created_at":"2012-02-28T19:44:42Z","git_pull_url":"git://gist.github.com/dcb7de17e8a52b74541d.git","id":"dcb7de17e8a52b74541d","description":"Cadfael: order of episodes in French DVD edition"}]
PUT /gists/1965711/star {} null
204
[('status', '204 No Content'), ('x-ratelimit-remaining', '4835'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d41d8cd98f00b204e9800998ecf8427e"'), ('date', 'Sat, 03 Mar 2012 11:52:07 GMT')]
GET /gists/1965711/star {} null
204
[('status', '204 No Content'), ('x-ratelimit-remaining', '4834'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d41d8cd98f00b204e9800998ecf8427e"'), ('date', 'Sat, 03 Mar 2012 11:52:08 GMT')]
GET /gists/starred {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4833'), ('content-length', '2707'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"7f12bdc27a3b951c145a72da9548f1e9"'), ('date', 'Sat, 03 Mar 2012 11:52:08 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"git_push_url":"git@gist.github.com:1965711.git","files":{"foo.bar":{"type":"text/plain","raw_url":"https://gist.github.com/raw/1965711/112d2a475502a6ef977c724a9a7383d21728be06/foo.bar","language":null,"size":33,"filename":"foo.bar"}},"html_url":"https://gist.github.com/1965711","public":true,"comments":0,"updated_at":"2012-03-03T11:52:05Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","id":327146},"url":"https://api.github.com/gists/1965711","created_at":"2012-03-03T11:52:03Z","git_pull_url":"git://gist.github.com/1965711.git","id":"1965711","description":"Gist edited by PyGithub"},{"git_push_url":"git@gist.github.com:1942384.git","files":{"fail_github.py":{"type":"application/python","raw_url":"https://gist.github.com/raw/1942384/2fb3aa84e0efa50dc0f4c18b5df5b7b9ab27076b/fail_github.py","language":"Python","size":1636,"filename":"fail_github.py"}},"html_url":"https://gist.github.com/1942384","public":true,"comments":0,"updated_at":"2012-02-29T16:47:12Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","id":327146},"url":"https://api.github.com/gists/1942384","created_at":"2012-02-29T16:47:12Z","git_pull_url":"git://gist.github.com/1942384.git","id":"1942384","description":"How to error 500 Github API v3, as requested by Rick (GitHub Staff)"},{"git_push_url":"git@gist.github.com:dcb7de17e8a52b74541d.git","files":{"cadfael.txt":{"type":"text/plain","raw_url":"https://gist.github.com/raw/dcb7de17e8a52b74541d/48ca696645682d7430d73180814434e0284796b2/cadfael.txt","language":"Text","size":585,"filename":"cadfael.txt"}},"html_url":"https://gist.github.com/dcb7de17e8a52b74541d","public":false,"comments":1,"updated_at":"2012-02-28T19:44:42Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","id":327146},"url":"https://api.github.com/gists/dcb7de17e8a52b74541d","created_at":"2012-02-28T19:44:42Z","git_pull_url":"git://gist.github.com/dcb7de17e8a52b74541d.git","id":"dcb7de17e8a52b74541d","description":"Cadfael: order of episodes in French DVD edition"}]
DELETE /gists/1965711/star {} null
204
[('status', '204 No Content'), ('x-ratelimit-remaining', '4832'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d41d8cd98f00b204e9800998ecf8427e"'), ('date', 'Sat, 03 Mar 2012 11:52:09 GMT')]
GET /gists/starred {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4831'), ('content-length', '1871'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"863ddbe67cf7a9db1e8e07d8fa94b339"'), ('date', 'Sat, 03 Mar 2012 11:52:10 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"git_pull_url":"git://gist.github.com/1942384.git","files":{"fail_github.py":{"type":"application/python","raw_url":"https://gist.github.com/raw/1942384/2fb3aa84e0efa50dc0f4c18b5df5b7b9ab27076b/fail_github.py","language":"Python","size":1636,"filename":"fail_github.py"}},"git_push_url":"git@gist.github.com:1942384.git","public":true,"comments":0,"updated_at":"2012-02-29T16:47:12Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","url":"https://api.github.com/users/jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","id":327146},"url":"https://api.github.com/gists/1942384","created_at":"2012-02-29T16:47:12Z","html_url":"https://gist.github.com/1942384","id":"1942384","description":"How to error 500 Github API v3, as requested by Rick (GitHub Staff)"},{"git_pull_url":"git://gist.github.com/dcb7de17e8a52b74541d.git","files":{"cadfael.txt":{"type":"text/plain","raw_url":"https://gist.github.com/raw/dcb7de17e8a52b74541d/48ca696645682d7430d73180814434e0284796b2/cadfael.txt","language":"Text","size":585,"filename":"cadfael.txt"}},"git_push_url":"git@gist.github.com:dcb7de17e8a52b74541d.git","public":false,"comments":1,"updated_at":"2012-02-28T19:44:42Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","url":"https://api.github.com/users/jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","id":327146},"url":"https://api.github.com/gists/dcb7de17e8a52b74541d","created_at":"2012-02-28T19:44:42Z","html_url":"https://gist.github.com/dcb7de17e8a52b74541d","id":"dcb7de17e8a52b74541d","description":"Cadfael: order of episodes in French DVD edition"}]
GET /gists/1965711/comments {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4830'), ('content-length', '2'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d751713988987e9331980363e24189ce"'), ('date', 'Sat, 03 Mar 2012 11:52:10 GMT'), ('content-type', 'application/json; charset=utf-8')]
[]
POST /gists/1965711/comments {} {"body": "Comment created by PyGithub"}
201
[('status', '201 Created'), ('x-ratelimit-remaining', '4829'), ('content-length', '477'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"0075ab7675d07aa2c59444fa7ead98a0"'), ('date', 'Sat, 03 Mar 2012 11:52:11 GMT'), ('content-type', 'application/json; charset=utf-8'), ('location', 'https://api.github.com/gists/comments/88062')]
{"updated_at":"2012-03-03T11:52:11Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"jacquev6","url":"https://api.github.com/users/jacquev6","id":327146},"url":"https://api.github.com/gists/comments/88062","created_at":"2012-03-03T11:52:11Z","id":88062,"body":"Comment created by PyGithub"}
GET /gists/1965711/comments {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4828'), ('content-length', '479'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"a8fa42d43abd1251df55c740e9d56002"'), ('date', 'Sat, 03 Mar 2012 11:52:11 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"updated_at":"2012-03-03T11:52:11Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","url":"https://api.github.com/users/jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","id":327146},"url":"https://api.github.com/gists/comments/88062","created_at":"2012-03-03T11:52:11Z","id":88062,"body":"Comment created by PyGithub"}]
PATCH /gists/comments/88062 {} {"body": "Comment edited by PyGithub"}
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4827'), ('content-length', '476'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"3ac81323f34390323c8221eaf9518df5"'), ('date', 'Sat, 03 Mar 2012 11:52:12 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"updated_at":"2012-03-03T11:52:12Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","id":327146},"url":"https://api.github.com/gists/comments/88062","created_at":"2012-03-03T11:52:11Z","id":88062,"body":"Comment edited by PyGithub"}
GET /gists/1965711/comments {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4826'), ('content-length', '478'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"76021dca009a49a52287737f036c8bb9"'), ('date', 'Sat, 03 Mar 2012 11:52:13 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"updated_at":"2012-03-03T11:52:12Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","url":"https://api.github.com/users/jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","id":327146},"url":"https://api.github.com/gists/comments/88062","created_at":"2012-03-03T11:52:11Z","id":88062,"body":"Comment edited by PyGithub"}]
GET /gists/comments/88062 {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4825'), ('content-length', '476'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"3ac81323f34390323c8221eaf9518df5"'), ('date', 'Sat, 03 Mar 2012 11:52:13 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"updated_at":"2012-03-03T11:52:12Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","id":327146},"url":"https://api.github.com/gists/comments/88062","created_at":"2012-03-03T11:52:11Z","id":88062,"body":"Comment edited by PyGithub"}
DELETE /gists/comments/88062 {} null
204
[('status', '204 No Content'), ('x-ratelimit-remaining', '4824'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d41d8cd98f00b204e9800998ecf8427e"'), ('date', 'Sat, 03 Mar 2012 11:52:14 GMT')]
GET /gists/1965711/comments {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4823'), ('content-length', '2'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d751713988987e9331980363e24189ce"'), ('date', 'Sat, 03 Mar 2012 11:52:14 GMT'), ('content-type', 'application/json; charset=utf-8')]
[]
GET /gists/1965703 {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4822'), ('content-length', '2193'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"53f10d360a69b06c7d09a14c91eaeaba"'), ('date', 'Sat, 03 Mar 2012 11:52:15 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"files":{"Class3.java":{"content":"import java.util.Random;\n\nclass Class3 {\n public static void main(String[] args) {\n\tint[] data = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10};\n\tRandom random = new Random();\n\t\n\tfor (int loop = 0; loop < data.length; loop ++) {\n\t int left = random.nextInt(data.length);\n\t int right = random.nextInt(data.length);\n\t \n\t int swap = data[left];\n\t data[left] = data[right];\n\t data[right] = swap;\n\t}\n\n\tboolean sorted = false;\n\twhile (!sorted){\n\t sorted = true;\n\t for (int i = 0; i < data.length-1; i++){\n\t\tif (data[i] < data[i+1]){\n\t\t int n = data[i];\n\t\t data[i] = data[i+1];\n\t\t data[i+1] = n;\n\t\t sorted = false;\n\t\t}\n\t }\n\t}\n\tfor (int i = 0; i < data.length; i++) System.out.println(data[i]);\n }\n}","type":"text/plain","raw_url":"https://gist.github.com/raw/1965703/cffeaae044d18e1c9159bcd795b6739782f51b11/Class3.java","language":"Java","size":721,"filename":"Class3.java"}},"git_pull_url":"git://gist.github.com/1965703.git","history":[{"committed_at":"2012-03-03T11:47:39Z","change_status":{"additions":31,"deletions":0,"total":31},"user":{"gravatar_id":"c0620c73883bd45beafab71ba524d5c5","login":"delihiros","avatar_url":"https://secure.gravatar.com/avatar/c0620c73883bd45beafab71ba524d5c5?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/delihiros","id":1169739},"url":"https://api.github.com/gists/1965703/1f29561e2fcf0613b4b9d6f86872e10a873a64f3","version":"1f29561e2fcf0613b4b9d6f86872e10a873a64f3"}],"public":true,"comments":0,"updated_at":"2012-03-03T11:47:39Z","git_push_url":"git@gist.github.com:1965703.git","forks":[],"user":{"gravatar_id":"c0620c73883bd45beafab71ba524d5c5","login":"delihiros","avatar_url":"https://secure.gravatar.com/avatar/c0620c73883bd45beafab71ba524d5c5?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/delihiros","id":1169739},"url":"https://api.github.com/gists/1965703","created_at":"2012-03-03T11:47:39Z","html_url":"https://gist.github.com/1965703","id":"1965703","description":null}
POST /gists/1965703/fork {} null
201
[('status', '201 Created'), ('x-ratelimit-remaining', '4821'), ('content-length', '829'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"c8a397a7dc4d01bf5391efe3a3b6d2a8"'), ('date', 'Sat, 03 Mar 2012 11:52:16 GMT'), ('content-type', 'application/json; charset=utf-8'), ('location', 'https://api.github.com/gists/1965713')]
{"git_push_url":"git@gist.github.com:1965713.git","files":{"Class3.java":{"type":"text/plain","raw_url":"https://gist.github.com/raw/1965713/cffeaae044d18e1c9159bcd795b6739782f51b11/Class3.java","language":"Java","size":721,"filename":"Class3.java"}},"html_url":"https://gist.github.com/1965713","public":true,"comments":0,"updated_at":"2012-03-03T11:52:16Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","id":327146},"url":"https://api.github.com/gists/1965713","created_at":"2012-03-03T11:52:16Z","git_pull_url":"git://gist.github.com/1965713.git","id":"1965713","description":null}
GET /gists {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4820'), ('content-length', '3537'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"10271af65b97e1403052fd2f6ea65181"'), ('date', 'Sat, 03 Mar 2012 11:52:17 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"git_pull_url":"git://gist.github.com/1965713.git","files":{"Class3.java":{"type":"text/plain","language":"Java","size":721,"raw_url":"https://gist.github.com/raw/1965713/cffeaae044d18e1c9159bcd795b6739782f51b11/Class3.java","filename":"Class3.java"}},"git_push_url":"git@gist.github.com:1965713.git","public":true,"comments":0,"updated_at":"2012-03-03T11:52:16Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","url":"https://api.github.com/users/jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","id":327146},"url":"https://api.github.com/gists/1965713","created_at":"2012-03-03T11:52:16Z","html_url":"https://gist.github.com/1965713","id":"1965713","description":null},{"git_pull_url":"git://gist.github.com/1965711.git","files":{"foo.bar":{"type":"text/plain","language":null,"size":33,"raw_url":"https://gist.github.com/raw/1965711/112d2a475502a6ef977c724a9a7383d21728be06/foo.bar","filename":"foo.bar"}},"git_push_url":"git@gist.github.com:1965711.git","public":true,"comments":0,"updated_at":"2012-03-03T11:52:05Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","url":"https://api.github.com/users/jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","id":327146},"url":"https://api.github.com/gists/1965711","created_at":"2012-03-03T11:52:03Z","html_url":"https://gist.github.com/1965711","id":"1965711","description":"Gist edited by PyGithub"},{"git_pull_url":"git://gist.github.com/1942384.git","files":{"fail_github.py":{"type":"application/python","language":"Python","size":1636,"raw_url":"https://gist.github.com/raw/1942384/2fb3aa84e0efa50dc0f4c18b5df5b7b9ab27076b/fail_github.py","filename":"fail_github.py"}},"git_push_url":"git@gist.github.com:1942384.git","public":true,"comments":0,"updated_at":"2012-02-29T16:47:12Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","url":"https://api.github.com/users/jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","id":327146},"url":"https://api.github.com/gists/1942384","created_at":"2012-02-29T16:47:12Z","html_url":"https://gist.github.com/1942384","id":"1942384","description":"How to error 500 Github API v3, as requested by Rick (GitHub Staff)"},{"git_pull_url":"git://gist.github.com/dcb7de17e8a52b74541d.git","files":{"cadfael.txt":{"type":"text/plain","language":"Text","size":585,"raw_url":"https://gist.github.com/raw/dcb7de17e8a52b74541d/48ca696645682d7430d73180814434e0284796b2/cadfael.txt","filename":"cadfael.txt"}},"git_push_url":"git@gist.github.com:dcb7de17e8a52b74541d.git","public":false,"comments":1,"updated_at":"2012-02-28T19:44:42Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","url":"https://api.github.com/users/jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","id":327146},"url":"https://api.github.com/gists/dcb7de17e8a52b74541d","created_at":"2012-02-28T19:44:42Z","html_url":"https://gist.github.com/dcb7de17e8a52b74541d","id":"dcb7de17e8a52b74541d","description":"Cadfael: order of episodes in French DVD edition"}]
DELETE /gists/1965713 {} null
204
[('status', '204 No Content'), ('x-ratelimit-remaining', '4819'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d41d8cd98f00b204e9800998ecf8427e"'), ('date', 'Sat, 03 Mar 2012 11:52:17 GMT')]
GET /gists {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4818'), ('content-length', '2707'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"7340a0a704441ba48efecac0890d6a4a"'), ('date', 'Sat, 03 Mar 2012 11:52:18 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"files":{"foo.bar":{"type":"text/plain","raw_url":"https://gist.github.com/raw/1965711/112d2a475502a6ef977c724a9a7383d21728be06/foo.bar","language":null,"size":33,"filename":"foo.bar"}},"git_pull_url":"git://gist.github.com/1965711.git","public":true,"comments":0,"updated_at":"2012-03-03T11:52:05Z","git_push_url":"git@gist.github.com:1965711.git","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","id":327146},"url":"https://api.github.com/gists/1965711","created_at":"2012-03-03T11:52:03Z","html_url":"https://gist.github.com/1965711","id":"1965711","description":"Gist edited by PyGithub"},{"files":{"fail_github.py":{"type":"application/python","raw_url":"https://gist.github.com/raw/1942384/2fb3aa84e0efa50dc0f4c18b5df5b7b9ab27076b/fail_github.py","language":"Python","size":1636,"filename":"fail_github.py"}},"git_pull_url":"git://gist.github.com/1942384.git","public":true,"comments":0,"updated_at":"2012-02-29T16:47:12Z","git_push_url":"git@gist.github.com:1942384.git","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","id":327146},"url":"https://api.github.com/gists/1942384","created_at":"2012-02-29T16:47:12Z","html_url":"https://gist.github.com/1942384","id":"1942384","description":"How to error 500 Github API v3, as requested by Rick (GitHub Staff)"},{"files":{"cadfael.txt":{"type":"text/plain","raw_url":"https://gist.github.com/raw/dcb7de17e8a52b74541d/48ca696645682d7430d73180814434e0284796b2/cadfael.txt","language":"Text","size":585,"filename":"cadfael.txt"}},"git_pull_url":"git://gist.github.com/dcb7de17e8a52b74541d.git","public":false,"comments":1,"updated_at":"2012-02-28T19:44:42Z","git_push_url":"git@gist.github.com:dcb7de17e8a52b74541d.git","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","id":327146},"url":"https://api.github.com/gists/dcb7de17e8a52b74541d","created_at":"2012-02-28T19:44:42Z","html_url":"https://gist.github.com/dcb7de17e8a52b74541d","id":"dcb7de17e8a52b74541d","description":"Cadfael: order of episodes in French DVD edition"}]
DELETE /gists/1965711 {} null
204
[('status', '204 No Content'), ('x-ratelimit-remaining', '4817'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d41d8cd98f00b204e9800998ecf8427e"'), ('date', 'Sat, 03 Mar 2012 11:52:19 GMT')]
GET /gists {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4816'), ('content-length', '1871'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"541407a94f5506a57765abcbf3888917"'), ('date', 'Sat, 03 Mar 2012 11:52:19 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"git_pull_url":"git://gist.github.com/1942384.git","files":{"fail_github.py":{"type":"application/python","language":"Python","size":1636,"raw_url":"https://gist.github.com/raw/1942384/2fb3aa84e0efa50dc0f4c18b5df5b7b9ab27076b/fail_github.py","filename":"fail_github.py"}},"git_push_url":"git@gist.github.com:1942384.git","public":true,"comments":0,"updated_at":"2012-02-29T16:47:12Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","url":"https://api.github.com/users/jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","id":327146},"url":"https://api.github.com/gists/1942384","created_at":"2012-02-29T16:47:12Z","html_url":"https://gist.github.com/1942384","id":"1942384","description":"How to error 500 Github API v3, as requested by Rick (GitHub Staff)"},{"git_pull_url":"git://gist.github.com/dcb7de17e8a52b74541d.git","files":{"cadfael.txt":{"type":"text/plain","language":"Text","size":585,"raw_url":"https://gist.github.com/raw/dcb7de17e8a52b74541d/48ca696645682d7430d73180814434e0284796b2/cadfael.txt","filename":"cadfael.txt"}},"git_push_url":"git@gist.github.com:dcb7de17e8a52b74541d.git","public":false,"comments":1,"updated_at":"2012-02-28T19:44:42Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","url":"https://api.github.com/users/jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","id":327146},"url":"https://api.github.com/gists/dcb7de17e8a52b74541d","created_at":"2012-02-28T19:44:42Z","html_url":"https://gist.github.com/dcb7de17e8a52b74541d","id":"dcb7de17e8a52b74541d","description":"Cadfael: order of episodes in French DVD edition"}]
File diff suppressed because one or more lines are too long
@@ -1,70 +0,0 @@
GET /orgs/BeaverSoftware {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4967'), ('content-length', '714'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"214e87ac608a17403a4c5cf4649db6ab"'), ('date', 'Sat, 03 Mar 2012 08:57:32 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"disk_usage":0,"collaborators":0,"public_gists":0,"type":"Organization","total_private_repos":0,"following":0,"login":"BeaverSoftware","private_gists":0,"blog":null,"owned_private_repos":0,"billing_email":"BeaverSoftware@vincent-jacques.net","plan":{"private_repos":0,"name":"free","space":307200},"location":"Paris, France","public_repos":2,"company":null,"url":"https://api.github.com/orgs/BeaverSoftware","html_url":"https://github.com/BeaverSoftware","created_at":"2012-02-09T19:20:12Z","name":null,"email":null,"avatar_url":"https://secure.gravatar.com/avatar/d563e337cac2fdc644e2aaaad1e23266?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","id":1424031,"followers":0}
GET /repos/BeaverSoftware/TestPyGithub {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4966'), ('content-length', '3595'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"cb3691660bb3ebae5d3e26a1e0407548"'), ('date', 'Sat, 03 Mar 2012 08:57:33 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"watchers":1,"pushed_at":"2012-03-03T08:56:56Z","html_url":"https://github.com/BeaverSoftware/TestPyGithub","git_url":"git://github.com/BeaverSoftware/TestPyGithub.git","source":{"watchers":1,"pushed_at":"2012-03-03T07:43:16Z","html_url":"https://github.com/jacquev6/TestPyGithub","git_url":"git://github.com/jacquev6/TestPyGithub.git","homepage":"http://vincent-jacques.net/PyGithub","has_downloads":true,"mirror_url":null,"has_issues":true,"master_branch":null,"updated_at":"2012-03-03T07:53:19Z","forks":2,"fork":false,"svn_url":"https://github.com/jacquev6/TestPyGithub","language":null,"private":false,"size":84,"has_wiki":true,"url":"https://api.github.com/repos/jacquev6/TestPyGithub","created_at":"2012-03-03T07:41:19Z","owner":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","id":327146},"name":"TestPyGithub","clone_url":"https://github.com/jacquev6/TestPyGithub.git","id":3609314,"ssh_url":"git@github.com:jacquev6/TestPyGithub.git","description":"Guinea-pig for PyGithub testing","open_issues":0},"homepage":"http://vincent-jacques.net/PyGithub","has_downloads":true,"parent":{"watchers":1,"pushed_at":"2012-03-03T07:43:16Z","html_url":"https://github.com/jacquev6/TestPyGithub","git_url":"git://github.com/jacquev6/TestPyGithub.git","homepage":"http://vincent-jacques.net/PyGithub","has_downloads":true,"mirror_url":null,"has_issues":true,"master_branch":null,"updated_at":"2012-03-03T07:53:19Z","forks":2,"fork":false,"svn_url":"https://github.com/jacquev6/TestPyGithub","language":null,"private":false,"size":84,"has_wiki":true,"url":"https://api.github.com/repos/jacquev6/TestPyGithub","created_at":"2012-03-03T07:41:19Z","owner":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","id":327146},"name":"TestPyGithub","clone_url":"https://github.com/jacquev6/TestPyGithub.git","id":3609314,"ssh_url":"git@github.com:jacquev6/TestPyGithub.git","description":"Guinea-pig for PyGithub testing","open_issues":0},"mirror_url":null,"has_issues":false,"master_branch":null,"updated_at":"2012-03-03T08:56:56Z","organization":{"gravatar_id":"d563e337cac2fdc644e2aaaad1e23266","login":"BeaverSoftware","avatar_url":"https://secure.gravatar.com/avatar/d563e337cac2fdc644e2aaaad1e23266?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","url":"https://api.github.com/users/BeaverSoftware","id":1424031},"forks":0,"fork":true,"svn_url":"https://github.com/BeaverSoftware/TestPyGithub","language":null,"private":false,"size":112,"has_wiki":true,"url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub","created_at":"2012-03-03T07:53:19Z","owner":{"gravatar_id":"d563e337cac2fdc644e2aaaad1e23266","login":"BeaverSoftware","avatar_url":"https://secure.gravatar.com/avatar/d563e337cac2fdc644e2aaaad1e23266?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","url":"https://api.github.com/users/BeaverSoftware","id":1424031},"name":"TestPyGithub","clone_url":"https://github.com/BeaverSoftware/TestPyGithub.git","id":3609352,"ssh_url":"git@github.com:BeaverSoftware/TestPyGithub.git","description":"Guinea-pig for PyGithub testing","open_issues":0}
GET /repos/BeaverSoftware/TestPyGithub/git/refs/heads/master {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4965'), ('content-length', '308'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"a8fe26b2671fa11956f06f4ccdea66d1"'), ('date', 'Sat, 03 Mar 2012 08:57:34 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"ref":"refs/heads/master","object":{"type":"commit","sha":"1c29d761d3e929afcbf8c6cc44b8181068d2d974","url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/commits/1c29d761d3e929afcbf8c6cc44b8181068d2d974"},"url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/refs/heads/master"}
GET /repos/BeaverSoftware/TestPyGithub/git/commits/1c29d761d3e929afcbf8c6cc44b8181068d2d974 {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4964'), ('content-length', '804'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"4250532552739c9a80abc713e782d789"'), ('date', 'Sat, 03 Mar 2012 08:57:34 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"message":"This commit was created by PyGithub","author":{"email":"BeaverSoftware@vincent-jacques.net","name":"BeaverSoftware","date":"2012-03-03T00:52:03-08:00"},"parents":[{"sha":"998f4cd5ba9501a7ccff79b0011f4220f16b0271","url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/commits/998f4cd5ba9501a7ccff79b0011f4220f16b0271"}],"sha":"1c29d761d3e929afcbf8c6cc44b8181068d2d974","tree":{"sha":"e40d3575e68128e127e7805b7b30452da0600b85","url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/trees/e40d3575e68128e127e7805b7b30452da0600b85"},"committer":{"email":"BeaverSoftware@vincent-jacques.net","name":"BeaverSoftware","date":"2012-03-03T00:52:03-08:00"},"url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/commits/1c29d761d3e929afcbf8c6cc44b8181068d2d974"}
GET /repos/BeaverSoftware/TestPyGithub/git/trees/e40d3575e68128e127e7805b7b30452da0600b85 {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4963'), ('content-length', '625'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"5e826e7bca9b98dd4e847cfdea8a6d7e"'), ('date', 'Sat, 03 Mar 2012 08:57:35 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"sha":"e40d3575e68128e127e7805b7b30452da0600b85","tree":[{"type":"blob","sha":"7d442819c066fe47ec64d8f438d67c9e83a7278b","url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/blobs/7d442819c066fe47ec64d8f438d67c9e83a7278b","size":69,"path":"ReadMe.md","mode":"100644"},{"type":"blob","sha":"5e36908015e357cedc7f70dece559cbb3d79cb2b","url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/blobs/5e36908015e357cedc7f70dece559cbb3d79cb2b","size":33,"path":"foo.bar","mode":"100644"}],"url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/trees/e40d3575e68128e127e7805b7b30452da0600b85"}
GET /repos/BeaverSoftware/TestPyGithub/git/blobs/7d442819c066fe47ec64d8f438d67c9e83a7278b {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4962'), ('content-length', '305'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"c521c398c03ce55e842919d6eddacdd2"'), ('date', 'Sat, 03 Mar 2012 08:57:36 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"content":"VGhpcyBpcyBvbmx5IGEgdGVzdCByZXBvc2l0b3J5IHVzZWQgaW4gaW50ZWdy\nYXRpb24gdGVzdHMgb2YgUHlHaXRodWIK\n","encoding":"base64","sha":"7d442819c066fe47ec64d8f438d67c9e83a7278b","url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/blobs/7d442819c066fe47ec64d8f438d67c9e83a7278b","size":69}
POST /repos/BeaverSoftware/TestPyGithub/git/blobs {} {"content": "This blob was created by PyGithub", "encoding": "latin1"}
201
[('status', '201 Created'), ('x-ratelimit-remaining', '4961'), ('content-length', '166'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"afd901e7cdb6d6b73a4f4aded62524bc"'), ('date', 'Sat, 03 Mar 2012 08:57:36 GMT'), ('content-type', 'application/json; charset=utf-8'), ('location', 'https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/blobs/5e36908015e357cedc7f70dece559cbb3d79cb2b')]
{"sha":"5e36908015e357cedc7f70dece559cbb3d79cb2b","url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/blobs/5e36908015e357cedc7f70dece559cbb3d79cb2b"}
POST /repos/BeaverSoftware/TestPyGithub/git/trees {} {"tree": [{"path": "foo.bar", "type": "blob", "mode": "100644", "sha": "5e36908015e357cedc7f70dece559cbb3d79cb2b"}, {"path": "ReadMe.md", "type": "blob", "mode": "100644", "sha": "7d442819c066fe47ec64d8f438d67c9e83a7278b"}]}
201
[('status', '201 Created'), ('content-length', '625'), ('etag', '"75c0ba740f3441ff23c41b9b5a84fa58"'), ('x-ratelimit-remaining', '4960'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('location', 'https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/trees/e40d3575e68128e127e7805b7b30452da0600b85'), ('date', 'Sat, 03 Mar 2012 08:57:37 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"tree":[{"type":"blob","path":"ReadMe.md","mode":"100644","url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/blobs/7d442819c066fe47ec64d8f438d67c9e83a7278b","size":69,"sha":"7d442819c066fe47ec64d8f438d67c9e83a7278b"},{"type":"blob","path":"foo.bar","mode":"100644","url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/blobs/5e36908015e357cedc7f70dece559cbb3d79cb2b","size":33,"sha":"5e36908015e357cedc7f70dece559cbb3d79cb2b"}],"url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/trees/e40d3575e68128e127e7805b7b30452da0600b85","sha":"e40d3575e68128e127e7805b7b30452da0600b85"}
POST /repos/BeaverSoftware/TestPyGithub/git/commits {} {"parents": ["1c29d761d3e929afcbf8c6cc44b8181068d2d974"], "message": "This commit was created by PyGithub", "tree": "e40d3575e68128e127e7805b7b30452da0600b85"}
201
[('status', '201 Created'), ('x-ratelimit-remaining', '4959'), ('content-length', '804'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"90efae2520ab8d78d4a5c75d2e0acbac"'), ('date', 'Sat, 03 Mar 2012 08:57:38 GMT'), ('content-type', 'application/json; charset=utf-8'), ('location', 'https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/commits/390bcc2b855d419e9fd6727049aa9217db56a06a')]
{"message":"This commit was created by PyGithub","author":{"email":"BeaverSoftware@vincent-jacques.net","name":"BeaverSoftware","date":"2012-03-03T00:57:38-08:00"},"parents":[{"sha":"1c29d761d3e929afcbf8c6cc44b8181068d2d974","url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/commits/1c29d761d3e929afcbf8c6cc44b8181068d2d974"}],"sha":"390bcc2b855d419e9fd6727049aa9217db56a06a","tree":{"sha":"e40d3575e68128e127e7805b7b30452da0600b85","url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/trees/e40d3575e68128e127e7805b7b30452da0600b85"},"committer":{"email":"BeaverSoftware@vincent-jacques.net","name":"BeaverSoftware","date":"2012-03-03T00:57:38-08:00"},"url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/commits/390bcc2b855d419e9fd6727049aa9217db56a06a"}
POST /repos/BeaverSoftware/TestPyGithub/git/refs {} {"sha": "1c29d761d3e929afcbf8c6cc44b8181068d2d974", "ref": "refs/heads/previous_master"}
201
[('status', '201 Created'), ('x-ratelimit-remaining', '4958'), ('content-length', '326'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"24d076509d021122861620c5f20f0f16"'), ('date', 'Sat, 03 Mar 2012 08:57:38 GMT'), ('content-type', 'application/json; charset=utf-8'), ('location', 'https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/refs/heads/previous_master')]
{"ref":"refs/heads/previous_master","object":{"type":"commit","sha":"1c29d761d3e929afcbf8c6cc44b8181068d2d974","url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/commits/1c29d761d3e929afcbf8c6cc44b8181068d2d974"},"url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/refs/heads/previous_master"}
PATCH /repos/BeaverSoftware/TestPyGithub/git/refs/heads/master {} {"sha": "390bcc2b855d419e9fd6727049aa9217db56a06a"}
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4957'), ('content-length', '308'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"1fccf1d861e70cf523c7c80639dba102"'), ('date', 'Sat, 03 Mar 2012 08:57:39 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"ref":"refs/heads/master","object":{"type":"commit","sha":"390bcc2b855d419e9fd6727049aa9217db56a06a","url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/commits/390bcc2b855d419e9fd6727049aa9217db56a06a"},"url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/refs/heads/master"}
POST /repos/BeaverSoftware/TestPyGithub/git/tags {} {"message": "This tag was created by PyGithub", "tag": "tagCreatedByPyGithub", "type": "commit", "object": "390bcc2b855d419e9fd6727049aa9217db56a06a"}
201
[('status', '201 Created'), ('x-ratelimit-remaining', '4956'), ('content-length', '548'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"83837daf6c9c1a7b95fdc77558ab5043"'), ('date', 'Sat, 03 Mar 2012 08:57:40 GMT'), ('content-type', 'application/json; charset=utf-8'), ('location', 'https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/tags/027ac89ee13e1a280845cb601127363f663981a9')]
{"message":"This tag was created by PyGithub","object":{"type":"commit","sha":"390bcc2b855d419e9fd6727049aa9217db56a06a","url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/commits/390bcc2b855d419e9fd6727049aa9217db56a06a"},"tagger":{"email":"BeaverSoftware@vincent-jacques.net","name":"BeaverSoftware","date":"2012-03-03T00:57:40-08:00"},"tag":"tagCreatedByPyGithub","sha":"027ac89ee13e1a280845cb601127363f663981a9","url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/tags/027ac89ee13e1a280845cb601127363f663981a9"}
POST /repos/BeaverSoftware/TestPyGithub/git/refs {} {"sha": "027ac89ee13e1a280845cb601127363f663981a9", "ref": "refs/tags/tagCreatedByPyGithub"}
201
[('status', '201 Created'), ('x-ratelimit-remaining', '4955'), ('content-length', '328'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"bd4367da537873014488439b3f49306e"'), ('date', 'Sat, 03 Mar 2012 08:57:41 GMT'), ('content-type', 'application/json; charset=utf-8'), ('location', 'https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/refs/tags/tagCreatedByPyGithub')]
{"ref":"refs/tags/tagCreatedByPyGithub","object":{"type":"tag","sha":"027ac89ee13e1a280845cb601127363f663981a9","url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/tags/027ac89ee13e1a280845cb601127363f663981a9"},"url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/refs/tags/tagCreatedByPyGithub"}
GET /repos/BeaverSoftware/TestPyGithub/git/tags/027ac89ee13e1a280845cb601127363f663981a9 {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4954'), ('content-length', '548'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"83837daf6c9c1a7b95fdc77558ab5043"'), ('date', 'Sat, 03 Mar 2012 08:57:41 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"message":"This tag was created by PyGithub","object":{"type":"commit","sha":"390bcc2b855d419e9fd6727049aa9217db56a06a","url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/commits/390bcc2b855d419e9fd6727049aa9217db56a06a"},"tagger":{"email":"BeaverSoftware@vincent-jacques.net","name":"BeaverSoftware","date":"2012-03-03T00:57:40-08:00"},"tag":"tagCreatedByPyGithub","sha":"027ac89ee13e1a280845cb601127363f663981a9","url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/tags/027ac89ee13e1a280845cb601127363f663981a9"}
@@ -1,35 +0,0 @@
GET /orgs/BeaverSoftware {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4986'), ('content-length', '714'), ('server', 'nginx/1.0.13'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"01491ce527efe4e0c1bdb6f6293bec40"'), ('date', 'Mon, 19 Mar 2012 18:48:05 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"type":"Organization","url":"https://api.github.com/orgs/BeaverSoftware","collaborators":0,"following":0,"login":"BeaverSoftware","public_gists":0,"blog":null,"billing_email":"BeaverSoftware@vincent-jacques.net","private_gists":0,"disk_usage":0,"plan":{"name":"free","private_repos":0,"space":307200},"followers":0,"location":"Paris, France","total_private_repos":0,"html_url":"https://github.com/BeaverSoftware","company":null,"public_repos":2,"avatar_url":"https://secure.gravatar.com/avatar/d563e337cac2fdc644e2aaaad1e23266?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","owned_private_repos":0,"created_at":"2012-02-09T19:20:12Z","name":null,"email":null,"id":1424031}
GET /repos/BeaverSoftware/TestPyGithub {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4985'), ('content-length', '3599'), ('server', 'nginx/1.0.13'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"7bf7e882c239a159cff071fe57cb2f2e"'), ('date', 'Mon, 19 Mar 2012 18:48:05 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"git_url":"git://github.com/BeaverSoftware/TestPyGithub.git","forks":0,"url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub","source":{"git_url":"git://github.com/jacquev6/TestPyGithub.git","forks":2,"url":"https://api.github.com/repos/jacquev6/TestPyGithub","has_wiki":true,"homepage":"http://vincent-jacques.net/PyGithub","ssh_url":"git@github.com:jacquev6/TestPyGithub.git","updated_at":"2012-03-12T21:04:52Z","svn_url":"https://github.com/jacquev6/TestPyGithub","fork":false,"open_issues":17,"watchers":1,"language":null,"pushed_at":"2012-03-12T21:04:51Z","private":false,"size":132,"clone_url":"https://github.com/jacquev6/TestPyGithub.git","mirror_url":null,"created_at":"2012-03-03T07:41:19Z","owner":{"url":"https://api.github.com/users/jacquev6","login":"jacquev6","gravatar_id":"b68de5ae38616c296fa345d2b9df2225","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","id":327146},"name":"TestPyGithub","has_downloads":true,"id":3609314,"html_url":"https://github.com/jacquev6/TestPyGithub","description":"Guinea-pig for PyGithub testing","has_issues":true,"master_branch":null},"has_wiki":true,"homepage":"http://vincent-jacques.net/PyGithub","parent":{"git_url":"git://github.com/jacquev6/TestPyGithub.git","forks":2,"url":"https://api.github.com/repos/jacquev6/TestPyGithub","has_wiki":true,"homepage":"http://vincent-jacques.net/PyGithub","ssh_url":"git@github.com:jacquev6/TestPyGithub.git","updated_at":"2012-03-12T21:04:52Z","svn_url":"https://github.com/jacquev6/TestPyGithub","fork":false,"open_issues":17,"watchers":1,"language":null,"pushed_at":"2012-03-12T21:04:51Z","private":false,"size":132,"clone_url":"https://github.com/jacquev6/TestPyGithub.git","mirror_url":null,"created_at":"2012-03-03T07:41:19Z","owner":{"url":"https://api.github.com/users/jacquev6","login":"jacquev6","gravatar_id":"b68de5ae38616c296fa345d2b9df2225","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","id":327146},"name":"TestPyGithub","has_downloads":true,"id":3609314,"html_url":"https://github.com/jacquev6/TestPyGithub","description":"Guinea-pig for PyGithub testing","has_issues":true,"master_branch":null},"ssh_url":"git@github.com:BeaverSoftware/TestPyGithub.git","updated_at":"2012-03-03T08:57:40Z","svn_url":"https://github.com/BeaverSoftware/TestPyGithub","fork":true,"open_issues":0,"watchers":1,"language":null,"pushed_at":"2012-03-03T08:57:40Z","private":false,"size":112,"clone_url":"https://github.com/BeaverSoftware/TestPyGithub.git","mirror_url":null,"created_at":"2012-03-03T07:53:19Z","owner":{"url":"https://api.github.com/users/BeaverSoftware","login":"BeaverSoftware","gravatar_id":"d563e337cac2fdc644e2aaaad1e23266","avatar_url":"https://secure.gravatar.com/avatar/d563e337cac2fdc644e2aaaad1e23266?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","id":1424031},"name":"TestPyGithub","has_downloads":true,"id":3609352,"organization":{"url":"https://api.github.com/users/BeaverSoftware","login":"BeaverSoftware","gravatar_id":"d563e337cac2fdc644e2aaaad1e23266","avatar_url":"https://secure.gravatar.com/avatar/d563e337cac2fdc644e2aaaad1e23266?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","id":1424031},"html_url":"https://github.com/BeaverSoftware/TestPyGithub","description":"Guinea-pig for PyGithub testing","has_issues":false,"master_branch":null}
GET /repos/BeaverSoftware/TestPyGithub/git/refs/heads/master {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4984'), ('content-length', '308'), ('server', 'nginx/1.0.13'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"14e7f65675ce3a05bd2f4e299b1606b1"'), ('date', 'Mon, 19 Mar 2012 18:48:06 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/refs/heads/master","ref":"refs/heads/master","object":{"url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/commits/390bcc2b855d419e9fd6727049aa9217db56a06a","type":"commit","sha":"390bcc2b855d419e9fd6727049aa9217db56a06a"}}
GET /repos/BeaverSoftware/TestPyGithub/git/commits/390bcc2b855d419e9fd6727049aa9217db56a06a {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4983'), ('content-length', '804'), ('server', 'nginx/1.0.13'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"0fb68ae7867fa4bd3ee32394412536d3"'), ('date', 'Mon, 19 Mar 2012 18:48:07 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"committer":{"email":"BeaverSoftware@vincent-jacques.net","name":"BeaverSoftware","date":"2012-03-03T00:57:38-08:00"},"url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/commits/390bcc2b855d419e9fd6727049aa9217db56a06a","message":"This commit was created by PyGithub","author":{"email":"BeaverSoftware@vincent-jacques.net","name":"BeaverSoftware","date":"2012-03-03T00:57:38-08:00"},"parents":[{"url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/commits/1c29d761d3e929afcbf8c6cc44b8181068d2d974","sha":"1c29d761d3e929afcbf8c6cc44b8181068d2d974"}],"sha":"390bcc2b855d419e9fd6727049aa9217db56a06a","tree":{"url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/trees/e40d3575e68128e127e7805b7b30452da0600b85","sha":"e40d3575e68128e127e7805b7b30452da0600b85"}}
GET /repos/BeaverSoftware/TestPyGithub/git/trees/e40d3575e68128e127e7805b7b30452da0600b85 {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4982'), ('content-length', '625'), ('server', 'nginx/1.0.13'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"dc6ae3c4dc6da5ca5a7b7d1f49b28145"'), ('date', 'Mon, 19 Mar 2012 18:48:07 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/trees/e40d3575e68128e127e7805b7b30452da0600b85","sha":"e40d3575e68128e127e7805b7b30452da0600b85","tree":[{"url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/blobs/7d442819c066fe47ec64d8f438d67c9e83a7278b","type":"blob","sha":"7d442819c066fe47ec64d8f438d67c9e83a7278b","size":69,"path":"ReadMe.md","mode":"100644"},{"url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/blobs/5e36908015e357cedc7f70dece559cbb3d79cb2b","type":"blob","sha":"5e36908015e357cedc7f70dece559cbb3d79cb2b","size":33,"path":"foo.bar","mode":"100644"}]}
POST /repos/BeaverSoftware/TestPyGithub/git/blobs {} {"content": "This blob was also created by PyGithub", "encoding": "latin1"}
201
[('status', '201 Created'), ('x-ratelimit-remaining', '4981'), ('content-length', '166'), ('server', 'nginx/1.0.13'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d11ff383257b6827b4809cb303b7163e"'), ('date', 'Mon, 19 Mar 2012 18:48:08 GMT'), ('content-type', 'application/json; charset=utf-8'), ('location', 'https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/blobs/f8f5425c8caf8d7c6790b96093cc4d5366473eb4')]
{"url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/blobs/f8f5425c8caf8d7c6790b96093cc4d5366473eb4","sha":"f8f5425c8caf8d7c6790b96093cc4d5366473eb4"}
POST /repos/BeaverSoftware/TestPyGithub/git/trees {} {"tree": [{"path": "new.bar", "type": "blob", "mode": "100644", "sha": "f8f5425c8caf8d7c6790b96093cc4d5366473eb4"}], "base_tree": "e40d3575e68128e127e7805b7b30452da0600b85"}
201
[('status', '201 Created'), ('x-ratelimit-remaining', '4980'), ('content-length', '849'), ('server', 'nginx/1.0.13'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"01f8b37c2832d63b01aeaab7b6f18a85"'), ('date', 'Mon, 19 Mar 2012 18:48:09 GMT'), ('content-type', 'application/json; charset=utf-8'), ('location', 'https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/trees/87363a9c7b3f95477f71331751656a0b39ebbb26')]
{"url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/trees/87363a9c7b3f95477f71331751656a0b39ebbb26","sha":"87363a9c7b3f95477f71331751656a0b39ebbb26","tree":[{"url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/blobs/7d442819c066fe47ec64d8f438d67c9e83a7278b","type":"blob","sha":"7d442819c066fe47ec64d8f438d67c9e83a7278b","size":69,"path":"ReadMe.md","mode":"100644"},{"url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/blobs/5e36908015e357cedc7f70dece559cbb3d79cb2b","type":"blob","sha":"5e36908015e357cedc7f70dece559cbb3d79cb2b","size":33,"path":"foo.bar","mode":"100644"},{"url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub/git/blobs/f8f5425c8caf8d7c6790b96093cc4d5366473eb4","type":"blob","sha":"f8f5425c8caf8d7c6790b96093cc4d5366473eb4","size":38,"path":"new.bar","mode":"100644"}]}
-55
View File
@@ -1,55 +0,0 @@
GET /user {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4918'), ('content-length', '801'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"b0ffce734bc188bc17bac1c4304c74bb"'), ('date', 'Sat, 03 Mar 2012 12:42:23 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"disk_usage":17388,"type":"User","bio":"","gravatar_id":"b68de5ae38616c296fa345d2b9df2225","total_private_repos":5,"following":24,"avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"jacquev6","public_gists":1,"owned_private_repos":5,"private_gists":2,"plan":{"private_repos":5,"name":"micro","collaborators":1,"space":614400},"location":"Paris, France","public_repos":16,"company":"Criteo","url":"https://api.github.com/users/jacquev6","html_url":"https://github.com/jacquev6","created_at":"2010-07-09T06:10:06Z","name":"Vincent Jacques","blog":"http://vincent-jacques.net","email":"vincent@vincent-jacques.net","collaborators":0,"hireable":false,"id":327146,"followers":12}
GET /repos/jacquev6/TestPyGithub {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4917'), ('content-length', '1067'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"097b8feb7f95f8cd6ae40675cc13b96d"'), ('date', 'Sat, 03 Mar 2012 12:42:23 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"watchers":1,"pushed_at":"2012-03-03T07:43:16Z","html_url":"https://github.com/jacquev6/TestPyGithub","git_url":"git://github.com/jacquev6/TestPyGithub.git","homepage":"http://vincent-jacques.net/PyGithub","has_downloads":true,"mirror_url":null,"has_issues":true,"master_branch":null,"updated_at":"2012-03-03T07:53:19Z","forks":2,"fork":false,"svn_url":"https://github.com/jacquev6/TestPyGithub","language":null,"private":false,"size":84,"has_wiki":true,"url":"https://api.github.com/repos/jacquev6/TestPyGithub","created_at":"2012-03-03T07:41:19Z","owner":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","id":327146},"name":"TestPyGithub","clone_url":"https://github.com/jacquev6/TestPyGithub.git","id":3609314,"ssh_url":"git@github.com:jacquev6/TestPyGithub.git","description":"Guinea-pig for PyGithub testing","open_issues":16}
GET /repos/jacquev6/TestPyGithub/hooks {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4916'), ('content-length', '2'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d751713988987e9331980363e24189ce"'), ('date', 'Sat, 03 Mar 2012 12:42:24 GMT'), ('content-type', 'application/json; charset=utf-8')]
[]
POST /repos/jacquev6/TestPyGithub/hooks {} {"config": {"url": "http://www.invalid.org"}, "name": "web"}
201
[('status', '201 Created'), ('x-ratelimit-remaining', '4915'), ('content-length', '289'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"2a89ca7883d74eb81c7988e928d633cd"'), ('date', 'Sat, 03 Mar 2012 12:42:25 GMT'), ('content-type', 'application/json; charset=utf-8'), ('location', 'https://api.github.com/repos/jacquev6/TestPyGithub/hooks/185159')]
{"config":{"url":"http://www.invalid.org"},"active":true,"updated_at":"2012-03-03T12:42:24Z","last_response":{"message":null,"code":null},"url":"https://api.github.com/repos/jacquev6/TestPyGithub/hooks/185159","created_at":"2012-03-03T12:42:24Z","name":"web","events":["push"],"id":185159}
GET /repos/jacquev6/TestPyGithub/hooks {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4914'), ('content-length', '291'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"ef5398635270382213075871ed53aecc"'), ('date', 'Sat, 03 Mar 2012 12:42:25 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"config":{"url":"http://www.invalid.org"},"active":true,"updated_at":"2012-03-03T12:42:24Z","last_response":{"message":null,"code":null},"url":"https://api.github.com/repos/jacquev6/TestPyGithub/hooks/185159","created_at":"2012-03-03T12:42:24Z","name":"web","events":["push"],"id":185159}]
PATCH /repos/jacquev6/TestPyGithub/hooks/185159 {} {"config": {"url": "http://www.postbin.org/w5cgjr"}, "name": "web"}
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4913'), ('content-length', '296'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"08c1920b16f2645d8496bb767c60b4f7"'), ('date', 'Sat, 03 Mar 2012 12:42:26 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"config":{"url":"http://www.postbin.org/w5cgjr"},"active":true,"updated_at":"2012-03-03T12:42:26Z","url":"https://api.github.com/repos/jacquev6/TestPyGithub/hooks/185159","created_at":"2012-03-03T12:42:24Z","name":"web","last_response":{"message":null,"code":null},"events":["push"],"id":185159}
GET /repos/jacquev6/TestPyGithub/hooks {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4912'), ('content-length', '298'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"e605358e9872260bb06a4f22da481045"'), ('date', 'Sat, 03 Mar 2012 12:42:26 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"config":{"url":"http://www.postbin.org/w5cgjr"},"active":true,"updated_at":"2012-03-03T12:42:26Z","last_response":{"message":null,"code":null},"url":"https://api.github.com/repos/jacquev6/TestPyGithub/hooks/185159","created_at":"2012-03-03T12:42:24Z","name":"web","events":["push"],"id":185159}]
GET /repos/jacquev6/TestPyGithub/hooks/185159 {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4911'), ('content-length', '296'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"2c963868aef4ccc27990bafd07c13d4e"'), ('date', 'Sat, 03 Mar 2012 12:42:27 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"config":{"url":"http://www.postbin.org/w5cgjr"},"active":true,"updated_at":"2012-03-03T12:42:26Z","last_response":{"message":null,"code":null},"url":"https://api.github.com/repos/jacquev6/TestPyGithub/hooks/185159","created_at":"2012-03-03T12:42:24Z","name":"web","events":["push"],"id":185159}
POST /repos/jacquev6/TestPyGithub/hooks/185159/test {} null
204
[('status', '204 No Content'), ('x-ratelimit-remaining', '4910'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d41d8cd98f00b204e9800998ecf8427e"'), ('date', 'Sat, 03 Mar 2012 12:42:28 GMT')]
DELETE /repos/jacquev6/TestPyGithub/hooks/185159 {} null
204
[('status', '204 No Content'), ('x-ratelimit-remaining', '4909'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d41d8cd98f00b204e9800998ecf8427e"'), ('date', 'Sat, 03 Mar 2012 12:42:28 GMT')]
GET /repos/jacquev6/TestPyGithub/hooks {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4908'), ('content-length', '2'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d751713988987e9331980363e24189ce"'), ('date', 'Sat, 03 Mar 2012 12:42:29 GMT'), ('content-type', 'application/json; charset=utf-8')]
[]
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-45
View File
@@ -1,45 +0,0 @@
GET /user/keys {} null
200
[('status', '200 OK'), ('content-length', '1430'), ('x-ratelimit-limit', '5000'), ('x-ratelimit-remaining', '4832'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('etag', '"6438c058dc2b4e1151f0180941e7db97"'), ('date', 'Thu, 01 Mar 2012 20:55:03 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"key":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC262QAZ3rvJ7KySFEHUQYGfntylusL03x/ULKdVaSltc3Z2xvWm4zQSLHrWrdUbRN9z9kMpHWZZ2G+pvUPcY/qijbqtwg9FwBHNZoviq65LujKyQeegFXQKhGGaesDeKKC+jTXbg2NJY6+u5HLe4Je8q45VVHyAfltcuSE2QoCim50toyGUGWhcIDz/2mQYpy1wtkehQA6TeC55UE00TSU06E9glnqVi8hjDlsA7DABqyctG/sjP79OwUMBppiXYX2B0RJMtRHZ+5chsHx8oqavux1oG/tdTw9ZSAfKUHfDrN97x9PB38F3j8s60S2udRwLEYuErlF1JizTF4XOZhD","url":"https://api.github.com/user/keys/688586","id":688586,"title":"vincent@home"},{"key":"ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA3CG7CI2EKMS6xeHgj1lC9tkjDJRotG9ZB7E/YbMy0l15I+ReiM5cQvYhivK2myJh7uiMBPa/VjowhZb7DvitZF8aUa99zHCygKDvN/XBl2nMEY8A01BmG6/JGlP1fgU1HdbULn1E6j0a+mYIFlpDzOFKTJqR25OzngOFC4VYiPVnoyH+uPZWWeOMPgdiJxAEWKs267OjXeikYfYE2xQN9M3a1EHitkwWOeVNKIqDTxoAU8f+Ifl4Cchq4mF56pWETSsj4hQ9YhXtzI8Grun0ZoYZM/cLPLo5rSi++FAJNU2T9yc/0G75DKEYH9UroLSQBua7KF+ixrIEtD6hI4gxDQ==","url":"https://api.github.com/user/keys/688598","id":688598,"title":"vincent@gandi"},{"key":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCwMTPUYqezUk3PuUlqrvNYKrKZfMMs+xnXiBh1IDNKlypFZ1awxb88gO/gzzoDRQK30jf6v6Z0bcsipjiVfejK9gCBb1k+SrQQRSGPvfoO/LvdRFDhltXVPCJDf6wpQT6QncBGagYaLMorMtN2685yphs6hxfT0LTvUhiZGn6NEIPYXOz+L6+HUF4q0ovE8FZjCA0sooGTafpIKifaY4pJt2ppAtXqIQRgPQO1kEf6SOKxvGlr6TWgK6DvL75kbKc0eM3JgKN5l3CjEU6uuFZ2r/Qr00A8VRfqrq1I/LaaiyoyEKJc/KVMnZES+uF5FAsE+QFVG7C9XV9dX0XK5HSL","url":"https://api.github.com/user/keys/1664432","id":1664432,"title":"vincent@foxboard"}]
GET /user {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4831'), ('content-length', '801'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"36c0c3ad8484a74605d5187ce85d8be7"'), ('date', 'Thu, 01 Mar 2012 20:55:04 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"disk_usage":17252,"type":"User","gravatar_id":"b68de5ae38616c296fa345d2b9df2225","owned_private_repos":5,"following":24,"login":"jacquev6","public_gists":4,"private_gists":2,"collaborators":0,"public_repos":15,"avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","plan":{"collaborators":1,"name":"micro","private_repos":5,"space":614400},"blog":"http://vincent-jacques.net","location":"Paris, France","company":"Criteo","hireable":false,"url":"https://api.github.com/users/jacquev6","html_url":"https://github.com/jacquev6","created_at":"2010-07-09T06:10:06Z","name":"Vincent Jacques","email":"vincent@vincent-jacques.net","bio":"","id":327146,"total_private_repos":5,"followers":12}
POST /user/keys {} {"key": "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAvborozfBBn2a+JETqPekTWZ1tmYjpfH9wTKFPLjIXQmxXjNye6HVgvi+iMI436RdoLsPEFDe3cjrQ6CJa7KzhRJKNTPh5EZbKI13CXfMGr7V1i3tOokXBFSRQKnDx2dj2hnswqxGUk2jXpgC/KA1q71yqnL45CBlWr50eDpwUIEPnmqSrPpRV/0ZGwIlh4o7+6HwPUF9aBhWj945WSkjZubR4UFWlDZl7ROafpkJHs2cQzaxtmBOZnu6dzmfyro0zJsvhZKD2K6d9eKgpDeKaw5rWr6FeOZPd4xyDaV1gctG0YEui8uuSPKhpcykgREUAFf+vmOKt+yXnOoq8P4vIQ==", "title": "jacquev6@PyGithub"}
201
[('status', '201 Created'), ('x-ratelimit-remaining', '4830'), ('content-length', '480'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"2e964dd9a6e29e26e55e9fe20eb99b24"'), ('date', 'Thu, 01 Mar 2012 20:55:05 GMT'), ('content-type', 'application/json; charset=utf-8'), ('location', 'https://api.github.com/user/keys/2092061')]
{"key":"ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAvborozfBBn2a+JETqPekTWZ1tmYjpfH9wTKFPLjIXQmxXjNye6HVgvi+iMI436RdoLsPEFDe3cjrQ6CJa7KzhRJKNTPh5EZbKI13CXfMGr7V1i3tOokXBFSRQKnDx2dj2hnswqxGUk2jXpgC/KA1q71yqnL45CBlWr50eDpwUIEPnmqSrPpRV/0ZGwIlh4o7+6HwPUF9aBhWj945WSkjZubR4UFWlDZl7ROafpkJHs2cQzaxtmBOZnu6dzmfyro0zJsvhZKD2K6d9eKgpDeKaw5rWr6FeOZPd4xyDaV1gctG0YEui8uuSPKhpcykgREUAFf+vmOKt+yXnOoq8P4vIQ==","title":"jacquev6@PyGithub","url":"https://api.github.com/user/keys/2092061","id":2092061}
GET /user/keys {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4829'), ('content-length', '1911'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"3298a7b88a38c7d6ffe2397d5d794aac"'), ('date', 'Thu, 01 Mar 2012 20:55:05 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"key":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC262QAZ3rvJ7KySFEHUQYGfntylusL03x/ULKdVaSltc3Z2xvWm4zQSLHrWrdUbRN9z9kMpHWZZ2G+pvUPcY/qijbqtwg9FwBHNZoviq65LujKyQeegFXQKhGGaesDeKKC+jTXbg2NJY6+u5HLe4Je8q45VVHyAfltcuSE2QoCim50toyGUGWhcIDz/2mQYpy1wtkehQA6TeC55UE00TSU06E9glnqVi8hjDlsA7DABqyctG/sjP79OwUMBppiXYX2B0RJMtRHZ+5chsHx8oqavux1oG/tdTw9ZSAfKUHfDrN97x9PB38F3j8s60S2udRwLEYuErlF1JizTF4XOZhD","title":"vincent@home","url":"https://api.github.com/user/keys/688586","id":688586},{"key":"ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA3CG7CI2EKMS6xeHgj1lC9tkjDJRotG9ZB7E/YbMy0l15I+ReiM5cQvYhivK2myJh7uiMBPa/VjowhZb7DvitZF8aUa99zHCygKDvN/XBl2nMEY8A01BmG6/JGlP1fgU1HdbULn1E6j0a+mYIFlpDzOFKTJqR25OzngOFC4VYiPVnoyH+uPZWWeOMPgdiJxAEWKs267OjXeikYfYE2xQN9M3a1EHitkwWOeVNKIqDTxoAU8f+Ifl4Cchq4mF56pWETSsj4hQ9YhXtzI8Grun0ZoYZM/cLPLo5rSi++FAJNU2T9yc/0G75DKEYH9UroLSQBua7KF+ixrIEtD6hI4gxDQ==","title":"vincent@gandi","url":"https://api.github.com/user/keys/688598","id":688598},{"key":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCwMTPUYqezUk3PuUlqrvNYKrKZfMMs+xnXiBh1IDNKlypFZ1awxb88gO/gzzoDRQK30jf6v6Z0bcsipjiVfejK9gCBb1k+SrQQRSGPvfoO/LvdRFDhltXVPCJDf6wpQT6QncBGagYaLMorMtN2685yphs6hxfT0LTvUhiZGn6NEIPYXOz+L6+HUF4q0ovE8FZjCA0sooGTafpIKifaY4pJt2ppAtXqIQRgPQO1kEf6SOKxvGlr6TWgK6DvL75kbKc0eM3JgKN5l3CjEU6uuFZ2r/Qr00A8VRfqrq1I/LaaiyoyEKJc/KVMnZES+uF5FAsE+QFVG7C9XV9dX0XK5HSL","title":"vincent@foxboard","url":"https://api.github.com/user/keys/1664432","id":1664432},{"key":"ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAvborozfBBn2a+JETqPekTWZ1tmYjpfH9wTKFPLjIXQmxXjNye6HVgvi+iMI436RdoLsPEFDe3cjrQ6CJa7KzhRJKNTPh5EZbKI13CXfMGr7V1i3tOokXBFSRQKnDx2dj2hnswqxGUk2jXpgC/KA1q71yqnL45CBlWr50eDpwUIEPnmqSrPpRV/0ZGwIlh4o7+6HwPUF9aBhWj945WSkjZubR4UFWlDZl7ROafpkJHs2cQzaxtmBOZnu6dzmfyro0zJsvhZKD2K6d9eKgpDeKaw5rWr6FeOZPd4xyDaV1gctG0YEui8uuSPKhpcykgREUAFf+vmOKt+yXnOoq8P4vIQ==","title":"jacquev6@PyGithub","url":"https://api.github.com/user/keys/2092061","id":2092061}]
PATCH /user/keys/2092061 {} {"title": "jacquev6@PyGithub2"}
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4828'), ('content-length', '481'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"3b4f39f5348a15a9e571b8d4390aecc3"'), ('date', 'Thu, 01 Mar 2012 20:55:06 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"key":"ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAvborozfBBn2a+JETqPekTWZ1tmYjpfH9wTKFPLjIXQmxXjNye6HVgvi+iMI436RdoLsPEFDe3cjrQ6CJa7KzhRJKNTPh5EZbKI13CXfMGr7V1i3tOokXBFSRQKnDx2dj2hnswqxGUk2jXpgC/KA1q71yqnL45CBlWr50eDpwUIEPnmqSrPpRV/0ZGwIlh4o7+6HwPUF9aBhWj945WSkjZubR4UFWlDZl7ROafpkJHs2cQzaxtmBOZnu6dzmfyro0zJsvhZKD2K6d9eKgpDeKaw5rWr6FeOZPd4xyDaV1gctG0YEui8uuSPKhpcykgREUAFf+vmOKt+yXnOoq8P4vIQ==","title":"jacquev6@PyGithub2","url":"https://api.github.com/user/keys/2092061","id":2092061}
GET /user/keys/2092061 {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4827'), ('content-length', '481'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"3b4f39f5348a15a9e571b8d4390aecc3"'), ('date', 'Thu, 01 Mar 2012 20:55:07 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"key":"ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAvborozfBBn2a+JETqPekTWZ1tmYjpfH9wTKFPLjIXQmxXjNye6HVgvi+iMI436RdoLsPEFDe3cjrQ6CJa7KzhRJKNTPh5EZbKI13CXfMGr7V1i3tOokXBFSRQKnDx2dj2hnswqxGUk2jXpgC/KA1q71yqnL45CBlWr50eDpwUIEPnmqSrPpRV/0ZGwIlh4o7+6HwPUF9aBhWj945WSkjZubR4UFWlDZl7ROafpkJHs2cQzaxtmBOZnu6dzmfyro0zJsvhZKD2K6d9eKgpDeKaw5rWr6FeOZPd4xyDaV1gctG0YEui8uuSPKhpcykgREUAFf+vmOKt+yXnOoq8P4vIQ==","title":"jacquev6@PyGithub2","url":"https://api.github.com/user/keys/2092061","id":2092061}
GET /user/keys {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4826'), ('content-length', '1912'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"757c317ff573e06622b517a3535aa355"'), ('date', 'Thu, 01 Mar 2012 20:55:07 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"key":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC262QAZ3rvJ7KySFEHUQYGfntylusL03x/ULKdVaSltc3Z2xvWm4zQSLHrWrdUbRN9z9kMpHWZZ2G+pvUPcY/qijbqtwg9FwBHNZoviq65LujKyQeegFXQKhGGaesDeKKC+jTXbg2NJY6+u5HLe4Je8q45VVHyAfltcuSE2QoCim50toyGUGWhcIDz/2mQYpy1wtkehQA6TeC55UE00TSU06E9glnqVi8hjDlsA7DABqyctG/sjP79OwUMBppiXYX2B0RJMtRHZ+5chsHx8oqavux1oG/tdTw9ZSAfKUHfDrN97x9PB38F3j8s60S2udRwLEYuErlF1JizTF4XOZhD","title":"vincent@home","url":"https://api.github.com/user/keys/688586","id":688586},{"key":"ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA3CG7CI2EKMS6xeHgj1lC9tkjDJRotG9ZB7E/YbMy0l15I+ReiM5cQvYhivK2myJh7uiMBPa/VjowhZb7DvitZF8aUa99zHCygKDvN/XBl2nMEY8A01BmG6/JGlP1fgU1HdbULn1E6j0a+mYIFlpDzOFKTJqR25OzngOFC4VYiPVnoyH+uPZWWeOMPgdiJxAEWKs267OjXeikYfYE2xQN9M3a1EHitkwWOeVNKIqDTxoAU8f+Ifl4Cchq4mF56pWETSsj4hQ9YhXtzI8Grun0ZoYZM/cLPLo5rSi++FAJNU2T9yc/0G75DKEYH9UroLSQBua7KF+ixrIEtD6hI4gxDQ==","title":"vincent@gandi","url":"https://api.github.com/user/keys/688598","id":688598},{"key":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCwMTPUYqezUk3PuUlqrvNYKrKZfMMs+xnXiBh1IDNKlypFZ1awxb88gO/gzzoDRQK30jf6v6Z0bcsipjiVfejK9gCBb1k+SrQQRSGPvfoO/LvdRFDhltXVPCJDf6wpQT6QncBGagYaLMorMtN2685yphs6hxfT0LTvUhiZGn6NEIPYXOz+L6+HUF4q0ovE8FZjCA0sooGTafpIKifaY4pJt2ppAtXqIQRgPQO1kEf6SOKxvGlr6TWgK6DvL75kbKc0eM3JgKN5l3CjEU6uuFZ2r/Qr00A8VRfqrq1I/LaaiyoyEKJc/KVMnZES+uF5FAsE+QFVG7C9XV9dX0XK5HSL","title":"vincent@foxboard","url":"https://api.github.com/user/keys/1664432","id":1664432},{"key":"ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAvborozfBBn2a+JETqPekTWZ1tmYjpfH9wTKFPLjIXQmxXjNye6HVgvi+iMI436RdoLsPEFDe3cjrQ6CJa7KzhRJKNTPh5EZbKI13CXfMGr7V1i3tOokXBFSRQKnDx2dj2hnswqxGUk2jXpgC/KA1q71yqnL45CBlWr50eDpwUIEPnmqSrPpRV/0ZGwIlh4o7+6HwPUF9aBhWj945WSkjZubR4UFWlDZl7ROafpkJHs2cQzaxtmBOZnu6dzmfyro0zJsvhZKD2K6d9eKgpDeKaw5rWr6FeOZPd4xyDaV1gctG0YEui8uuSPKhpcykgREUAFf+vmOKt+yXnOoq8P4vIQ==","title":"jacquev6@PyGithub2","url":"https://api.github.com/user/keys/2092061","id":2092061}]
DELETE /user/keys/2092061 {} null
204
[('status', '204 No Content'), ('x-ratelimit-remaining', '4825'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d41d8cd98f00b204e9800998ecf8427e"'), ('date', 'Thu, 01 Mar 2012 20:55:08 GMT')]
GET /user/keys {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4824'), ('content-length', '1430'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"687015696afbffa6532273b091dd0e53"'), ('date', 'Thu, 01 Mar 2012 20:55:08 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"key":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC262QAZ3rvJ7KySFEHUQYGfntylusL03x/ULKdVaSltc3Z2xvWm4zQSLHrWrdUbRN9z9kMpHWZZ2G+pvUPcY/qijbqtwg9FwBHNZoviq65LujKyQeegFXQKhGGaesDeKKC+jTXbg2NJY6+u5HLe4Je8q45VVHyAfltcuSE2QoCim50toyGUGWhcIDz/2mQYpy1wtkehQA6TeC55UE00TSU06E9glnqVi8hjDlsA7DABqyctG/sjP79OwUMBppiXYX2B0RJMtRHZ+5chsHx8oqavux1oG/tdTw9ZSAfKUHfDrN97x9PB38F3j8s60S2udRwLEYuErlF1JizTF4XOZhD","title":"vincent@home","url":"https://api.github.com/user/keys/688586","id":688586},{"key":"ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA3CG7CI2EKMS6xeHgj1lC9tkjDJRotG9ZB7E/YbMy0l15I+ReiM5cQvYhivK2myJh7uiMBPa/VjowhZb7DvitZF8aUa99zHCygKDvN/XBl2nMEY8A01BmG6/JGlP1fgU1HdbULn1E6j0a+mYIFlpDzOFKTJqR25OzngOFC4VYiPVnoyH+uPZWWeOMPgdiJxAEWKs267OjXeikYfYE2xQN9M3a1EHitkwWOeVNKIqDTxoAU8f+Ifl4Cchq4mF56pWETSsj4hQ9YhXtzI8Grun0ZoYZM/cLPLo5rSi++FAJNU2T9yc/0G75DKEYH9UroLSQBua7KF+ixrIEtD6hI4gxDQ==","title":"vincent@gandi","url":"https://api.github.com/user/keys/688598","id":688598},{"key":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCwMTPUYqezUk3PuUlqrvNYKrKZfMMs+xnXiBh1IDNKlypFZ1awxb88gO/gzzoDRQK30jf6v6Z0bcsipjiVfejK9gCBb1k+SrQQRSGPvfoO/LvdRFDhltXVPCJDf6wpQT6QncBGagYaLMorMtN2685yphs6hxfT0LTvUhiZGn6NEIPYXOz+L6+HUF4q0ovE8FZjCA0sooGTafpIKifaY4pJt2ppAtXqIQRgPQO1kEf6SOKxvGlr6TWgK6DvL75kbKc0eM3JgKN5l3CjEU6uuFZ2r/Qr00A8VRfqrq1I/LaaiyoyEKJc/KVMnZES+uF5FAsE+QFVG7C9XV9dX0XK5HSL","title":"vincent@foxboard","url":"https://api.github.com/user/keys/1664432","id":1664432}]
@@ -1,30 +0,0 @@
GET /user {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4981'), ('content-length', '801'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"0806ed9cb560b7d7ac80e9ae3198d91d"'), ('date', 'Mon, 12 Mar 2012 21:04:48 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"html_url":"https://github.com/jacquev6","type":"User","url":"https://api.github.com/users/jacquev6","disk_usage":17576,"created_at":"2010-07-09T06:10:06Z","email":"vincent@vincent-jacques.net","gravatar_id":"b68de5ae38616c296fa345d2b9df2225","public_repos":16,"total_private_repos":5,"public_gists":1,"blog":"http://vincent-jacques.net","owned_private_repos":5,"private_gists":2,"following":24,"hireable":false,"login":"jacquev6","bio":"","followers":12,"name":"Vincent Jacques","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","plan":{"private_repos":5,"space":614400,"name":"micro","collaborators":1},"location":"Paris, France","id":327146,"collaborators":0,"company":"Criteo"}
GET /repos/jacquev6/TestPyGithub {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4980'), ('content-length', '1067'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"3bbcb6cc516e4017433512a4a88c84d7"'), ('date', 'Mon, 12 Mar 2012 21:04:49 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"html_url":"https://github.com/jacquev6/TestPyGithub","ssh_url":"git@github.com:jacquev6/TestPyGithub.git","url":"https://api.github.com/repos/jacquev6/TestPyGithub","has_downloads":true,"created_at":"2012-03-03T07:41:19Z","has_issues":true,"master_branch":null,"description":"Guinea-pig for PyGithub testing","forks":2,"git_url":"git://github.com/jacquev6/TestPyGithub.git","fork":false,"has_wiki":true,"svn_url":"https://github.com/jacquev6/TestPyGithub","private":false,"homepage":"http://vincent-jacques.net/PyGithub","size":84,"mirror_url":null,"open_issues":17,"updated_at":"2012-03-04T09:21:39Z","owner":{"url":"https://api.github.com/users/jacquev6","gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","id":327146},"name":"TestPyGithub","clone_url":"https://github.com/jacquev6/TestPyGithub.git","watchers":1,"pushed_at":"2012-03-03T07:43:16Z","id":3609314,"language":null}
GET /repos/jacquev6/TestPyGithub/pulls/26 {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4979'), ('content-length', '4346'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"9ad20f78af06aee1fae29fb454b88fa1"'), ('date', 'Mon, 12 Mar 2012 21:04:49 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"title":"Pull request created by PyGithub","url":"https://api.github.com/repos/jacquev6/TestPyGithub/pulls/26","merged":false,"commits":5,"additions":1,"created_at":"2012-03-12T20:59:55Z","number":26,"deletions":0,"head":{"ref":"master","repo":{"ssh_url":"git@github.com:BeaverSoftware/TestPyGithub.git","url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub","has_downloads":true,"created_at":"2012-03-03T07:53:19Z","git_url":"git://github.com/BeaverSoftware/TestPyGithub.git","has_issues":false,"master_branch":null,"description":"Guinea-pig for PyGithub testing","forks":0,"fork":true,"mirror_url":null,"has_wiki":true,"svn_url":"https://github.com/BeaverSoftware/TestPyGithub","private":false,"html_url":"https://github.com/BeaverSoftware/TestPyGithub","homepage":"http://vincent-jacques.net/PyGithub","size":112,"open_issues":0,"updated_at":"2012-03-03T08:57:40Z","owner":{"url":"https://api.github.com/users/BeaverSoftware","gravatar_id":"d563e337cac2fdc644e2aaaad1e23266","login":"BeaverSoftware","avatar_url":"https://secure.gravatar.com/avatar/d563e337cac2fdc644e2aaaad1e23266?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","id":1424031},"name":"TestPyGithub","clone_url":"https://github.com/BeaverSoftware/TestPyGithub.git","watchers":1,"pushed_at":"2012-03-03T08:57:40Z","id":3609352,"language":null},"sha":"390bcc2b855d419e9fd6727049aa9217db56a06a","label":"BeaverSoftware:master","user":{"url":"https://api.github.com/users/BeaverSoftware","gravatar_id":"d563e337cac2fdc644e2aaaad1e23266","login":"BeaverSoftware","avatar_url":"https://secure.gravatar.com/avatar/d563e337cac2fdc644e2aaaad1e23266?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","id":1424031}},"body":"","diff_url":"https://github.com/jacquev6/TestPyGithub/pull/26.diff","mergeable":true,"issue_url":"https://github.com/jacquev6/TestPyGithub/issues/26","patch_url":"https://github.com/jacquev6/TestPyGithub/pull/26.patch","merged_by":null,"closed_at":null,"base":{"ref":"master","repo":{"ssh_url":"git@github.com:jacquev6/TestPyGithub.git","url":"https://api.github.com/repos/jacquev6/TestPyGithub","has_downloads":true,"created_at":"2012-03-03T07:41:19Z","git_url":"git://github.com/jacquev6/TestPyGithub.git","has_issues":true,"master_branch":null,"description":"Guinea-pig for PyGithub testing","forks":2,"fork":false,"mirror_url":null,"has_wiki":true,"svn_url":"https://github.com/jacquev6/TestPyGithub","private":false,"html_url":"https://github.com/jacquev6/TestPyGithub","homepage":"http://vincent-jacques.net/PyGithub","size":84,"open_issues":17,"updated_at":"2012-03-04T09:21:39Z","owner":{"url":"https://api.github.com/users/jacquev6","gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","id":327146},"name":"TestPyGithub","clone_url":"https://github.com/jacquev6/TestPyGithub.git","watchers":1,"pushed_at":"2012-03-03T07:43:16Z","id":3609314,"language":null},"sha":"6967a1f8f46e71d93ded1f0dd7c75ddb86d27dea","label":"jacquev6:master","user":{"url":"https://api.github.com/users/jacquev6","gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","id":327146}},"html_url":"https://github.com/jacquev6/TestPyGithub/pull/26","comments":0,"review_comments":0,"_links":{"html":{"href":"https://github.com/jacquev6/TestPyGithub/pull/26"},"review_comments":{"href":"https://api.github.com/repos/jacquev6/TestPyGithub/pulls/26/comments"},"comments":{"href":"https://api.github.com/repos/jacquev6/TestPyGithub/issues/26/comments"},"self":{"href":"https://api.github.com/repos/jacquev6/TestPyGithub/pulls/26"}},"updated_at":"2012-03-12T20:59:55Z","state":"open","changed_files":1,"merged_at":null,"id":970178,"user":{"url":"https://api.github.com/users/jacquev6","gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","id":327146}}
GET /repos/jacquev6/TestPyGithub/pulls/26/merge {} null
404
[('status', '404 Not Found'), ('x-ratelimit-remaining', '4978'), ('content-length', '23'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"e66a7a6c91e2c26803f3f49feb7a883f"'), ('date', 'Mon, 12 Mar 2012 21:04:50 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"message":"Not Found"}
PUT /repos/jacquev6/TestPyGithub/pulls/26/merge {} {}
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4977'), ('content-length', '109'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"6a9d69e558b3ab1b3747a666517b02c5"'), ('date', 'Mon, 12 Mar 2012 21:04:51 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"merged":true,"message":"Pull Request successfully merged","sha":"5098a3636ee911fcc01391c7d8ae0afbc1966aee"}
GET /repos/jacquev6/TestPyGithub/pulls/26/merge {} null
204
[('status', '204 No Content'), ('x-ratelimit-remaining', '4976'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d41d8cd98f00b204e9800998ecf8427e"'), ('date', 'Mon, 12 Mar 2012 21:04:52 GMT')]
File diff suppressed because one or more lines are too long
@@ -1,5 +0,0 @@
GET /orgs/github {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4999'), ('content-length', '528'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"a2b2dfa7810b511d0a7e25aef5ef8094"'), ('date', 'Sun, 04 Mar 2012 08:16:06 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"type":"Organization","following":0,"html_url":"https://github.com/github","login":"github","public_gists":0,"blog":"https://github.com/about","location":"San Francisco, CA","company":null,"avatar_url":"https://secure.gravatar.com/avatar/61024896f291303615bcd4f7a0dcfb74?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","url":"https://api.github.com/orgs/github","created_at":"2008-05-11T04:37:31Z","name":"GitHub","email":"support@github.com","id":9919,"public_repos":47,"followers":642}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,80 +0,0 @@
GET /user {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4882'), ('content-length', '801'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"f0d8023bae676f24fdfcd057184854c0"'), ('date', 'Sun, 04 Mar 2012 09:37:57 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"disk_usage":17432,"type":"User","gravatar_id":"b68de5ae38616c296fa345d2b9df2225","following":24,"html_url":"https://github.com/jacquev6","blog":"http://vincent-jacques.net","hireable":false,"login":"jacquev6","bio":"","total_private_repos":5,"plan":{"name":"micro","private_repos":5,"collaborators":1,"space":614400},"public_gists":1,"location":"Paris, France","company":"Criteo","owned_private_repos":5,"private_gists":2,"url":"https://api.github.com/users/jacquev6","created_at":"2010-07-09T06:10:06Z","name":"Vincent Jacques","email":"vincent@vincent-jacques.net","collaborators":0,"id":327146,"public_repos":16,"followers":12,"avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"}
GET /repos/jacquev6/PyGithub {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4881'), ('content-length', '1070'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"9f762fdd9c5adb992c908c65efafb586"'), ('date', 'Sun, 04 Mar 2012 09:37:58 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"watchers":5,"pushed_at":"2012-03-03T15:18:59Z","homepage":"http://vincent-jacques.net/PyGithub","has_downloads":true,"has_issues":true,"master_branch":null,"updated_at":"2012-03-03T16:22:44Z","forks":1,"fork":false,"svn_url":"https://github.com/jacquev6/PyGithub","mirror_url":null,"language":"Python","private":false,"git_url":"git://github.com/jacquev6/PyGithub.git","size":592,"has_wiki":false,"url":"https://api.github.com/repos/jacquev6/PyGithub","html_url":"https://github.com/jacquev6/PyGithub","created_at":"2012-02-25T12:53:47Z","owner":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","id":327146},"name":"PyGithub","clone_url":"https://github.com/jacquev6/PyGithub.git","id":3544490,"ssh_url":"git@github.com:jacquev6/PyGithub.git","description":"Python library (soon) implementing the full Github API v3","open_issues":1}
GET /user {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4880'), ('content-length', '801'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"0ca99fa33b134c442e369399e25488e8"'), ('date', 'Sun, 04 Mar 2012 09:37:59 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"owned_private_repos":5,"disk_usage":17432,"type":"User","gravatar_id":"b68de5ae38616c296fa345d2b9df2225","following":24,"login":"jacquev6","blog":"http://vincent-jacques.net","public_gists":1,"private_gists":2,"plan":{"private_repos":5,"collaborators":1,"name":"micro","space":614400},"location":"Paris, France","hireable":false,"company":"Criteo","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","collaborators":0,"bio":"","url":"https://api.github.com/users/jacquev6","html_url":"https://github.com/jacquev6","created_at":"2010-07-09T06:10:06Z","name":"Vincent Jacques","email":"vincent@vincent-jacques.net","total_private_repos":5,"id":327146,"public_repos":16,"followers":12}
GET /repos/jacquev6/TestPyGithub {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4879'), ('content-length', '1067'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"a2d51d73a945c27e43db0473e90a9a31"'), ('date', 'Sun, 04 Mar 2012 09:37:59 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"watchers":1,"pushed_at":"2012-03-03T07:43:16Z","html_url":"https://github.com/jacquev6/TestPyGithub","homepage":"http://vincent-jacques.net/PyGithub","has_downloads":true,"has_issues":true,"master_branch":null,"updated_at":"2012-03-04T09:21:39Z","forks":2,"fork":false,"svn_url":"https://github.com/jacquev6/TestPyGithub","language":null,"private":false,"git_url":"git://github.com/jacquev6/TestPyGithub.git","size":84,"has_wiki":true,"url":"https://api.github.com/repos/jacquev6/TestPyGithub","created_at":"2012-03-03T07:41:19Z","owner":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","url":"https://api.github.com/users/jacquev6","id":327146,"avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"name":"TestPyGithub","clone_url":"https://github.com/jacquev6/TestPyGithub.git","mirror_url":null,"id":3609314,"ssh_url":"git@github.com:jacquev6/TestPyGithub.git","description":"Guinea-pig for PyGithub testing","open_issues":16}
GET /repos/jacquev6/PyGithub/branches {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4878'), ('content-length', '955'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"98260aa4faf337ae9e7949bd219c0c11"'), ('date', 'Sun, 04 Mar 2012 09:38:00 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"commit":{"sha":"fec821278a83849e399aa66d7893e8c5e115960a","url":"https://api.github.com/repos/jacquev6/PyGithub/commits/fec821278a83849e399aa66d7893e8c5e115960a"},"name":"topic/AddHooksAndEvents"},{"commit":{"sha":"6cf0a59c74c8d4531fc83c2d247f0a1ad6885b1c","url":"https://api.github.com/repos/jacquev6/PyGithub/commits/6cf0a59c74c8d4531fc83c2d247f0a1ad6885b1c"},"name":"topic/Todos"},{"commit":{"sha":"636e6112deb72277b3bffcc3303cd7e8a7431a5d","url":"https://api.github.com/repos/jacquev6/PyGithub/commits/636e6112deb72277b3bffcc3303cd7e8a7431a5d"},"name":"master"},{"commit":{"sha":"6cf0a59c74c8d4531fc83c2d247f0a1ad6885b1c","url":"https://api.github.com/repos/jacquev6/PyGithub/commits/6cf0a59c74c8d4531fc83c2d247f0a1ad6885b1c"},"name":"topic/RefactorGithubObjects"},{"commit":{"sha":"5c17275366efd3bc9414958d661d9a017022be6b","url":"https://api.github.com/repos/jacquev6/PyGithub/commits/5c17275366efd3bc9414958d661d9a017022be6b"},"name":"develop"}]
GET /repos/jacquev6/TestPyGithub/comments {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4877'), ('content-length', '3492'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"3c76a352d7afa4de2e354423d44f4b56"'), ('date', 'Sun, 04 Mar 2012 09:38:01 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"updated_at":"2012-03-04T08:32:17Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"jacquev6","url":"https://api.github.com/users/jacquev6","id":327146},"commit_id":"6967a1f8f46e71d93ded1f0dd7c75ddb86d27dea","url":"https://api.github.com/repos/jacquev6/TestPyGithub/comments/1039835","created_at":"2012-03-04T08:32:17Z","position":null,"html_url":"https://github.com/jacquev6/TestPyGithub/commit/6967a1f8f4#commitcomment-1039835","path":"ReadMe.md","line":1,"id":1039835,"body":"Comment also created by PyGithub"},{"updated_at":"2012-03-04T08:33:53Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"jacquev6","url":"https://api.github.com/users/jacquev6","id":327146},"commit_id":"6967a1f8f46e71d93ded1f0dd7c75ddb86d27dea","url":"https://api.github.com/repos/jacquev6/TestPyGithub/comments/1039839","created_at":"2012-03-04T08:33:53Z","position":null,"html_url":"https://github.com/jacquev6/TestPyGithub/commit/6967a1f8f4#commitcomment-1039839","path":"ReadMe.md","line":1,"id":1039839,"body":"Comment also created by PyGithub"},{"updated_at":"2012-03-04T08:34:49Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"jacquev6","url":"https://api.github.com/users/jacquev6","id":327146},"commit_id":"6967a1f8f46e71d93ded1f0dd7c75ddb86d27dea","url":"https://api.github.com/repos/jacquev6/TestPyGithub/comments/1039842","created_at":"2012-03-04T08:34:49Z","position":null,"html_url":"https://github.com/jacquev6/TestPyGithub/commit/6967a1f8f4#commitcomment-1039842","path":null,"line":null,"id":1039842,"body":"Comment created by PyGithub"},{"updated_at":"2012-03-04T08:34:50Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"jacquev6","url":"https://api.github.com/users/jacquev6","id":327146},"commit_id":"6967a1f8f46e71d93ded1f0dd7c75ddb86d27dea","url":"https://api.github.com/repos/jacquev6/TestPyGithub/comments/1039843","created_at":"2012-03-04T08:34:50Z","position":null,"html_url":"https://github.com/jacquev6/TestPyGithub/commit/6967a1f8f4#commitcomment-1039843","path":"ReadMe.md","line":1,"id":1039843,"body":"Comment also created by PyGithub"},{"updated_at":"2012-03-04T08:35:59Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"jacquev6","url":"https://api.github.com/users/jacquev6","id":327146},"commit_id":"6967a1f8f46e71d93ded1f0dd7c75ddb86d27dea","url":"https://api.github.com/repos/jacquev6/TestPyGithub/comments/1039845","created_at":"2012-03-04T08:35:55Z","position":null,"html_url":"https://github.com/jacquev6/TestPyGithub/commit/6967a1f8f4#commitcomment-1039845","path":null,"line":null,"id":1039845,"body":"Comment edited by PyGithub"}]
GET /repos/jacquev6/TestPyGithub/comments {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4876'), ('content-length', '3492'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"81513a996ab1cc55a82938fcbc27c377"'), ('date', 'Sun, 04 Mar 2012 09:38:01 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"html_url":"https://github.com/jacquev6/TestPyGithub/commit/6967a1f8f4#commitcomment-1039835","updated_at":"2012-03-04T08:32:17Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","id":327146},"commit_id":"6967a1f8f46e71d93ded1f0dd7c75ddb86d27dea","url":"https://api.github.com/repos/jacquev6/TestPyGithub/comments/1039835","created_at":"2012-03-04T08:32:17Z","position":null,"path":"ReadMe.md","line":1,"id":1039835,"body":"Comment also created by PyGithub"},{"html_url":"https://github.com/jacquev6/TestPyGithub/commit/6967a1f8f4#commitcomment-1039839","updated_at":"2012-03-04T08:33:53Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","id":327146},"commit_id":"6967a1f8f46e71d93ded1f0dd7c75ddb86d27dea","url":"https://api.github.com/repos/jacquev6/TestPyGithub/comments/1039839","created_at":"2012-03-04T08:33:53Z","position":null,"path":"ReadMe.md","line":1,"id":1039839,"body":"Comment also created by PyGithub"},{"html_url":"https://github.com/jacquev6/TestPyGithub/commit/6967a1f8f4#commitcomment-1039842","updated_at":"2012-03-04T08:34:49Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","id":327146},"commit_id":"6967a1f8f46e71d93ded1f0dd7c75ddb86d27dea","url":"https://api.github.com/repos/jacquev6/TestPyGithub/comments/1039842","created_at":"2012-03-04T08:34:49Z","position":null,"path":null,"line":null,"id":1039842,"body":"Comment created by PyGithub"},{"html_url":"https://github.com/jacquev6/TestPyGithub/commit/6967a1f8f4#commitcomment-1039843","updated_at":"2012-03-04T08:34:50Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","id":327146},"commit_id":"6967a1f8f46e71d93ded1f0dd7c75ddb86d27dea","url":"https://api.github.com/repos/jacquev6/TestPyGithub/comments/1039843","created_at":"2012-03-04T08:34:50Z","position":null,"path":"ReadMe.md","line":1,"id":1039843,"body":"Comment also created by PyGithub"},{"html_url":"https://github.com/jacquev6/TestPyGithub/commit/6967a1f8f4#commitcomment-1039845","updated_at":"2012-03-04T08:35:59Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","id":327146},"commit_id":"6967a1f8f46e71d93ded1f0dd7c75ddb86d27dea","url":"https://api.github.com/repos/jacquev6/TestPyGithub/comments/1039845","created_at":"2012-03-04T08:35:55Z","position":null,"path":null,"line":null,"id":1039845,"body":"Comment edited by PyGithub"}]
GET /repos/jacquev6/TestPyGithub/comments/1039835 {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4875'), ('content-length', '701'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"6d25b0fb0b6341d015573c53d680766c"'), ('date', 'Sun, 04 Mar 2012 09:38:02 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"html_url":"https://github.com/jacquev6/TestPyGithub/commit/6967a1f8f4#commitcomment-1039835","updated_at":"2012-03-04T08:32:17Z","user":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","id":327146},"commit_id":"6967a1f8f46e71d93ded1f0dd7c75ddb86d27dea","url":"https://api.github.com/repos/jacquev6/TestPyGithub/comments/1039835","created_at":"2012-03-04T08:32:17Z","position":null,"path":"ReadMe.md","line":1,"id":1039835,"body":"Comment also created by PyGithub"}
GET /repos/jacquev6/PyGithub/contributors {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4874'), ('content-length', '318'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"1a685a9a8362fe37803439ec6654f627"'), ('date', 'Sun, 04 Mar 2012 09:38:03 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","contributions":231,"id":327146}]
GET /repos/jacquev6/TestPyGithub/forks {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4873'), ('content-length', '1119'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"42c7540fa072d0c4ad2c1b27f2b01f84"'), ('date', 'Sun, 04 Mar 2012 09:38:03 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"watchers":1,"pushed_at":"2012-03-03T08:57:40Z","html_url":"https://github.com/BeaverSoftware/TestPyGithub","homepage":"http://vincent-jacques.net/PyGithub","has_downloads":true,"mirror_url":null,"has_issues":false,"master_branch":null,"updated_at":"2012-03-03T08:57:40Z","git_url":"git://github.com/BeaverSoftware/TestPyGithub.git","forks":0,"fork":true,"svn_url":"https://github.com/BeaverSoftware/TestPyGithub","language":null,"private":false,"size":112,"has_wiki":true,"url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub","created_at":"2012-03-03T07:53:19Z","owner":{"gravatar_id":"d563e337cac2fdc644e2aaaad1e23266","login":"BeaverSoftware","avatar_url":"https://secure.gravatar.com/avatar/d563e337cac2fdc644e2aaaad1e23266?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","url":"https://api.github.com/users/BeaverSoftware","id":1424031},"name":"TestPyGithub","clone_url":"https://github.com/BeaverSoftware/TestPyGithub.git","id":3609352,"ssh_url":"git@github.com:BeaverSoftware/TestPyGithub.git","description":"Guinea-pig for PyGithub testing","open_issues":0}]
GET /repos/jacquev6/PyGithub/languages {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4872'), ('content-length', '28'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"718453330e1cd9cb1a36d9083d11c824"'), ('date', 'Sun, 04 Mar 2012 09:38:04 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"Shell":673,"Python":83281}
GET /repos/jacquev6/PyGithub/tags {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4871'), ('content-length', '937'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"e0c718e8bdc34f85042cd16ef706daa4"'), ('date', 'Sun, 04 Mar 2012 09:38:04 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"zipball_url":"https://github.com/jacquev6/PyGithub/zipball/v0.3","name":"v0.3","commit":{"sha":"636e6112deb72277b3bffcc3303cd7e8a7431a5d","url":"https://api.github.com/repos/jacquev6/PyGithub/commits/636e6112deb72277b3bffcc3303cd7e8a7431a5d"},"tarball_url":"https://github.com/jacquev6/PyGithub/tarball/v0.3"},{"zipball_url":"https://github.com/jacquev6/PyGithub/zipball/v0.1","name":"v0.1","commit":{"sha":"dbdcda3591980de42617814f792969126e6402c3","url":"https://api.github.com/repos/jacquev6/PyGithub/commits/dbdcda3591980de42617814f792969126e6402c3"},"tarball_url":"https://github.com/jacquev6/PyGithub/tarball/v0.1"},{"zipball_url":"https://github.com/jacquev6/PyGithub/zipball/v0.2","name":"v0.2","commit":{"sha":"9f0b05161f9d1962b9156e6c91fc04f382028240","url":"https://api.github.com/repos/jacquev6/PyGithub/commits/9f0b05161f9d1962b9156e6c91fc04f382028240"},"tarball_url":"https://github.com/jacquev6/PyGithub/tarball/v0.2"}]
GET /repos/jacquev6/PyGithub/watchers {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4870'), ('content-length', '1467'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"731d27a21f53749e364272c7c64afa0e"'), ('date', 'Sun, 04 Mar 2012 09:38:05 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"gravatar_id":"5341a13bb6125ce7c97cf91b35209e16","avatar_url":"https://secure.gravatar.com/avatar/5341a13bb6125ce7c97cf91b35209e16?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"Stals","url":"https://api.github.com/users/Stals","id":472089},{"gravatar_id":"96e24bccec8300005c74a0d9cd096149","avatar_url":"https://secure.gravatar.com/avatar/96e24bccec8300005c74a0d9cd096149?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"att14","url":"https://api.github.com/users/att14","id":780132},{"gravatar_id":"1b4be24fa7e62eb508ca448da99e43d4","avatar_url":"https://secure.gravatar.com/avatar/1b4be24fa7e62eb508ca448da99e43d4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"jardon-u","url":"https://api.github.com/users/jardon-u","id":994192},{"gravatar_id":"16a037e47cf9737e037169cbd1d2bed6","avatar_url":"https://secure.gravatar.com/avatar/16a037e47cf9737e037169cbd1d2bed6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"huxley","url":"https://api.github.com/users/huxley","id":839},{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"jacquev6","url":"https://api.github.com/users/jacquev6","id":327146}]
GET /orgs/BeaverSoftware {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4869'), ('content-length', '714'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"7b0ba80a3a0dc1e37012cad9e4d2b3ca"'), ('date', 'Sun, 04 Mar 2012 09:38:06 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"disk_usage":0,"type":"Organization","public_gists":0,"following":0,"html_url":"https://github.com/BeaverSoftware","login":"BeaverSoftware","private_gists":0,"avatar_url":"https://secure.gravatar.com/avatar/d563e337cac2fdc644e2aaaad1e23266?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","collaborators":0,"billing_email":"BeaverSoftware@vincent-jacques.net","plan":{"name":"free","private_repos":0,"space":307200},"location":"Paris, France","company":null,"blog":null,"url":"https://api.github.com/orgs/BeaverSoftware","total_private_repos":0,"created_at":"2012-02-09T19:20:12Z","name":null,"email":null,"public_repos":2,"id":1424031,"owned_private_repos":0,"followers":0}
GET /repos/BeaverSoftware/TestPyGithub {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4868'), ('content-length', '3597'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"f6a867ba35c6910d4b2c7d4684d0b529"'), ('date', 'Sun, 04 Mar 2012 09:38:06 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"organization":{"login":"BeaverSoftware","avatar_url":"https://secure.gravatar.com/avatar/d563e337cac2fdc644e2aaaad1e23266?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","url":"https://api.github.com/users/BeaverSoftware","gravatar_id":"d563e337cac2fdc644e2aaaad1e23266","id":1424031},"source":{"mirror_url":null,"has_downloads":true,"homepage":"http://vincent-jacques.net/PyGithub","has_issues":true,"master_branch":null,"forks":2,"updated_at":"2012-03-04T09:21:39Z","svn_url":"https://github.com/jacquev6/TestPyGithub","fork":false,"git_url":"git://github.com/jacquev6/TestPyGithub.git","has_wiki":true,"language":null,"private":false,"html_url":"https://github.com/jacquev6/TestPyGithub","size":84,"url":"https://api.github.com/repos/jacquev6/TestPyGithub","ssh_url":"git@github.com:jacquev6/TestPyGithub.git","clone_url":"https://github.com/jacquev6/TestPyGithub.git","created_at":"2012-03-03T07:41:19Z","owner":{"login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","gravatar_id":"b68de5ae38616c296fa345d2b9df2225","id":327146},"name":"TestPyGithub","open_issues":16,"id":3609314,"description":"Guinea-pig for PyGithub testing","watchers":1,"pushed_at":"2012-03-03T07:43:16Z"},"mirror_url":null,"has_downloads":true,"homepage":"http://vincent-jacques.net/PyGithub","has_issues":false,"master_branch":null,"parent":{"mirror_url":null,"has_downloads":true,"homepage":"http://vincent-jacques.net/PyGithub","has_issues":true,"master_branch":null,"forks":2,"updated_at":"2012-03-04T09:21:39Z","svn_url":"https://github.com/jacquev6/TestPyGithub","fork":false,"git_url":"git://github.com/jacquev6/TestPyGithub.git","has_wiki":true,"language":null,"private":false,"html_url":"https://github.com/jacquev6/TestPyGithub","size":84,"url":"https://api.github.com/repos/jacquev6/TestPyGithub","ssh_url":"git@github.com:jacquev6/TestPyGithub.git","clone_url":"https://github.com/jacquev6/TestPyGithub.git","created_at":"2012-03-03T07:41:19Z","owner":{"login":"jacquev6","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jacquev6","gravatar_id":"b68de5ae38616c296fa345d2b9df2225","id":327146},"name":"TestPyGithub","open_issues":16,"id":3609314,"description":"Guinea-pig for PyGithub testing","watchers":1,"pushed_at":"2012-03-03T07:43:16Z"},"forks":0,"updated_at":"2012-03-03T08:57:40Z","svn_url":"https://github.com/BeaverSoftware/TestPyGithub","fork":true,"git_url":"git://github.com/BeaverSoftware/TestPyGithub.git","has_wiki":true,"language":null,"private":false,"html_url":"https://github.com/BeaverSoftware/TestPyGithub","size":112,"url":"https://api.github.com/repos/BeaverSoftware/TestPyGithub","ssh_url":"git@github.com:BeaverSoftware/TestPyGithub.git","clone_url":"https://github.com/BeaverSoftware/TestPyGithub.git","created_at":"2012-03-03T07:53:19Z","owner":{"login":"BeaverSoftware","avatar_url":"https://secure.gravatar.com/avatar/d563e337cac2fdc644e2aaaad1e23266?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","url":"https://api.github.com/users/BeaverSoftware","gravatar_id":"d563e337cac2fdc644e2aaaad1e23266","id":1424031},"name":"TestPyGithub","open_issues":0,"id":3609352,"description":"Guinea-pig for PyGithub testing","watchers":1,"pushed_at":"2012-03-03T08:57:40Z"}
GET /repos/BeaverSoftware/TestPyGithub/teams {} null
200
[('status', '200 OK'), ('content-length', '76'), ('x-ratelimit-remaining', '4867'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"7da40fa4ce70d77b7cddef012cf24607"'), ('date', 'Sun, 04 Mar 2012 09:38:07 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"url":"https://api.github.com/teams/141496","name":"Members","id":141496}]
@@ -1,50 +0,0 @@
GET /user {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4836'), ('content-length', '801'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"404f762e873c553dc34e1b3926d75205"'), ('date', 'Sun, 04 Mar 2012 09:11:16 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"disk_usage":17432,"type":"User","gravatar_id":"b68de5ae38616c296fa345d2b9df2225","following":24,"avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"jacquev6","public_gists":1,"public_repos":16,"hireable":false,"private_gists":2,"plan":{"private_repos":5,"collaborators":1,"name":"micro","space":614400},"blog":"http://vincent-jacques.net","location":"Paris, France","bio":"","collaborators":0,"company":"Criteo","total_private_repos":5,"url":"https://api.github.com/users/jacquev6","html_url":"https://github.com/jacquev6","created_at":"2010-07-09T06:10:06Z","name":"Vincent Jacques","email":"vincent@vincent-jacques.net","owned_private_repos":5,"id":327146,"followers":12}
GET /repos/jacquev6/TestPyGithub {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4835'), ('content-length', '1067'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"14e49b73728e4b2ba7978b158e43208c"'), ('date', 'Sun, 04 Mar 2012 09:11:17 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"watchers":1,"pushed_at":"2012-03-03T07:43:16Z","homepage":"http://vincent-jacques.net/PyGithub","mirror_url":null,"has_downloads":true,"has_issues":true,"master_branch":null,"updated_at":"2012-03-03T07:53:19Z","forks":2,"fork":false,"svn_url":"https://github.com/jacquev6/TestPyGithub","language":null,"private":false,"size":84,"has_wiki":true,"url":"https://api.github.com/repos/jacquev6/TestPyGithub","html_url":"https://github.com/jacquev6/TestPyGithub","created_at":"2012-03-03T07:41:19Z","owner":{"gravatar_id":"b68de5ae38616c296fa345d2b9df2225","avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"jacquev6","url":"https://api.github.com/users/jacquev6","id":327146},"name":"TestPyGithub","git_url":"git://github.com/jacquev6/TestPyGithub.git","clone_url":"https://github.com/jacquev6/TestPyGithub.git","id":3609314,"ssh_url":"git@github.com:jacquev6/TestPyGithub.git","description":"Guinea-pig for PyGithub testing","open_issues":16}
GET /repos/jacquev6/TestPyGithub/keys {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4834'), ('content-length', '2'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d751713988987e9331980363e24189ce"'), ('date', 'Sun, 04 Mar 2012 09:11:17 GMT'), ('content-type', 'application/json; charset=utf-8')]
[]
POST /repos/jacquev6/TestPyGithub/keys {} {"key": "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAvborozfBBn2a+JETqPekTWZ1tmYjpfH9wTKFPLjIXQmxXjNye6HVgvi+iMI436RdoLsPEFDe3cjrQ6CJa7KzhRJKNTPh5EZbKI13CXfMGr7V1i3tOokXBFSRQKnDx2dj2hnswqxGUk2jXpgC/KA1q71yqnL45CBlWr50eDpwUIEPnmqSrPpRV/0ZGwIlh4o7+6HwPUF9aBhWj945WSkjZubR4UFWlDZl7ROafpkJHs2cQzaxtmBOZnu6dzmfyro0zJsvhZKD2K6d9eKgpDeKaw5rWr6FeOZPd4xyDaV1gctG0YEui8uuSPKhpcykgREUAFf+vmOKt+yXnOoq8P4vIQ==", "title": "Key created by PyGithub"}
201
[('status', '201 Created'), ('content-length', '486'), ('x-ratelimit-remaining', '4833'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"1696af2ea0b4279b6187ba82dcf6b15d"'), ('date', 'Sun, 04 Mar 2012 09:11:18 GMT'), ('content-type', 'application/json; charset=utf-8'), ('location', 'https://api.github.com/user/keys/2106802')]
{"key":"ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAvborozfBBn2a+JETqPekTWZ1tmYjpfH9wTKFPLjIXQmxXjNye6HVgvi+iMI436RdoLsPEFDe3cjrQ6CJa7KzhRJKNTPh5EZbKI13CXfMGr7V1i3tOokXBFSRQKnDx2dj2hnswqxGUk2jXpgC/KA1q71yqnL45CBlWr50eDpwUIEPnmqSrPpRV/0ZGwIlh4o7+6HwPUF9aBhWj945WSkjZubR4UFWlDZl7ROafpkJHs2cQzaxtmBOZnu6dzmfyro0zJsvhZKD2K6d9eKgpDeKaw5rWr6FeOZPd4xyDaV1gctG0YEui8uuSPKhpcykgREUAFf+vmOKt+yXnOoq8P4vIQ==","url":"https://api.github.com/user/keys/2106802","id":2106802,"title":"Key created by PyGithub"}
GET /repos/jacquev6/TestPyGithub/keys {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4832'), ('content-length', '488'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"a571b30463f7c50a703c6b4e2a370749"'), ('date', 'Sun, 04 Mar 2012 09:11:19 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"key":"ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAvborozfBBn2a+JETqPekTWZ1tmYjpfH9wTKFPLjIXQmxXjNye6HVgvi+iMI436RdoLsPEFDe3cjrQ6CJa7KzhRJKNTPh5EZbKI13CXfMGr7V1i3tOokXBFSRQKnDx2dj2hnswqxGUk2jXpgC/KA1q71yqnL45CBlWr50eDpwUIEPnmqSrPpRV/0ZGwIlh4o7+6HwPUF9aBhWj945WSkjZubR4UFWlDZl7ROafpkJHs2cQzaxtmBOZnu6dzmfyro0zJsvhZKD2K6d9eKgpDeKaw5rWr6FeOZPd4xyDaV1gctG0YEui8uuSPKhpcykgREUAFf+vmOKt+yXnOoq8P4vIQ==","title":"Key created by PyGithub","url":"https://api.github.com/user/keys/2106802","id":2106802}]
PATCH /repos/jacquev6/TestPyGithub/keys/2106802 {} {"key": "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAvborozfBBn2a+JETqPekTWZ1tmYjpfH9wTKFPLjIXQmxXjNye6HVgvi+iMI436RdoLsPEFDe3cjrQ6CJa7KzhRJKNTPh5EZbKI13CXfMGr7V1i3tOokXBFSRQKnDx2dj2hnswqxGUk2jXpgC/KA1q71yqnL45CBlWr50eDpwUIEPnmqSrPpRV/0ZGwIlh4o7+6HwPUF9aBhWj945WSkjZubR4UFWlDZl7ROafpkJHs2cQzaxtmBOZnu6dzmfyro0zJsvhZKD2K6d9eKgpDeKaw5rWr6FeOZPd4xyDaV1gctG0YEui8uuSPKhpcykgREUAFf+vmOKt+yXnOoq8P4vIQ==", "title": "Key edited by PyGithub"}
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4831'), ('content-length', '485'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"c6876fab221906eff51538e53112307c"'), ('date', 'Sun, 04 Mar 2012 09:11:19 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"key":"ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAvborozfBBn2a+JETqPekTWZ1tmYjpfH9wTKFPLjIXQmxXjNye6HVgvi+iMI436RdoLsPEFDe3cjrQ6CJa7KzhRJKNTPh5EZbKI13CXfMGr7V1i3tOokXBFSRQKnDx2dj2hnswqxGUk2jXpgC/KA1q71yqnL45CBlWr50eDpwUIEPnmqSrPpRV/0ZGwIlh4o7+6HwPUF9aBhWj945WSkjZubR4UFWlDZl7ROafpkJHs2cQzaxtmBOZnu6dzmfyro0zJsvhZKD2K6d9eKgpDeKaw5rWr6FeOZPd4xyDaV1gctG0YEui8uuSPKhpcykgREUAFf+vmOKt+yXnOoq8P4vIQ==","title":"Key edited by PyGithub","url":"https://api.github.com/user/keys/2106802","id":2106802}
GET /repos/jacquev6/TestPyGithub/keys {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4830'), ('content-length', '487'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"22fb7e12bf848434495fbca3124ffe96"'), ('date', 'Sun, 04 Mar 2012 09:11:20 GMT'), ('content-type', 'application/json; charset=utf-8')]
[{"key":"ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAvborozfBBn2a+JETqPekTWZ1tmYjpfH9wTKFPLjIXQmxXjNye6HVgvi+iMI436RdoLsPEFDe3cjrQ6CJa7KzhRJKNTPh5EZbKI13CXfMGr7V1i3tOokXBFSRQKnDx2dj2hnswqxGUk2jXpgC/KA1q71yqnL45CBlWr50eDpwUIEPnmqSrPpRV/0ZGwIlh4o7+6HwPUF9aBhWj945WSkjZubR4UFWlDZl7ROafpkJHs2cQzaxtmBOZnu6dzmfyro0zJsvhZKD2K6d9eKgpDeKaw5rWr6FeOZPd4xyDaV1gctG0YEui8uuSPKhpcykgREUAFf+vmOKt+yXnOoq8P4vIQ==","title":"Key edited by PyGithub","url":"https://api.github.com/user/keys/2106802","id":2106802}]
GET /repos/jacquev6/TestPyGithub/keys/2106802 {} null
200
[('status', '200 OK'), ('content-length', '485'), ('x-ratelimit-remaining', '4829'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"48a67937f59e585ad8836092da10e881"'), ('date', 'Sun, 04 Mar 2012 09:11:21 GMT'), ('content-type', 'application/json; charset=utf-8')]
{"key":"ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAvborozfBBn2a+JETqPekTWZ1tmYjpfH9wTKFPLjIXQmxXjNye6HVgvi+iMI436RdoLsPEFDe3cjrQ6CJa7KzhRJKNTPh5EZbKI13CXfMGr7V1i3tOokXBFSRQKnDx2dj2hnswqxGUk2jXpgC/KA1q71yqnL45CBlWr50eDpwUIEPnmqSrPpRV/0ZGwIlh4o7+6HwPUF9aBhWj945WSkjZubR4UFWlDZl7ROafpkJHs2cQzaxtmBOZnu6dzmfyro0zJsvhZKD2K6d9eKgpDeKaw5rWr6FeOZPd4xyDaV1gctG0YEui8uuSPKhpcykgREUAFf+vmOKt+yXnOoq8P4vIQ==","url":"https://api.github.com/user/keys/2106802","id":2106802,"title":"Key edited by PyGithub"}
DELETE /repos/jacquev6/TestPyGithub/keys/2106802 {} null
204
[('status', '204 No Content'), ('x-ratelimit-remaining', '4828'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d41d8cd98f00b204e9800998ecf8427e"'), ('date', 'Sun, 04 Mar 2012 09:11:21 GMT')]
GET /repos/jacquev6/TestPyGithub/keys {} null
200
[('status', '200 OK'), ('x-ratelimit-remaining', '4827'), ('content-length', '2'), ('server', 'nginx/1.0.12'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d751713988987e9331980363e24189ce"'), ('date', 'Sun, 04 Mar 2012 09:11:22 GMT'), ('content-type', 'application/json; charset=utf-8')]
[]
File diff suppressed because one or more lines are too long
-12
View File
@@ -1,12 +0,0 @@
Planned releases
================
* First full release (version 1.0)
* review public interface
* better use of http status (403, 404, etc. raising different exceptions)
Later evolutions
================
* OAuth2 authentication
* List getters will return an iterable and pagination will be done only if needed
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+408
View File
@@ -0,0 +1,408 @@
#!/usr/bin/env python
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
# PyGithub is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
# You should have received a copy of the GNU Lesser General Public License along with PyGithub. If not, see <http://www.gnu.org/licenses/>.
import os.path
import json
import itertools
def mergeDict( base, *additions ):
r = dict( base )
for addition in additions:
for k in addition:
if k in r:
if isinstance( r[ k ], dict ):
r[ k ] = mergeDict( r[ k ], addition[ k ] )
# else:
# we ignore the addition: the first dict which specifies a value wins
else:
r[ k ] = addition[ k ]
return r
def checkKeys( d, mandatoryKeys, optionalKeys = [] ):
assert set( d.keys() ) >= set( mandatoryKeys ), d.keys()
assert set( d.keys() ) <= set( mandatoryKeys ) | set( optionalKeys ), d.keys()
class Type:
def __init__( self, arg ):
if isinstance( arg, ( str, unicode ) ):
self.__fromString( arg )
else:
self.__fromDesc( arg )
def ToJson( self ):
json = {
"cardinality": self.cardinality,
"name": self.name,
"simple": self.name in [ "void", "string", "integer", "bool", "float", "dict", "datetime", "date" ],
}
if self.keyName is not None:
json[ "key_name" ] = self.keyName
return json
def __fromString( self, name ):
listPrefix = "list:"
dictPrefix = "dict:"
self.keyName = None
if name.startswith( listPrefix ):
self.cardinality = "list"
self.name = name[ len( listPrefix ) : ]
elif name.startswith( dictPrefix ):
self.cardinality = "dict"
key, value = name[ len( dictPrefix ) : ].split( "-" )
self.name = value
self.keyName = key
else:
self.cardinality = "scalar"
self.name = name
def __fromDesc( self, desc ):
checkKeys( desc, [ "cardinality", "name" ] )
self.cardinality = desc[ "cardinality" ]
self.name = desc[ "name" ]
self.keyName = desc[ "key_name" ] if "key_name" in desc else None
class Variable:
def __init__( self, desc ):
checkKeys( desc, [ "name", "type" ] )
self.name = desc[ "name" ]
self.type = Type( desc[ "type" ] )
def ToJson( self ):
return {
"name": self.name,
"type": self.type,
}
class Function:
# method
# input
# self
# arguments
# output
# type
# bool
# object
# fundamental type
# list of
# object
# fundamental type
# body
# status or data request
# url from input
# GET parameters from input
# POST parameters from input
def __init__( self, *descs ):
desc = mergeDict( *descs )
checkKeys( desc, [ "name", "type", "group", "request" ], [ "url", "isMutation", "mandatoryParameters", "optionalParameters", "variadicParameter", "parameter", "request" ] )
self.name = desc[ "name" ]
self.type = Type( desc[ "type" ] )
self.group = desc[ "group" ]
self.isMutation = "isMutation" in desc and desc[ "isMutation" ]
self.mandatoryParameters = list()
if "mandatoryParameters" in desc:
for parameter in desc[ "mandatoryParameters" ]:
self.mandatoryParameters.append( Variable( parameter ) )
self.optionalParameters = list()
if "optionalParameters" in desc:
for parameter in desc[ "optionalParameters" ]:
self.optionalParameters.append( Variable( parameter ) )
if "variadicParameter" in desc:
self.variadicParameter = Variable( desc[ "variadicParameter" ] )
else:
self.variadicParameter = None
self.request = desc[ "request" ]
self.__agregateRequestUrl()
def __agregateRequestUrl( self ):
url = list()
for part in self.request[ "url" ]:
if len( url ) != 0 and url[ -1 ][ "type" ] == "constant" and part[ "type" ] == "constant":
url[ -1 ][ "value" ] += part[ "value" ]
else:
url.append( dict( part ) )
self.request[ "url" ] = url
def ToJson( self ):
json = {
"name": self.name,
"type": self.type,
"group": self.group,
"isMutation": self.isMutation,
"mandatoryParameters": self.mandatoryParameters,
"optionalParameters": self.optionalParameters,
}
if self.variadicParameter is not None:
json[ "variadicParameter" ] = self.variadicParameter
if self.request is not None:
json[ "request" ] = self.request
return json
class Collection:
def __init__( self, desc, ownerUrl ):
checkKeys( desc, [ "name", "singularName", "type" ], [ "addElement", "addSeveralElements", "createElement", "deleteList", "getElement", "getList", "hasElement", "removeElement", "removeSeveralElements", "setList", "url" ] )
if "url" in desc:
self.__url = desc[ "url" ]
else:
self.__url = ownerUrl + [
{ "type": "constant", "value": "/" + desc[ "name" ] },
]
name = desc[ "name" ] if isinstance( desc[ "name" ], list ) else [ desc[ "name" ] ]
self.methods = list()
if "addElement" in desc:
assert desc[ "addElement" ] is True
self.methods.append( Function(
{ "name": [ "add", "to" ] + name, "type": "void", "group": desc[ "name" ], "mandatoryParameters": [ { "name": desc[ "singularName" ], "type": desc[ "type" ] } ] },
{
"request": {
"verb": "PUT",
"url": self.__url + [
{ "type": "constant", "value": "/" },
{ "type": "identity", "value": [ desc[ "singularName" ] ] },
],
"information": "status",
}
}
) )
if "addSeveralElements" in desc:
assert desc[ "addSeveralElements" ] is True
self.methods.append( Function(
{ "name": [ "add", "to" ] + name, "type": "void", "group": desc[ "name" ], "variadicParameter": { "name": desc[ "singularName" ], "type": desc[ "type" ] } },
{
"request": {
"verb": "POST",
"url": self.__url,
"information": "status",
"postParameters": True
}
}
) )
if "createElement" in desc:
self.methods.append( Function(
desc[ "createElement" ],
{ "name": [ "create", desc[ "singularName" ] ], "type": desc[ "type" ], "group": desc[ "name" ] },
{
"request": {
"verb": "POST",
"url": self.__url,
"information": "status",
"postParameters": True,
}
}
) )
if "deleteList" in desc:
assert desc[ "deleteList" ] is True
self.methods.append( Function(
{ "name": [ "delete" ] + name, "type": "void", "group": desc[ "name" ] },
{
"request": {
"verb": "DELETE",
"url": self.__url,
"information": "status",
}
}
) )
if "getElement" in desc:
if "url" in desc[ "getElement" ]:
urlForGetElement = desc[ "getElement" ][ "url" ]
else:
if desc[ "getElement" ][ "parameter" ][ "type" ] == "string":
partForArgument = { "type": "argument", "value": [ desc[ "getElement" ][ "parameter" ][ "name" ] ] }
else:
partForArgument = { "type": "stringOf", "value": [ { "type": "argument", "value": [ desc[ "getElement" ][ "parameter" ][ "name" ] ] } ] }
urlForGetElement = self.__url + [
{ "type": "constant", "value": "/" },
partForArgument,
]
self.methods.append( Function(
desc[ "getElement" ],
{ "name": [ "get", desc[ "singularName" ] ], "type": desc[ "type" ], "group": desc[ "name" ], "mandatoryParameters": [ desc[ "getElement" ][ "parameter" ] ] },
{
"request": {
"verb": "GET",
"url": urlForGetElement,
"information": "data",
}
}
) )
if "getList" in desc:
self.methods.append( Function(
desc[ "getList" ] if desc[ "getList" ] is not True else dict(),
{ "name": [ "get" ] + name, "type": { "cardinality": "list", "name": desc[ "type" ] }, "group": desc[ "name" ] },
{
"request": {
"verb": "GET",
"url": self.__url,
"information": "data",
}
}
) )
if "hasElement" in desc:
assert desc[ "hasElement" ] is True
self.methods.append( Function(
{ "name": [ "has", "in" ] + name, "type": "bool", "group": desc[ "name" ], "mandatoryParameters": [ { "name": desc[ "singularName" ], "type": desc[ "type" ] } ] },
{
"request": {
"verb": "GET",
"url": self.__url + [
{ "type": "constant", "value": "/" },
{ "type": "identity", "value": [ desc[ "singularName" ] ] },
],
"information": "status",
}
}
) )
if "removeElement" in desc:
assert desc[ "removeElement" ] is True
self.methods.append( Function(
{ "name": [ "remove", "from" ] + name, "type": "void", "group": desc[ "name" ], "mandatoryParameters": [ { "name": desc[ "singularName" ], "type": desc[ "type" ] } ] },
{
"request": {
"verb": "DELETE",
"url": self.__url + [
{ "type": "constant", "value": "/" },
{ "type": "identity", "value": [ desc[ "singularName" ] ] },
],
"information": "status",
}
}
) )
if "removeSeveralElements" in desc:
assert desc[ "removeSeveralElements" ] is True
self.methods.append( Function(
{ "name": [ "remove", "from" ] + name, "type": "void", "group": desc[ "name" ], "variadicParameter": { "name": desc[ "singularName" ], "type": desc[ "type" ] } },
{
"request": {
"verb": "DELETE",
"url": self.__url,
"information": "status",
"postParameters": True
}
}
) )
if "setList" in desc:
assert desc[ "setList" ] is True
self.methods.append( Function(
{ "name": [ "set" ] + name, "type": "void", "group": desc[ "name" ], "variadicParameter": { "name": desc[ "singularName" ], "type": desc[ "type" ] } },
{
"request": {
"verb": "PUT",
"url": self.__url,
"information": "status",
"postParameters": True,
}
}
) )
class Class:
def __init__( self, desc ):
checkKeys( desc, [ "name", "attributes" ], [ "isCompletable", "url", "identity", "edit", "delete", "additionalMethods", "collections" ] )
self.name = desc[ "name" ]
self.attributes = sorted(
[
Variable( attr )
for attr in desc[ "attributes" ]
],
key = lambda class_: class_.name
)
self.isCompletable = ( "isCompletable" not in desc or desc[ "isCompletable" ] ) and any( attribute.name == "url" for attribute in self.attributes )
self.methods = []
if "identity" in desc:
self.identity = desc[ "identity" ]
else:
self.identity = None
if "url" in desc:
url = desc[ "url" ]
else:
url = [ { "type": "attribute", "value": [ "url" ] } ]
if "edit" in desc:
self.methods.append( Function(
desc[ "edit" ],
{ "name": [ "edit" ], "type": "void", "group": "modification", "isMutation": True },
{
"request": {
"verb": "PATCH",
"url": url,
"postParameters": True,
"information": "data",
},
}
) )
if "delete" in desc:
self.methods.append( Function(
{ "name": [ "delete" ], "type": "void", "group": "deletion" },
{
"request": {
"verb": "DELETE",
"url": url,
"information": "data",
},
}
) )
if "collections" in desc:
for collection in [ Collection( collection, url ) for collection in desc[ "collections" ] ]:
self.methods += collection.methods
if "additionalMethods" in desc:
self.methods += [ Function( method ) for method in desc[ "additionalMethods" ] ]
def ToJson( self ):
d = {
"name": self.name,
"attributes": self.attributes,
"methods": self.methods,
"isCompletable": self.isCompletable,
}
if self.identity is not None:
d[ "identity" ] = self.identity
return d
class Description:
def __init__( self, desc ):
checkKeys( desc, [ "classes" ] )
self.classes = sorted(
[
Class( class_ )
for class_ in desc[ "classes" ]
],
key = lambda class_: class_.name
)
def ToJson( self ):
return {
"classes": self.classes,
}
def save( self, fileName ):
class Encoder( json.JSONEncoder ):
def default( self, obj ):
if hasattr( obj, "ToJson" ):
return obj.ToJson()
return json.JSONEncoder.default( self, obj )
with open( os.path.join( os.path.dirname( __file__ ), fileName ), "wb" ) as f:
json.dump( self, f, indent = 4, cls = Encoder )
with open( os.path.join( os.path.dirname( __file__ ), "description.human_readable.json" ) ) as f:
description = Description( json.load( f ) )
description.save( "description.normalized.json" )
+93
View File
@@ -0,0 +1,93 @@
#!/usr/bin/env python
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
# PyGithub is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
# You should have received a copy of the GNU Lesser General Public License along with PyGithub. If not, see <http://www.gnu.org/licenses/>.
import os
import json
import itertools
import django.conf
import django.template
import django.template.loader
django.conf.settings.configure(
TEMPLATE_DIRS = (
os.path.join( os.path.dirname( __file__ ), "templates" ),
),
TEMPLATE_STRING_IF_INVALID = "We have a logic error in our template or API description",
)
description = json.load( open( os.path.join( os.path.dirname( __file__ ), "JsonDescriptionOfGithubApiV3", "description.normalized.json" ) ) )
for class_ in description[ "classes" ]:
dependencies = set()
class_[ "needsPaginatedList" ] = False
class_[ "needsDefaultValue" ] = False
for method in class_[ "methods" ]:
if method[ "type" ][ "cardinality" ] == "list":
class_[ "needsPaginatedList" ] = True
if len( method[ "optionalParameters" ] ) != 0:
class_[ "needsDefaultValue" ] = True
if not method[ "type" ][ "simple" ]:
dependencies.add( method[ "type" ][ "name" ] )
for parameter in itertools.chain( method[ "mandatoryParameters" ], method[ "optionalParameters" ] ):
if not parameter[ "type" ][ "simple" ]:
dependencies.add( parameter[ "type" ][ "name" ] )
for attribute in class_[ "attributes" ]:
if not attribute[ "type" ][ "simple" ]:
dependencies.add( attribute[ "type" ][ "name" ] )
if attribute[ "type" ][ "name" ] == "datetime":
class_[ "needsDatetime" ] = True
class_[ "dependencies" ] = list( dependencies )
class_[ "needsUrllib" ] = class_[ "name" ] in [ "Label", "Repository" ]
githubObjectTemplate = django.template.loader.get_template( "GithubObject.py" )
for class_ in description[ "classes" ]:
with open( os.path.join( os.path.dirname( __file__ ), "..", "github", class_[ "name" ] + ".py" ), "wb" ) as f:
f.write( "# WARNING: this file is generated automaticaly.\n" )
f.write( "# Do not modify it manually, your work would be lost.\n" )
f.write( "\n" )
rawCode = githubObjectTemplate.render( django.template.Context( { "class": class_ } ) ).split( "\n" )
code = list()
for line in rawCode:
line = line.rstrip()
if line == "":
continue
if len( code ) > 0 and code[ -1 ].startswith( " " ) and line.startswith( " " ) and not line.startswith( " " ):
code.append( "" )
if line.startswith( "class" ):
code.append( "" )
if line == "##########":
code.append( "" )
continue
code.append( line )
f.write( "\n".join( code ) + "\n" )
referenceOfClassesTemplate = django.template.loader.get_template( "ReferenceOfClasses.md" )
with open( os.path.join( os.path.dirname( __file__ ), "..", "doc", "ReferenceOfClasses.md" ), "wb" ) as f:
rawCode = referenceOfClassesTemplate.render( django.template.Context( description ) ).split( "\n" )
code = list()
for line in rawCode:
line = line.rstrip()
if line == "":
continue
if not line.lstrip().startswith( "*" ) and len( code ) > 0:
prevLine = code[ -1 ].lstrip()
if prevLine.startswith( "*" ) or prevLine.startswith( "=" ):
code.append( "" )
code.append( line )
f.write( "\n".join( code ) + "\n" )
+15 -3
View File
@@ -1,5 +1,18 @@
#!/bin/env python
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
# PyGithub is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
# You should have received a copy of the GNU Lesser General Public License along with PyGithub. If not, see <http://www.gnu.org/licenses/>.
import sys
import re
@@ -28,7 +41,6 @@ for fileName in developerDotGithubDotComContentFiles:
"/repos/:user/:repo/git/trees/:sha?recursive=1",
"/repos/octocat/Hello-World/git/refs/heads/feature-a",
"/repos/octocat/Hello-World/git/refs/tags/v1.0",
"",
]:
continue
@@ -38,7 +50,7 @@ for fileName in developerDotGithubDotComContentFiles:
functionsByUrlVerb = dict()
url = None
with open( "ReferenceOfApis.md" ) as f:
with open( "doc/ReferenceOfApis.md" ) as f:
for line in f:
m = re.match( "^API `(.*)`$", line )
if m:
@@ -58,6 +70,6 @@ for url in sorted( verbsByUrl.keys() ):
if ( url, verb ) in functionsByUrlVerb:
function = functionsByUrlVerb[ ( url, verb ) ]
else:
function = "(TODO)"
function = "(TOTO)"
print "* " + verb + ": " + function
print
@@ -0,0 +1,4 @@
dict(
( key, {% if attribute.type.name != class.name %}{{ attribute.type.name }}.{% endif %}{{ attribute.type.name }}( self._requester, element, completed = False ) )
for key, element in attributes[ "{{ attribute.name }}" ].iteritems()
)
@@ -0,0 +1,4 @@
[
{% if attribute.type.name != class.name %}{{ attribute.type.name }}.{% endif %}{{ attribute.type.name }}( self._requester, element, completed = False )
for element in attributes[ "{{ attribute.name }}" ]
]
@@ -0,0 +1 @@
{% with template_name="GithubObject.AttributeValue.complex."|add:attribute.type.cardinality|add:".py" %}None if attributes[ "{{ attribute.name }}" ] is None else {% include template_name %}{% endwith %}
@@ -0,0 +1 @@
{% if attribute.type.name != class.name %}{{ attribute.type.name }}.{% endif %}{{ attribute.type.name }}( self._requester, attributes[ "{{ attribute.name }}" ], completed = False )
@@ -0,0 +1 @@
{% if attribute.type.name == "datetime" %}None if attributes[ "{{ attribute.name }}" ] is None else datetime.datetime.strptime( attributes[ "{{ attribute.name }}" ], "%Y-%m-%dT%H:%M:%SZ" ){% else %}attributes[ "{{ attribute.name }}" ]{% endif %}
@@ -0,0 +1 @@
{{ value|join:"." }}
@@ -0,0 +1 @@
self.{{ value|join:"." }}
@@ -0,0 +1 @@
"{{ value }}"
@@ -0,0 +1 @@
{{ value|join:"." }}._identity
@@ -0,0 +1 @@
self._parentUrl( {% include "GithubObject.Concatenation.py" with concatenation=value only %} )
@@ -0,0 +1 @@
{% for part in concatenation %}{% if forloop.counter0 > 0 %} + {% endif %}{% with part_template_name="GithubObject.Concatenation."|add:part.type|add:".py" %}{% include part_template_name with value=part.value only %}{% endwith %}{% endfor %}
@@ -0,0 +1 @@
str( {% include "GithubObject.Concatenation.py" with concatenation=value only %} )
@@ -0,0 +1 @@
urllib.quote( {% include "GithubObject.Concatenation.py" with concatenation=value only %} )
@@ -0,0 +1,28 @@
{% if class.identity %}
@property
def _identity( self ):
return {% include "GithubObject.Concatenation.py" with concatenation=class.identity only %}
{% endif %}
def _initAttributes( self ):
{% for attribute in class.attributes|dictsort:"name" %}
self._{{ attribute.name }} = GithubObject.NotSet
{% endfor %}
def _useAttributes( self, attributes ):
{% for attribute in class.attributes|dictsort:"name" %}
{% with simple_or_complex=attribute.type.simple|yesno:"simple,complex_as_dict" %}
if "{{ attribute.name }}" in attributes: # pragma no branch
{% with template_name="GithubObject.IsInstance."|add:attribute.type.cardinality|add:"."|add:simple_or_complex|add:".py" %}
assert attributes[ "{{ attribute.name }}" ] is None or {% include template_name with variable="attributes[ \""|add:attribute.name|add:"\" ]"|safe type=attribute.type only %}, attributes[ "{{ attribute.name }}" ]
{% endwith %}
{% endwith %}
{% with simple_or_complex=attribute.type.simple|yesno:"simple,complex" %}
{% with template_name="GithubObject.AttributeValue."|add:simple_or_complex|add:".py" %}
self._{{ attribute.name }} = {% include template_name %}
{% endwith %}
{% endwith %}
{% endfor %}
@@ -0,0 +1 @@
{% include "GithubObject.IsInstance.py" with variable=variable type="bool" only %}
@@ -0,0 +1 @@
{% include "GithubObject.IsInstance.py" with variable=variable type="datetime.date" only %}
@@ -0,0 +1 @@
{% include "GithubObject.IsInstance.py" with variable=variable type="( str, unicode )" only %}
@@ -0,0 +1 @@
all( {% include "GithubObject.IsInstance.py" with variable="element" type=type.name|add:"."|add:type.name only %} for element in {{ variable }}.itervalues() )
@@ -0,0 +1 @@
all( {% include "GithubObject.IsInstance.py" with variable="element" type="dict" only %} for element in {{ variable }}.itervalues() )
@@ -0,0 +1 @@
{% include "GithubObject.IsInstance.py" with variable=variable type="dict" only %}
@@ -0,0 +1 @@
{% include "GithubObject.IsInstance.py" with variable=variable type="int" only %}
@@ -0,0 +1 @@
all( {% include "GithubObject.IsInstance.py" with variable="element" type=type.name|add:"."|add:type.name only %} for element in {{ variable }} )
@@ -0,0 +1 @@
all( {% include "GithubObject.IsInstance.py" with variable="element" type="dict" only %} for element in {{ variable }} )
@@ -0,0 +1 @@
all( {% with template_name="GithubObject.IsInstance."|add:type.name|add:".py" %}{% include template_name with variable="element" only %}{% endwith %} for element in {{ variable }} )
@@ -0,0 +1 @@
isinstance( {{ variable }}, {{ type }} )
@@ -0,0 +1 @@
{% include "GithubObject.IsInstance.py" with variable=variable type=type.name|add:"."|add:type.name only %}
@@ -0,0 +1 @@
{% include "GithubObject.IsInstance.py" with variable=variable type="dict" only %}
@@ -0,0 +1 @@
{% with template_name="GithubObject.IsInstance."|add:type.name|add:".py" %}{% include template_name with variable=variable only %}{% endwith %}
@@ -0,0 +1 @@
{% include "GithubObject.IsInstance.py" with variable=variable type="( str, unicode )" only %}
@@ -0,0 +1,23 @@
{% for parameter in method.mandatoryParameters %}
{% with simple_or_complex=parameter.type.simple|yesno:"simple,complex" %}
{% with template_name="GithubObject.IsInstance."|add:parameter.type.cardinality|add:"."|add:simple_or_complex|add:".py" %}
assert {% include template_name with variable=parameter.name type=parameter.type only %}, {{ parameter.name }}
{% endwith %}
{% endwith %}
{% endfor %}
{% for parameter in method.optionalParameters %}
{% with simple_or_complex=parameter.type.simple|yesno:"simple,complex" %}
{% with template_name="GithubObject.IsInstance."|add:parameter.type.cardinality|add:"."|add:simple_or_complex|add:".py" %}
assert {{ parameter.name }} is GithubObject.NotSet or {% include template_name with variable=parameter.name type=parameter.type only %}, {{ parameter.name }}
{% endwith %}
{% endwith %}
{% endfor %}
{% if method.variadicParameter %}
{% with simple_or_complex=method.variadicParameter.type.simple|yesno:"simple,complex" %}
{% with template_name="GithubObject.IsInstance.list."|add:simple_or_complex|add:".py" %}
assert {% include template_name with variable=method.variadicParameter.name|add:"s" type=method.variadicParameter.type only %}, {{ method.variadicParameter.name }}s
{% endwith %}
{% endwith %}
{% endif %}
@@ -0,0 +1,58 @@
{% if method.request.postParameters %}
{% if method.variadicParameter %}
{% if method.variadicParameter.type.simple %}
post_parameters = {{ method.variadicParameter.name }}s
{% else %}
post_parameters = [ {{ method.variadicParameter.name }}._identity for {{ method.variadicParameter.name }} in {{ method.variadicParameter.name }}s ]
{% endif %}
{% else %}
{% if method.mandatoryParameters %}
post_parameters = {
{% for parameter in method.mandatoryParameters %}
"{{ parameter.name }}": {% if parameter.type.simple %}{{ parameter.name }}{% else %}{% if parameter.type.cardinality == "list" %}[ element._identity for element in {{ parameter.name }} ]{% else %}{% if parameter.type.cardinality == "dict" %}dict( ( key, value._identity ) for key, value in {{ parameter.name }}.iteritems() ){% else %}{{ parameter.name }}._identity{% endif %}{% endif %}{% endif %},
{% endfor %}
}
{% else %}
post_parameters = dict()
{% endif %}
{% for parameter in method.optionalParameters %}
if {{ parameter.name }} is not GithubObject.NotSet:
post_parameters[ "{{ parameter.name }}" ] = {% if parameter.type.simple %}{{ parameter.name }}{% else %}{% if parameter.type.cardinality == "list" %}[ element._identity for element in {{ parameter.name }} ]{% else %}{% if parameter.type.cardinality == "dict" %}dict( ( key, value._identity ) for key, value in {{ parameter.name }}.iteritems() ){% else %}{{ parameter.name }}._identity{% endif %}{% endif %}{% endif %}
{% endfor %}
{% endif %}
{% else %}
{% if method.optionalParameters %}
url_parameters = dict()
{% for parameter in method.optionalParameters %}
if {{ parameter.name }} is not GithubObject.NotSet:
url_parameters[ "{{ parameter.name }}" ] = {{ parameter.name }}
{% endfor %}
{% endif %}
{% endif %}
{% if method.request.urlParameters %}
url_parameters = {
{% for parameter in method.request.urlParameters %}
"{{ parameter.name }}": {% include "GithubObject.Concatenation.py" with concatenation=parameter.value only %},
{% endfor %}
}
{% endif %}
{% if method.type.name == "bool" %}
status, headers, data = self._requester.requestRaw(
{% else %}
headers, data = self._requester.requestAndCheck(
{% endif %}
"{{ method.request.verb }}",
{% include "GithubObject.Concatenation.py" with concatenation=method.request.url only %},
{% if method.request.urlParameters or not method.request.postParameters and method.optionalParameters %}
url_parameters,
{% else %}
None,
{% endif %}
{% if method.request.postParameters %}
post_parameters
{% else %}
None
{% endif %}
)
@@ -0,0 +1,12 @@
{% if method.type.name == "bool" %}status == 204
{% else %}{% if method.type.simple %}data
{% else %}{% if method.type.cardinality == "scalar" %}{% if method.type.name != class.name %}{{ method.type.name }}.{% endif %}{{ method.type.name }}( self._requester, data, completed = True )
{% else %}PaginatedList.PaginatedList(
{% if method.type.name != class.name %}{{ method.type.name }}.{% endif %}{{ method.type.name }},
self._requester,
headers,
data
)
{% endif %}
{% endif %}
{% endif %}
@@ -0,0 +1,7 @@
{% if method.isMutation %}
self._useAttributes( data )
{% else %}
{% if method.type.name != "void" %}
return {% include "GithubObject.MethodBody.ReturnValue.py" %}
{% endif %}
{% endif %}
@@ -0,0 +1 @@
self{% for parameter in function.mandatoryParameters %}, {{ parameter.name }}{% endfor %}{% for parameter in function.optionalParameters %}, {{ parameter.name }} = GithubObject.NotSet{% endfor %}{% if function.variadicParameter %}, *{{ function.variadicParameter.name }}s{% endif %}
@@ -0,0 +1,8 @@
{% for attribute in class.attributes|dictsort:"name" %}
@property
def {{ attribute.name }}( self ):
{% if class.isCompletable %}
self._completeIfNotSet( self._{{ attribute.name }} )
{% endif %}
return self._NoneIfNotSet( self._{{ attribute.name }} )
{% endfor %}
@@ -0,0 +1,7 @@
{% for method in class.methods|dictsort:"name" %}
def {{ method.name|join:"_" }}( {% include "GithubObject.Parameters.py" with function=method only %} ):
{% include "GithubObject.MethodBody.CheckArguments.py" %}
{% include "GithubObject.MethodBody.DoRequest.py" %}
{% include "GithubObject.MethodBody.CheckResult.py" %}
{% include "GithubObject.MethodBody.UseResult.py" %}
{% endfor %}
+47
View File
@@ -0,0 +1,47 @@
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
##########
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
##########
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
##########
# PyGithub is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
##########
# You should have received a copy of the GNU Lesser General Public License along with PyGithub. If not, see <http://www.gnu.org/licenses/>.
##########
{% if class.needsUrllib %}
import urllib
{% endif %}
{% if class.needsDatetime %}
import datetime
{% endif %}
{% if class.needsUrllib or class.needsDatetime %}
##########
{% endif %}
import GithubObject
{% if class.needsPaginatedList %}
import PaginatedList
{% endif %}
{% if class.dependencies %}
##########
{% for dependency in class.dependencies %}
import {{ dependency }}
{% endfor %}
{% endif %}
{% if class.isCompletable %}
class {{ class.name }}( GithubObject.GithubObject ):
{% else %}
class {{ class.name }}( GithubObject.BasicGithubObject ):
{% endif %}
{% include "GithubObject.PublicAttributes.py" %}
{% include "GithubObject.PublicMethods.py" %}
{% include "GithubObject.Implementation.py" %}
@@ -0,0 +1 @@
{% if function.mandatoryParameters or function.optionalParameters or function.variadicParameter %} {% for parameter in function.mandatoryParameters %}{% if forloop.counter0 > 0 %}, {% endif %}{{ parameter.name }}{% endfor %}{% if function.mandatoryParameters and function.optionalParameters %}, {% endif %}{% if function.optionalParameters %}[{% for parameter in function.optionalParameters %}{% if forloop.counter0 > 0 %}, {% endif %}{{ parameter.name }}{% endfor %}]{% endif %}{% if function.variadicParameter %}{{ function.variadicParameter.name }}, ...{% endif %} {% endif %}
@@ -0,0 +1 @@
{% if type.name != "void" %}: {% if type.cardinality == "list" %}list of {% endif %}{% if type.cardinality == "dict" %}dict of {{ type.key_name }} to {% endif %}{% if not type.simple %}`{% endif %}{{ type.name }}{% if not type.simple %}`{% endif %}{% endif %}
+48
View File
@@ -0,0 +1,48 @@
You don't normaly create instances of any class but `Github`.
You obtain instances through calls to `get_` and `create_` methods.
Class `Github`
==============
* Constructed from user's login and password or OAuth token
* `get_user()`: `AuthenticatedUser`
* `get_user( login )`: `NamedUser`
* `get_organization( login )`: `Organization`
* `get_gist( id )`: `Gist`
* `get_gists()`: list of `Gist`
* `rate_limiting`: tuple of two integers: remaining and limit, as explained in [Rate Limiting](http://developer.github.com/v3/#rate-limiting)
{% for class in classes|dictsort:"name" %}
Class `{{ class.name }}`
======={% for char in class.name %}={% endfor %}=
Attributes
----------
{% for attribute in class.attributes|dictsort:"name" %}* `{{ attribute.name }}`{% include "ReferenceOfClasses.Type.md" with type=attribute.type only %}
{% endfor %}
{% regroup class.methods|dictsort:"group" by group as method_groups %}
{% for method_group in method_groups %}
{{ method_group.grouper|capfirst }}
{% for letter in method_group.grouper %}-{% endfor %}
{% for method in method_group.list %}
* `{{ method.name|join:"_" }}({% include "ReferenceOfClasses.Parameters.md" with function=method only %})`{% include "ReferenceOfClasses.Type.md" with type=method.type only %}
{% for parameter in method.mandatoryParameters %}
* `{{ parameter.name }}`{% include "ReferenceOfClasses.Type.md" with type=parameter.type only %}
{% endfor %}
{% for parameter in method.optionalParameters %}
* `{{ parameter.name }}`{% include "ReferenceOfClasses.Type.md" with type=parameter.type only %}
{% endfor %}
{% if method.variadicParameter %}
* `{{ method.variadicParameter.name }}`{% include "ReferenceOfClasses.Type.md" with type=method.variadicParameter.type only %}
{% endif %}
{% endfor %}
{% endfor %}
{% endfor %}
View File
File diff suppressed because it is too large Load Diff
+679
View File
@@ -0,0 +1,679 @@
# WARNING: this file is generated automaticaly.
# Do not modify it manually, your work would be lost.
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
# PyGithub is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
# You should have received a copy of the GNU Lesser General Public License along with PyGithub. If not, see <http://www.gnu.org/licenses/>.
import datetime
import GithubObject
import PaginatedList
import InputFileContent
import Gist
import Repository
import NamedUser
import Plan
import Organization
import UserKey
import Issue
import Event
import Authorization
class AuthenticatedUser( GithubObject.GithubObject ):
@property
def avatar_url( self ):
self._completeIfNotSet( self._avatar_url )
return self._NoneIfNotSet( self._avatar_url )
@property
def bio( self ):
self._completeIfNotSet( self._bio )
return self._NoneIfNotSet( self._bio )
@property
def blog( self ):
self._completeIfNotSet( self._blog )
return self._NoneIfNotSet( self._blog )
@property
def collaborators( self ):
self._completeIfNotSet( self._collaborators )
return self._NoneIfNotSet( self._collaborators )
@property
def company( self ):
self._completeIfNotSet( self._company )
return self._NoneIfNotSet( self._company )
@property
def created_at( self ):
self._completeIfNotSet( self._created_at )
return self._NoneIfNotSet( self._created_at )
@property
def disk_usage( self ):
self._completeIfNotSet( self._disk_usage )
return self._NoneIfNotSet( self._disk_usage )
@property
def email( self ):
self._completeIfNotSet( self._email )
return self._NoneIfNotSet( self._email )
@property
def followers( self ):
self._completeIfNotSet( self._followers )
return self._NoneIfNotSet( self._followers )
@property
def following( self ):
self._completeIfNotSet( self._following )
return self._NoneIfNotSet( self._following )
@property
def gravatar_id( self ):
self._completeIfNotSet( self._gravatar_id )
return self._NoneIfNotSet( self._gravatar_id )
@property
def hireable( self ):
self._completeIfNotSet( self._hireable )
return self._NoneIfNotSet( self._hireable )
@property
def html_url( self ):
self._completeIfNotSet( self._html_url )
return self._NoneIfNotSet( self._html_url )
@property
def id( self ):
self._completeIfNotSet( self._id )
return self._NoneIfNotSet( self._id )
@property
def location( self ):
self._completeIfNotSet( self._location )
return self._NoneIfNotSet( self._location )
@property
def login( self ):
self._completeIfNotSet( self._login )
return self._NoneIfNotSet( self._login )
@property
def name( self ):
self._completeIfNotSet( self._name )
return self._NoneIfNotSet( self._name )
@property
def owned_private_repos( self ):
self._completeIfNotSet( self._owned_private_repos )
return self._NoneIfNotSet( self._owned_private_repos )
@property
def plan( self ):
self._completeIfNotSet( self._plan )
return self._NoneIfNotSet( self._plan )
@property
def private_gists( self ):
self._completeIfNotSet( self._private_gists )
return self._NoneIfNotSet( self._private_gists )
@property
def public_gists( self ):
self._completeIfNotSet( self._public_gists )
return self._NoneIfNotSet( self._public_gists )
@property
def public_repos( self ):
self._completeIfNotSet( self._public_repos )
return self._NoneIfNotSet( self._public_repos )
@property
def total_private_repos( self ):
self._completeIfNotSet( self._total_private_repos )
return self._NoneIfNotSet( self._total_private_repos )
@property
def type( self ):
self._completeIfNotSet( self._type )
return self._NoneIfNotSet( self._type )
@property
def url( self ):
self._completeIfNotSet( self._url )
return self._NoneIfNotSet( self._url )
def add_to_emails( self, *emails ):
assert all( isinstance( element, ( str, unicode ) ) for element in emails ), emails
post_parameters = emails
headers, data = self._requester.requestAndCheck(
"POST",
"https://api.github.com/user/emails",
None,
post_parameters
)
def add_to_following( self, following ):
assert isinstance( following, NamedUser.NamedUser ), following
headers, data = self._requester.requestAndCheck(
"PUT",
"https://api.github.com/user/following/" + following._identity,
None,
None
)
def add_to_watched( self, watched ):
assert isinstance( watched, Repository.Repository ), watched
headers, data = self._requester.requestAndCheck(
"PUT",
"https://api.github.com/user/watched/" + watched._identity,
None,
None
)
def create_authorization( self, scopes = GithubObject.NotSet, note = GithubObject.NotSet, note_url = GithubObject.NotSet ):
assert scopes is GithubObject.NotSet or all( isinstance( element, ( str, unicode ) ) for element in scopes ), scopes
assert note is GithubObject.NotSet or isinstance( note, ( str, unicode ) ), note
assert note_url is GithubObject.NotSet or isinstance( note_url, ( str, unicode ) ), note_url
post_parameters = dict()
if scopes is not GithubObject.NotSet:
post_parameters[ "scopes" ] = scopes
if note is not GithubObject.NotSet:
post_parameters[ "note" ] = note
if note_url is not GithubObject.NotSet:
post_parameters[ "note_url" ] = note_url
headers, data = self._requester.requestAndCheck(
"POST",
"https://api.github.com/authorizations",
None,
post_parameters
)
return Authorization.Authorization( self._requester, data, completed = True )
def create_fork( self, repo ):
assert isinstance( repo, Repository.Repository ), repo
headers, data = self._requester.requestAndCheck(
"POST",
"https://api.github.com/repos/" + repo.owner.login + "/" + repo.name + "/forks",
None,
None
)
return Repository.Repository( self._requester, data, completed = True )
def create_gist( self, public, files, description = GithubObject.NotSet ):
assert isinstance( public, bool ), public
assert all( isinstance( element, InputFileContent.InputFileContent ) for element in files.itervalues() ), files
assert description is GithubObject.NotSet or isinstance( description, ( str, unicode ) ), description
post_parameters = {
"public": public,
"files": dict( ( key, value._identity ) for key, value in files.iteritems() ),
}
if description is not GithubObject.NotSet:
post_parameters[ "description" ] = description
headers, data = self._requester.requestAndCheck(
"POST",
"https://api.github.com/gists",
None,
post_parameters
)
return Gist.Gist( self._requester, data, completed = True )
def create_key( self, title, key ):
assert isinstance( title, ( str, unicode ) ), title
assert isinstance( key, ( str, unicode ) ), key
post_parameters = {
"title": title,
"key": key,
}
headers, data = self._requester.requestAndCheck(
"POST",
"https://api.github.com/user/keys",
None,
post_parameters
)
return UserKey.UserKey( self._requester, data, completed = True )
def create_repo( self, name, description = GithubObject.NotSet, homepage = GithubObject.NotSet, private = GithubObject.NotSet, has_issues = GithubObject.NotSet, has_wiki = GithubObject.NotSet, has_downloads = GithubObject.NotSet ):
assert isinstance( name, ( str, unicode ) ), name
assert description is GithubObject.NotSet or isinstance( description, ( str, unicode ) ), description
assert homepage is GithubObject.NotSet or isinstance( homepage, ( str, unicode ) ), homepage
assert private is GithubObject.NotSet or isinstance( private, bool ), private
assert has_issues is GithubObject.NotSet or isinstance( has_issues, bool ), has_issues
assert has_wiki is GithubObject.NotSet or isinstance( has_wiki, bool ), has_wiki
assert has_downloads is GithubObject.NotSet or isinstance( has_downloads, bool ), has_downloads
post_parameters = {
"name": name,
}
if description is not GithubObject.NotSet:
post_parameters[ "description" ] = description
if homepage is not GithubObject.NotSet:
post_parameters[ "homepage" ] = homepage
if private is not GithubObject.NotSet:
post_parameters[ "private" ] = private
if has_issues is not GithubObject.NotSet:
post_parameters[ "has_issues" ] = has_issues
if has_wiki is not GithubObject.NotSet:
post_parameters[ "has_wiki" ] = has_wiki
if has_downloads is not GithubObject.NotSet:
post_parameters[ "has_downloads" ] = has_downloads
headers, data = self._requester.requestAndCheck(
"POST",
"https://api.github.com/user/repos",
None,
post_parameters
)
return Repository.Repository( self._requester, data, completed = True )
def edit( self, name = GithubObject.NotSet, email = GithubObject.NotSet, blog = GithubObject.NotSet, company = GithubObject.NotSet, location = GithubObject.NotSet, hireable = GithubObject.NotSet, bio = GithubObject.NotSet ):
assert name is GithubObject.NotSet or isinstance( name, ( str, unicode ) ), name
assert email is GithubObject.NotSet or isinstance( email, ( str, unicode ) ), email
assert blog is GithubObject.NotSet or isinstance( blog, ( str, unicode ) ), blog
assert company is GithubObject.NotSet or isinstance( company, ( str, unicode ) ), company
assert location is GithubObject.NotSet or isinstance( location, ( str, unicode ) ), location
assert hireable is GithubObject.NotSet or isinstance( hireable, bool ), hireable
assert bio is GithubObject.NotSet or isinstance( bio, ( str, unicode ) ), bio
post_parameters = dict()
if name is not GithubObject.NotSet:
post_parameters[ "name" ] = name
if email is not GithubObject.NotSet:
post_parameters[ "email" ] = email
if blog is not GithubObject.NotSet:
post_parameters[ "blog" ] = blog
if company is not GithubObject.NotSet:
post_parameters[ "company" ] = company
if location is not GithubObject.NotSet:
post_parameters[ "location" ] = location
if hireable is not GithubObject.NotSet:
post_parameters[ "hireable" ] = hireable
if bio is not GithubObject.NotSet:
post_parameters[ "bio" ] = bio
headers, data = self._requester.requestAndCheck(
"PATCH",
"https://api.github.com/user",
None,
post_parameters
)
self._useAttributes( data )
def get_authorization( self, id ):
assert isinstance( id, int ), id
headers, data = self._requester.requestAndCheck(
"GET",
"https://api.github.com/authorizations/" + str( id ),
None,
None
)
return Authorization.Authorization( self._requester, data, completed = True )
def get_authorizations( self ):
headers, data = self._requester.requestAndCheck(
"GET",
"https://api.github.com/authorizations",
None,
None
)
return PaginatedList.PaginatedList(
Authorization.Authorization,
self._requester,
headers,
data
)
def get_emails( self ):
headers, data = self._requester.requestAndCheck(
"GET",
"https://api.github.com/user/emails",
None,
None
)
return data
def get_events( self ):
headers, data = self._requester.requestAndCheck(
"GET",
"https://api.github.com/events",
None,
None
)
return PaginatedList.PaginatedList(
Event.Event,
self._requester,
headers,
data
)
def get_followers( self ):
headers, data = self._requester.requestAndCheck(
"GET",
"https://api.github.com/user/followers",
None,
None
)
return PaginatedList.PaginatedList(
NamedUser.NamedUser,
self._requester,
headers,
data
)
def get_following( self ):
headers, data = self._requester.requestAndCheck(
"GET",
"https://api.github.com/user/following",
None,
None
)
return PaginatedList.PaginatedList(
NamedUser.NamedUser,
self._requester,
headers,
data
)
def get_gists( self ):
headers, data = self._requester.requestAndCheck(
"GET",
"https://api.github.com/gists",
None,
None
)
return PaginatedList.PaginatedList(
Gist.Gist,
self._requester,
headers,
data
)
def get_issues( self ):
headers, data = self._requester.requestAndCheck(
"GET",
"https://api.github.com/issues",
None,
None
)
return PaginatedList.PaginatedList(
Issue.Issue,
self._requester,
headers,
data
)
def get_key( self, id ):
assert isinstance( id, int ), id
headers, data = self._requester.requestAndCheck(
"GET",
"https://api.github.com/user/keys/" + str( id ),
None,
None
)
return UserKey.UserKey( self._requester, data, completed = True )
def get_keys( self ):
headers, data = self._requester.requestAndCheck(
"GET",
"https://api.github.com/user/keys",
None,
None
)
return PaginatedList.PaginatedList(
UserKey.UserKey,
self._requester,
headers,
data
)
def get_organization_events( self, org ):
assert isinstance( org, Organization.Organization ), org
headers, data = self._requester.requestAndCheck(
"GET",
"https://api.github.com/users/" + self.login + "/events/orgs/" + org.login,
None,
None
)
return PaginatedList.PaginatedList(
Event.Event,
self._requester,
headers,
data
)
def get_orgs( self ):
headers, data = self._requester.requestAndCheck(
"GET",
"https://api.github.com/user/orgs",
None,
None
)
return PaginatedList.PaginatedList(
Organization.Organization,
self._requester,
headers,
data
)
def get_repo( self, name ):
assert isinstance( name, ( str, unicode ) ), name
headers, data = self._requester.requestAndCheck(
"GET",
"https://api.github.com/repos/" + self.login + "/" + name,
None,
None
)
return Repository.Repository( self._requester, data, completed = True )
def get_repos( self, type = GithubObject.NotSet, sort = GithubObject.NotSet, direction = GithubObject.NotSet ):
assert type is GithubObject.NotSet or isinstance( type, ( str, unicode ) ), type
assert sort is GithubObject.NotSet or isinstance( sort, ( str, unicode ) ), sort
assert direction is GithubObject.NotSet or isinstance( direction, ( str, unicode ) ), direction
url_parameters = dict()
if type is not GithubObject.NotSet:
url_parameters[ "type" ] = type
if sort is not GithubObject.NotSet:
url_parameters[ "sort" ] = sort
if direction is not GithubObject.NotSet:
url_parameters[ "direction" ] = direction
headers, data = self._requester.requestAndCheck(
"GET",
"https://api.github.com/user/repos",
url_parameters,
None
)
return PaginatedList.PaginatedList(
Repository.Repository,
self._requester,
headers,
data
)
def get_starred_gists( self ):
headers, data = self._requester.requestAndCheck(
"GET",
"https://api.github.com/gists/starred",
None,
None
)
return PaginatedList.PaginatedList(
Gist.Gist,
self._requester,
headers,
data
)
def get_watched( self ):
headers, data = self._requester.requestAndCheck(
"GET",
"https://api.github.com/user/watched",
None,
None
)
return PaginatedList.PaginatedList(
Repository.Repository,
self._requester,
headers,
data
)
def has_in_following( self, following ):
assert isinstance( following, NamedUser.NamedUser ), following
status, headers, data = self._requester.requestRaw(
"GET",
"https://api.github.com/user/following/" + following._identity,
None,
None
)
return status == 204
def has_in_watched( self, watched ):
assert isinstance( watched, Repository.Repository ), watched
status, headers, data = self._requester.requestRaw(
"GET",
"https://api.github.com/user/watched/" + watched._identity,
None,
None
)
return status == 204
def remove_from_emails( self, *emails ):
assert all( isinstance( element, ( str, unicode ) ) for element in emails ), emails
post_parameters = emails
headers, data = self._requester.requestAndCheck(
"DELETE",
"https://api.github.com/user/emails",
None,
post_parameters
)
def remove_from_following( self, following ):
assert isinstance( following, NamedUser.NamedUser ), following
headers, data = self._requester.requestAndCheck(
"DELETE",
"https://api.github.com/user/following/" + following._identity,
None,
None
)
def remove_from_watched( self, watched ):
assert isinstance( watched, Repository.Repository ), watched
headers, data = self._requester.requestAndCheck(
"DELETE",
"https://api.github.com/user/watched/" + watched._identity,
None,
None
)
def _initAttributes( self ):
self._avatar_url = GithubObject.NotSet
self._bio = GithubObject.NotSet
self._blog = GithubObject.NotSet
self._collaborators = GithubObject.NotSet
self._company = GithubObject.NotSet
self._created_at = GithubObject.NotSet
self._disk_usage = GithubObject.NotSet
self._email = GithubObject.NotSet
self._followers = GithubObject.NotSet
self._following = GithubObject.NotSet
self._gravatar_id = GithubObject.NotSet
self._hireable = GithubObject.NotSet
self._html_url = GithubObject.NotSet
self._id = GithubObject.NotSet
self._location = GithubObject.NotSet
self._login = GithubObject.NotSet
self._name = GithubObject.NotSet
self._owned_private_repos = GithubObject.NotSet
self._plan = GithubObject.NotSet
self._private_gists = GithubObject.NotSet
self._public_gists = GithubObject.NotSet
self._public_repos = GithubObject.NotSet
self._total_private_repos = GithubObject.NotSet
self._type = GithubObject.NotSet
self._url = GithubObject.NotSet
def _useAttributes( self, attributes ):
if "avatar_url" in attributes: # pragma no branch
assert attributes[ "avatar_url" ] is None or isinstance( attributes[ "avatar_url" ], ( str, unicode ) ), attributes[ "avatar_url" ]
self._avatar_url = attributes[ "avatar_url" ]
if "bio" in attributes: # pragma no branch
assert attributes[ "bio" ] is None or isinstance( attributes[ "bio" ], ( str, unicode ) ), attributes[ "bio" ]
self._bio = attributes[ "bio" ]
if "blog" in attributes: # pragma no branch
assert attributes[ "blog" ] is None or isinstance( attributes[ "blog" ], ( str, unicode ) ), attributes[ "blog" ]
self._blog = attributes[ "blog" ]
if "collaborators" in attributes: # pragma no branch
assert attributes[ "collaborators" ] is None or isinstance( attributes[ "collaborators" ], int ), attributes[ "collaborators" ]
self._collaborators = attributes[ "collaborators" ]
if "company" in attributes: # pragma no branch
assert attributes[ "company" ] is None or isinstance( attributes[ "company" ], ( str, unicode ) ), attributes[ "company" ]
self._company = attributes[ "company" ]
if "created_at" in attributes: # pragma no branch
assert attributes[ "created_at" ] is None or isinstance( attributes[ "created_at" ], ( str, unicode ) ), attributes[ "created_at" ]
self._created_at = None if attributes[ "created_at" ] is None else datetime.datetime.strptime( attributes[ "created_at" ], "%Y-%m-%dT%H:%M:%SZ" )
if "disk_usage" in attributes: # pragma no branch
assert attributes[ "disk_usage" ] is None or isinstance( attributes[ "disk_usage" ], int ), attributes[ "disk_usage" ]
self._disk_usage = attributes[ "disk_usage" ]
if "email" in attributes: # pragma no branch
assert attributes[ "email" ] is None or isinstance( attributes[ "email" ], ( str, unicode ) ), attributes[ "email" ]
self._email = attributes[ "email" ]
if "followers" in attributes: # pragma no branch
assert attributes[ "followers" ] is None or isinstance( attributes[ "followers" ], int ), attributes[ "followers" ]
self._followers = attributes[ "followers" ]
if "following" in attributes: # pragma no branch
assert attributes[ "following" ] is None or isinstance( attributes[ "following" ], int ), attributes[ "following" ]
self._following = attributes[ "following" ]
if "gravatar_id" in attributes: # pragma no branch
assert attributes[ "gravatar_id" ] is None or isinstance( attributes[ "gravatar_id" ], ( str, unicode ) ), attributes[ "gravatar_id" ]
self._gravatar_id = attributes[ "gravatar_id" ]
if "hireable" in attributes: # pragma no branch
assert attributes[ "hireable" ] is None or isinstance( attributes[ "hireable" ], bool ), attributes[ "hireable" ]
self._hireable = attributes[ "hireable" ]
if "html_url" in attributes: # pragma no branch
assert attributes[ "html_url" ] is None or isinstance( attributes[ "html_url" ], ( str, unicode ) ), attributes[ "html_url" ]
self._html_url = attributes[ "html_url" ]
if "id" in attributes: # pragma no branch
assert attributes[ "id" ] is None or isinstance( attributes[ "id" ], int ), attributes[ "id" ]
self._id = attributes[ "id" ]
if "location" in attributes: # pragma no branch
assert attributes[ "location" ] is None or isinstance( attributes[ "location" ], ( str, unicode ) ), attributes[ "location" ]
self._location = attributes[ "location" ]
if "login" in attributes: # pragma no branch
assert attributes[ "login" ] is None or isinstance( attributes[ "login" ], ( str, unicode ) ), attributes[ "login" ]
self._login = attributes[ "login" ]
if "name" in attributes: # pragma no branch
assert attributes[ "name" ] is None or isinstance( attributes[ "name" ], ( str, unicode ) ), attributes[ "name" ]
self._name = attributes[ "name" ]
if "owned_private_repos" in attributes: # pragma no branch
assert attributes[ "owned_private_repos" ] is None or isinstance( attributes[ "owned_private_repos" ], int ), attributes[ "owned_private_repos" ]
self._owned_private_repos = attributes[ "owned_private_repos" ]
if "plan" in attributes: # pragma no branch
assert attributes[ "plan" ] is None or isinstance( attributes[ "plan" ], dict ), attributes[ "plan" ]
self._plan = None if attributes[ "plan" ] is None else Plan.Plan( self._requester, attributes[ "plan" ], completed = False )
if "private_gists" in attributes: # pragma no branch
assert attributes[ "private_gists" ] is None or isinstance( attributes[ "private_gists" ], int ), attributes[ "private_gists" ]
self._private_gists = attributes[ "private_gists" ]
if "public_gists" in attributes: # pragma no branch
assert attributes[ "public_gists" ] is None or isinstance( attributes[ "public_gists" ], int ), attributes[ "public_gists" ]
self._public_gists = attributes[ "public_gists" ]
if "public_repos" in attributes: # pragma no branch
assert attributes[ "public_repos" ] is None or isinstance( attributes[ "public_repos" ], int ), attributes[ "public_repos" ]
self._public_repos = attributes[ "public_repos" ]
if "total_private_repos" in attributes: # pragma no branch
assert attributes[ "total_private_repos" ] is None or isinstance( attributes[ "total_private_repos" ], int ), attributes[ "total_private_repos" ]
self._total_private_repos = attributes[ "total_private_repos" ]
if "type" in attributes: # pragma no branch
assert attributes[ "type" ] is None or isinstance( attributes[ "type" ], ( str, unicode ) ), attributes[ "type" ]
self._type = attributes[ "type" ]
if "url" in attributes: # pragma no branch
assert attributes[ "url" ] is None or isinstance( attributes[ "url" ], ( str, unicode ) ), attributes[ "url" ]
self._url = attributes[ "url" ]
+140
View File
@@ -0,0 +1,140 @@
# WARNING: this file is generated automaticaly.
# Do not modify it manually, your work would be lost.
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
# PyGithub is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
# You should have received a copy of the GNU Lesser General Public License along with PyGithub. If not, see <http://www.gnu.org/licenses/>.
import datetime
import GithubObject
import AuthorizationApplication
class Authorization( GithubObject.GithubObject ):
@property
def app( self ):
self._completeIfNotSet( self._app )
return self._NoneIfNotSet( self._app )
@property
def created_at( self ):
self._completeIfNotSet( self._created_at )
return self._NoneIfNotSet( self._created_at )
@property
def id( self ):
self._completeIfNotSet( self._id )
return self._NoneIfNotSet( self._id )
@property
def note( self ):
self._completeIfNotSet( self._note )
return self._NoneIfNotSet( self._note )
@property
def note_url( self ):
self._completeIfNotSet( self._note_url )
return self._NoneIfNotSet( self._note_url )
@property
def scopes( self ):
self._completeIfNotSet( self._scopes )
return self._NoneIfNotSet( self._scopes )
@property
def token( self ):
self._completeIfNotSet( self._token )
return self._NoneIfNotSet( self._token )
@property
def updated_at( self ):
self._completeIfNotSet( self._updated_at )
return self._NoneIfNotSet( self._updated_at )
@property
def url( self ):
self._completeIfNotSet( self._url )
return self._NoneIfNotSet( self._url )
def delete( self ):
headers, data = self._requester.requestAndCheck(
"DELETE",
self.url,
None,
None
)
def edit( self, scopes = GithubObject.NotSet, add_scopes = GithubObject.NotSet, remove_scopes = GithubObject.NotSet, note = GithubObject.NotSet, note_url = GithubObject.NotSet ):
assert scopes is GithubObject.NotSet or all( isinstance( element, ( str, unicode ) ) for element in scopes ), scopes
assert add_scopes is GithubObject.NotSet or all( isinstance( element, ( str, unicode ) ) for element in add_scopes ), add_scopes
assert remove_scopes is GithubObject.NotSet or all( isinstance( element, ( str, unicode ) ) for element in remove_scopes ), remove_scopes
assert note is GithubObject.NotSet or isinstance( note, ( str, unicode ) ), note
assert note_url is GithubObject.NotSet or isinstance( note_url, ( str, unicode ) ), note_url
post_parameters = dict()
if scopes is not GithubObject.NotSet:
post_parameters[ "scopes" ] = scopes
if add_scopes is not GithubObject.NotSet:
post_parameters[ "add_scopes" ] = add_scopes
if remove_scopes is not GithubObject.NotSet:
post_parameters[ "remove_scopes" ] = remove_scopes
if note is not GithubObject.NotSet:
post_parameters[ "note" ] = note
if note_url is not GithubObject.NotSet:
post_parameters[ "note_url" ] = note_url
headers, data = self._requester.requestAndCheck(
"PATCH",
self.url,
None,
post_parameters
)
self._useAttributes( data )
def _initAttributes( self ):
self._app = GithubObject.NotSet
self._created_at = GithubObject.NotSet
self._id = GithubObject.NotSet
self._note = GithubObject.NotSet
self._note_url = GithubObject.NotSet
self._scopes = GithubObject.NotSet
self._token = GithubObject.NotSet
self._updated_at = GithubObject.NotSet
self._url = GithubObject.NotSet
def _useAttributes( self, attributes ):
if "app" in attributes: # pragma no branch
assert attributes[ "app" ] is None or isinstance( attributes[ "app" ], dict ), attributes[ "app" ]
self._app = None if attributes[ "app" ] is None else AuthorizationApplication.AuthorizationApplication( self._requester, attributes[ "app" ], completed = False )
if "created_at" in attributes: # pragma no branch
assert attributes[ "created_at" ] is None or isinstance( attributes[ "created_at" ], ( str, unicode ) ), attributes[ "created_at" ]
self._created_at = None if attributes[ "created_at" ] is None else datetime.datetime.strptime( attributes[ "created_at" ], "%Y-%m-%dT%H:%M:%SZ" )
if "id" in attributes: # pragma no branch
assert attributes[ "id" ] is None or isinstance( attributes[ "id" ], int ), attributes[ "id" ]
self._id = attributes[ "id" ]
if "note" in attributes: # pragma no branch
assert attributes[ "note" ] is None or isinstance( attributes[ "note" ], ( str, unicode ) ), attributes[ "note" ]
self._note = attributes[ "note" ]
if "note_url" in attributes: # pragma no branch
assert attributes[ "note_url" ] is None or isinstance( attributes[ "note_url" ], ( str, unicode ) ), attributes[ "note_url" ]
self._note_url = attributes[ "note_url" ]
if "scopes" in attributes: # pragma no branch
assert attributes[ "scopes" ] is None or all( isinstance( element, ( str, unicode ) ) for element in attributes[ "scopes" ] ), attributes[ "scopes" ]
self._scopes = attributes[ "scopes" ]
if "token" in attributes: # pragma no branch
assert attributes[ "token" ] is None or isinstance( attributes[ "token" ], ( str, unicode ) ), attributes[ "token" ]
self._token = attributes[ "token" ]
if "updated_at" in attributes: # pragma no branch
assert attributes[ "updated_at" ] is None or isinstance( attributes[ "updated_at" ], ( str, unicode ) ), attributes[ "updated_at" ]
self._updated_at = None if attributes[ "updated_at" ] is None else datetime.datetime.strptime( attributes[ "updated_at" ], "%Y-%m-%dT%H:%M:%SZ" )
if "url" in attributes: # pragma no branch
assert attributes[ "url" ] is None or isinstance( attributes[ "url" ], ( str, unicode ) ), attributes[ "url" ]
self._url = attributes[ "url" ]
+40
View File
@@ -0,0 +1,40 @@
# WARNING: this file is generated automaticaly.
# Do not modify it manually, your work would be lost.
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
# PyGithub is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
# You should have received a copy of the GNU Lesser General Public License along with PyGithub. If not, see <http://www.gnu.org/licenses/>.
import GithubObject
class AuthorizationApplication( GithubObject.GithubObject ):
@property
def name( self ):
self._completeIfNotSet( self._name )
return self._NoneIfNotSet( self._name )
@property
def url( self ):
self._completeIfNotSet( self._url )
return self._NoneIfNotSet( self._url )
def _initAttributes( self ):
self._name = GithubObject.NotSet
self._url = GithubObject.NotSet
def _useAttributes( self, attributes ):
if "name" in attributes: # pragma no branch
assert attributes[ "name" ] is None or isinstance( attributes[ "name" ], ( str, unicode ) ), attributes[ "name" ]
self._name = attributes[ "name" ]
if "url" in attributes: # pragma no branch
assert attributes[ "url" ] is None or isinstance( attributes[ "url" ], ( str, unicode ) ), attributes[ "url" ]
self._url = attributes[ "url" ]
+40
View File
@@ -0,0 +1,40 @@
# WARNING: this file is generated automaticaly.
# Do not modify it manually, your work would be lost.
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
# PyGithub is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
# You should have received a copy of the GNU Lesser General Public License along with PyGithub. If not, see <http://www.gnu.org/licenses/>.
import GithubObject
import Commit
class Branch( GithubObject.BasicGithubObject ):
@property
def commit( self ):
return self._NoneIfNotSet( self._commit )
@property
def name( self ):
return self._NoneIfNotSet( self._name )
def _initAttributes( self ):
self._commit = GithubObject.NotSet
self._name = GithubObject.NotSet
def _useAttributes( self, attributes ):
if "commit" in attributes: # pragma no branch
assert attributes[ "commit" ] is None or isinstance( attributes[ "commit" ], dict ), attributes[ "commit" ]
self._commit = None if attributes[ "commit" ] is None else Commit.Commit( self._requester, attributes[ "commit" ], completed = False )
if "name" in attributes: # pragma no branch
assert attributes[ "name" ] is None or isinstance( attributes[ "name" ], ( str, unicode ) ), attributes[ "name" ]
self._name = attributes[ "name" ]
+148
View File
@@ -0,0 +1,148 @@
# WARNING: this file is generated automaticaly.
# Do not modify it manually, your work would be lost.
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
# PyGithub is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
# You should have received a copy of the GNU Lesser General Public License along with PyGithub. If not, see <http://www.gnu.org/licenses/>.
import GithubObject
import PaginatedList
import GitCommit
import NamedUser
import File
import CommitStats
import Commit
import CommitComment
class Commit( GithubObject.GithubObject ):
@property
def author( self ):
self._completeIfNotSet( self._author )
return self._NoneIfNotSet( self._author )
@property
def commit( self ):
self._completeIfNotSet( self._commit )
return self._NoneIfNotSet( self._commit )
@property
def committer( self ):
self._completeIfNotSet( self._committer )
return self._NoneIfNotSet( self._committer )
@property
def files( self ):
self._completeIfNotSet( self._files )
return self._NoneIfNotSet( self._files )
@property
def parents( self ):
self._completeIfNotSet( self._parents )
return self._NoneIfNotSet( self._parents )
@property
def sha( self ):
self._completeIfNotSet( self._sha )
return self._NoneIfNotSet( self._sha )
@property
def stats( self ):
self._completeIfNotSet( self._stats )
return self._NoneIfNotSet( self._stats )
@property
def url( self ):
self._completeIfNotSet( self._url )
return self._NoneIfNotSet( self._url )
def create_comment( self, body, line = GithubObject.NotSet, path = GithubObject.NotSet, position = GithubObject.NotSet ):
assert isinstance( body, ( str, unicode ) ), body
assert line is GithubObject.NotSet or isinstance( line, int ), line
assert path is GithubObject.NotSet or isinstance( path, ( str, unicode ) ), path
assert position is GithubObject.NotSet or isinstance( position, int ), position
post_parameters = {
"body": body,
}
if line is not GithubObject.NotSet:
post_parameters[ "line" ] = line
if path is not GithubObject.NotSet:
post_parameters[ "path" ] = path
if position is not GithubObject.NotSet:
post_parameters[ "position" ] = position
headers, data = self._requester.requestAndCheck(
"POST",
self.url + "/comments",
None,
post_parameters
)
return CommitComment.CommitComment( self._requester, data, completed = True )
def get_comments( self ):
headers, data = self._requester.requestAndCheck(
"GET",
self.url + "/comments",
None,
None
)
return PaginatedList.PaginatedList(
CommitComment.CommitComment,
self._requester,
headers,
data
)
@property
def _identity( self ):
return self.sha
def _initAttributes( self ):
self._author = GithubObject.NotSet
self._commit = GithubObject.NotSet
self._committer = GithubObject.NotSet
self._files = GithubObject.NotSet
self._parents = GithubObject.NotSet
self._sha = GithubObject.NotSet
self._stats = GithubObject.NotSet
self._url = GithubObject.NotSet
def _useAttributes( self, attributes ):
if "author" in attributes: # pragma no branch
assert attributes[ "author" ] is None or isinstance( attributes[ "author" ], dict ), attributes[ "author" ]
self._author = None if attributes[ "author" ] is None else NamedUser.NamedUser( self._requester, attributes[ "author" ], completed = False )
if "commit" in attributes: # pragma no branch
assert attributes[ "commit" ] is None or isinstance( attributes[ "commit" ], dict ), attributes[ "commit" ]
self._commit = None if attributes[ "commit" ] is None else GitCommit.GitCommit( self._requester, attributes[ "commit" ], completed = False )
if "committer" in attributes: # pragma no branch
assert attributes[ "committer" ] is None or isinstance( attributes[ "committer" ], dict ), attributes[ "committer" ]
self._committer = None if attributes[ "committer" ] is None else NamedUser.NamedUser( self._requester, attributes[ "committer" ], completed = False )
if "files" in attributes: # pragma no branch
assert attributes[ "files" ] is None or all( isinstance( element, dict ) for element in attributes[ "files" ] ), attributes[ "files" ]
self._files = None if attributes[ "files" ] is None else [
File.File( self._requester, element, completed = False )
for element in attributes[ "files" ]
]
if "parents" in attributes: # pragma no branch
assert attributes[ "parents" ] is None or all( isinstance( element, dict ) for element in attributes[ "parents" ] ), attributes[ "parents" ]
self._parents = None if attributes[ "parents" ] is None else [
Commit( self._requester, element, completed = False )
for element in attributes[ "parents" ]
]
if "sha" in attributes: # pragma no branch
assert attributes[ "sha" ] is None or isinstance( attributes[ "sha" ], ( str, unicode ) ), attributes[ "sha" ]
self._sha = attributes[ "sha" ]
if "stats" in attributes: # pragma no branch
assert attributes[ "stats" ] is None or isinstance( attributes[ "stats" ], dict ), attributes[ "stats" ]
self._stats = None if attributes[ "stats" ] is None else CommitStats.CommitStats( self._requester, attributes[ "stats" ], completed = False )
if "url" in attributes: # pragma no branch
assert attributes[ "url" ] is None or isinstance( attributes[ "url" ], ( str, unicode ) ), attributes[ "url" ]
self._url = attributes[ "url" ]
+146
View File
@@ -0,0 +1,146 @@
# WARNING: this file is generated automaticaly.
# Do not modify it manually, your work would be lost.
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
# PyGithub is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
# You should have received a copy of the GNU Lesser General Public License along with PyGithub. If not, see <http://www.gnu.org/licenses/>.
import datetime
import GithubObject
import NamedUser
class CommitComment( GithubObject.GithubObject ):
@property
def body( self ):
self._completeIfNotSet( self._body )
return self._NoneIfNotSet( self._body )
@property
def commit_id( self ):
self._completeIfNotSet( self._commit_id )
return self._NoneIfNotSet( self._commit_id )
@property
def created_at( self ):
self._completeIfNotSet( self._created_at )
return self._NoneIfNotSet( self._created_at )
@property
def html_url( self ):
self._completeIfNotSet( self._html_url )
return self._NoneIfNotSet( self._html_url )
@property
def id( self ):
self._completeIfNotSet( self._id )
return self._NoneIfNotSet( self._id )
@property
def line( self ):
self._completeIfNotSet( self._line )
return self._NoneIfNotSet( self._line )
@property
def path( self ):
self._completeIfNotSet( self._path )
return self._NoneIfNotSet( self._path )
@property
def position( self ):
self._completeIfNotSet( self._position )
return self._NoneIfNotSet( self._position )
@property
def updated_at( self ):
self._completeIfNotSet( self._updated_at )
return self._NoneIfNotSet( self._updated_at )
@property
def url( self ):
self._completeIfNotSet( self._url )
return self._NoneIfNotSet( self._url )
@property
def user( self ):
self._completeIfNotSet( self._user )
return self._NoneIfNotSet( self._user )
def delete( self ):
headers, data = self._requester.requestAndCheck(
"DELETE",
self.url,
None,
None
)
def edit( self, body ):
assert isinstance( body, ( str, unicode ) ), body
post_parameters = {
"body": body,
}
headers, data = self._requester.requestAndCheck(
"PATCH",
self.url,
None,
post_parameters
)
self._useAttributes( data )
def _initAttributes( self ):
self._body = GithubObject.NotSet
self._commit_id = GithubObject.NotSet
self._created_at = GithubObject.NotSet
self._html_url = GithubObject.NotSet
self._id = GithubObject.NotSet
self._line = GithubObject.NotSet
self._path = GithubObject.NotSet
self._position = GithubObject.NotSet
self._updated_at = GithubObject.NotSet
self._url = GithubObject.NotSet
self._user = GithubObject.NotSet
def _useAttributes( self, attributes ):
if "body" in attributes: # pragma no branch
assert attributes[ "body" ] is None or isinstance( attributes[ "body" ], ( str, unicode ) ), attributes[ "body" ]
self._body = attributes[ "body" ]
if "commit_id" in attributes: # pragma no branch
assert attributes[ "commit_id" ] is None or isinstance( attributes[ "commit_id" ], ( str, unicode ) ), attributes[ "commit_id" ]
self._commit_id = attributes[ "commit_id" ]
if "created_at" in attributes: # pragma no branch
assert attributes[ "created_at" ] is None or isinstance( attributes[ "created_at" ], ( str, unicode ) ), attributes[ "created_at" ]
self._created_at = None if attributes[ "created_at" ] is None else datetime.datetime.strptime( attributes[ "created_at" ], "%Y-%m-%dT%H:%M:%SZ" )
if "html_url" in attributes: # pragma no branch
assert attributes[ "html_url" ] is None or isinstance( attributes[ "html_url" ], ( str, unicode ) ), attributes[ "html_url" ]
self._html_url = attributes[ "html_url" ]
if "id" in attributes: # pragma no branch
assert attributes[ "id" ] is None or isinstance( attributes[ "id" ], int ), attributes[ "id" ]
self._id = attributes[ "id" ]
if "line" in attributes: # pragma no branch
assert attributes[ "line" ] is None or isinstance( attributes[ "line" ], int ), attributes[ "line" ]
self._line = attributes[ "line" ]
if "path" in attributes: # pragma no branch
assert attributes[ "path" ] is None or isinstance( attributes[ "path" ], ( str, unicode ) ), attributes[ "path" ]
self._path = attributes[ "path" ]
if "position" in attributes: # pragma no branch
assert attributes[ "position" ] is None or isinstance( attributes[ "position" ], int ), attributes[ "position" ]
self._position = attributes[ "position" ]
if "updated_at" in attributes: # pragma no branch
assert attributes[ "updated_at" ] is None or isinstance( attributes[ "updated_at" ], ( str, unicode ) ), attributes[ "updated_at" ]
self._updated_at = None if attributes[ "updated_at" ] is None else datetime.datetime.strptime( attributes[ "updated_at" ], "%Y-%m-%dT%H:%M:%SZ" )
if "url" in attributes: # pragma no branch
assert attributes[ "url" ] is None or isinstance( attributes[ "url" ], ( str, unicode ) ), attributes[ "url" ]
self._url = attributes[ "url" ]
if "user" in attributes: # pragma no branch
assert attributes[ "user" ] is None or isinstance( attributes[ "user" ], dict ), attributes[ "user" ]
self._user = None if attributes[ "user" ] is None else NamedUser.NamedUser( self._requester, attributes[ "user" ], completed = False )
+46
View File
@@ -0,0 +1,46 @@
# WARNING: this file is generated automaticaly.
# Do not modify it manually, your work would be lost.
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
# PyGithub is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
# You should have received a copy of the GNU Lesser General Public License along with PyGithub. If not, see <http://www.gnu.org/licenses/>.
import GithubObject
class CommitStats( GithubObject.BasicGithubObject ):
@property
def additions( self ):
return self._NoneIfNotSet( self._additions )
@property
def deletions( self ):
return self._NoneIfNotSet( self._deletions )
@property
def total( self ):
return self._NoneIfNotSet( self._total )
def _initAttributes( self ):
self._additions = GithubObject.NotSet
self._deletions = GithubObject.NotSet
self._total = GithubObject.NotSet
def _useAttributes( self, attributes ):
if "additions" in attributes: # pragma no branch
assert attributes[ "additions" ] is None or isinstance( attributes[ "additions" ], int ), attributes[ "additions" ]
self._additions = attributes[ "additions" ]
if "deletions" in attributes: # pragma no branch
assert attributes[ "deletions" ] is None or isinstance( attributes[ "deletions" ], int ), attributes[ "deletions" ]
self._deletions = attributes[ "deletions" ]
if "total" in attributes: # pragma no branch
assert attributes[ "total" ] is None or isinstance( attributes[ "total" ], int ), attributes[ "total" ]
self._total = attributes[ "total" ]
+139
View File
@@ -0,0 +1,139 @@
# WARNING: this file is generated automaticaly.
# Do not modify it manually, your work would be lost.
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
# PyGithub is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
# You should have received a copy of the GNU Lesser General Public License along with PyGithub. If not, see <http://www.gnu.org/licenses/>.
import GithubObject
import Commit
import File
class Comparison( GithubObject.GithubObject ):
@property
def ahead_by( self ):
self._completeIfNotSet( self._ahead_by )
return self._NoneIfNotSet( self._ahead_by )
@property
def base_commit( self ):
self._completeIfNotSet( self._base_commit )
return self._NoneIfNotSet( self._base_commit )
@property
def behind_by( self ):
self._completeIfNotSet( self._behind_by )
return self._NoneIfNotSet( self._behind_by )
@property
def commits( self ):
self._completeIfNotSet( self._commits )
return self._NoneIfNotSet( self._commits )
@property
def diff_url( self ):
self._completeIfNotSet( self._diff_url )
return self._NoneIfNotSet( self._diff_url )
@property
def files( self ):
self._completeIfNotSet( self._files )
return self._NoneIfNotSet( self._files )
@property
def html_url( self ):
self._completeIfNotSet( self._html_url )
return self._NoneIfNotSet( self._html_url )
@property
def patch_url( self ):
self._completeIfNotSet( self._patch_url )
return self._NoneIfNotSet( self._patch_url )
@property
def permalink_url( self ):
self._completeIfNotSet( self._permalink_url )
return self._NoneIfNotSet( self._permalink_url )
@property
def status( self ):
self._completeIfNotSet( self._status )
return self._NoneIfNotSet( self._status )
@property
def total_commits( self ):
self._completeIfNotSet( self._total_commits )
return self._NoneIfNotSet( self._total_commits )
@property
def url( self ):
self._completeIfNotSet( self._url )
return self._NoneIfNotSet( self._url )
def _initAttributes( self ):
self._ahead_by = GithubObject.NotSet
self._base_commit = GithubObject.NotSet
self._behind_by = GithubObject.NotSet
self._commits = GithubObject.NotSet
self._diff_url = GithubObject.NotSet
self._files = GithubObject.NotSet
self._html_url = GithubObject.NotSet
self._patch_url = GithubObject.NotSet
self._permalink_url = GithubObject.NotSet
self._status = GithubObject.NotSet
self._total_commits = GithubObject.NotSet
self._url = GithubObject.NotSet
def _useAttributes( self, attributes ):
if "ahead_by" in attributes: # pragma no branch
assert attributes[ "ahead_by" ] is None or isinstance( attributes[ "ahead_by" ], int ), attributes[ "ahead_by" ]
self._ahead_by = attributes[ "ahead_by" ]
if "base_commit" in attributes: # pragma no branch
assert attributes[ "base_commit" ] is None or isinstance( attributes[ "base_commit" ], dict ), attributes[ "base_commit" ]
self._base_commit = None if attributes[ "base_commit" ] is None else Commit.Commit( self._requester, attributes[ "base_commit" ], completed = False )
if "behind_by" in attributes: # pragma no branch
assert attributes[ "behind_by" ] is None or isinstance( attributes[ "behind_by" ], int ), attributes[ "behind_by" ]
self._behind_by = attributes[ "behind_by" ]
if "commits" in attributes: # pragma no branch
assert attributes[ "commits" ] is None or all( isinstance( element, dict ) for element in attributes[ "commits" ] ), attributes[ "commits" ]
self._commits = None if attributes[ "commits" ] is None else [
Commit.Commit( self._requester, element, completed = False )
for element in attributes[ "commits" ]
]
if "diff_url" in attributes: # pragma no branch
assert attributes[ "diff_url" ] is None or isinstance( attributes[ "diff_url" ], ( str, unicode ) ), attributes[ "diff_url" ]
self._diff_url = attributes[ "diff_url" ]
if "files" in attributes: # pragma no branch
assert attributes[ "files" ] is None or all( isinstance( element, dict ) for element in attributes[ "files" ] ), attributes[ "files" ]
self._files = None if attributes[ "files" ] is None else [
File.File( self._requester, element, completed = False )
for element in attributes[ "files" ]
]
if "html_url" in attributes: # pragma no branch
assert attributes[ "html_url" ] is None or isinstance( attributes[ "html_url" ], ( str, unicode ) ), attributes[ "html_url" ]
self._html_url = attributes[ "html_url" ]
if "patch_url" in attributes: # pragma no branch
assert attributes[ "patch_url" ] is None or isinstance( attributes[ "patch_url" ], ( str, unicode ) ), attributes[ "patch_url" ]
self._patch_url = attributes[ "patch_url" ]
if "permalink_url" in attributes: # pragma no branch
assert attributes[ "permalink_url" ] is None or isinstance( attributes[ "permalink_url" ], ( str, unicode ) ), attributes[ "permalink_url" ]
self._permalink_url = attributes[ "permalink_url" ]
if "status" in attributes: # pragma no branch
assert attributes[ "status" ] is None or isinstance( attributes[ "status" ], ( str, unicode ) ), attributes[ "status" ]
self._status = attributes[ "status" ]
if "total_commits" in attributes: # pragma no branch
assert attributes[ "total_commits" ] is None or isinstance( attributes[ "total_commits" ], int ), attributes[ "total_commits" ]
self._total_commits = attributes[ "total_commits" ]
if "url" in attributes: # pragma no branch
assert attributes[ "url" ] is None or isinstance( attributes[ "url" ], ( str, unicode ) ), attributes[ "url" ]
self._url = attributes[ "url" ]
+212
View File
@@ -0,0 +1,212 @@
# WARNING: this file is generated automaticaly.
# Do not modify it manually, your work would be lost.
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
# PyGithub is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
# You should have received a copy of the GNU Lesser General Public License along with PyGithub. If not, see <http://www.gnu.org/licenses/>.
import datetime
import GithubObject
class Download( GithubObject.GithubObject ):
@property
def accesskeyid( self ):
self._completeIfNotSet( self._accesskeyid )
return self._NoneIfNotSet( self._accesskeyid )
@property
def acl( self ):
self._completeIfNotSet( self._acl )
return self._NoneIfNotSet( self._acl )
@property
def bucket( self ):
self._completeIfNotSet( self._bucket )
return self._NoneIfNotSet( self._bucket )
@property
def content_type( self ):
self._completeIfNotSet( self._content_type )
return self._NoneIfNotSet( self._content_type )
@property
def created_at( self ):
self._completeIfNotSet( self._created_at )
return self._NoneIfNotSet( self._created_at )
@property
def description( self ):
self._completeIfNotSet( self._description )
return self._NoneIfNotSet( self._description )
@property
def download_count( self ):
self._completeIfNotSet( self._download_count )
return self._NoneIfNotSet( self._download_count )
@property
def expirationdate( self ):
self._completeIfNotSet( self._expirationdate )
return self._NoneIfNotSet( self._expirationdate )
@property
def html_url( self ):
self._completeIfNotSet( self._html_url )
return self._NoneIfNotSet( self._html_url )
@property
def id( self ):
self._completeIfNotSet( self._id )
return self._NoneIfNotSet( self._id )
@property
def mime_type( self ):
self._completeIfNotSet( self._mime_type )
return self._NoneIfNotSet( self._mime_type )
@property
def name( self ):
self._completeIfNotSet( self._name )
return self._NoneIfNotSet( self._name )
@property
def path( self ):
self._completeIfNotSet( self._path )
return self._NoneIfNotSet( self._path )
@property
def policy( self ):
self._completeIfNotSet( self._policy )
return self._NoneIfNotSet( self._policy )
@property
def prefix( self ):
self._completeIfNotSet( self._prefix )
return self._NoneIfNotSet( self._prefix )
@property
def redirect( self ):
self._completeIfNotSet( self._redirect )
return self._NoneIfNotSet( self._redirect )
@property
def s3_url( self ):
self._completeIfNotSet( self._s3_url )
return self._NoneIfNotSet( self._s3_url )
@property
def signature( self ):
self._completeIfNotSet( self._signature )
return self._NoneIfNotSet( self._signature )
@property
def size( self ):
self._completeIfNotSet( self._size )
return self._NoneIfNotSet( self._size )
@property
def url( self ):
self._completeIfNotSet( self._url )
return self._NoneIfNotSet( self._url )
def delete( self ):
headers, data = self._requester.requestAndCheck(
"DELETE",
self.url,
None,
None
)
def _initAttributes( self ):
self._accesskeyid = GithubObject.NotSet
self._acl = GithubObject.NotSet
self._bucket = GithubObject.NotSet
self._content_type = GithubObject.NotSet
self._created_at = GithubObject.NotSet
self._description = GithubObject.NotSet
self._download_count = GithubObject.NotSet
self._expirationdate = GithubObject.NotSet
self._html_url = GithubObject.NotSet
self._id = GithubObject.NotSet
self._mime_type = GithubObject.NotSet
self._name = GithubObject.NotSet
self._path = GithubObject.NotSet
self._policy = GithubObject.NotSet
self._prefix = GithubObject.NotSet
self._redirect = GithubObject.NotSet
self._s3_url = GithubObject.NotSet
self._signature = GithubObject.NotSet
self._size = GithubObject.NotSet
self._url = GithubObject.NotSet
def _useAttributes( self, attributes ):
if "accesskeyid" in attributes: # pragma no branch
assert attributes[ "accesskeyid" ] is None or isinstance( attributes[ "accesskeyid" ], ( str, unicode ) ), attributes[ "accesskeyid" ]
self._accesskeyid = attributes[ "accesskeyid" ]
if "acl" in attributes: # pragma no branch
assert attributes[ "acl" ] is None or isinstance( attributes[ "acl" ], ( str, unicode ) ), attributes[ "acl" ]
self._acl = attributes[ "acl" ]
if "bucket" in attributes: # pragma no branch
assert attributes[ "bucket" ] is None or isinstance( attributes[ "bucket" ], ( str, unicode ) ), attributes[ "bucket" ]
self._bucket = attributes[ "bucket" ]
if "content_type" in attributes: # pragma no branch
assert attributes[ "content_type" ] is None or isinstance( attributes[ "content_type" ], ( str, unicode ) ), attributes[ "content_type" ]
self._content_type = attributes[ "content_type" ]
if "created_at" in attributes: # pragma no branch
assert attributes[ "created_at" ] is None or isinstance( attributes[ "created_at" ], ( str, unicode ) ), attributes[ "created_at" ]
self._created_at = None if attributes[ "created_at" ] is None else datetime.datetime.strptime( attributes[ "created_at" ], "%Y-%m-%dT%H:%M:%SZ" )
if "description" in attributes: # pragma no branch
assert attributes[ "description" ] is None or isinstance( attributes[ "description" ], ( str, unicode ) ), attributes[ "description" ]
self._description = attributes[ "description" ]
if "download_count" in attributes: # pragma no branch
assert attributes[ "download_count" ] is None or isinstance( attributes[ "download_count" ], int ), attributes[ "download_count" ]
self._download_count = attributes[ "download_count" ]
if "expirationdate" in attributes: # pragma no branch
assert attributes[ "expirationdate" ] is None or isinstance( attributes[ "expirationdate" ], ( str, unicode ) ), attributes[ "expirationdate" ]
self._expirationdate = None if attributes[ "expirationdate" ] is None else datetime.datetime.strptime( attributes[ "expirationdate" ], "%Y-%m-%dT%H:%M:%S.000Z" )
if "html_url" in attributes: # pragma no branch
assert attributes[ "html_url" ] is None or isinstance( attributes[ "html_url" ], ( str, unicode ) ), attributes[ "html_url" ]
self._html_url = attributes[ "html_url" ]
if "id" in attributes: # pragma no branch
assert attributes[ "id" ] is None or isinstance( attributes[ "id" ], int ), attributes[ "id" ]
self._id = attributes[ "id" ]
if "mime_type" in attributes: # pragma no branch
assert attributes[ "mime_type" ] is None or isinstance( attributes[ "mime_type" ], ( str, unicode ) ), attributes[ "mime_type" ]
self._mime_type = attributes[ "mime_type" ]
if "name" in attributes: # pragma no branch
assert attributes[ "name" ] is None or isinstance( attributes[ "name" ], ( str, unicode ) ), attributes[ "name" ]
self._name = attributes[ "name" ]
if "path" in attributes: # pragma no branch
assert attributes[ "path" ] is None or isinstance( attributes[ "path" ], ( str, unicode ) ), attributes[ "path" ]
self._path = attributes[ "path" ]
if "policy" in attributes: # pragma no branch
assert attributes[ "policy" ] is None or isinstance( attributes[ "policy" ], ( str, unicode ) ), attributes[ "policy" ]
self._policy = attributes[ "policy" ]
if "prefix" in attributes: # pragma no branch
assert attributes[ "prefix" ] is None or isinstance( attributes[ "prefix" ], ( str, unicode ) ), attributes[ "prefix" ]
self._prefix = attributes[ "prefix" ]
if "redirect" in attributes: # pragma no branch
assert attributes[ "redirect" ] is None or isinstance( attributes[ "redirect" ], bool ), attributes[ "redirect" ]
self._redirect = attributes[ "redirect" ]
if "s3_url" in attributes: # pragma no branch
assert attributes[ "s3_url" ] is None or isinstance( attributes[ "s3_url" ], ( str, unicode ) ), attributes[ "s3_url" ]
self._s3_url = attributes[ "s3_url" ]
if "signature" in attributes: # pragma no branch
assert attributes[ "signature" ] is None or isinstance( attributes[ "signature" ], ( str, unicode ) ), attributes[ "signature" ]
self._signature = attributes[ "signature" ]
if "size" in attributes: # pragma no branch
assert attributes[ "size" ] is None or isinstance( attributes[ "size" ], int ), attributes[ "size" ]
self._size = attributes[ "size" ]
if "url" in attributes: # pragma no branch
assert attributes[ "url" ] is None or isinstance( attributes[ "url" ], ( str, unicode ) ), attributes[ "url" ]
self._url = attributes[ "url" ]
+92
View File
@@ -0,0 +1,92 @@
# WARNING: this file is generated automaticaly.
# Do not modify it manually, your work would be lost.
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
# PyGithub is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
# You should have received a copy of the GNU Lesser General Public License along with PyGithub. If not, see <http://www.gnu.org/licenses/>.
import datetime
import GithubObject
import Organization
import Repository
import NamedUser
class Event( GithubObject.BasicGithubObject ):
@property
def actor( self ):
return self._NoneIfNotSet( self._actor )
@property
def created_at( self ):
return self._NoneIfNotSet( self._created_at )
@property
def id( self ):
return self._NoneIfNotSet( self._id )
@property
def org( self ):
return self._NoneIfNotSet( self._org )
@property
def payload( self ):
return self._NoneIfNotSet( self._payload )
@property
def public( self ):
return self._NoneIfNotSet( self._public )
@property
def repo( self ):
return self._NoneIfNotSet( self._repo )
@property
def type( self ):
return self._NoneIfNotSet( self._type )
def _initAttributes( self ):
self._actor = GithubObject.NotSet
self._created_at = GithubObject.NotSet
self._id = GithubObject.NotSet
self._org = GithubObject.NotSet
self._payload = GithubObject.NotSet
self._public = GithubObject.NotSet
self._repo = GithubObject.NotSet
self._type = GithubObject.NotSet
def _useAttributes( self, attributes ):
if "actor" in attributes: # pragma no branch
assert attributes[ "actor" ] is None or isinstance( attributes[ "actor" ], dict ), attributes[ "actor" ]
self._actor = None if attributes[ "actor" ] is None else NamedUser.NamedUser( self._requester, attributes[ "actor" ], completed = False )
if "created_at" in attributes: # pragma no branch
assert attributes[ "created_at" ] is None or isinstance( attributes[ "created_at" ], ( str, unicode ) ), attributes[ "created_at" ]
self._created_at = None if attributes[ "created_at" ] is None else datetime.datetime.strptime( attributes[ "created_at" ], "%Y-%m-%dT%H:%M:%SZ" )
if "id" in attributes: # pragma no branch
assert attributes[ "id" ] is None or isinstance( attributes[ "id" ], ( str, unicode ) ), attributes[ "id" ]
self._id = attributes[ "id" ]
if "org" in attributes: # pragma no branch
assert attributes[ "org" ] is None or isinstance( attributes[ "org" ], dict ), attributes[ "org" ]
self._org = None if attributes[ "org" ] is None else Organization.Organization( self._requester, attributes[ "org" ], completed = False )
if "payload" in attributes: # pragma no branch
assert attributes[ "payload" ] is None or isinstance( attributes[ "payload" ], dict ), attributes[ "payload" ]
self._payload = attributes[ "payload" ]
if "public" in attributes: # pragma no branch
assert attributes[ "public" ] is None or isinstance( attributes[ "public" ], bool ), attributes[ "public" ]
self._public = attributes[ "public" ]
if "repo" in attributes: # pragma no branch
assert attributes[ "repo" ] is None or isinstance( attributes[ "repo" ], dict ), attributes[ "repo" ]
self._repo = None if attributes[ "repo" ] is None else Repository.Repository( self._requester, attributes[ "repo" ], completed = False )
if "type" in attributes: # pragma no branch
assert attributes[ "type" ] is None or isinstance( attributes[ "type" ], ( str, unicode ) ), attributes[ "type" ]
self._type = attributes[ "type" ]
+94
View File
@@ -0,0 +1,94 @@
# WARNING: this file is generated automaticaly.
# Do not modify it manually, your work would be lost.
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
# PyGithub is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
# You should have received a copy of the GNU Lesser General Public License along with PyGithub. If not, see <http://www.gnu.org/licenses/>.
import GithubObject
class File( GithubObject.BasicGithubObject ):
@property
def additions( self ):
return self._NoneIfNotSet( self._additions )
@property
def blob_url( self ):
return self._NoneIfNotSet( self._blob_url )
@property
def changes( self ):
return self._NoneIfNotSet( self._changes )
@property
def deletions( self ):
return self._NoneIfNotSet( self._deletions )
@property
def filename( self ):
return self._NoneIfNotSet( self._filename )
@property
def patch( self ):
return self._NoneIfNotSet( self._patch )
@property
def raw_url( self ):
return self._NoneIfNotSet( self._raw_url )
@property
def sha( self ):
return self._NoneIfNotSet( self._sha )
@property
def status( self ):
return self._NoneIfNotSet( self._status )
def _initAttributes( self ):
self._additions = GithubObject.NotSet
self._blob_url = GithubObject.NotSet
self._changes = GithubObject.NotSet
self._deletions = GithubObject.NotSet
self._filename = GithubObject.NotSet
self._patch = GithubObject.NotSet
self._raw_url = GithubObject.NotSet
self._sha = GithubObject.NotSet
self._status = GithubObject.NotSet
def _useAttributes( self, attributes ):
if "additions" in attributes: # pragma no branch
assert attributes[ "additions" ] is None or isinstance( attributes[ "additions" ], int ), attributes[ "additions" ]
self._additions = attributes[ "additions" ]
if "blob_url" in attributes: # pragma no branch
assert attributes[ "blob_url" ] is None or isinstance( attributes[ "blob_url" ], ( str, unicode ) ), attributes[ "blob_url" ]
self._blob_url = attributes[ "blob_url" ]
if "changes" in attributes: # pragma no branch
assert attributes[ "changes" ] is None or isinstance( attributes[ "changes" ], int ), attributes[ "changes" ]
self._changes = attributes[ "changes" ]
if "deletions" in attributes: # pragma no branch
assert attributes[ "deletions" ] is None or isinstance( attributes[ "deletions" ], int ), attributes[ "deletions" ]
self._deletions = attributes[ "deletions" ]
if "filename" in attributes: # pragma no branch
assert attributes[ "filename" ] is None or isinstance( attributes[ "filename" ], ( str, unicode ) ), attributes[ "filename" ]
self._filename = attributes[ "filename" ]
if "patch" in attributes: # pragma no branch
assert attributes[ "patch" ] is None or isinstance( attributes[ "patch" ], ( str, unicode ) ), attributes[ "patch" ]
self._patch = attributes[ "patch" ]
if "raw_url" in attributes: # pragma no branch
assert attributes[ "raw_url" ] is None or isinstance( attributes[ "raw_url" ], ( str, unicode ) ), attributes[ "raw_url" ]
self._raw_url = attributes[ "raw_url" ]
if "sha" in attributes: # pragma no branch
assert attributes[ "sha" ] is None or isinstance( attributes[ "sha" ], ( str, unicode ) ), attributes[ "sha" ]
self._sha = attributes[ "sha" ]
if "status" in attributes: # pragma no branch
assert attributes[ "status" ] is None or isinstance( attributes[ "status" ], ( str, unicode ) ), attributes[ "status" ]
self._status = attributes[ "status" ]
-26
View File
@@ -1,26 +0,0 @@
#!/bin/env python
import GithubObjects
def generateDocumentation():
classes = [ getattr( GithubObjects, c ) for c in dir( GithubObjects ) if hasattr( getattr( GithubObjects, c ), "_autoDocument" ) ]
doc = ""
for c in classes:
doc += c._autoDocument()
return doc
if __name__ == "__main__":
print """\
You don't normaly create instances of any class but `Github`.
You obtain instances through calls to `get_` and `create_` methods.
Class `Github`
==============
* Constructed from user's login and password
* `get_user()`: `AuthenticatedUser`
* `get_user( login )`: `NamedUser`
* `get_organization( login )`: `Organization`
* `get_gist( id )`: `Gist`
* `get_gists()`: list of `Gist`
"""
print generateDocumentation()
+271
View File
@@ -0,0 +1,271 @@
# WARNING: this file is generated automaticaly.
# Do not modify it manually, your work would be lost.
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
# PyGithub is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
# You should have received a copy of the GNU Lesser General Public License along with PyGithub. If not, see <http://www.gnu.org/licenses/>.
import datetime
import GithubObject
import PaginatedList
import Gist
import GistComment
import NamedUser
import GistFile
import InputFileContent
import GistHistoryState
class Gist( GithubObject.GithubObject ):
@property
def comments( self ):
self._completeIfNotSet( self._comments )
return self._NoneIfNotSet( self._comments )
@property
def created_at( self ):
self._completeIfNotSet( self._created_at )
return self._NoneIfNotSet( self._created_at )
@property
def description( self ):
self._completeIfNotSet( self._description )
return self._NoneIfNotSet( self._description )
@property
def files( self ):
self._completeIfNotSet( self._files )
return self._NoneIfNotSet( self._files )
@property
def fork_of( self ):
self._completeIfNotSet( self._fork_of )
return self._NoneIfNotSet( self._fork_of )
@property
def forks( self ):
self._completeIfNotSet( self._forks )
return self._NoneIfNotSet( self._forks )
@property
def git_pull_url( self ):
self._completeIfNotSet( self._git_pull_url )
return self._NoneIfNotSet( self._git_pull_url )
@property
def git_push_url( self ):
self._completeIfNotSet( self._git_push_url )
return self._NoneIfNotSet( self._git_push_url )
@property
def history( self ):
self._completeIfNotSet( self._history )
return self._NoneIfNotSet( self._history )
@property
def html_url( self ):
self._completeIfNotSet( self._html_url )
return self._NoneIfNotSet( self._html_url )
@property
def id( self ):
self._completeIfNotSet( self._id )
return self._NoneIfNotSet( self._id )
@property
def public( self ):
self._completeIfNotSet( self._public )
return self._NoneIfNotSet( self._public )
@property
def updated_at( self ):
self._completeIfNotSet( self._updated_at )
return self._NoneIfNotSet( self._updated_at )
@property
def url( self ):
self._completeIfNotSet( self._url )
return self._NoneIfNotSet( self._url )
@property
def user( self ):
self._completeIfNotSet( self._user )
return self._NoneIfNotSet( self._user )
def create_comment( self, body ):
assert isinstance( body, ( str, unicode ) ), body
post_parameters = {
"body": body,
}
headers, data = self._requester.requestAndCheck(
"POST",
self.url + "/comments",
None,
post_parameters
)
return GistComment.GistComment( self._requester, data, completed = True )
def create_fork( self ):
headers, data = self._requester.requestAndCheck(
"POST",
self.url + "/fork",
None,
None
)
return Gist( self._requester, data, completed = True )
def delete( self ):
headers, data = self._requester.requestAndCheck(
"DELETE",
self.url,
None,
None
)
def edit( self, description = GithubObject.NotSet, files = GithubObject.NotSet ):
assert description is GithubObject.NotSet or isinstance( description, ( str, unicode ) ), description
assert files is GithubObject.NotSet or all( isinstance( element, InputFileContent.InputFileContent ) for element in files.itervalues() ), files
post_parameters = dict()
if description is not GithubObject.NotSet:
post_parameters[ "description" ] = description
if files is not GithubObject.NotSet:
post_parameters[ "files" ] = dict( ( key, value._identity ) for key, value in files.iteritems() )
headers, data = self._requester.requestAndCheck(
"PATCH",
self.url,
None,
post_parameters
)
self._useAttributes( data )
def get_comment( self, id ):
assert isinstance( id, int ), id
headers, data = self._requester.requestAndCheck(
"GET",
"https://api.github.com/gists/comments/" + str( id ),
None,
None
)
return GistComment.GistComment( self._requester, data, completed = True )
def get_comments( self ):
headers, data = self._requester.requestAndCheck(
"GET",
self.url + "/comments",
None,
None
)
return PaginatedList.PaginatedList(
GistComment.GistComment,
self._requester,
headers,
data
)
def is_starred( self ):
status, headers, data = self._requester.requestRaw(
"GET",
self.url + "/star",
None,
None
)
return status == 204
def reset_starred( self ):
headers, data = self._requester.requestAndCheck(
"DELETE",
self.url + "/star",
None,
None
)
def set_starred( self ):
headers, data = self._requester.requestAndCheck(
"PUT",
self.url + "/star",
None,
None
)
def _initAttributes( self ):
self._comments = GithubObject.NotSet
self._created_at = GithubObject.NotSet
self._description = GithubObject.NotSet
self._files = GithubObject.NotSet
self._fork_of = GithubObject.NotSet
self._forks = GithubObject.NotSet
self._git_pull_url = GithubObject.NotSet
self._git_push_url = GithubObject.NotSet
self._history = GithubObject.NotSet
self._html_url = GithubObject.NotSet
self._id = GithubObject.NotSet
self._public = GithubObject.NotSet
self._updated_at = GithubObject.NotSet
self._url = GithubObject.NotSet
self._user = GithubObject.NotSet
def _useAttributes( self, attributes ):
if "comments" in attributes: # pragma no branch
assert attributes[ "comments" ] is None or isinstance( attributes[ "comments" ], int ), attributes[ "comments" ]
self._comments = attributes[ "comments" ]
if "created_at" in attributes: # pragma no branch
assert attributes[ "created_at" ] is None or isinstance( attributes[ "created_at" ], ( str, unicode ) ), attributes[ "created_at" ]
self._created_at = None if attributes[ "created_at" ] is None else datetime.datetime.strptime( attributes[ "created_at" ], "%Y-%m-%dT%H:%M:%SZ" )
if "description" in attributes: # pragma no branch
assert attributes[ "description" ] is None or isinstance( attributes[ "description" ], ( str, unicode ) ), attributes[ "description" ]
self._description = attributes[ "description" ]
if "files" in attributes: # pragma no branch
assert attributes[ "files" ] is None or all( isinstance( element, dict ) for element in attributes[ "files" ].itervalues() ), attributes[ "files" ]
self._files = None if attributes[ "files" ] is None else dict(
( key, GistFile.GistFile( self._requester, element, completed = False ) )
for key, element in attributes[ "files" ].iteritems()
)
if "fork_of" in attributes: # pragma no branch
assert attributes[ "fork_of" ] is None or isinstance( attributes[ "fork_of" ], dict ), attributes[ "fork_of" ]
self._fork_of = None if attributes[ "fork_of" ] is None else Gist( self._requester, attributes[ "fork_of" ], completed = False )
if "forks" in attributes: # pragma no branch
assert attributes[ "forks" ] is None or all( isinstance( element, dict ) for element in attributes[ "forks" ] ), attributes[ "forks" ]
self._forks = None if attributes[ "forks" ] is None else [
Gist( self._requester, element, completed = False )
for element in attributes[ "forks" ]
]
if "git_pull_url" in attributes: # pragma no branch
assert attributes[ "git_pull_url" ] is None or isinstance( attributes[ "git_pull_url" ], ( str, unicode ) ), attributes[ "git_pull_url" ]
self._git_pull_url = attributes[ "git_pull_url" ]
if "git_push_url" in attributes: # pragma no branch
assert attributes[ "git_push_url" ] is None or isinstance( attributes[ "git_push_url" ], ( str, unicode ) ), attributes[ "git_push_url" ]
self._git_push_url = attributes[ "git_push_url" ]
if "history" in attributes: # pragma no branch
assert attributes[ "history" ] is None or all( isinstance( element, dict ) for element in attributes[ "history" ] ), attributes[ "history" ]
self._history = None if attributes[ "history" ] is None else [
GistHistoryState.GistHistoryState( self._requester, element, completed = False )
for element in attributes[ "history" ]
]
if "html_url" in attributes: # pragma no branch
assert attributes[ "html_url" ] is None or isinstance( attributes[ "html_url" ], ( str, unicode ) ), attributes[ "html_url" ]
self._html_url = attributes[ "html_url" ]
if "id" in attributes: # pragma no branch
assert attributes[ "id" ] is None or isinstance( attributes[ "id" ], ( str, unicode ) ), attributes[ "id" ]
self._id = attributes[ "id" ]
if "public" in attributes: # pragma no branch
assert attributes[ "public" ] is None or isinstance( attributes[ "public" ], bool ), attributes[ "public" ]
self._public = attributes[ "public" ]
if "updated_at" in attributes: # pragma no branch
assert attributes[ "updated_at" ] is None or isinstance( attributes[ "updated_at" ], ( str, unicode ) ), attributes[ "updated_at" ]
self._updated_at = None if attributes[ "updated_at" ] is None else datetime.datetime.strptime( attributes[ "updated_at" ], "%Y-%m-%dT%H:%M:%SZ" )
if "url" in attributes: # pragma no branch
assert attributes[ "url" ] is None or isinstance( attributes[ "url" ], ( str, unicode ) ), attributes[ "url" ]
self._url = attributes[ "url" ]
if "user" in attributes: # pragma no branch
assert attributes[ "user" ] is None or isinstance( attributes[ "user" ], dict ), attributes[ "user" ]
self._user = None if attributes[ "user" ] is None else NamedUser.NamedUser( self._requester, attributes[ "user" ], completed = False )
+101
View File
@@ -0,0 +1,101 @@
# WARNING: this file is generated automaticaly.
# Do not modify it manually, your work would be lost.
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
# PyGithub is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
# You should have received a copy of the GNU Lesser General Public License along with PyGithub. If not, see <http://www.gnu.org/licenses/>.
import datetime
import GithubObject
import NamedUser
class GistComment( GithubObject.GithubObject ):
@property
def body( self ):
self._completeIfNotSet( self._body )
return self._NoneIfNotSet( self._body )
@property
def created_at( self ):
self._completeIfNotSet( self._created_at )
return self._NoneIfNotSet( self._created_at )
@property
def id( self ):
self._completeIfNotSet( self._id )
return self._NoneIfNotSet( self._id )
@property
def updated_at( self ):
self._completeIfNotSet( self._updated_at )
return self._NoneIfNotSet( self._updated_at )
@property
def url( self ):
self._completeIfNotSet( self._url )
return self._NoneIfNotSet( self._url )
@property
def user( self ):
self._completeIfNotSet( self._user )
return self._NoneIfNotSet( self._user )
def delete( self ):
headers, data = self._requester.requestAndCheck(
"DELETE",
self.url,
None,
None
)
def edit( self, body ):
assert isinstance( body, ( str, unicode ) ), body
post_parameters = {
"body": body,
}
headers, data = self._requester.requestAndCheck(
"PATCH",
self.url,
None,
post_parameters
)
self._useAttributes( data )
def _initAttributes( self ):
self._body = GithubObject.NotSet
self._created_at = GithubObject.NotSet
self._id = GithubObject.NotSet
self._updated_at = GithubObject.NotSet
self._url = GithubObject.NotSet
self._user = GithubObject.NotSet
def _useAttributes( self, attributes ):
if "body" in attributes: # pragma no branch
assert attributes[ "body" ] is None or isinstance( attributes[ "body" ], ( str, unicode ) ), attributes[ "body" ]
self._body = attributes[ "body" ]
if "created_at" in attributes: # pragma no branch
assert attributes[ "created_at" ] is None or isinstance( attributes[ "created_at" ], ( str, unicode ) ), attributes[ "created_at" ]
self._created_at = None if attributes[ "created_at" ] is None else datetime.datetime.strptime( attributes[ "created_at" ], "%Y-%m-%dT%H:%M:%SZ" )
if "id" in attributes: # pragma no branch
assert attributes[ "id" ] is None or isinstance( attributes[ "id" ], int ), attributes[ "id" ]
self._id = attributes[ "id" ]
if "updated_at" in attributes: # pragma no branch
assert attributes[ "updated_at" ] is None or isinstance( attributes[ "updated_at" ], ( str, unicode ) ), attributes[ "updated_at" ]
self._updated_at = None if attributes[ "updated_at" ] is None else datetime.datetime.strptime( attributes[ "updated_at" ], "%Y-%m-%dT%H:%M:%SZ" )
if "url" in attributes: # pragma no branch
assert attributes[ "url" ] is None or isinstance( attributes[ "url" ], ( str, unicode ) ), attributes[ "url" ]
self._url = attributes[ "url" ]
if "user" in attributes: # pragma no branch
assert attributes[ "user" ] is None or isinstance( attributes[ "user" ], dict ), attributes[ "user" ]
self._user = None if attributes[ "user" ] is None else NamedUser.NamedUser( self._requester, attributes[ "user" ], completed = False )
+62
View File
@@ -0,0 +1,62 @@
# WARNING: this file is generated automaticaly.
# Do not modify it manually, your work would be lost.
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
# PyGithub is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
# You should have received a copy of the GNU Lesser General Public License along with PyGithub. If not, see <http://www.gnu.org/licenses/>.
import GithubObject
class GistFile( GithubObject.BasicGithubObject ):
@property
def content( self ):
return self._NoneIfNotSet( self._content )
@property
def filename( self ):
return self._NoneIfNotSet( self._filename )
@property
def language( self ):
return self._NoneIfNotSet( self._language )
@property
def raw_url( self ):
return self._NoneIfNotSet( self._raw_url )
@property
def size( self ):
return self._NoneIfNotSet( self._size )
def _initAttributes( self ):
self._content = GithubObject.NotSet
self._filename = GithubObject.NotSet
self._language = GithubObject.NotSet
self._raw_url = GithubObject.NotSet
self._size = GithubObject.NotSet
def _useAttributes( self, attributes ):
if "content" in attributes: # pragma no branch
assert attributes[ "content" ] is None or isinstance( attributes[ "content" ], ( str, unicode ) ), attributes[ "content" ]
self._content = attributes[ "content" ]
if "filename" in attributes: # pragma no branch
assert attributes[ "filename" ] is None or isinstance( attributes[ "filename" ], ( str, unicode ) ), attributes[ "filename" ]
self._filename = attributes[ "filename" ]
if "language" in attributes: # pragma no branch
assert attributes[ "language" ] is None or isinstance( attributes[ "language" ], ( str, unicode ) ), attributes[ "language" ]
self._language = attributes[ "language" ]
if "raw_url" in attributes: # pragma no branch
assert attributes[ "raw_url" ] is None or isinstance( attributes[ "raw_url" ], ( str, unicode ) ), attributes[ "raw_url" ]
self._raw_url = attributes[ "raw_url" ]
if "size" in attributes: # pragma no branch
assert attributes[ "size" ] is None or isinstance( attributes[ "size" ], int ), attributes[ "size" ]
self._size = attributes[ "size" ]
+72
View File
@@ -0,0 +1,72 @@
# WARNING: this file is generated automaticaly.
# Do not modify it manually, your work would be lost.
# Copyright 2012 Vincent Jacques
# vincent@vincent-jacques.net
# This file is part of PyGithub. http://vincent-jacques.net/PyGithub
# PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
# as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
# PyGithub is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
# You should have received a copy of the GNU Lesser General Public License along with PyGithub. If not, see <http://www.gnu.org/licenses/>.
import datetime
import GithubObject
import NamedUser
import CommitStats
class GistHistoryState( GithubObject.GithubObject ):
@property
def change_status( self ):
self._completeIfNotSet( self._change_status )
return self._NoneIfNotSet( self._change_status )
@property
def committed_at( self ):
self._completeIfNotSet( self._committed_at )
return self._NoneIfNotSet( self._committed_at )
@property
def url( self ):
self._completeIfNotSet( self._url )
return self._NoneIfNotSet( self._url )
@property
def user( self ):
self._completeIfNotSet( self._user )
return self._NoneIfNotSet( self._user )
@property
def version( self ):
self._completeIfNotSet( self._version )
return self._NoneIfNotSet( self._version )
def _initAttributes( self ):
self._change_status = GithubObject.NotSet
self._committed_at = GithubObject.NotSet
self._url = GithubObject.NotSet
self._user = GithubObject.NotSet
self._version = GithubObject.NotSet
def _useAttributes( self, attributes ):
if "change_status" in attributes: # pragma no branch
assert attributes[ "change_status" ] is None or isinstance( attributes[ "change_status" ], dict ), attributes[ "change_status" ]
self._change_status = None if attributes[ "change_status" ] is None else CommitStats.CommitStats( self._requester, attributes[ "change_status" ], completed = False )
if "committed_at" in attributes: # pragma no branch
assert attributes[ "committed_at" ] is None or isinstance( attributes[ "committed_at" ], ( str, unicode ) ), attributes[ "committed_at" ]
self._committed_at = None if attributes[ "committed_at" ] is None else datetime.datetime.strptime( attributes[ "committed_at" ], "%Y-%m-%dT%H:%M:%SZ" )
if "url" in attributes: # pragma no branch
assert attributes[ "url" ] is None or isinstance( attributes[ "url" ], ( str, unicode ) ), attributes[ "url" ]
self._url = attributes[ "url" ]
if "user" in attributes: # pragma no branch
assert attributes[ "user" ] is None or isinstance( attributes[ "user" ], dict ), attributes[ "user" ]
self._user = None if attributes[ "user" ] is None else NamedUser.NamedUser( self._requester, attributes[ "user" ], completed = False )
if "version" in attributes: # pragma no branch
assert attributes[ "version" ] is None or isinstance( attributes[ "version" ], ( str, unicode ) ), attributes[ "version" ]
self._version = attributes[ "version" ]

Some files were not shown because too many files have changed in this diff Show More