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

Towards Open Source and Collaboration at LLNL

Ian Lee
February 18, 2016

Towards Open Source and Collaboration at LLNL

Presentation given to LLNL SoftWare Improvement Networking Group (SWING) February 2016 on status of Open Source work being performed.

Ian Lee

February 18, 2016
Tweet

More Decks by Ian Lee

Other Decks in Technology

Transcript

  1. LLNL-PRES-683157
    This work was performed under the auspices of the U.S. Department of Energy by Lawrence Livermore
    National Laboratory under contract DE-AC52-07NA27344. Lawrence Livermore National Security, LLC
    Towards Open Source and Collabora3on
    How Open Source Prac/ces can Benefit the Laboratory
    Ian Lee
    [email protected]
    SWING Meeting – February 2016

    View Slide

  2. LLNL-PRES-683157
    2
    §  The views in this talk are my own and do not necessarily
    represent those of my management
    §  Talking about radical* approaches to soFware development
    §  This talk is UNCLASSIFIED!
    —  Though I’m happy to talk more offline
    Disclaimer

    View Slide

  3. LLNL-PRES-683157
    3
    §  ATDM Workflow Project
    §  Atlassian Administrator
    §  LC IMGS
    §  PI for Open Source Development
    §  Open Source Developer / Evangelist
    Who am I?

    View Slide

  4. LLNL-PRES-683157
    4
    An Employee of this Laboratory
    Who am I REALLY?

    View Slide

  5. LLNL-PRES-683157
    5
    §  State of Open Source Development
    —  What is happening “beyond the fence”
    §  Open Source SoFware
    —  Developing and releasing soFware to the world
    §  Towards an Open Source Culture
    —  Across teams at the laboratory
    What are we talking about today?

    View Slide

  6. LLNL-PRES-683157
    6
    Collabora5on!
    What are we REALLY talking about?

    View Slide

  7. LLNL-PRES-683157
    7
    §  "Open source so;ware is so;ware whose source code is
    available for modifica5on or enhancement by anyone.”
    §  Crea/ng soFware that is released externally unlimited
    —  E.g. spack, scr, munge, magpie, flux, mfem, hypre, etc
    §  Open Source as a community
    —  Python, django, linux, bootstrap, rails, drupal
    What is “Open Source” (OSS)?

    View Slide

  8. LLNL-PRES-683157
    8
    §  Presiden/al Innova/on Fellows
    —  “abracts top innovators into govt to help tackle tech policy, and process”
    §  18F
    —  “Building the 21st century digital government”
    §  UK Government Service Design Manual
    —  “All new digital services from the government must meet the Digital by
    Default Service Standard”
    Open Source in Government

    View Slide

  9. LLNL-PRES-683157
    9
    LLNL External

    View Slide

  10. LLNL-PRES-683157
    10
    §  Many version control systems
    —  SVN, Git, …
    §  Many hosted version control solu/ons
    —  GitHub (users / organiza/ons), Sourceforge, Google Code, …
    §  What happens when one of these disappears?
    —  E.g. Google Code
    Where were we?

    View Slide

  11. LLNL-PRES-683157
    11
    Consolidated LLNL OSS Repository
    github.com/llnl
    Where are we going?

    View Slide

  12. LLNL-PRES-683157
    12
    GitHub Organiza3on – github.com/llnl

    View Slide

  13. LLNL-PRES-683157
    13
    Consolidated SoOware Catalog

    View Slide

  14. LLNL-PRES-683157
    14
    LLNL Internal

    View Slide

  15. LLNL-PRES-683157
    15
    §  Many version control systems
    —  SVN, CVS, Perforce, Git, …
    §  Many hosted version control solu/ons
    —  Files on disk, TeamForge, project specific server, …
    §  What happens when…?
    —  Employee re/res? Service re/res? Hard drive melts?
    Where were (are) we?

    View Slide

  16. LLNL-PRES-683157
    16
    Atlassian
    Where are we going?

    View Slide

  17. LLNL-PRES-683157
    17
    Internal Availability of SoOware
    11
    64
    6
    113
    330
    91
    0
    50
    100
    150
    200
    250
    300
    350
    MyStash CZ Stash RZ Stash
    Number of Projects
    World Readable Total

    View Slide

  18. LLNL-PRES-683157
    18
    COSMOS

    View Slide

  19. LLNL-PRES-683157
    19
    COSMOS
    §  “GitHub inside the firewall”
    —  Umbrella for sharing code between projects

    View Slide

  20. LLNL-PRES-683157
    20
    LLNL Web Design Standards
    §  Common web theme for LLNL developers
    —  Allows downstream projects to inherit common look and feel

    View Slide

  21. LLNL-PRES-683157
    21
    §  How can I make my Django applica/on “Lab enabled”
    §  Plugins
    —  django-llnl-theme
    —  django-auth-llnl
    Case Study: Django

    View Slide

  22. LLNL-PRES-683157
    22
    django-llnl-theme

    View Slide

  23. LLNL-PRES-683157
    23
    django-auth-llnl

    View Slide

  24. LLNL-PRES-683157
    24
    python-llnl
    §  Toolbox of useful func/onality to use in Python code
    —  hbps://mystash.llnl.gov/projects/COSMOS/repos/python-llnl

    View Slide

  25. LLNL-PRES-683157
    25
    §  Join GitHub!
    —  hbps://github.com/join
    —  Don’t forget to update your profile picture
    §  Join the LLNL GitHub organiza/on!
    —  hbps://github.com/llnl
    —  Email [email protected] your GitHub username
    —  Consider making your membership public
    What can I do (externally)?

    View Slide

  26. LLNL-PRES-683157
    26
    §  Open up the permissions on your Stash projects
    —  Change projects or individual repo default permissions to read
    §  Contribute to COSMOS / LWDS projects
    —  django-auth-llnl, django-llnl-theme, python-llnl
    —  Propose a new one!
    §  Have ideas, sugges/ons, or want to help out?
    —  Email [email protected]
    What can I do (internally)?

    View Slide

  27. Thank You!
    Ian Lee | [email protected]

    View Slide

  28. LLNL-PRES-683157
    28
    Join GitHub – github.com/join

    View Slide

  29. LLNL-PRES-683157
    29
    Publicize GitHub LLNL Organiza3on Membership

    View Slide

  30. LLNL-PRES-683157
    30
    Open Up Stash Permissions

    View Slide

  31. LLNL-PRES-683157
    31
    §  Why Google Stores Billions of Lines of Code in a Single
    Repository
    —  hbps://www.youtube.com/watch?v=W71BTkUbdqE
    §  Ben Balter (GitHub)
    —  hbp://ben.balter.com/2015/11/23/why-open-source/
    §  18F
    —  hbps://github.com/18F/open-source-policy
    References

    View Slide