#25020 closed enhancement (fixed)
There should be an easy way to detect the version of an installed bundle.
Reported by: | yawning | Owned by: | tbb-team |
---|---|---|---|
Priority: | Low | Milestone: | |
Component: | Applications/Tor Browser | Version: | |
Severity: | Normal | Keywords: | tbb-rbm, TorBrowserTeam201802R, tbb-backported |
Cc: | Actual Points: | ||
Parent ID: | Points: | ||
Reviewer: | Sponsor: |
Description
For numerous reasons, it would be nice if there was a convenient way to detect the version of an installed bundle on disk, that does not involve launching Tor Browser.
Historically there was a versions
file deep within the guts of the bundle that could (and was) abused for this purpose, but with the move to rbm, the file no longer exists.
My initial inclination proposal would be that there will be a file Browser/tbb_verson.json
with the relevant metadata.
{"version":"6.5.2","architecture":"linux64","channel":"release","locale":"en-US"}
The build process can trivially auto-generate something like this, and it can be updated by the standard auto update process.
Child Tickets
Change History (6)
comment:1 Changed 22 months ago by
Keywords: | TorBrowserTeam201802R added |
---|---|
Status: | new → needs_review |
comment:2 Changed 22 months ago by
Resolution: | → fixed |
---|---|
Status: | needs_review → closed |
Looks good to me, merged to master
(commit 1c625c1dcbfbb1ca0b40d965c081b3f5a8f84046).
comment:4 Changed 22 months ago by
Thanks for reporting this. I fixed the file name in commit e7e4cbd526d767d46fe6f728c99492e7e3d6e76c.
comment:5 follow-up: 6 Changed 21 months ago by
Keywords: | tbb-backport added |
---|
Micah seems interested to use this tbb_version.json
file in torbrowser-launcher:
https://github.com/micahflee/torbrowser-launcher/issues/320
So I think we could backport it to the 7.5 series.
comment:6 Changed 20 months ago by
Keywords: | tbb-backported added; tbb-backport removed |
---|
Replying to boklm:
Micah seems interested to use this
tbb_version.json
file in torbrowser-launcher:
https://github.com/micahflee/torbrowser-launcher/issues/320
So I think we could backport it to the 7.5 series.
Done with commit 38e9d1caaa0d7cf49e4052e7c709b48ebdba9e31 and f99490f12132557981907254495d2b1d6053018e on maint-7.5
. Should be available in 7.5.4.
I made a commit in branch
bug_25020
to add atbb_version.json
file:https://gitweb.torproject.org/user/boklm/tor-browser-build.git/commit/?h=bug_25020&id=b2201eb2571c885f45bd6632e483310b169759dc