Opened 15 years ago

Closed 15 years ago

Last modified 11 years ago

#404 closed enhancement (fixed)

show soas build date in control panel

Reported by: alsroot Owned by: tomeu
Priority: Normal Milestone:
Component: Sugar on a Stick (SoaS) Version: 0.85.x
Severity: Minor Keywords:
Cc: sdz, erikos, tomeu Distribution/OS: Unspecified
Bug Status: Resolved

Description

see http://lists.sugarlabs.org/archive/sugar-devel/2009-February/012127.html thread

maybe its worth thinking about SoaS version in "About" page

Attachments (2)

soas-build-date.patch (1.8 KB) - added by sdz 15 years ago.
soas-build-date-2.patch (1.9 KB) - added by sdz 15 years ago.

Download all attachments as: .zip

Change History (11)

comment:1 Changed 15 years ago by FGrose

  • Bug Status changed from Unconfimed to New
  • Cc sdz erikos added
  • Summary changed from Getting SoaS version in convenient way to Identifying installed SoaS version in a convenient way

comment:2 Changed 15 years ago by sdz

  • Component changed from SoaS to sugar
  • Milestone changed from 0.84 to 0.86
  • Priority changed from Unspecified by Maintainer to High
  • Severity changed from Unspecified to Minor
  • Version changed from 0.83.x to 0.85.x

each build will now contain the date it got composed in /etc/build - we might want to reveal it in the about page in sugar... making it a sugar request now.

Changed 15 years ago by sdz

comment:3 Changed 15 years ago by sdz

  • Cc tomeu added
  • Keywords r? added
  • Summary changed from Identifying installed SoaS version in a convenient way to PATCH: show soas build date in control panel

the affected module is sugar, no regressions should be caused. my first patch! :)

|TestCase|

execute as root: date -R > /etc/build
open the control panel and check the about my computer screen. the date you just entered in the /etc/build file should be displayed correctly.

remove the /etc/build file
open the control panel again and check that a line saying not available gets displayed.

comment:4 Changed 15 years ago by tomeu

  • Keywords r- added; r? removed
  • Owner changed from marcopg to tomeu
  • Status changed from new to assigned

Any chance we could use a distribution-independent mechanism? Perhaps using lsb_release?

That way we wouldn't need to have code for each distro.

comment:5 Changed 15 years ago by sdz

We get that already in the build entry above (which says for me for example Fedora 11). The point was that we can get information when exactly a SoaS build was composed (which I doubt other distros are providing). I might have another idea, though...

Changed 15 years ago by sdz

comment:6 Changed 15 years ago by sdz

  • Keywords r? added; r- removed

Updated to show only up when /etc/build exists (meaning that it should affect other distros).

|TestCase|

If /etc/build doesn't exist, no new entry gets displayed in the control panel.

comment:7 Changed 15 years ago by sdz

  • Bug Status changed from New to Resolved
  • Component changed from sugar to SoaS
  • Keywords r? removed
  • Priority changed from High to Normal
  • Resolution set to fixed
  • Status changed from assigned to closed
  • Summary changed from PATCH: show soas build date in control panel to show soas build date in control panel

No need to worry about the patch anymore, got it fixed directly in SoaS with the help of Sascha.

comment:8 Changed 14 years ago by sascha_silbe

  • Distribution/OS changed from SoaS to Unspecified

Bulk change distribution=SoaS -> component=SoaS

comment:9 Changed 11 years ago by dnarvaez

  • Milestone 0.86 deleted

Milestone 0.86 deleted

Note: See TracTickets for help on using tickets.