Migrate Company from the www-gitlab-com repo to here.
As part of the program of work to separate the Handbook's content from the about site and migrate it to the new handbook site we need to schedule in the migration of the Company sections of the about sites handbook. According to the Handbook Roadmap this work is set to take place between the 2023-08-30 and 2023-09-01. The sections set to be migrated are:
-
cadence -
family-and-friends-day -
gitlab-all-company-meetings -
history -
kpis -
mission -
offsite -
okrs -
pricing -
purpose -
quote-to-cash -
stewardship -
still-a-startup -
strategy -
top-cross-functional-initiatives -
yearlies
A quick review of ERB content under finance gives the following result (we do this as this adds to the complexity of the migration):
File | Comment |
---|---|
./kpis/index.html.md.erb | Makes use of a single bit of ERB to render data that needs to be recreated kpi_list_by_org
|
./quote-to-cash/index.html.md.erb | No ERB Content |
./pricing/index.html.md.erb | Has a complex bit of ERB content we'll need to migrate |
Terminal Output
This is edited output to remove entries for culture and team.
── for f in $(find . -type f -name "*.erb"); do echo "File: $f"; grep "<%" $f; done
File: ./kpis/index.html.md.erb
<%= kpi_list_by_org("Chief of Staff Team") %>
<%= kpi_list_by_org("Sales") %>
<%= kpi_list_by_org("Marketing") %>
<%= kpi_list_by_org("Developer Relations Department") %>
<%= kpi_list_by_org("People Success") %>
<%= kpi_list_by_org("Finance Team") %>
<%= kpi_list_by_org("Engineering Function") %>
<%= kpi_list_by_org("Customer Support Department") %>
<%= kpi_list_by_org("Development Department") %>
<%= kpi_list_by_org("Infrastructure Department") %>
<%= kpi_list_by_org("Quality Department") %>
<%= kpi_list_by_org("Security Department") %>
<%= kpi_list_by_org("UX Department") %>
File: ./quote-to-cash/index.html.md.erb
File: ./pricing/index.html.md.erb
<% tier_names = ['Premium','Ultimate'] %>
<% tier_names.each do |tier_name| %>
<%= "##### #{tier_name}" + ( tier_name != tier_names.first() ? " (all above AND)" : "") %>:
<% data.pricing_themes.select{|theme| theme.tier == tier_name}.each do |theme| %>
<%= "1. #{theme.name} " %>
<% end %>
<% end %>
The following HAML files will need to be recreated from scratch for the new handbook. These won't have any history as they'll be new pages:
- ./strategy/2023/index.html.haml
Full details of the content to be migrated can be found at: https://handbook.gitlab.com/handbook/about/migration-details/#company