Bitbucket as a Platform - Atlassian Summit 2012
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
1,185
On Slideshare
1,032
From Embeds
153
Number of Embeds
4

Actions

Shares
Downloads
12
Comments
0
Likes
1

Embeds 153

http://summit.atlassian.com 104
https://summit.atlassian.com 36
http://magnolia-staging.private.atlassian.com 12
https://wacdev.internal.atlassian.com 1

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Wednesday, June 13, 12
  • 2. Bitbucket as a Platform Building cool shit with Bitbucket’s REST API Sam Tardif Confluence Developer, AtlassianWednesday, June 13, 12
  • 3. Wednesday, June 13, 12
  • 4. Wednesday, June 13, 12
  • 5. Wednesday, June 13, 12
  • 6. Pic: Not enough timeWednesday, June 13, 12
  • 7. Pic: ramp up timeWednesday, June 13, 12
  • 8. Wednesday, June 13, 12
  • 9. RESTWednesday, June 13, 12
  • 10. Wednesday, June 13, 12
  • 11. Bitbucket’s Issue TrackerWednesday, June 13, 12
  • 12. Wednesday, June 13, 12
  • 13. Wednesday, June 13, 12
  • 14. Wednesday, June 13, 12
  • 15. Wednesday, June 13, 12
  • 16. Wednesday, June 13, 12
  • 17. Wednesday, June 13, 12
  • 18. Wednesday, June 13, 12
  • 19. Wednesday, June 13, 12
  • 20. Pic: Card wallWednesday, June 13, 12
  • 21. Bitbucket CardsWednesday, June 13, 12
  • 22. Wednesday, June 13, 12
  • 23. Wednesday, June 13, 12
  • 24. User clicks login /api/1.0/oauth/request_token Authenticate this person for me plz /api/1.0/oauth/authenticate Thanks, access tokens plz /api/1.0/oauth/access_token Authenticated REST calls /api/1.0/*Wednesday, June 13, 12
  • 25. Wednesday, June 13, 12
  • 26. Wednesday, June 13, 12
  • 27. Wednesday, June 13, 12
  • 28. Edit columnWednesday, June 13, 12
  • 29. Drag columnsWednesday, June 13, 12
  • 30. Wednesday, June 13, 12
  • 31. Wednesday, June 13, 12
  • 32. Wednesday, June 13, 12
  • 33. Wednesday, June 13, 12
  • 34. Wednesday, June 13, 12
  • 35. VersionsWednesday, June 13, 12
  • 36. Create a versionWednesday, June 13, 12
  • 37. Wednesday, June 13, 12
  • 38. Wednesday, June 13, 12
  • 39. Release a versionWednesday, June 13, 12
  • 40. Building ItWednesday, June 13, 12
  • 41. http://heroku.comWednesday, June 13, 12
  • 42. Bootstrap http://twitter.github.com/bootstrap/Wednesday, June 13, 12
  • 43. http://jquery.com/Wednesday, June 13, 12
  • 44. http://bitbucketjs.bitbucket.org/Wednesday, June 13, 12
  • 45. 1 var bitbucket_cards = bitbucket.repository( 2 samtardif, bitbucket-cards); 3 4 bitbucket_cards.issues({ 5 search: version=1.0 6 }, 7 8 function (issues) { 9 $.each(issues, function () { 10 // render it 11 }); 12 } 13 );Wednesday, June 13, 12
  • 46. 1 var bitbucket_cards = bitbucket.repository( 2 samtardif, bitbucket-cards); 3 4 bitbucket_cards.issues(search, callback); 5 bitbucket_cards.details(callback); 6 bitbucket_cards.branches(callback); 7 bitbucket_cards.changesets(callback); 8 bitbucket_cards.file(abc123, path, callback); 9 bitbucket_cards.followers(callback);Wednesday, June 13, 12
  • 47. http://flask.pocoo.org/Wednesday, June 13, 12
  • 48. 1 @app.route(/proxy/<path:url>, methods=[...]) 2 def proxy(url): 3 client = requests.session(...) 4 5 if request.method == GET: 6 query = ?... 7 response = client.get(API_BASE + url + query) 8 9 return response.contentWednesday, June 13, 12
  • 49. SinatraWednesday, June 13, 12
  • 50. Why REST RocksWednesday, June 13, 12
  • 51. Wednesday, June 13, 12
  • 52. Wednesday, June 13, 12
  • 53. Wednesday, June 13, 12
  • 54. Wednesday, June 13, 12
  • 55. Wednesday, June 13, 12
  • 56. Pic: See how BB behaves as a platformWednesday, June 13, 12
  • 57. Wednesday, June 13, 12
  • 58. Wednesday, June 13, 12
  • 59. The FutureWednesday, June 13, 12
  • 60. Wednesday, June 13, 12
  • 61. 1 <app xmlns="http://bitbucket.org/app-1.0.xsd"> 2 <slug>bbcards</slug> 3 <name>Bitbucket Cards</name> 4 <description>Card wall.</description> 5 <developer>Atlassian</developer> 6 <website>http://www.atlassian.com</website> 7 <repo> 8 <tab key="cwtab" label="Card Wall" 9 url="http://bitbucketcards.com/"/> 10 </repo> 11 </app>Wednesday, June 13, 12
  • 62. Bitbucket Header Remote App in an iframeWednesday, June 13, 12
  • 63. Wednesday, June 13, 12
  • 64. Wednesday, June 13, 12
  • 65. Excitement!Wednesday, June 13, 12
  • 66. 46 Days $45,000Wednesday, June 13, 12
  • 67. Wednesday, June 13, 12
  • 68. Wednesday, June 13, 12
  • 69. Wednesday, June 13, 12
  • 70. Thank you!Wednesday, June 13, 12