Skip to content

How to Extract All commits from and dev or master branch with in repository #157

@dixitgargi

Description

@dixitgargi

I am new to stashy -python api.
My objective is to extract data from bitbucket.
I am successfully able to extrat project list by using:
projects = self.bitBucket.projects.list() print("Project List Fetched:", len(projects)) for project in projects: print(project) print(project.get('key'))
Also able to extract repository list per project by using:
projects = self.bitBucket.projects.list() print("Project List Fetched:", len(projects)) for project in projects: repository = self.bitBucket.projects[project['key']].repos.list()

Now I need to extract commit details (i.e. hash, date, commit message) from development or master branch from all repositories available.

Can you please help me out to achieve my objective

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions