gruntwork-io / fetch

Download files, folders, and release assets from a specific git commit, branch, or tag of public and private GitHub repos.
https://www.gruntwork.io/
MIT License
591 stars 88 forks source link

Bitbucket support? #33

Open leowmjw opened 6 years ago

leowmjw commented 6 years ago

I'm interested to use fetch with Bitbucket instead of Github Enterprise; and would be interested to take a stab at implementing.

Please provide some guidance on which part of the code I should focus on to support this. Thanks!

brikis98 commented 6 years ago

That would be a great addition. Unfortunately, I'm not familiar with the BitBucket APIs or if there is a golang library for them. If there is, the approach would probably be to create a bitbucket.go that is analogous to github.go and to pick between them based on the URL.