Skip to content
Snippets Groups Projects
Select Git revision
  • patrickbajao-md
  • pcalder-test
  • jh-broken-pipe
  • ag-maintenance-post-test-check
  • ag-failover-test1
  • sh-test-1
  • dylangriffith-production-master
  • master default protected
  • evn-guideline-on-when-to-call
  • evn-okr-update
  • evn-prio-labels
  • release-9-3
  • release-9-4
  • sr-pmm-to-dir
  • br-update-lb
  • pc-add-themes-to-prod-engs
  • 1472-update-frontend-okrs
  • patch-265
  • new-style-general-blogposts
  • dimitrie-travel-blog-post
20 results

index.html.haml

  • Alejandro Rodríguez's avatar
    0e3e3c01
    Use middleman helpers for links · 0e3e3c01
    Alejandro Rodríguez authored
    This enables us to exploit the advantages of middleman URL management.
    For example, this will allow us to host review apps in subdomains (see
    https://gitlab.com/gitlab-com/gl-infra/infrastructure/issues/8203 for
    more information).
    
    The regular expression `%a((?:\.[\w-]+)+)\{ ?href:
    ?"([\w\/\-_]+)" ?\} (.+)` was used substituting by `= link_to "$3",
    "$2", class: "$1"`. Other cases were derived from this. Then class names
    were adjusted by replacing `class: "\.([\w\.-]+)"` with `class: "$1"`
    once and `class: "([\w -]+)\.([\w\.-]+)"` with `class: "$1 $2"` as many
    times as necessary. There might be a better approach but this is what I
    came up with :)
    0e3e3c01
    History
    Use middleman helpers for links
    Alejandro Rodríguez authored
    This enables us to exploit the advantages of middleman URL management.
    For example, this will allow us to host review apps in subdomains (see
    https://gitlab.com/gitlab-com/gl-infra/infrastructure/issues/8203 for
    more information).
    
    The regular expression `%a((?:\.[\w-]+)+)\{ ?href:
    ?"([\w\/\-_]+)" ?\} (.+)` was used substituting by `= link_to "$3",
    "$2", class: "$1"`. Other cases were derived from this. Then class names
    were adjusted by replacing `class: "\.([\w\.-]+)"` with `class: "$1"`
    once and `class: "([\w -]+)\.([\w\.-]+)"` with `class: "$1 $2"` as many
    times as necessary. There might be a better approach but this is what I
    came up with :)
Code owners
Assign users and groups as approvers for specific file changes. Learn more.