PageRenderTime 35ms CodeModel.GetById 9ms RepoModel.GetById 1ms app.codeStats 0ms

/source/handbook/demo/index.html.md

https://gitlab.com/z9g9l9/www-gitlab-com
Markdown | 232 lines | 191 code | 41 blank | 0 comment | 0 complexity | cb54ac8ec02c795d0060f1fb185d3d30 MD5 | raw file
  1. ---
  2. layout: markdown_page
  3. title: "Demo Script"
  4. ---
  5. This demonstration is designed to show customers the highlights of GitLab and the basics of the Gitlab Flow.
  6. # Sections
  7. - [Overall navigation](#overall_navigation)
  8. - [Basic product demo](#basic_product_demo)
  9. - [Issues and milestones](#issues_milestones)
  10. - [Product differentiations](#product_differentiations)
  11. - [EE vs. CE](#ee_vs_ce)
  12. ## Prerequisites
  13. - Access to a GitLab instance
  14. - Ability to create a project
  15. - If Internet access is available, start at this URL while logged in: https://gitlab.com/
  16. ## <A name="overall_navigation"></A>OVERALL NAVIGATION
  17. ### Front page navigation
  18. - Screen areas
  19. - Left hand navigation bar
  20. - Top - Open and close navigation bar
  21. - Upper part - Global navigation
  22. - Lower part - Currently logged-in user
  23. - Top navigation - context-sensitive based on selected left hand item
  24. - Tasks
  25. - Upper right area
  26. - Todos
  27. - New project
  28. - Sign out
  29. ### Left hand global navigation items
  30. - Projects - list of projects the current user has access to
  31. - Explain your projects starred projects and explore projects
  32. - Your projects -- projects you have specific access to
  33. - Starred projects -- projects you have marked as special to you
  34. - Explore projects -- all projects you have any access to
  35. - These filters are used throughout the product
  36. - Todos - tasks of note for the current user
  37. - Activity - Recent push events, merge requests, etc.
  38. - Commit list - equivalent to 'git log'
  39. - Groups - Collections of projects
  40. - Milestones - Organizes issues and merge requests
  41. - Issues - Defect / task tracking
  42. - Merge requests - Equivalent to Github pull request
  43. - Snippets - shared pieces of code
  44. - Help
  45. - Profile settings
  46. ## <A name="basic_product_demo"></A>BASIC PRODUCT DEMO
  47. ### Project / GitLab flow
  48. - Ensure you are signed in
  49. - Select new project
  50. - Discuss per project settings
  51. - Name/path
  52. - Description
  53. - Import (select / unselect)
  54. - Visibility levels
  55. - Create project!
  56. - Project created screen has many useful things
  57. - SSH / HTTPS connection information
  58. - Star / unstar setting
  59. - Command line access instructions
  60. - Git setup
  61. - New repo instructions
  62. - Repo import instructions
  63. - Prompt to add README file
  64. - Add a README file
  65. - Defaults to branch master
  66. - Enter some text
  67. - Enter a description
  68. - Commit changes
  69. - View project activity from main project screen via activity tab
  70. - Show Project->branches
  71. - By default master is protected
  72. - You have to push from another branch
  73. - GitLab Workflow enforced.
  74. - Select Project->Files (or Code</>)
  75. - Select README.md and then Edit
  76. - Change the file
  77. - Add a new branchname to the bottom
  78. - Note the start new merge request box -- leave it checked
  79. - Commit changes
  80. - New branch is created
  81. - New merge request is created on next screen
  82. - New Merge Request dialog
  83. - from <branchname> into master is displayed
  84. - Discuss WIP: header
  85. - Put in a good description
  86. - Assign to yourself
  87. - Check remove source branch when merge request is accepted
  88. - Submit merge request
  89. - See the branches
  90. - Compare the commits
  91. - Accept Merge Request dialog
  92. - Make sure Remove source branch is checked
  93. - Write a comment if desired
  94. - Code->Network
  95. - See network diagram!
  96. ## <A name="issues_milestones"></A>Issues and milestones -- see how they are created, used and closed
  97. - Create issue
  98. - Readme needs more detail
  99. - Create another issue
  100. - License file needs to be created
  101. - Create milestone
  102. - Add two issues
  103. Base files for this project need to be created/fixed
  104. Tag issue #1 and #2 and user @reb in the milestone
  105. View milestone progress
  106. Update readme file with new information - on temp branch
  107. Attach readme to merge request with issue
  108. ## <A name="product_differentiations"></A>Product differentiations
  109. ### vs. BitBucket
  110. - Continuous integration tool - Easy-to-set up, performant, stable and elegant continuous integration with every GitLab installation.
  111. - Go to a project, select Pipelines and then builds
  112. - View build status, duration, branch (under ref) and tags
  113. - Select buildID for more detail (and then use back button)
  114. - Click on commit and see the diff
  115. - Inline, side-by-side, comments all available
  116. - (use back button to go back to builds)
  117. - Ref is the branch where it is now located and the stage of the build is shown as well - build test or deploy
  118. - Select Graphs then Continuous Integration to see a collection of graphical information on CI
  119. - Docs for learning more about CI: http://docs.gitlab.com/ce/ci/
  120. - Integrated issue tracking - GitLab includes an issue tracker which you can link to any merge request.
  121. - Click Issues at the top of page in www.gitlab.com project
  122. - Look at Open, Closed or All issues
  123. - Search by Author, Assignee, Milestone, Label, Weight
  124. - Open a closed issue and show the communication which occurred while the issue was open.
  125. - Elastic Search - (not installed by default) GitLab leverages the search capabilities of Elasticsearch and enables it when searching in:
  126. - GitLab application
  127. - Issues
  128. - merge requests
  129. - Milestones
  130. - Notes
  131. - Projects
  132. - Repositories
  133. - Snippets
  134. - wiki repositories
  135. - Details available here: https://gitlab.com/help/integration/elasticsearch.md
  136. - Better activity feed and visualization - Collaborative activity feed to help everyone understand what is happening in a project; graphical view of the commit history.
  137. - From project page of https://gitlab.com select “commits”
  138. - Select a commit
  139. - Look at the history
  140. - Show ability to make comments in the diff itself.
  141. - References to Jira ticket #s in issues and merge requests
  142. - When the merge happens the Jira ticket will be closed.
  143. - Great user interface - A really clean user interface that your team will love, and also enjoy working with
  144. - Show left hand navigation menu
  145. - From https://gitlab.com select a project
  146. - Note ways to view project data and activity
  147. - Project, Activity, Code, etc
  148. - Project settings (gear)
  149. - Wiki available - Can be turned on in projects
  150. - More value in a single solution
  151. - To replace GitLab youd need licenses for all of these:
  152. - BitBucket
  153. - JIRA
  154. - Confluence
  155. - Bamboo
  156. - GitLab was developed as a platform
  157. - Above other products were developed separately (some were acquired)
  158. ## <A name="ee_vs_ce"></A>EE vs. CE
  159. - Reporting
  160. - Workflow Management
  161. - Additional server management options
  162. - Deeper integration with external tools
  163. ------
  164. ## NOTES FOR FUTURE CHANGES TO THE ABOVE:
  165. -- Revert & Cherry pick a particular commit from commit screen
  166. -- Show blame view from the comparison
  167. -- milestones -- reference point for what issues need to be created for, say, a release, debugging session, etc.
  168. -- Label -- collection of arbitrary issues & merge requests -- NOT commits or files
  169. -- users can subscribe to labels
  170. -- Merge request -- bottom
  171. --list of commits to me merged , builds
  172. -- CI passed/failed commits, changes
  173. -- line changes in files in commits to be merged
  174. -- Create WIP: merge request allows team to discuss what might be changed vs. actually performing change.
  175. -- Add @ mention to comment box
  176. -- Localized to time zone of user -- hover over timestam in your local time!
  177. -- Add comments to code!
  178. -- See discussion started in the middle of the file!
  179. -- Go to CE and find a merge request to show comments inline, etc.
  180. -- Make an additional change to the README.md
  181. -- same merge request, different commit
  182. -- USer confirms all is well. Remove WIP:
  183. -- Commit merge request, remove source branch (to keep things clean)
  184. -- Oops -- can easily revert the merge request -- an start a new merge request!
  185. -- into revert-afgadgagd
  186. -- Create issue "Probelm with readme"
  187. IN description
  188. -- Create new branch from within issue create
  189. -- Edit file
  190. -- Start new merge request from within the issue!
  191. -- Submit merge request