Граф коммитов

8 Коммитов

Автор SHA1 Сообщение Дата
Rob Lemley c805b7581d Bug 1625033 - Write out built_from.json in the decision task. r=dandarnell
Differential Revision: https://phabricator.services.mozilla.com/D196462

--HG--
extra : moz-landing-system : lando
2023-12-15 23:21:28 +00:00
Rob Lemley 3105a1a7dc Bug 1799140 - Fix isort lint warnings. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D164906

--HG--
extra : moz-landing-system : lando
2022-12-19 21:10:08 +00:00
Rob Lemley 94b17a5d1c Bug 1672798 - Run black formatting on all python files. r=mkmelin
Bringing some sanity to our Python scripts.

Differential Revision: https://phabricator.services.mozilla.com/D95400

--HG--
extra : rebase_source : 932e2174a7322a3e2dcde9bf002093e3f895a73f
extra : histedit_source : 6bb0f8818d40de39811c621d6bf12026af999bf6
2020-10-30 13:41:24 -04:00
Rob Lemley cd060ea195 Bug 1625033 - Create build artifact to generate "Built from" links in Treeherder. r=darktrojan CLOSED TREE
Treeherder is getting an update later this week that affects the "Built from" links that
appear in the Job Details panel. Rather than parsing log files, a build artifact will be
used to display these links.
The artifact is a JSON file in the suggested format.

--HG--
extra : histedit_source : 2baf9841620fdaed198efa23431a04060ab3c1c7
2020-04-28 20:42:30 -04:00
Rob Lemley 4383529935 Bug 1622972 - Fix python-compatibility test errors. r=darktrojan
Fixes for mozlint Python-compatibility test. These files all needed some
future imports.
2020-03-22 12:37:52 +02:00
Rob Lemley 7a16820ae8 Bug 1578806 - Fix platform.ini creation when building on macOS. r=darktrojan
The version of sed on macOS does not support the '-i' (edit in-place) option,
causing builds fail. Replacing use of sed with Python.

Fix an off-by-one bug in source_repos.py.
2019-09-04 23:11:04 -04:00
Rob Lemley 75e5401539 Bug 1507754 - Generate proper sourcestamp.txt for source tar files. r=darktrojan DONTBUILD
Build correct sourcestamp.txt in source code tar files.
This builds upon previous commits in this bug using the same urls and revision
hashes that were calculated in the configure process rather than trying to
figure it out again, incorrectly.

This does run as a separate task in Taskcluster, but "mach configure" is one of
the steps that runs before "make source-package" so we can use
"import buildconfig" for this.
2019-08-28 14:34:50 -04:00
Rob Lemley 2649b77be1 Bug 1507754 - Generate source-repo.h with complete source repository data. r=darktrojan
source-repo.h is the file where Thunderbird gets source repository information.
It gets used in the build process, and it used in the app most notably on
about:buildconfig.

In order to accomodate code in the Mozilla tree which is going to look for
MOZ_SOURCE_REPO and MOZ_SOURCE_CHANGESET and assume they are for the app being
built, continue to #define those and also #define values specific to each
repository. This will keep the Thunderbird code that needs to use source-repo.h
easier to read.

This works because comm/mail/app.mozbuild is "included" from the toplevel
moz.build file and therefore is part of the same context. Just overwrite
GENERATED_FILES['source-repo.h'].script with our new script. The EXPORTS
and GENERATED_FILES pieces carry over and do not need to be part of app.mozbuild.
Note that the path to our script is relative to $topsrcdir not app.mozbuild
because it's included, not addded with DIR.

--HG--
extra : rebase_source : 81f667a2ee3ed4ad6a08ec8de39e754845c20d06
2019-08-26 21:31:11 -04:00