[FOLIO-1176] Add vagrant box name+version to software versions page Created: 04/Apr/18  Updated: 14/Apr/22

Status: Open
Project: FOLIO
Components: Continuous Integration
Affects versions: None
Fix versions: None

Type: New Feature Priority: P3
Reporter: Julian Ladisch Assignee: Wayne Schneider
Resolution: Unresolved Votes: 0
Labels: ci, for-next-sprint
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Attachments: PNG File 2018-04-04-vagrant-box-version.png    
Issue links:
Relates
relates to STCOR-603 Custom text on Settings -> About "Sof... Closed
relates to FOLIO-1007 About FOLIO Page at {base-url}/settings Open
relates to UXPROD-2985 Add flower release to System Informat... Draft
Sprint:
Development Team: Core: Platform

 Description   

The settings app has a System information - Software versions page.

Can the vagrant box name and version added to this page so one can easily see how old the box is? See attached example.



 Comments   
Comment by Julian Ladisch [ 04/Apr/18 ]

This is my workaround I've put into the Vagrantfile:

  config.vm.provision "shell", env: {
    "BOXVERSION" => `vagrant box list`,
  }, inline: <<-SHELL
    set -e
    export BOXVERSION=`echo "$BOXVERSION" | sort | tail -1 | sed -e 's=\\([^ ]\\+\\) (virtualbox, \\(.*\\))=\\1 \\2='`
    sed -i -e "0,/.*\\(<Headline size=.large.>User interface\\)/s##<Headline size=\\x27large\\x27>Vagrant</Headline><List items={[\\x27$BOXVERSION\\x27]} listStyle=\\\"bullets\\\" itemFormatter={i=>(<li key={i}>{i}</li>)}/><br />\\1#" /etc/folio/stripes/node_modules/@folio/stripes-core/src/components/About/About.js
  SHELL
Generated at Thu Feb 08 23:11:23 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.