diff --git a/README.rst b/README.rst index 65ecebbb..5fbb3901 100644 --- a/README.rst +++ b/README.rst @@ -11,18 +11,19 @@ PyGithub is stable. I will maintain it up to date with the API, and fix bugs if What's new? =========== -Thank you, dear stargazers! ---------------------------- +Version 2 is comming +-------------------- -Starting today (September 5th, 2013), we now need more than 8 bits to store the number of `stargazers `_! Thank you so much! +As of December 15th, 2013, I plan to spend more time on version 2. I'll continue to maintain version 1, investigating and fixing bugs, but I'm not going to actively implement missing features. I'll still be glad to accept pull requests. -`Version 1.21.0 `_ (November ??th, 2013) +More info on version 2 in the comming weeks, and here is an issue to discuss the topic: https://github.com/jacquev6/PyGithub/issues/217 + +`Version 1.22.0 `_ (December 15th, 2013) --------------------------------------------------------------------------------------------------------------- -* `Accept `__ strings as well as ``Label`` objects in ``Issue.add_to_labels``, ``Issue.remove_from_labels`` and ``Issue.set_labels``. Thank you `acdha `__ for asking -* `Implement `__ equality comparison for *completable* github objects (ie. those who have a ``url`` attribute). Warning, comparison is still not implemented for non-completable objects. This will be done in version 2.0 of PyGithub. Thank you `OddBloke `__ for asking -* `Add `__ parameter ``author`` to ``Repository.get_commits``. Thank you `naorrosenberg `__ for asking -* `Implement `__ the statistics end points. Thank you `naorrosenberg `__ for asking +* `Emojis `__, thanks to `evolvelight `__ +* `Repository.stargazers_count `__, thanks to `cameronbwhite `__ +* `User.get_teams `__, thanks to `poulp `__ Twitter ------- @@ -39,7 +40,6 @@ Github API v3 URLs not (yet) covered by PyGithub * ``/applications/:client_id/tokens/:access_token`` (GET) * ``/authorizations/clients/:client_id`` (PUT) -* ``/emojis`` (GET) * ``/feeds`` (GET) * ``/meta`` (GET) * ``/notifications`` (PUT) @@ -75,7 +75,6 @@ Github API v3 URLs not (yet) covered by PyGithub * ``/search/issues`` (GET) * ``/search/repositories`` (GET) * ``/search/users`` (GET) -* ``/user/teams`` (GET) Documentation ============= diff --git a/doc/changes.rst b/doc/changes.rst index 76f355d2..ebc5cf37 100644 --- a/doc/changes.rst +++ b/doc/changes.rst @@ -4,6 +4,13 @@ Change log Stable versions ~~~~~~~~~~~~~~~ +`Version 1.22.0 `_ (December 15th, 2013) +--------------------------------------------------------------------------------------------------------------- + +* `Emojis `__, thanks to `evolvelight `__ +* `Repository.stargazers_count `__, thanks to `cameronbwhite `__ +* `User.get_teams `__, thanks to `poulp `__ + `Version 1.21.0 `__ (November ??th, 2013) ---------------------------------------------------------------------------------------------------------------- diff --git a/github/Repository.py b/github/Repository.py index 32863136..1c7faf99 100644 --- a/github/Repository.py +++ b/github/Repository.py @@ -537,7 +537,7 @@ class Repository(github.GithubObject.CompletableGithubObject): self._completeIfNotSet(self._ssh_url) return self._ssh_url.value - @property + @property def stargazers_count(self): """ :type: integer diff --git a/setup.py b/setup.py index c0e94967..55491d74 100755 --- a/setup.py +++ b/setup.py @@ -30,7 +30,7 @@ import subprocess import shutil import os.path -version = "1.21.0" +version = "1.22.0" if __name__ == "__main__":