Commit Graph
20 Commits
Author SHA1 Message Date
Axel Hecht 0469908574 bug 1399523, now that we run l10n-merge in-build, drop it from mozharness, r=Callek
MozReview-Commit-ID: 3qF0i39CYjh
2017-09-15 16:25:18 +02:00
Gregory Szorc ba20b138dd Bug 1392700 - Initialize repository using latest requirements; r=aki
We use `hg init` to create the directory. Because this is what
typically occurs.

We also remove the disabling of "dotencode" in the hgrc. This was added
in https://hg.mozilla.org/build/mozharness/rev/b1dbc0f56ff8 (bug 857853)
for reasons that are unclear to me. We should never disable dotencode
because it may make some repositories not clonable on Windows
filesystems.

Disabling dotencode will also interfere with the latest version of
robustcheckout, which requires its presence.

MozReview-Commit-ID: 35qBsgwp0uW
2017-08-22 10:34:29 -07:00
Gregory Szorc 39de8b062e Bug 1330837 - Remove functionality to apply and push; r=aki
Tests based on this code fail in Mercurial 3.8+ due to `hg rebase`
changing its behavior for selecting default revisions. I was going
to update the code to work with 3.8+. However, I could find no actual
consumers of this method! Annotate says this was added back in
mozharness 0.4. However, I can't find a reason for it being added.
Nor can I find any consumers of this method in the mozharness repo
outside the tests. This smells like dead code to me.

MozReview-Commit-ID: 3Q6MTjQJT1p
2017-04-11 14:23:00 -07:00
Richard Barnes cad6bee40e Bug 1346359 - Script to submit transparency certs to CT r=rail
MozReview-Commit-ID: F8uPgoJTFr
2017-03-10 17:48:37 -05:00
Richard Barnes b5d6c70fb8 Bug 1342974 - Add code to generate a Merkle tree summary of a release r=arroway,catlee
MozReview-Commit-ID: COav6N88SOt
2017-02-27 12:56:42 -05:00
Armen Zambrano Gasparnian 2e751c0d84 Bug 1272083 - Download and unpacking should be performed in process. r=gps
Instead of downloading a file first and then unpacking it, we would like to
fetch it into memory and then unpacking directly from there.

This saves writing the file first to disk, thus, saving on IO.

MozReview-Commit-ID: JdNGnxIYEvy
2016-08-25 11:04:16 -04:00
Henrik Skupin 24e1ae311d Bug 1258539 - [mozharness] Use ZipFile and TarFile classes for unpacking archives. r=jlund
Get rid of external unpack tools (unzip and tar) and use the Python internal classes instead.
This patch only changes this behavior for the base script class but not for custom code in other
test scripts and modules, which would make it too complex. A follow-up bug will be filed instead.

MozReview-Commit-ID: L0eoITlqTdC
2016-01-18 19:50:26 +01:00
Wes Kocher 7d6f256252 Backed out 2 changesets (bug 1258539) for winxp pgo talos g2 permafail a=backout CLOSED TREE
Backed out changeset 4939f5d5c16c (bug 1258539)
Backed out changeset 384ff6b4b109 (bug 1258539)
2016-08-05 14:04:56 -07:00
Henrik Skupin 1d4ff74061 Bug 1258539 - [mozharness] Use ZipFile and TarFile classes for unpacking archives. r=jlund
Get rid of external unpack tools (unzip and tar) and use the Python internal classes instead.
This patch only changes this behavior for the base script class but not for custom code in other
test scripts and modules, which would make it too complex. A follow-up bug will be filed instead.

MozReview-Commit-ID: L0eoITlqTdC
2016-01-18 19:50:26 +01:00
Wes Kocher 97df481b6b Backed out 2 changesets (bug 1258539) for mozharness failures a=backout
Backed out changeset 8322ffecd9d9 (bug 1258539)
Backed out changeset cc2996a53b71 (bug 1258539)
2016-07-29 15:56:39 -07:00
Henrik Skupin 8c5ba89bac Bug 1258539 - [mozharness] Use ZipFile and TarFile classes for unpacking archives. r=jlund
Get rid of external unpack tools (unzip and tar) and use the Python internal classes instead.
This patch only changes this behavior for the base script class but not for custom code in other
test scripts and modules, which would make it too complex. A follow-up bug will be filed instead.

MozReview-Commit-ID: L0eoITlqTdC
2016-01-18 19:50:26 +01:00
Gregory Szorc 13c58011d4 Bug 1270317 - Use robustcheckout extension for checking out Mercurial repos; r=jlund
Functionality for doing an optimal clone/pull+share+purge+update is now
implemented in the robustcheckout extension so it can be implemented in one
place and used by all the various tools needing to perform a "robust"
checkout using optimal practices.

This commit switches the MercurialVCS to use it.

Functionality for interfacing with shared repos and associated tests have
been removed because this is all implemented and tested in robustcheckout.

Various other tests have also been removed because they are redundant with
tests in the robustcheckout extension.

MozReview-Commit-ID: FGvmSHKM5e0
2016-05-16 16:56:14 -07:00
Carsten "Tomcat" Book 94097ff6f5 Backed out changeset 86fccb7da8ac (bug 1270317) 2016-05-09 12:34:04 +02:00
Gregory Szorc 18e49ed267 Bug 1270317 - Use modern, optimal cloning in MercurialVCS.ensure_repo_and_revision(); r=jlund
The code for ensure_repo_and_revision() has been completely overhauled.

We now require shared repos using auto pooled storage via the share
extension. This ensures that only a single copy of a logical
repository's history is stored on disk. e.g. if you clone
mozilla-central, inbound, and try, they'll all automatically share the
same storage.

The new code ensures the destination repo is using modern conventions
and will delete the destination repo if it isn't. So once this gets
deployed to production, machines will slowly start using optimal
storage. This should make VCS operations significantly faster.

Another optimization that is now in here is we check for presence of the
wanted revision before doing `hg pull`. This saves some communication
with the server if the revision is already present locally.

This change effectively requires a modern version of Mercurial to be
installed to run ensure_repo_and_revision(). Since Mercurial <3.7.3 has
security vulnerabilities, we shouldn't be running <3.7.3 in automation.
So I think this will be OK. If not, it will certainly be easy to
identify which machines aren't updated!

MozReview-Commit-ID: 62jtAsDj7rU
2016-05-06 10:57:28 -07:00
Rail Aliiev a0f982ac48 Bug 1210539 - Add "updates" builder to release promotion task r=jlund DONTBUILD a=release 2016-02-19 12:53:03 -08:00
Carsten "Tomcat" Book 5ba717bd52 Backed out changeset 200da85932e9 (bug 1230862) for valgrind perma failures 2016-02-10 11:04:50 +01:00
Julien Pagès 8c54a35567 Bug 1230862 - Remove mozhttpd. r=wlach 2016-02-09 03:26:43 +01:00
Aki Sasaki 5cdf392dba bug 1244781 - mozharness has 3 post_run listeners now. r=jlund 2016-02-02 14:11:05 -05:00
Mike Shal a59403ab74 Bug 1192068 - Use long hg revision for sourcestamp in mozharness; r=gps,jlund 2015-08-06 15:39:38 -04:00
Jordan Lund 5ffcb10955 Bug 1154796 - make a copy of mozharness and put it in gecko tree, based on 4d855a6835ed, r=mshal 2015-07-03 09:04:58 -07:00