[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: |
|
||||||||||||||||
| Issue links: |
|
||||||||||||||||
| 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 |