3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

144 commits

Author SHA1 Message Date
Felix Buehler 09e3b7a570 treewide: remove all updateWalker/downloadURLRegexp 2022-01-26 21:46:08 +01:00
Luke Granger-Brown d69abfe510 mercurial: move tests to passthru.tests
They're very expensive to run, especially if you don't have that many
cores, and can sometimes be a bit flaky (it looks like their CI doesn't
run things under the same constraints as we tend to).

Move them to a separate derivation, and make them test the actual
installed output rather than the local copy.
2022-01-08 16:06:09 +00:00
pacien 416883461d mercurialFull: skip an unstable experimental test 2022-01-08 13:48:11 +01:00
pacien a7f3bd4bf7 mercurial: add pacien as maintainer 2022-01-07 16:42:56 +01:00
pacien a8ef60565a mercurial: add CA cert to test env for libgit
This seems to be required for the tests to pass on Hydra.

Otherwise, the test suit fails with errors like:

```
feature pygit2 failed:  OpenSSL error: failed to load certificates:
error:00000000:lib(0):func(0):reason(0)
```
2022-01-06 22:24:30 +01:00
pacien e929791228 mercurial: extend tests timeout for Hydra
This extends the timeout for the tests to 30 minutes, which are
otherwise failing at 10 minutes on Hydra.
2022-01-06 22:24:27 +01:00
pacien 8e39c0f750 mercurial: extend tests timeout
Which otherwise often time out on our busy CI workers.
2022-01-06 08:51:35 +01:00
pacien 3d869b89b0 mercurial: disable check phase on Darwin
The tests seem to be unstable in the Darwin env.
2022-01-06 08:50:32 +01:00
pacien c8ab07a8e1 mercurial: 6.0 -> 6.0.1 2022-01-05 23:17:06 +01:00
pacien ff98d0e50e mercurial: enable check phase 2021-11-23 15:06:32 +01:00
pacien f50b6821dc mercurial: patch shebangs in all scripts 2021-11-23 15:06:32 +01:00
pacien 7a5371683c mercurial: 5.9.3 -> 6.0 2021-11-23 15:06:32 +01:00
pacien c1ef30de63 mercurial: 5.9.1 -> 5.9.3 2021-11-02 12:24:31 +01:00
Fabián Heredia Montiel f824d27f66 mercurial_4: remove 2021-10-18 12:56:44 -05:00
Luke Granger-Brown c418c4f8c6 mercurial: 5.8 -> 5.9.1 2021-09-03 14:34:18 +00:00
Felix Buehler 82cb33a0ae treewide: remove meta.version 2021-07-18 00:07:38 +02:00
Artturin d8a87e89e7 switch mercurial_4 and tortoisehg to pname 2021-07-07 23:46:31 +03:00
Luke Granger-Brown cdcb439bad mercurial: add withExtensions
This allows an easy way of getting a copy of the "hg" executable which
provides a specific set of extensions.
2021-07-03 18:11:52 +00:00
Luke Granger-Brown dcf3dec494 mercurialFull: add highlight in-tree extension support
This also moves the individual flag flips from the mercurialFull
definition in all-packages into the mercurial module itself.
2021-07-03 10:56:29 +00:00
Luke Granger-Brown 67444f8a39 mercurial: fix patch links again
The conclusion is that Phabricator does not, in fact, generate stable
patch links. In any case, these have landed, so we can just use the
patches from Mercurial's hgweb instance instead, which should be more
stable.
2021-07-03 10:41:13 +00:00
Luke Granger-Brown c83a5bce66 mercurialFull: add support for experimental in-tree git extension
The git extension is bundled in-tree, similarly to the hg gui, but also
requires pygit2. Enable it for mercurialFull, but don't bother with it
for the stock mercurial install.

Alas, it doesn't (yet?) work on nixpkgs because it doesn't support
octopus merges:

mercurial.error.ProgrammingError: git support can't handle octopus
merges, found a commit with 16 parents :(

I'm sure that commit is loved equally by all 16 parents.
2021-07-03 10:36:01 +00:00
Artturin f845709e9e mercurial: use working patch links 2021-06-21 15:59:09 +03:00
Ben Siraphob c5a669d3f7 treewide: remove unzip where not needed 2021-05-16 19:29:28 -07:00
Luke Granger-Brown 35e57e81ae tortoisehg: fix build
tortoisehg intentionally wants to back-date the Mercurial build,
and some of the features we've added to the Mercurial build won't work
correctly under hg 5.6.
2021-05-04 10:24:00 +00:00
Luke Granger-Brown a715d90fb0 mercurial: add patches for Rust status implementation
These fix https://bz.mercurial-scm.org/show_bug.cgi?id=6514, which
breaks haskellPackages.retrie when run with the Rust status
implementation.
2021-05-04 09:54:16 +00:00
Luke Granger-Brown 53ddf53f2c mercurial: add re2
Mercurial can make use of the RE2 regex engine where available to speed
up evaluation of regexes.
2021-05-03 18:59:14 +00:00
Luke Granger-Brown eb3d65bf19 mercurial: also compile translations
Without gettext as a dependency, we won't compile the .po files.
2021-05-03 18:54:22 +00:00
Luke Granger-Brown 38e505f20a mercurial: add lukegb as maintainer, update metadata 2021-05-03 18:54:09 +00:00
Luke Granger-Brown 0716841463 mercurial: build Rust extensions
The Rust extensions provide speedups for core Mercurial functionality.
We should start building with them.

They're only CI-tested on Linux, so they're disabled for non-Linux
platforms for now by default.
2021-05-03 18:05:36 +00:00
Luke Granger-Brown ae894f63f5 mercurial: drop unnecessary unzip dep 2021-05-03 17:35:26 +00:00
Luke Granger-Brown 63f3e26505 mercurial: 5.6 -> 5.8 2021-05-03 17:32:36 +00:00
Ben Siraphob 127733211e
treewide: unzip buildInputs to nativeBuildInputs (#112302) 2021-02-20 16:01:53 -05:00
Ben Siraphob e03c068af5 treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
Ben Siraphob badf51221d treewide: stdenv.lib -> lib 2021-01-16 17:58:11 +07:00
Jonathan Ringer 81d1cea1c0 mercurial: 5.4.2 -> 5.6 2020-11-19 11:29:46 -08:00
Jonathan Ringer 635485b85c mercurial: remove dulwich dependency 2020-11-19 11:25:52 -08:00
R. RyanTM 3a3d5ff8a0 mercurial: 5.4.1 -> 5.4.2 2020-07-05 14:40:56 +00:00
Luke Granger-Brown 5a8de77166 mercurial: 5.3.1 -> 5.4.1 2020-06-06 13:06:07 +01:00
R. RyanTM ea18da4bc4 mercurial: 5.3 -> 5.3.1 2020-05-01 09:12:46 +02:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
R. RyanTM 523ea83cec mercurial: 5.2.2 -> 5.3 2020-02-13 00:01:08 +00:00
R. RyanTM 8dbe996860 mercurial: 5.2.1 -> 5.2.2 2020-01-22 03:12:23 +00:00
Jason Felice de8700d42d mercurial_4: init at 4.9.1 2020-01-06 19:23:24 +01:00
Jörg Thalheim 88a473fc12
mercurial: 4.9.1 -> 5.2.1
also switch to python3
2019-12-21 07:32:58 +00:00
Danylo Hlynskyi a2ea2a1945
tortoisehg: untie from mercurial and update to 5.0.2 (#66173)
* tortoisehg: untie from mercurial

When I've added `tortoisehg` package, it turned out that mercurial updates
sometimes broke thg. I've added a comment to `mercurial/default.nix` to
update torotisehg version during mercurial updates, but this worked the other way round:
mercurial stopped to be updated regularly (https://github.com/NixOS/nixpkgs/pull/60993).

And sadly it didn't solve the issue - https://github.com/NixOS/nixpkgs/issues/61759.

Here I'm trying to untie them. Tortoisehg will build a custom mercurial package
if versions don't match. This makes updating tortoisehg more complicated,
but it is still better than current situation.

* expose custom mercurial from thg package
2019-08-18 18:28:03 +03:00
R. RyanTM 9527de1cdd mercurialFull: 4.9 -> 4.9.1 (#58723)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/mercurial-full/versions
2019-04-08 21:04:33 +02:00
R. RyanTM 8292fa14ee mercurialFull: 4.8.2 -> 4.9 (#55247)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/mercurial-full/versions
2019-02-24 01:35:01 +01:00
Will Dietz b28752f255 mercurial: 4.8.1 -> 4.8.2
https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.8.2_.282018-01-07.29
2019-01-08 21:33:44 -06:00
Tor Hedin Brønner 8ed71e836a
Merge pull request #51712 from dtzWill/fix/mercurial-zsh-completions
mercurial: install zsh completions
2018-12-21 23:23:39 +01:00
Will Dietz 3ce8b3cb3b mercurial: fix bash completion, correct comment 2018-12-21 16:04:15 -06:00