Ejemplo n.º 1
0
    def get_project(self, _id):
        d = self.browser.get_project(_id)

        project = Project(_id, d['name'])
        project.members = list(self._iter_members(project.id))
        project.statuses = list(STATUSES.values())
        project.fields = []  # not supported by github
        project.categories = []
        project.versions = list(self._iter_versions(project.id))
        project.tags = list(self.browser.iter_labels(project.id))

        return project
Ejemplo n.º 2
0
    def get_project(self, _id):
        d = self.browser.get_project(_id)

        project = Project(_id, d['name'])
        project.members = list(self._iter_members(project.id))
        project.statuses = list(STATUSES.values())
        project.fields = []  # not supported by github
        project.categories = []
        project.versions = list(self._iter_versions(project.id))
        project.tags = list(self.browser.iter_labels(project.id))

        return project