mirror of
https://github.com/facebook/sapling.git
synced 2024-10-12 09:48:05 +03:00
41ccbe9f8d
Summary: BuildInfo symbols are generated for fbcode binaries, and scanned by the internal procprint tool. The procprint tool also scans hg binaries, but cannot extract any build information. The procprint data is used by Push4Push to find out job owners running ancient software. This diff inserts BuildInfo symbols so Push4Push (and we) can use them to figure out people running old versions of hg and send tasks to them. Note rpmbuild strips symbols by default and is hard to customize. For now, I just disable the debuginfo packages to preserve the symbols. If space usage or runtime performance becomes an issue, we can try other workarounds (ex. provide a shim of `%_find_debuginfo_dwz_opts` that skips `hg.rust`, or provide a shim of `%__strip`, etc). By default, the symbols only get added when `setup.py` is run by `rpmbuild`. So `make local` won't rebuild `hg.rust` every time. Reviewed By: singhsrb Differential Revision: D14464056 fbshipit-source-id: ac6f9dedf28cee5fc8d65e144e3d7d1c544d1eda |
||
---|---|---|
.. | ||
hgmain | ||
scm_daemon | ||
scratch | ||
utils |