[tor-commits] [Git][tpo/applications/tor-browser-build][maint-12.0] Bug 40764: Embed repo URL and git revision in Firefox

Richard Pospesel (@richard) git at gitlab.torproject.org
Wed Feb 15 18:23:27 UTC 2023



Richard Pospesel pushed to branch maint-12.0 at The Tor Project / Applications / tor-browser-build


Commits:
ce346cd9 by Pier Angelo Vendrame at 2023-02-15T18:19:09+00:00
Bug 40764: Embed repo URL and git revision in Firefox

They will be visible and clickable in about:buildconfig.

- - - - -


2 changed files:

- projects/firefox/config
- projects/firefox/mozconfig


Changes:

=====================================
projects/firefox/config
=====================================
@@ -19,6 +19,8 @@ var:
   branding_directory: 'browser/branding/alpha'
   copyright_year: '[% exec("git show -s --format=%ci").remove("-.*") %]'
   nightly_updates_osname: '[% c("var/osname") %]'
+  gitlab_project: https://gitlab.torproject.org/tpo/applications/tor-browser
+  git_commit: '[% exec("git rev-parse HEAD") %]'
   deps:
     - build-essential
     - unzip


=====================================
projects/firefox/mozconfig
=====================================
@@ -75,3 +75,6 @@ ac_add_options --with-relative-profile=[% c('var/ProjectName') %]/Data/Browser
 mk_add_options MOZ_APP_DISPLAYNAME="[% c('var/Project_Name') %]"
 mk_add_options MOZ_PARALLEL_BUILD=[% c("num_procs") %]
 
+export MOZ_INCLUDE_SOURCE_INFO=1
+export MOZ_SOURCE_REPO="[% c('var/gitlab_project') %]"
+export MOZ_SOURCE_CHANGESET=[% c("var/git_commit") %]



View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/ce346cd991a78bf79b1bfcb01bac25e94dc701cf

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/ce346cd991a78bf79b1bfcb01bac25e94dc701cf
You're receiving this email because of your account on gitlab.torproject.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-commits/attachments/20230215/a31d9a31/attachment-0001.htm>


More information about the tor-commits mailing list