Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

first bugfix

  • Loading branch information...
commit a09d1744cdeb30d6a23409a4cdbed509efbf3ef7 1 parent 22cf692
@garbas authored
Showing with 18 additions and 10 deletions.
  1. +9 −1 README.rst
  2. +8 −8 githubcollective/sync.py
  3. +1 −1  setup.py
View
10 README.rst
@@ -119,11 +119,19 @@ Credits
Changelog
=========
+0.1.1 - 2011-07-02
+------------------
+
+ - and we have first bugfix relese, after refractoring and merging
+ `enable-cache` branch.
+ [garbas]
+
+
0.1 - 2011-07-02
----------------
- initial release
-
+ [garbas]
.. _`Github organization`: https://github.com/blog/674-introducing-organizations
View
16 githubcollective/sync.py
@@ -132,11 +132,11 @@ def remove_repo(self, config, repo):
def fork_repo(self, config, fork_url, repo):
config._repos[repo.name] = repo
- return self._gh_org_fork_repo(fork_url)
+ return self.github._gh_org_fork_repo(fork_url)
def add_team(self, config, team):
config._teams[team.name] = Team(team.name, team.permission)
- return self._gh_org_create_team(
+ return self.github._gh_org_create_team(
name=team.name,
permission=team.permission,
)
@@ -144,7 +144,7 @@ def add_team(self, config, team):
def edit_team(self, config, team):
config._teams[team.name].name = team.name
config._teams[team.name].permission = team.permission
- return self._gh_org_edit_team(
+ return self.github._gh_org_edit_team(
id=team.id,
name=team.name,
permission=team.permission,
@@ -152,24 +152,24 @@ def edit_team(self, config, team):
def remove_team(self, config, team):
del config._teams[team.name]
- return self._gh_org_delete_team(team.id)
+ return self.github._gh_org_delete_team(team.id)
def add_team_member(self, config, team, member):
team = config.get_team(team.name)
team.members.update([member])
- return self._gh_org_add_team_member(team.id, member)
+ return self.github._gh_org_add_team_member(team.id, member)
def remove_team_member(self, config, team, member):
team = config.get_team(team.name)
team.members.remove(member)
- return self._gh_org_remove_team_member(team.id, member)
+ return self.github._gh_org_remove_team_member(team.id, member)
def add_team_repo(self, config, team, repo):
team = config.get_team(team.name)
team.repos.update([repo])
- return self._gh_org_add_team_repo(team.id, repo)
+ return self.github._gh_org_add_team_repo(team.id, repo)
def remove_team_repo(self, config, team, repo):
team = config.get_team(team.name)
team.repos.remove(repo)
- return self._gh_org_remove_team_repo(team.id, repo)
+ return self.github._gh_org_remove_team_repo(team.id, repo)
View
2  setup.py
@@ -1,6 +1,6 @@
from setuptools import setup
-version = '0.1'
+version = '0.1.1'
setup(
name='github-collective',

0 comments on commit a09d174

Please sign in to comment.
Something went wrong with that request. Please try again.