.hgtags
author Rob Lemley <rob@thunderbird.net>
Mon, 26 Aug 2019 21:20:54 -0400
changeset 35928 0bd1a3c3bee51d0643e1f3e9511876d27df182c1
parent 35915 b2916881d7f4d6f4bac325beb4ad5c83112e67ba
child 35952 1e81763de36089d698093b336aa74efb2c60feea
permissions -rw-r--r--
Bug 1507754 - Check source repositories and changesets during configure. r=darktrojan a=jorgk PACKAGERS: if you update application.ini, platform.ini, or source-repo.h in some way during your process, you might need to change something. Make sure that the source repositories for both Mozilla and Comm can be found during mach configure and abort if they cannot. For Taskcluster builds, there are various environment variables that can be relied upon. Local builds present a challenge. Chances are those variables are not set. I came up with a set of checks and keep trying until something works. For comm-* code: - Look for MOZ_SOURCE_REPO and MOZ_SOURCE_CHANGESET environment vars. This is counter-intuitive, but it's the current status-quo for Taskcluster builds. Those variables are set to the comm values. - Next, try use the Mercurial source checkout itself. Uses the same technique as Mozilla code does in build/variables.py. - Last, try to use a file named "sourcestamp.txt". That file is part of our source tar files that get built for releases. - Finally, if those MOZ_SOURCE environment variables were not set, set them. This is needed because old-configure will look for them and set buildconfig variables with them when it runs later during the configure process. - Additionally, set MOZ_COMM_SOURCE_REPO and MOZ_COMM_SOURCE_CHANGESET in buildconfig. Code in the comm- tree should prefer those values over the generic MOZ_SOURCE_* values that the Mozilla code will look at. For the Gecko/Mozilla source repository information, it's almost the same process. - Check for GECKO_SOURCE_REPO and GECKO_SOURCE_REV environment variables first. Taskcluster sets these based on comm/.gecko_rev.yml. - Next, try comm/.gecko_rev.yml itself. PyYAML is not required as the file is pretty simple to parse. Release builds are pinned to a specific revision hash, so we can use that. Builds from comm-central pin to "default" though, so next try running "hg id" in $topsrcdir to get the revision hash. - If for some reason there's no .gecko_rev.yml and it's not a Mercurial checkout, try the sourcestamp.txt file. - Set MOZ_GECKO_SOURCE_REPO and MOZ_GECKO_SOURCE_CHANGESET in buildconfig. mach configure should fail if any one of those values cannot be determined. The error message will suggest setting the environment variables; ideally that is not necessary.

474f19a1b5fccec46bbeeeacd6f3cd368f3543a4 SEAMONKEY_2_0a1_BUILD1
474f19a1b5fccec46bbeeeacd6f3cd368f3543a4 SEAMONKEY_2_0a1_RELEASE
d7ce1e64f1cc52003e3f3f326bd8f5260ce03733 SEAMONKEY_2_0a1_BUILD1
d7ce1e64f1cc52003e3f3f326bd8f5260ce03733 SEAMONKEY_2_0a1_RELEASE
7fe8dc6fc848247b3df68fb7c6cbcd7c4665d497 THUNDERBIRD_3_0a3_RELEASE
7fe8dc6fc848247b3df68fb7c6cbcd7c4665d497 THUNDERBIRD_3_0a3_BUILD1
841a3d525cd73daac28e3d49b016bb46e6fcccbd THUNDERBIRD_3_0a3_RELEASE
841a3d525cd73daac28e3d49b016bb46e6fcccbd THUNDERBIRD_3_0a3_BUILD1
0000000000000000000000000000000000000000 THUNDERBIRD_3_0a3_RELEASE
0000000000000000000000000000000000000000 THUNDERBIRD_3_0a3_BUILD1
ad433d192a3d3a542fccab61ed8dbbe997f3430e COMM_1_9_1_BASE
6ba6d8da7a2b3e310faa2dd7b32feb4e90fe180c COMM_1_9_2_BASE
c4fd9ad6793968e82f445b0199e59f41f6e21c19 COMM_2_0_BASE
c4fd9ad6793968e82f445b0199e59f41f6e21c19 COMM_2_0_BASE
ab7ccc99f3bd4685bd5335eb10f1c5ab91e6aeb4 COMM_2_0_BASE
22fe617c4cbd2a7ba084dc0de59e6d64f7534128 COMM_MIRAMAR_BASE
f314c7f8580ffec4f3eca80bef21ede7650a13fb COMM_AURORA_BASE_20110524
2f5b60440770e4c8a01a7d691441a29b9a6152de AURORA_BASE_20110705
e1ae2ddb930cee9faf344fd65ae8f5b9ac4b10de AURORA_BASE_20110816
8ccfe1db44231962af053373c5da4b2909b5b9cd AURORA_BASE_20110927
9a930641d132dbeccb9e54478da709ed34d12629 AURORA_BASE_20111108
b37a9a98d2ba0b1fa1db769e4a27bc4c9d7b42b7 AURORA_BASE_20111220
cce7de6de28fb23566bf8ec5476bebaab97f5544 AURORA_BASE_20120131
3eea95c4774822f87037945ef591ce68a229667e AURORA_BASE_20120313
8e416a0c96c266e4b646499e1abef6f74c834f06 AURORA_BASE_20120424
b0b2a0e4aec2007206f8fe48a05782d0302c865b AURORA_BASE_20120604
f0e7508fd586861d18f0de9d43eb62da31503cbe AURORA_BASE_20120716
b108627342053689bc0d42a12c2e3bc43a67ac01 AURORA_BASE_20120827
97b223a0ed8e4c7548fe8cf3626dd4eddc008042 AURORA_BASE_20121008
ca6c314f4fef6a6ee928b72a8f8deb5e2791484e AURORA_BASE_20121119
76552c3680b542957ac8e757a07e1b264d2458c5 AURORA_BASE_20130107
04714c3e9acd47cd0259b1b30d4513733cb35bcd AURORA_BASE_20130219
e5d09a5e78c0e8d50ae15827661584f2766897f4 AURORA_BASE_20130401
cc6213af0ce8a32093186c2548dc8db20d5a6139 AURORA_BASE_20130513
7d827149ab4312c69557f6ee1312439d3196ea0e AURORA_BASE_20130624
b7359393d3fe7e063a6b83676a9f672c00a13d00 AURORA_BASE_20130805
2505c90f239cf8a35148fe60743e701859d065ff AURORA_BASE_20130917
c14732eb94f438bbc8e18ce0a11bf3e4374c9253 AURORA_BASE_20131028
d6d4d6ab34dd218a5d39e098d73222cffb1ec3b3 AURORA_BASE_20131209
352692ad4e24ae2415f50b494c1878e6be4011e0 AURORA_BASE_20140203
465fb05fd061409ce41f63f8ccd33da6e3326850 AURORA_BASE_20140318
6d6550f3e91a5cd10c55837017e3a56dd3945835 AURORA_BASE_20140429
a56084a6704764480ed4c5aeec77dd4c0f8d585e AURORA_BASE_20140609
df9ba9a1282068d222ff0ca253453dcc3ac2e904 AURORA_BASE_20140721
9c4a5f203c8b39aef59f3783504e6d18815475cc AURORA_BASE_20140902
4f0fdac06b0ec26d985660f6c7aa9ea98c3463ce AURORA_BASE_20141013
256a13ac5eb5e9493e18b577e17740ba667936b3 AURORA_BASE_20141128
284ea3b98840bbf9f4bbdf8a0fd90d37390befb1 AURORA_BASE_20150112
376a64a1f6759b4237705b0e4db0d0fd021bf139 AURORA_BASE_20150223
0dbb2dcc87e5acfb6f0c3fd8fce7419b59ee7123 AURORA_BASE_20150330
71d99f18e89b6cb4d14bc37d3d8c70e4e1f8169e AURORA_BASE_20150511
99d02f70de9aff76228a13857aaf4020863c6974 AURORA_BASE_20150629
18dc81215fb9622fed2d5e4e485eaa839f13fd02 AURORA_BASE_20150810
f7fb395792feb1b2328207a041e92387047b8476 AURORA_BASE_20150921
9925b16e6c6c2bbca8eccd189e6962b6bdb6c214 AURORA_BASE_20151029
554a35da7bc29d012a24415daa3b31a8fc39960f AURORA_BASE_20151214
8c7b3f55ca1df5e26795a6f516234b4d877ef218 AURORA_BASE_20160125
dde0501d2d9bedad7cdc014f37cc39287804def5 AURORA_BASE_20160307
41937bde4337d66e1955f8f483f71c5256110d8c AURORA_BASE_20160425
a7e40a6802fe951017bcc75689a8cb44d95031b7 AURORA_BASE_20160606
84ac6ea23ac927e6592eccafbdd8a73a5dd93611 AURORA_BASE_20160801
3bd63a7ea55ea0395b8e85d7519c58d386c0840b AURORA_BASE_20160919
9245026f182fb3f20c12698d7197b3938c88b6f8 AURORA_BASE_20161114
543431e0ab6980233762d197542fee80b031ee01 AURORA_BASE_20170123
1b4780c4e439b8ef32b82c3a353d90d7dae45c97 AURORA_BASE_20170307
58ce0f54ddab67ebe71e36035bb4a102d68fc084 BETA_BASE_20170612
188dde86cd03c5b1c46b194f1f89df44e32e7ee7 BETA_BASE_20170802
3f11521a5e16384779e0850811e18c29322b2b3d BETA_BASE_20170922
00e527d74ef26e8f974f74b4a97676e5e0eb32b5 BETA_BASE_20171113
1f4e1c314fac5e97f4efa989e2731104d5e144a7 BETA_BASE_20180122
c5590822b9cde4b5993edc556899c8b2275a3d1d BETA_BASE_20180312
e6f416a808ebe94ed625e25410b0f83abe3283d4 BETA_BASE_20180507
1f00110035a07df9aa9246ab56941c5edb03b93a BETA_BASE_20180625
88de6bc9d1116a00ffe6907e8f84ee09fdd93ae5 BETA_BASE_20180904
5a8c03dfb2ac10a53f0c16ff87e39c8787ef0cb4 BETA_BASE_20181022
0b7555f983a525273e921e3b1553f366f58ddb84 BETA_BASE_20181210
79eb92913221762b56402ea04150ed32fedbb008 BETA_BASE_20190128
063e8f6bc499ea617db4c411a4ad054b9849a67c BETA_BASE_20190318
1fb0d1a549f3dd9562f6404be18ca14573eac527 BETA_BASE_20190520
f87460c79c5759ad1384841c3dd0f8933d242414 THUNDERBIRD_68_0b1_BUILD4
f87460c79c5759ad1384841c3dd0f8933d242414 THUNDERBIRD_68_0b1_RELEASE
2f3bec79082f99a13888a96092f4198243483ecc THUNDERBIRD_68_0b2_BUILD2
2f3bec79082f99a13888a96092f4198243483ecc THUNDERBIRD_68_0b2_RELEASE
96d38d6dddca91c3d78b412c7361ff2bea1be17c THUNDERBIRD_68_0b3_BUILD3
96d38d6dddca91c3d78b412c7361ff2bea1be17c THUNDERBIRD_68_0b3_RELEASE
8e975ea6b3bee88e21fe94f4339ec2e527d6566b THUNDERBIRD_68_0b4_BUILD1
8e975ea6b3bee88e21fe94f4339ec2e527d6566b THUNDERBIRD_68_0b4_RELEASE
17c9293b8ffff02c980f072877523d3b4858c96e RELEASE_BASE_20190708
b48e36a58d60405b4b2d75cc9fd2d3c9c21a8ed1 THUNDERBIRD_68_0_BUILD6
b48e36a58d60405b4b2d75cc9fd2d3c9c21a8ed1 THUNDERBIRD_68_0_RELEASE
9317dad8cb7fd80a47cb3b40253c73127f776535 THUNDERBIRD_68_1_0_BUILD3
9317dad8cb7fd80a47cb3b40253c73127f776535 THUNDERBIRD_68_1_0_RELEASE
41c0a3653f95cf6158a2b49ab7cb19327c50e9e8 THUNDERBIRD_68_1_1_BUILD1
41c0a3653f95cf6158a2b49ab7cb19327c50e9e8 THUNDERBIRD_68_1_1_RELEASE
2e34f364630f1f65724bb6e70616b95a041c47ea THUNDERBIRD_68_1_2_BUILD1
2e34f364630f1f65724bb6e70616b95a041c47ea THUNDERBIRD_68_1_2_RELEASE