8000 Merge remote-tracking branch 'upstream/develop' into docs-update · danpalmer/github3.py@fc5db1b · GitHub
[go: up one dir, main page]

Skip to content

Commit fc5db1b

Browse files
committed
Merge remote-tracking branch 'upstream/develop' into docs-update
2 parents 38479a1 + 7301f28 commit fc5db1b

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

CONTRIBUTING.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ Guidelines for Contributing to github3.py
33

44
#. Read the README_
55

6+
#. Please do **not** use the issue tracker for questions.
7+
8+
#. Please use GitHub's search feature to look for already reported issues
9+
before reporting your own.
10+
611
#. Regardless of the magnitude your pull request (a couple lines to a couple
712
hundred lines), please add your name to the AUTHORS.rst_ file under the
813
heading Contributors.

github3/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
66
See http://github3py.rtfd.org/ for documentation.
77
8-
:copyright: (c) 2012-2013 by Ian Cordasco
8+
:copyright: (c) 2012-2014 by Ian Cordasco
99
:license: Modified BSD, see LICENSE for more details
1010
1111
"""
1212

1313
__title__ = 'github3'
1414
__author__ = 'Ian Cordasco'
1515
__license__ = 'Modified BSD'
16-
__copyright__ = 'Copyright 2012-2013 Ian Cordasco'
16+
__copyright__ = 'Copyright 2012-2014 Ian Cordasco'
1717
__version__ = '0.8.0'
1818
__version_info__ = tuple(int(i) for i in __version__.split('.'))
1919

github3/repos/repo.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,10 @@ def __init__(self, repo, session=None):
124124
#: Size of the repository.
125125
self.size = repo.get('size', 0)
126126

127+
# The number of stargazers
128+
#: Number of users who starred the repository
129+
self.stargazers = repo.get('stargazers_count', 0)
130+
127131
# SSH url e.g. git@github.com/sigmavirus24/github3.py
128132
#: URL to clone the repository via SSH.
129133
self.ssh_url = repo.get('ssh_url', '')

0 commit comments

Comments
 (0)
0