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

Developers Summit 2018 0727

pnsk
July 27, 2018

Developers Summit 2018 0727

Developers Summit 2018夏 (https://event.shoeisha.jp/devsumi/20180727)

pnsk

July 27, 2018
Tweet

More Decks by pnsk

Other Decks in Technology

Transcript

  1. How people build software
    !
    "
    ҙ֎ͱ஌Βͳ͍ʁ!
    GitHubͷ৽ػೳΛ঺հ͠·͢
    ླ໦ ॱࢠ (@pnsk)

    View Slide

  2. How people build software
    !
    !
    Introduction
    2
    • Junko Suzuki
    • @pnsk
    • Enterprise Support Engineer at GitHub
    • Joined in Dec. 2015

    View Slide

  3. How people build software
    !
    !
    Agenda
    3
    •GitHubʹ͍ͭͯͷ͓͞Β͍
    •GitHub Business CloudͱGitHub Enterprise
    •GitHub৽ػೳʹ͍ͭͯ

    View Slide

  4. How people build software
    !
    GitHubʹ͍ͭͯͷ͓͞Β͍
    4
    !

    View Slide

  5. How people build software
    !
    The software developer platform
    5

    View Slide

  6. How people build software
    !
    !
    6
    جຊతͳػೳ
    • όʔδϣϯ؅ཧ
    • Pull RequestʹΑΔϨϏϡʔ
    • IssueػೳΛ࢖ͬͨλεΫ؅ཧ
    • ProjectػೳͰΧϯόϯܗࣜͰϓϩδΣ
    Ϋτ؅ཧ
    • GitHub PagesΛར༻ͨ͠Webϖʔδ࡞੒
    • API (REST API, GraphQL API)

    View Slide

  7. How people build software
    !
    !
    7
    جຊతͳػೳ
    • όʔδϣϯ؅ཧ
    • Pull RequestʹΑΔϨϏϡʔ
    • IssueػೳΛ࢖ͬͨλεΫ؅ཧ
    • ProjectػೳͰΧϯόϯܗࣜͰϓϩδΣ
    Ϋτ؅ཧ
    • GitHub PagesΛར༻ͨ͠Webϖʔδ࡞੒
    • API (REST API, GraphQL API)

    View Slide

  8. How people build software
    !
    !
    8
    جຊతͳػೳ
    • όʔδϣϯ؅ཧ
    • Pull RequestʹΑΔϨϏϡʔ
    • IssueػೳΛ࢖ͬͨλεΫ؅ཧ
    • ProjectػೳͰΧϯόϯܗࣜͰϓϩδΣ
    Ϋτ؅ཧ
    • GitHub PagesΛར༻ͨ͠Webϖʔδ࡞੒
    • API (REST API, GraphQL API)

    View Slide

  9. How people build software
    !
    !
    9
    جຊతͳػೳ
    • όʔδϣϯ؅ཧ
    • Pull RequestʹΑΔϨϏϡʔ
    • IssueػೳΛ࢖ͬͨλεΫ؅ཧ
    • ProjectػೳͰΧϯόϯܗࣜͰϓϩδΣ
    Ϋτ؅ཧ
    • GitHub PagesΛར༻ͨ͠Webϖʔδ࡞੒
    • API (REST API, GraphQL API)

    View Slide

  10. How people build software
    !
    !
    10
    جຊతͳػೳ
    https://github.co.jp/
    • όʔδϣϯ؅ཧ
    • Pull RequestʹΑΔϨϏϡʔ
    • IssueػೳΛ࢖ͬͨλεΫ؅ཧ
    • ProjectػೳͰΧϯόϯܗࣜͰϓϩδΣ
    Ϋτ؅ཧ
    • GitHub PagesΛར༻ͨ͠Webϖʔδ࡞੒
    • API (REST API, GraphQL API)

    View Slide

  11. How people build software
    !
    !
    11
    جຊతͳػೳ
    • όʔδϣϯ؅ཧ
    • Pull RequestʹΑΔϨϏϡʔ
    • IssueػೳΛ࢖ͬͨλεΫ؅ཧ
    • ProjectػೳͰΧϯόϯܗࣜͰϓϩδΣ
    Ϋτ؅ཧ
    • GitHub PagesΛར༻ͨ͠Webϖʔδ࡞੒
    • API (REST API, GraphQL API)

    View Slide

  12. How people build software
    !
    GitHub Business Cloud ͱ
    GitHub Enterprise
    12
    !

    View Slide

  13. How people build software
    !
    ΤϯυϢʔβ͔Β͸
    GitHub.comͱಉ͡
    ؅ཧ໘͸Businessར༻
    ʹয఺
    13

    View Slide

  14. How people build software
    ! 14

    View Slide

  15. How people build software
    !
    !
    15
    GitHub Business Cloud
    • SaaS
    • GitHub.comͷاۀར༻
    • GitHub͕ࣾӡ༻
    • SAMLʹΑΔSSO
    • Organizationϝϯόʔ؅ཧͷҐஔ෇͚

    View Slide

  16. How people build software
    !
    !
    16
    GitHub Business Cloud
    • SaaS
    • GitHub.comͷاۀར༻
    • GitHub͕ࣾӡ༻
    • SAMLʹΑΔSSO
    • Organizationϝϯόʔ؅ཧͷҐஔ෇͚

    View Slide

  17. How people build software
    !
    !
    17
    GitHub Enterprise
    • On-premiss
    • ࣾ಺Ͱ؅ཧ
    • LDAPɾSAMLɾCASɾBuilt-in
    • ؅ཧػೳ
    • ؂ࠪϩάɾγεςϜ؂ࢹ
    • όοΫΞοϓɾߴՄ༻ੑ
    • ೔ຊޠͷςΫχΧϧαϙʔτ

    View Slide

  18. How people build software
    !
    !
    18
    GitHub Enterprise
    • On-premiss
    • ࣾ಺Ͱ؅ཧ
    • LDAPɾSAMLɾCASɾBuilt-in
    • ؅ཧػೳ
    • ؂ࠪϩάɾγεςϜ؂ࢹ
    • όοΫΞοϓɾߴՄ༻ੑ
    • ೔ຊޠͷςΫχΧϧαϙʔτ

    View Slide

  19. How people build software
    !
    !
    19
    GitHub Enterprise
    • On-premiss
    • ࣾ಺Ͱ؅ཧ
    • LDAPɾSAMLɾCASɾBuilt-in
    • ؅ཧػೳ
    • ؂ࠪϩάɾγεςϜ؂ࢹ
    • όοΫΞοϓɾߴՄ༻ੑ
    • ೔ຊޠͷςΫχΧϧαϙʔτ

    View Slide

  20. How people build software
    !
    !
    20
    GitHub Enterprise
    • On-premiss
    • ࣾ಺Ͱ؅ཧ
    • LDAPɾSAMLɾCASɾBuilt-in
    • ؅ཧػೳ
    • ؂ࠪϩάɾγεςϜ؂ࢹ
    • όοΫΞοϓɾߴՄ༻ੑ
    • ೔ຊޠͷςΫχΧϧαϙʔτ

    View Slide

  21. How people build software
    !
    !
    21
    GitHub Enterprise
    ௨ৗͷ͓໰͍߹Θͤ
    •5Ӧۀ೔24࣌ؒαϙʔτ(ӳޠ)
    •5Ӧۀ೔8࣌ؒ(9:00am-5:00pm) (೔ຊޠ)
    ۓٸͷ͓໰͍߹Θͤ
    •24͍࣌ؒͭͰ΋(ӳޠ)
    • On-premiss
    • ࣾ಺Ͱ؅ཧ
    • LDAPɾSAMLɾCASɾBuilt-in
    • ؅ཧػೳ
    • ؂ࠪϩάɾγεςϜ؂ࢹ
    • όοΫΞοϓɾߴՄ༻ੑ
    • ೔ຊޠͷςΫχΧϧαϙʔτ

    View Slide

  22. How people build software
    !
    !
    GitHub Business Cloud vs GitHub Enterprise
    22
    GitHub Business Cloud
    • SaaS
    • GitHub.comͷاۀར༻
    • GitHub͕ࣾӡ༻
    • SAMLʹΑΔSSO
    • Organizationϝϯόʔ؅ཧͷ
    Ґஔ෇͚
    GitHub Enterprise
    • On-premiss
    • ࣾ಺Ͱ؅ཧ
    • LDAPɾSAMLɾCASɾBuilt-in
    • ؅ཧػೳ
    • ؂ࠪϩάɾγεςϜ؂ࢹ
    • όοΫΞοϓɾߴՄ༻ੑ
    • ೔ຊޠͷςΫχΧϧαϙʔτ

    View Slide

  23. How people build software
    !
    GitHubͷ৽ػೳʹ͍ͭͯ
    23
    !

    View Slide

  24. How people build software
    !
    Repository
    24

    View Slide

  25. How people build software
    !
    !
    25
    Security Alerts
    GitHub.com
    ґଘϥΠϒϥϦͷ੬ऑੑνΣοΫ
    • Ruby, JavaScript, Python
    • CVEͷ੬ऑੑҰཡʢhttps://
    cve.mitre.org/ʣ
    • ؅ཧऀͷΈʹ௨஌
    New

    View Slide

  26. How people build software
    !
    !
    26
    Archiving Repositories
    GitHub.com
    GitHub Enterprise
    ϦϙδτϦΛRead-onlyʹมߋ
    • Issue΍Pull RequestͳͲߋ৽ॲཧ͕ఀࢭ
    • Fork͸Մೳ
    • GitHub API
    Check
    Archive͢Δલʹ
    →ɹREADMEͷฤू
    →ɹIssue΍Pull RequestͷΫϩʔζ

    View Slide

  27. How people build software
    !
    !
    27
    Legal Hold
    GitHub.com
    GitHub Enterprise
    ΢ΣϒUI͔ΒϦϙδτϦ͕࡟আ͞Εͯ΋ɺσʔλ͸࡟আ͞Εͳ͍ɻ
    Organization΍Ϣʔβ͕࡟আ͞Εͯ΋ɺ
    ϦϙδτϦͷσʔλ͸อ࣋͞ΕΔɻ

    View Slide

  28. How people build software
    !
    !
    28
    git-sizerίϚϯυ
    GitϦϙδτϦ಺ͷαΠζϝτϦΫεΛܭࢉ
    https://github.com/github/git-sizer
    ໰୊ʹͳΔ
    Մೳੑͷ͋Δ΋ͷΛ
    ݟ͚ͭΔ

    View Slide

  29. How people build software
    !
    !
    29
    git-sizerίϚϯυ

    View Slide

  30. How people build software
    !
    !
    30
    git lfs migrateίϚϯυ
    https://github.com/git-lfs/git-lfs
    git lfs migrate import
    աڈͷཤྺΛมߋͤͣʹࢦఆͷϑΝΠϧΛ
    Git LFSͰτϥοΩϯά
    Point

    View Slide

  31. How people build software
    !
    !
    31
    git lfs migrateίϚϯυ
    git lfs migrate info
    https://github.com/git-lfs/git-lfs
    ֦ுࢠ͝ͱʹ
    αΠζΛղੳ

    View Slide

  32. How people build software
    !
    Pull Request
    32

    View Slide

  33. How people build software
    !
    !
    33
    Finding changed method and function
    GitHub.com
    GitHub Enterprise
    มߋ͕͋ͬͨίʔυͷϝιουΛ؆୯ʹൃݟ
    • Ruby
    • JavaScript
    • Go
    • Python
    • PHP
    Check

    View Slide

  34. How people build software
    !
    !
    34
    Multi Reviews at Protected branch
    GitHub.com
    GitHub Enterprise
    ಛఆϒϥϯνͷอޢػೳ
    Ϛʔδͷ৚݅Λઃఆ
    • ϨϏϡϫʔͷঝೝඞਢ
    • Code Ownerͷঝೝඞਢ
    • CI΍ςετͷύε͕ඞਢ
    • ಛఆͷνʔϜͷΈϚʔδՄೳ
    • GPGʹΑΔॺ໊ඞਢ
    ඞਢϨϏϡʔͷ਺Λෳ਺ઃఆՄೳ
    New

    View Slide

  35. How people build software
    !
    !
    35
    Checks API
    GitHub.com
    Check
    • Google Cloud Build
    • Travis CI
    • App Center
    • (CircleCI)
    GitHub Enterprise
    Ϗϧυͷ݁Ռͷ
    ৄࡉ͕GitHub͔Β
    ݟΕΔ

    View Slide

  36. How people build software
    !
    Issue
    36

    View Slide

  37. How people build software
    !
    !
    37
    ॏෳIssue΍Pull Requestͷ؅ཧ
    ॏෳτϐοΫʹ”duplicateʢॏෳʣ” ϚʔΫΛ͚ͭΔ
    GitHub.com
    GitHub Enterprise
    ٞ࿦ͷ෼ࢄΛ๷͙
    ίϝϯτʹ"Duplicate of #{൪߸}“
    →Saved repliesʹొ࿥͞Ε͍ͯΔ
    Check

    View Slide

  38. How people build software
    !
    !
    38
    Multiple Issue Templatesͷվળ
    GitHub.com
    GitHub Enterprise
    Settings͔Β؆୯ʹ࡞੒Ͱ͖Δ
    Issue࡞੒࣌ͷUI΋վળ .github/ISSUE_TEMPLATE഑Լʹ
    ϑΝΠϧ͕࡞੒͞ΕΔ
    Check
    ςϯϓϨʔτ͔Β؆୯࡞੒
    • “Bug Report”
    • “Feature Request”

    View Slide

  39. How people build software
    !
    Issueͷ಺༰, Issueίϝϯτͷฤूཤྺࢀর
    !
    39
    Issueίϝϯτฤूཤྺ
    GitHub.com
    GitHub Enterprise
    ίϝϯτཤྺ͸࡟আՄ

    View Slide

  40. How people build software
    !
    !
    40
    Conversation Locking
    • WriteݖݶΛ΋ͭϢʔβ
    • Collaborator
    • ϦϙδτϦΦʔφʔ
    GitHub.com
    GitHub Enterprise
    ಛఆͷϢʔβͷΈίϝϯτՄೳʹ͢Δ

    View Slide

  41. How people build software
    !
    ಛఆϢʔβΛϒϩοΫ͢Δ
    !
    41
    Blocking a user
    GitHub.com
    • ߋ৽ͷ੍ݶʢίϝϯτ, Pull Request, Star, Fork, etc.ʣ
    Organization·ͨ͸
    ϢʔβͰઃఆՄೳ
    New
    ϒϩοΫظؒͷࢦఆ
    (OrganizationͷΈʣ

    View Slide

  42. How people build software
    !
    Project
    42

    View Slide

  43. How people build software
    !
    !
    43
    Project templates
    GitHub.com
    GitHub Enterprise
    ProjectͷςϯϓϨʔτ
    • Basic kanban
    • “To do”, “In progress”, “Done”
    • Automated kanban
    • Issue΍Pull RequestͷΞΫγϣϯ
    ʹԠͯ͡ΧϥϜΛࣗಈมߋ

    View Slide

  44. How people build software
    !
    !
    44
    Project templates
    GitHub.com
    GitHub Enterprise
    ௥Ճ͞ΕͨςϯϓϨʔτ
    • Automated kanban with reviews
    • Bug triage
    New

    View Slide

  45. How people build software
    !
    !
    45
    Project templates
    GitHub.com
    GitHub Enterprise
    Automated kanban with reviews
    • Automated kabanʴϨϏϡʔͷϫʔΫϑϩʔ
    Bug triage
    • όάमਖ਼ͷ༏ઌ౓

    View Slide

  46. How people build software
    !
    !
    46
    Navigationͷ௥Ճ
    • Project͔ΒIssue৘ใΛมߋ
    • ϦΞΫγϣϯ
    • Assignee΍Labelͷมߋ

    View Slide

  47. How people build software
    !
    !
    47
    Archive cards
    ProjectΧʔυΛΞʔΧΠϒՄ ΞʔΧΠϒϦετ

    View Slide

  48. How people build software
    !
    GitHub Pages
    48

    View Slide

  49. How people build software
    !
    !
    49
    HTTPS & Custom domain on GitHub Pages
    GitHub.com
    ΧελϜυϝΠϯʹHTTPSͷར༻ New

    View Slide

  50. How people build software
    !
    Ecosystem
    50

    View Slide

  51. How people build software
    !
    !
    51
    GitHub for Unity 1.0
    UnityΤσΟΞͷ֦ுػೳ
    • Gitૢ࡞ɺGitHubͷػೳ
    • Git LFS
    • ϑΝΠϧϩοΫػೳ
    etc.

    View Slide

  52. How people build software
    !
    GitHub Enterpriseͷ؅ཧܥػೳ
    52

    View Slide

  53. How people build software
    !
    !
    53
    Hotpatch
    ύονϦϦʔεʹؔͯ͠͸ɺجຊతʹμ΢ϯλΠϜͳ͠ͰΞοϓάϨʔυՄೳ
    GitHub Enterprise

    View Slide

  54. How people build software
    !
    !
    54
    Mixed Auth GitHub Enterprise
    New
    ೝূػೳͷซ༻

    View Slide

  55. How people build software
    !
    !
    55
    Dormancy Threshold GitHub Enterprise
    ඇΞΫςΟϒͳϢʔβͷݕ஌
    • ಛఆظؒɺߋ৽ΞΫγϣϯ͕ͳ͍ ظؒͷมߋՄʢॳظ஋90೔ʣ
    New
    ϥΠηϯεͷઅ໿ʹར༻Ͱ͖Δ

    View Slide

  56. How people build software
    !
    !
    56
    Unified Search GitHub Enterprise
    GitHub Enterprise͔Β༗ޮԽ
    ඞཁͳ΋ͷ
    • GitHub EnterpriseϥΠηϯε
    • Business Cloud ΞΧ΢ϯτ
    • HTTPSΞΫηε
    GitHub Enterprise͔ΒGitHub.comͷݕࡧ͕Ͱ͖Δ

    View Slide

  57. How people build software
    !
    !
    57
    Open support ticket from GHE GitHub Enterprise
    GitHub Enterpriseͷ؅ཧը໘͔Β
    αϙʔτνέοτΛ੾ΕΔ
    • αϙʔτʹඞཁͳ৘ใ͕ࣗಈͰه
    ࡌ͞ΕΔ

    View Slide

  58. How people build software
    !
    Catch up info
    58

    View Slide

  59. How people build software
    !
    !
    59
    GitHub Blog
    https://blog.github.com

    View Slide

  60. How people build software
    !
    !
    60
    GitHub Blog in Japanese
    https://blog.github.com/jp/

    View Slide

  61. How people build software
    !
    !
    61
    Changelog
    https://blog.github.com/changelog/

    View Slide

  62. How people build software
    !
    !
    62
    Release notes
    https://enterprise.github.com/releases/

    View Slide

  63. How people build software
    !
    !
    63
    Community Forum
    https://github.community/

    View Slide

  64. How people build software
    !
    "

    View Slide