Upgrade to Pro — share decks privately, control downloads, hide ads and more …

What is GitHub Marketplace and good for?

What is GitHub Marketplace and good for?

Sam Yamashita

July 25, 2017
Tweet

More Decks by Sam Yamashita

Other Decks in Technology

Transcript

  1. ໨࣍ • ࣗݾ঺հ • GitLocalize • GitLocalize ʹ͍ͭͯ • ͜Ε·Ͱͷ຋༁࡞ۀ

    • ͜Ε͔Βͷ຋༁࡞ۀ • OSS • GitHub Marketplace • Marketplace ʹ͍ͭͯ • ඞཁ৚݅ • Ϣʔβʔϑϩʔ • ਃ੥खॱ • ·ͱΊ
  2. GitHub Marketplace • GitHub App • GitHub App ͸ϢʔβʔٴͼΦʔΨφΠθʔγϣϯͷϦϙδτϦ୯Ґ ͷඥ෇͚ʹͳΔͷͰϢʔβͷ؅ཧͳͲ͕ͱͯ΋؆୯

    • OAuth App • OAuth App ͸͜Ε·Ͱͷ΋ͷͰϢʔβʔΞΧ΢ϯτΛೝূ৘ใΛ
 ར༻͍ͯͯ͠ɺϢʔβʔ୯Ґͷඥ෇͚ʹͳΓ·͢ɻͨͩ͜Εͩͱ
 νʔϜʹ։ൃ࣌ʹୀ৬ऀͳͲͷϢʔβʔ؅ཧ͕໘౗ NEW
  3. GitHub Marketplace • GitHub App • Codecov • Percy •

    Rollbar • OAuth App • Travis CI • ͦͷଞ NEW
  4. GitHub Marketplace - ඞཁ৚݅ • OAuth Apps ͸࠷௿Ͱ΋ 1000 Ϣʔβʔඞཁ

    • GitHub Apps ͸࠷௿Ͱ΋ 250 ͷϨϙδτϦʹΠϯ ετʔϧ͞Ε͍ͯΔ͜ͱ͕ඞཁ • ച্ͷ͏ͪ 25ˋ Λ GitHub ͕௃ऩʢGitHub ੫ʣ • ࠷௿Ͱ΋̍ͭͷ༗ྉϓϥϯ͕ඞཁ https://developer.github.com/apps/adding-integrations/listing-apps-on-github-marketplace/requirements-for-listing-an-app-on-github-marketplace/
  5. GitHub Marketplace - Ϣʔβʔϑϩʔ GET installation URL GET login/oauth/authorize POST

    login/oauth/access_token Webhook MarketplacePurchaseEvent
 "Purchased" Buy with GitHub User GET /user/marketplace_purchases Change the plan Webhook MarketplacePurchaseEvent
 "Changed" Webhook MarketplacePurchaseEvent
 "Canceled" Cancel the plan