> To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+unsubscribe@chromium.org.
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
If you had a separate mapping from build-ID to chrome version number, you could do `readelf --notes chrome`.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAAbOScmOESWdbL7YZRqnW3U_Da-KHgkMtk%3D2o5Pvd-Rr-e6MpA%40mail.gmail.com.
Or directly supplly the chrome version into a note?
I would think the main advantage would be no risk of mismatched/missing metadata file.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAAbOSc%3DRu%3DAV6ePANQwvE1YT_7w3Wu%2BTP47hRLSjwznLv_dewQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAAbOScmOESWdbL7YZRqnW3U_Da-KHgkMtk%3D2o5Pvd-Rr-e6MpA%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+unsubscribe@chromium.org.
> doesn't seem like for the early crash system the Chrome version matters at all, so if it was skipped/ignored, it shouldn't cause issues.While the crash report will still make it to our crash database, many of the tools people use to query that database for Chrome_ChromeOS crashes are based on Chrome version. (For instance, we have a lot of process around "What are the major crashes for the latest dev release?" "What are the major crashes for the latest beta release?") If the version number is the ChromeOS version, those crashes will not appear in the tools.
> easiest thing would probably be to have the Chrome build include a supplemental json file that you could load. while ash chrome & lacros-in-rootfs chrome could have that info stuffed by the CrOS build, lacros-in-dlc wouldn't, so we'd still need the info exported to access easily. (i know the DLC itself will have metadata, but having a single method for grabbing the ver would simplify things i think.)Yes, that's generally what I'm thinking, but I wanted to make sure there wasn't an existing way before I added new code / files / BUILD rules.
On Thursday, June 9, 2022 at 11:58:01 AM UTC-7 Mike Frysinger wrote:
doesn't seem like for the early crash system the Chrome version matters at all, so if it was skipped/ignored, it shouldn't cause issues.easiest thing would probably be to have the Chrome build include a supplemental json file that you could load. while ash chrome & lacros-in-rootfs chrome could have that info stuffed by the CrOS build, lacros-in-dlc wouldn't, so we'd still need the info exported to access easily. (i know the DLC itself will have metadata, but having a single method for grabbing the ver would simplify things i think.)-mikeOn Thu, Jun 9, 2022 at 2:34 PM Ian Barkley-Yeung <i...@chromium.org> wrote:Is there a way to determine the Chrome version without invoking chrome (that is, without relying on the --version or --product-version argument)?This is specifically on ChromeOS, so the Windows .rc stuff won't work.Right now, during ChromeOS crash reporting, we run chrome just to get a chrome version (https://source.chromium.org/chromiumos/chromiumos/codesearch/+/main:src/platform2/crash-reporter/arc_util.cc;l=191;drc=a3c61bdb78ad8c2cc6f7790e26971c1844da6e78). This seems less than ideal. Plus, my new pre-crashpad-crash-capture system would like to get the Chrome version, but since the system is specifically designed to capture very early crashes, I don't want to invoke chrome even with --product-version.If there is no current way, would anyone object to adding a simple text file in the /opt/google/chrome directory with the contents of //chrome/VERSION ?Thanks,Ian
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAPHpbpQ%3DwH2YKFiE5ZNr5rpqshjfX25PqGHZ4oC%2BfM47PpQi%2Bw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAPHpbpQFRACOAuirLY73qkctdqPBD-M7Ncukeg2DufW6THkGww%40mail.gmail.com.