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 full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

  14. How people build software
    ! 14

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size 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 full-size 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 full-size slide

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

    View full-size slide

  24. How people build software
    !
    Repository
    24

    View full-size slide

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

    View full-size 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 full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size 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 full-size slide

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

    View full-size slide

  32. How people build software
    !
    Pull Request
    32

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

  36. How people build software
    !
    Issue
    36

    View full-size slide

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

    View full-size 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 full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

  42. How people build software
    !
    Project
    42

    View full-size 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 full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

  48. How people build software
    !
    GitHub Pages
    48

    View full-size slide

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

    View full-size slide

  50. How people build software
    !
    Ecosystem
    50

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

  58. How people build software
    !
    Catch up info
    58

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

  64. How people build software
    !
    "

    View full-size slide