OSCI icon indicating copy to clipboard operation
OSCI copied to clipboard

Bitbucket OSCI

Open vlad-isayko opened this issue 5 years ago • 0 comments

The goal is to create and automate analysis of repos hosted on BitBucket. This would be similar to our existing OSCI ranking which analyses repos hosted on GitHub, with a focus on the activity by commercial organizations.

  1. Solution that crawls data about push events commits (PEC) that should contain the following required fields:
    • event creation date;
    • commit author (email address, name);
    • SHA.
  2. Adapt existing pipeline to process Bitbucket data.

We did a high-level technical analysis on the feasability of making an OSCI for repos hosted on Bitbucket. This is a summary of our findings:

Criteria Status (Yes/No) Notes (e.g. about how it is possible, or limitations, etc)
Is this site free to use for open source projects? yes Seems to be free only for teams under 5 people unless you request a community license.
Does it look like this site hosts many open source projects? unclear It's not clear that there are large numbers of open source projects hosted.Most public projects seem to be non-commercial (not outsourced by companies). It appears most users do not use company domains - need to investigate further.The pages/repos of many companies appear to be not active.
Size of user base - In the order of 5,000,000 users
Is there a public API we can query? yes  
API type REST  
API URL https://api.bitbucket.org/2.0  
Query Limits (if any) 1,000 per hour 60,000 per hour  
Is there a paid access with more information? - (to be investigated)  
Is it possible to query the project license? Yes  
Is it possible to query commit events/commit counts by a user in a time period? Yes /repositories?before=timestamp&after=timestamp e.g. https://api.bitbucket.org/2.0/repositories?after=2020-03-01T09%3A37%3A06.254721%2B00%3A00
Is it possible to query email address or else some organization information for the person making a commit? Yes email address
Is there a public archive we can use instead of the public API? no  

If you have additional questions, feel free to contact our team.

vlad-isayko avatar Aug 12 '20 12:08 vlad-isayko