Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • R reference-repository
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 11
    • Merge requests 11
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • grid5000grid5000
  • reference-repository
  • Merge requests
  • !156

[gen/wiki] Fix wiki links to exotic clusters by simplifying hardware page headings

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged JONGLEZ Baptiste requested to merge fix_wiki_gen_exotic into master Dec 03, 2020
  • Overview 10
  • Commits 4
  • Pipelines 4
  • Changes 2

The page heading for each cluster currently contains the queue and the job type, for instance:

== pyxis (exotic job type) ==
== graoully (production queue) ==
== drac (testing queue, exotic job type) ==

It means that anchors links are horrible, because they are automatically generated by Mediawiki. For instance:

https://www.grid5000.fr/w/Nancy:Hardware#graoully_.28production_queue.29

We try to generate these horrible links in several places in the wiki generation code, which is difficult. In addition, it fails to take into account the exotic job type, so all links to exotic clusters are currently broken.

Fix this by only keeping the cluster name in the heading: this way, we don't need to guess the horrible link anchors generated by Mediawiki. The missing information (queue and job type i.e. "access condition") is moved to the table presenting the cluster characteristics.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix_wiki_gen_exotic