Show More
@@ -1,107 +1,115 | |||||
1 | #if no-extraextensions |
|
1 | #if no-extraextensions | |
2 | $ hg debugextensions |
|
2 | $ hg debugextensions | |
3 | #endif |
|
3 | #endif | |
4 |
|
4 | |||
5 | $ debugpath=`pwd`/extwithoutinfos.py |
|
5 | $ debugpath=`pwd`/extwithoutinfos.py | |
6 |
|
6 | |||
7 | $ cat > extwithoutinfos.py <<EOF |
|
7 | $ cat > extwithoutinfos.py <<EOF | |
8 | > EOF |
|
8 | > EOF | |
9 | $ cat > extwithinfos.py <<EOF |
|
9 | $ cat > extwithinfos.py <<EOF | |
10 | > testedwith = b'3.0 3.1 3.2.1' |
|
10 | > testedwith = b'3.0 3.1 3.2.1' | |
11 | > buglink = b'https://example.org/bts' |
|
11 | > buglink = b'https://example.org/bts' | |
12 | > EOF |
|
12 | > EOF | |
13 |
|
13 | |||
14 | $ cat >> $HGRCPATH <<EOF |
|
14 | $ cat >> $HGRCPATH <<EOF | |
15 | > [extensions] |
|
15 | > [extensions] | |
16 | > histedit= |
|
16 | > histedit= | |
17 | > patchbomb= |
|
17 | > patchbomb= | |
18 | > rebase= |
|
18 | > rebase= | |
19 | > mq= |
|
19 | > mq= | |
20 | > ext1 = $debugpath |
|
20 | > ext1 = $debugpath | |
21 | > ext2 = `pwd`/extwithinfos.py |
|
21 | > ext2 = `pwd`/extwithinfos.py | |
22 | > EOF |
|
22 | > EOF | |
23 |
|
23 | |||
24 | $ for extension in $HGTESTEXTRAEXTENSIONS; do |
|
24 | $ for extension in $HGTESTEXTRAEXTENSIONS; do | |
25 | > echo "$extension=!" >> $HGRCPATH |
|
25 | > echo "$extension=!" >> $HGRCPATH | |
26 | > done |
|
26 | > done | |
27 |
|
27 | |||
28 | $ hg debugextensions |
|
28 | $ hg debugextensions | |
29 | ext1 (untested!) |
|
29 | ext1 (untested!) | |
30 | ext2 (3.2.1!) |
|
30 | ext2 (3.2.1!) | |
31 | histedit |
|
31 | histedit | |
32 | mq |
|
32 | mq | |
33 | patchbomb |
|
33 | patchbomb | |
34 | rebase |
|
34 | rebase | |
35 |
|
35 | |||
36 | $ hg debugextensions -v |
|
36 | $ hg debugextensions -v | |
37 | ext1 |
|
37 | ext1 | |
38 | location: */extwithoutinfos.py* (glob) |
|
38 | location: */extwithoutinfos.py* (glob) | |
39 | bundled: no |
|
39 | bundled: no | |
40 | ext2 |
|
40 | ext2 | |
41 | location: */extwithinfos.py* (glob) |
|
41 | location: */extwithinfos.py* (glob) | |
42 | bundled: no |
|
42 | bundled: no | |
43 | tested with: 3.0 3.1 3.2.1 |
|
43 | tested with: 3.0 3.1 3.2.1 | |
44 | bug reporting: https://example.org/bts |
|
44 | bug reporting: https://example.org/bts | |
45 | histedit |
|
45 | histedit | |
46 | location: */hgext/histedit.py* (glob) |
|
46 | location: */hgext/histedit.py* (glob) (no-pyoxidizer-in-memory !) | |
|
47 | location: */release/app/hg* (glob) (pyoxidizer-in-memory !) | |||
47 | bundled: yes |
|
48 | bundled: yes | |
48 | mq |
|
49 | mq | |
49 | location: */hgext/mq.py* (glob) |
|
50 | location: */hgext/mq.py* (glob) (no-pyoxidizer-in-memory !) | |
|
51 | location: */release/app/hg* (glob) (pyoxidizer-in-memory !) | |||
50 | bundled: yes |
|
52 | bundled: yes | |
51 | patchbomb |
|
53 | patchbomb | |
52 | location: */hgext/patchbomb.py* (glob) |
|
54 | location: */hgext/patchbomb.py* (glob) (no-pyoxidizer-in-memory !) | |
|
55 | location: */release/app/hg* (glob) (pyoxidizer-in-memory !) | |||
53 | bundled: yes |
|
56 | bundled: yes | |
54 | rebase |
|
57 | rebase | |
55 | location: */hgext/rebase.py* (glob) |
|
58 | location: */hgext/rebase.py* (glob) (no-pyoxidizer-in-memory !) | |
|
59 | location: */release/app/hg* (glob) (pyoxidizer-in-memory !) | |||
56 | bundled: yes |
|
60 | bundled: yes | |
57 |
|
61 | |||
58 | $ hg debugextensions -Tjson | sed 's|\\\\|/|g' |
|
62 | $ hg debugextensions -Tjson | sed 's|\\\\|/|g' | |
59 | [ |
|
63 | [ | |
60 | { |
|
64 | { | |
61 | "buglink": "", |
|
65 | "buglink": "", | |
62 | "bundled": false, |
|
66 | "bundled": false, | |
63 | "name": "ext1", |
|
67 | "name": "ext1", | |
64 | "source": "*/extwithoutinfos.py*", (glob) |
|
68 | "source": "*/extwithoutinfos.py*", (glob) | |
65 | "testedwith": [] |
|
69 | "testedwith": [] | |
66 | }, |
|
70 | }, | |
67 | { |
|
71 | { | |
68 | "buglink": "https://example.org/bts", |
|
72 | "buglink": "https://example.org/bts", | |
69 | "bundled": false, |
|
73 | "bundled": false, | |
70 | "name": "ext2", |
|
74 | "name": "ext2", | |
71 | "source": "*/extwithinfos.py*", (glob) |
|
75 | "source": "*/extwithinfos.py*", (glob) | |
72 | "testedwith": ["3.0", "3.1", "3.2.1"] |
|
76 | "testedwith": ["3.0", "3.1", "3.2.1"] | |
73 | }, |
|
77 | }, | |
74 | { |
|
78 | { | |
75 | "buglink": "", |
|
79 | "buglink": "", | |
76 | "bundled": true, |
|
80 | "bundled": true, | |
77 | "name": "histedit", |
|
81 | "name": "histedit", | |
78 | "source": "*/hgext/histedit.py*", (glob) |
|
82 | "source": "*/hgext/histedit.py*", (glob) (no-pyoxidizer-in-memory !) | |
|
83 | "source": */release/app/hg* (glob) (pyoxidizer-in-memory !) | |||
79 | "testedwith": [] |
|
84 | "testedwith": [] | |
80 | }, |
|
85 | }, | |
81 | { |
|
86 | { | |
82 | "buglink": "", |
|
87 | "buglink": "", | |
83 | "bundled": true, |
|
88 | "bundled": true, | |
84 | "name": "mq", |
|
89 | "name": "mq", | |
85 | "source": "*/hgext/mq.py*", (glob) |
|
90 | "source": "*/hgext/mq.py*", (glob) (no-pyoxidizer-in-memory !) | |
|
91 | "source": */release/app/hg* (glob) (pyoxidizer-in-memory !) | |||
86 | "testedwith": [] |
|
92 | "testedwith": [] | |
87 | }, |
|
93 | }, | |
88 | { |
|
94 | { | |
89 | "buglink": "", |
|
95 | "buglink": "", | |
90 | "bundled": true, |
|
96 | "bundled": true, | |
91 | "name": "patchbomb", |
|
97 | "name": "patchbomb", | |
92 | "source": "*/hgext/patchbomb.py*", (glob) |
|
98 | "source": "*/hgext/patchbomb.py*", (glob) (no-pyoxidizer-in-memory !) | |
|
99 | "source": */release/app/hg* (glob) (pyoxidizer-in-memory !) | |||
93 | "testedwith": [] |
|
100 | "testedwith": [] | |
94 | }, |
|
101 | }, | |
95 | { |
|
102 | { | |
96 | "buglink": "", |
|
103 | "buglink": "", | |
97 | "bundled": true, |
|
104 | "bundled": true, | |
98 | "name": "rebase", |
|
105 | "name": "rebase", | |
99 | "source": "*/hgext/rebase.py*", (glob) |
|
106 | "source": "*/hgext/rebase.py*", (glob) (no-pyoxidizer-in-memory !) | |
|
107 | "source": */release/app/hg* (glob) (pyoxidizer-in-memory !) | |||
100 | "testedwith": [] |
|
108 | "testedwith": [] | |
101 | } |
|
109 | } | |
102 | ] |
|
110 | ] | |
103 |
|
111 | |||
104 | $ hg debugextensions -T '{ifcontains("3.1", testedwith, "{name}\n")}' |
|
112 | $ hg debugextensions -T '{ifcontains("3.1", testedwith, "{name}\n")}' | |
105 | ext2 |
|
113 | ext2 | |
106 | $ hg debugextensions \ |
|
114 | $ hg debugextensions \ | |
107 | > -T '{ifcontains("3.2", testedwith, "no substring match: {name}\n")}' |
|
115 | > -T '{ifcontains("3.2", testedwith, "no substring match: {name}\n")}' |
@@ -1,274 +1,279 | |||||
1 | hg debuginstall |
|
1 | hg debuginstall | |
2 | $ hg debuginstall |
|
2 | $ hg debuginstall | |
3 | checking encoding (ascii)... |
|
3 | checking encoding (ascii)... | |
4 | checking Python executable (*) (glob) |
|
4 | checking Python executable (*) (glob) | |
5 | checking Python implementation (*) (glob) |
|
5 | checking Python implementation (*) (glob) | |
6 | checking Python version (3.*) (glob) (py3 !) |
|
6 | checking Python version (3.*) (glob) (py3 !) | |
7 | checking Python lib (.*[Ll]ib.*)... (re) (no-pyoxidizer !) |
|
7 | checking Python lib (.*[Ll]ib.*)... (re) (no-pyoxidizer !) | |
8 | checking Python lib (.*pyoxidizer.*)... (re) (pyoxidizer !) |
|
8 | checking Python lib (.*pyoxidizer.*)... (re) (pyoxidizer !) | |
9 | checking Python security support (*) (glob) |
|
9 | checking Python security support (*) (glob) | |
10 | TLS 1.2 not supported by Python install; network connections lack modern security (?) |
|
10 | TLS 1.2 not supported by Python install; network connections lack modern security (?) | |
11 | SNI not supported by Python install; may have connectivity issues with some servers (?) |
|
11 | SNI not supported by Python install; may have connectivity issues with some servers (?) | |
12 | checking Rust extensions \((installed|missing)\) (re) |
|
12 | checking Rust extensions \((installed|missing)\) (re) | |
13 | checking Mercurial version (*) (glob) |
|
13 | checking Mercurial version (*) (glob) | |
14 | checking Mercurial custom build (*) (glob) |
|
14 | checking Mercurial custom build (*) (glob) | |
15 | checking module policy (*) (glob) |
|
15 | checking module policy (*) (glob) | |
16 | checking installed modules (*mercurial)... (glob) |
|
16 | checking installed modules (*mercurial)... (glob) (no-pyoxidizer-in-memory !) | |
|
17 | checking installed modules (*/release/app/hg*)... (glob) (pyoxidizer-in-memory !) | |||
17 | checking registered compression engines (*zlib*) (glob) |
|
18 | checking registered compression engines (*zlib*) (glob) | |
18 | checking available compression engines (*zlib*) (glob) |
|
19 | checking available compression engines (*zlib*) (glob) | |
19 | checking available compression engines for wire protocol (*zlib*) (glob) |
|
20 | checking available compression engines for wire protocol (*zlib*) (glob) | |
20 | checking "re2" regexp engine \((available|missing)\) (re) |
|
21 | checking "re2" regexp engine \((available|missing)\) (re) | |
21 | checking templates (*mercurial?templates)... (glob) (no-pyoxidizer !) |
|
22 | checking templates (*mercurial?templates)... (glob) (no-pyoxidizer !) | |
22 | checking templates (*app?templates)... (glob) (pyoxidizer !) |
|
23 | checking templates (*app?templates)... (glob) (pyoxidizer !) | |
23 | checking default template (*mercurial?templates?map-cmdline.default) (glob) (no-pyoxidizer !) |
|
24 | checking default template (*mercurial?templates?map-cmdline.default) (glob) (no-pyoxidizer !) | |
24 | checking default template (*app?templates?map-cmdline.default) (glob) (pyoxidizer !) |
|
25 | checking default template (*app?templates?map-cmdline.default) (glob) (pyoxidizer !) | |
25 | checking commit editor... (*) (glob) |
|
26 | checking commit editor... (*) (glob) | |
26 | checking username (test) |
|
27 | checking username (test) | |
27 | no problems detected |
|
28 | no problems detected | |
28 |
|
29 | |||
29 | hg debuginstall JSON |
|
30 | hg debuginstall JSON | |
30 | $ hg debuginstall -Tjson | sed 's|\\\\|\\|g' |
|
31 | $ hg debuginstall -Tjson | sed 's|\\\\|\\|g' | |
31 | [ |
|
32 | [ | |
32 | { |
|
33 | { | |
33 | "compengines": ["bz2", "bz2truncated", "none", "zlib"*], (glob) |
|
34 | "compengines": ["bz2", "bz2truncated", "none", "zlib"*], (glob) | |
34 | "compenginesavail": ["bz2", "bz2truncated", "none", "zlib"*], (glob) |
|
35 | "compenginesavail": ["bz2", "bz2truncated", "none", "zlib"*], (glob) | |
35 | "compenginesserver": [*"zlib"*], (glob) |
|
36 | "compenginesserver": [*"zlib"*], (glob) | |
36 | "defaulttemplate": "*mercurial?templates?map-cmdline.default", (glob) (no-pyoxidizer !) |
|
37 | "defaulttemplate": "*mercurial?templates?map-cmdline.default", (glob) (no-pyoxidizer !) | |
37 | "defaulttemplate": "*app?templates?map-cmdline.default", (glob) (pyoxidizer !) |
|
38 | "defaulttemplate": "*app?templates?map-cmdline.default", (glob) (pyoxidizer !) | |
38 | "defaulttemplateerror": null, |
|
39 | "defaulttemplateerror": null, | |
39 | "defaulttemplatenotfound": "default", |
|
40 | "defaulttemplatenotfound": "default", | |
40 | "editor": "*", (glob) |
|
41 | "editor": "*", (glob) | |
41 | "editornotfound": false, |
|
42 | "editornotfound": false, | |
42 | "encoding": "ascii", |
|
43 | "encoding": "ascii", | |
43 | "encodingerror": null, |
|
44 | "encodingerror": null, | |
44 | "extensionserror": null, (no-pure !) |
|
45 | "extensionserror": null, (no-pure !) | |
45 | "hgmodulepolicy": "*", (glob) |
|
46 | "hgmodulepolicy": "*", (glob) | |
46 | "hgmodules": "*mercurial", (glob) |
|
47 | "hgmodules": "*mercurial", (glob) (no-pyoxidizer-in-memory !) | |
|
48 | "hgmodules": "*/release/app/hg*", (glob) (pyoxidizer-in-memory !) | |||
47 | "hgver": "*", (glob) |
|
49 | "hgver": "*", (glob) | |
48 | "hgverextra": "*", (glob) |
|
50 | "hgverextra": "*", (glob) | |
49 | "problems": 0, |
|
51 | "problems": 0, | |
50 | "pythonexe": "*", (glob) |
|
52 | "pythonexe": "*", (glob) | |
51 | "pythonimplementation": "*", (glob) |
|
53 | "pythonimplementation": "*", (glob) | |
52 | "pythonlib": "*", (glob) |
|
54 | "pythonlib": "*", (glob) | |
53 | "pythonsecurity": [*], (glob) |
|
55 | "pythonsecurity": [*], (glob) | |
54 | "pythonver": "*.*.*", (glob) |
|
56 | "pythonver": "*.*.*", (glob) | |
55 | "re2": (true|false), (re) |
|
57 | "re2": (true|false), (re) | |
56 | "templatedirs": "*mercurial?templates", (glob) (no-pyoxidizer !) |
|
58 | "templatedirs": "*mercurial?templates", (glob) (no-pyoxidizer !) | |
57 | "templatedirs": "*app?templates", (glob) (pyoxidizer !) |
|
59 | "templatedirs": "*app?templates", (glob) (pyoxidizer !) | |
58 | "username": "test", |
|
60 | "username": "test", | |
59 | "usernameerror": null, |
|
61 | "usernameerror": null, | |
60 | "vinotfound": false |
|
62 | "vinotfound": false | |
61 | } |
|
63 | } | |
62 | ] |
|
64 | ] | |
63 |
|
65 | |||
64 | hg debuginstall with no username |
|
66 | hg debuginstall with no username | |
65 | $ HGUSER= hg debuginstall |
|
67 | $ HGUSER= hg debuginstall | |
66 | checking encoding (ascii)... |
|
68 | checking encoding (ascii)... | |
67 | checking Python executable (*) (glob) |
|
69 | checking Python executable (*) (glob) | |
68 | checking Python implementation (*) (glob) |
|
70 | checking Python implementation (*) (glob) | |
69 | checking Python version (3.*) (glob) (py3 !) |
|
71 | checking Python version (3.*) (glob) (py3 !) | |
70 | checking Python lib (.*[Ll]ib.*)... (re) (no-pyoxidizer !) |
|
72 | checking Python lib (.*[Ll]ib.*)... (re) (no-pyoxidizer !) | |
71 | checking Python lib (.*pyoxidizer.*)... (re) (pyoxidizer !) |
|
73 | checking Python lib (.*pyoxidizer.*)... (re) (pyoxidizer !) | |
72 | checking Python security support (*) (glob) |
|
74 | checking Python security support (*) (glob) | |
73 | TLS 1.2 not supported by Python install; network connections lack modern security (?) |
|
75 | TLS 1.2 not supported by Python install; network connections lack modern security (?) | |
74 | SNI not supported by Python install; may have connectivity issues with some servers (?) |
|
76 | SNI not supported by Python install; may have connectivity issues with some servers (?) | |
75 | checking Rust extensions \((installed|missing)\) (re) |
|
77 | checking Rust extensions \((installed|missing)\) (re) | |
76 | checking Mercurial version (*) (glob) |
|
78 | checking Mercurial version (*) (glob) | |
77 | checking Mercurial custom build (*) (glob) |
|
79 | checking Mercurial custom build (*) (glob) | |
78 | checking module policy (*) (glob) |
|
80 | checking module policy (*) (glob) | |
79 | checking installed modules (*mercurial)... (glob) |
|
81 | checking installed modules (*mercurial)... (glob) (no-pyoxidizer-in-memory !) | |
|
82 | checking installed modules (*/release/app/hg*)... (glob) (pyoxidizer-in-memory !) | |||
80 | checking registered compression engines (*zlib*) (glob) |
|
83 | checking registered compression engines (*zlib*) (glob) | |
81 | checking available compression engines (*zlib*) (glob) |
|
84 | checking available compression engines (*zlib*) (glob) | |
82 | checking available compression engines for wire protocol (*zlib*) (glob) |
|
85 | checking available compression engines for wire protocol (*zlib*) (glob) | |
83 | checking "re2" regexp engine \((available|missing)\) (re) |
|
86 | checking "re2" regexp engine \((available|missing)\) (re) | |
84 | checking templates (*mercurial?templates)... (glob) (no-pyoxidizer !) |
|
87 | checking templates (*mercurial?templates)... (glob) (no-pyoxidizer !) | |
85 | checking templates (*app?templates)... (glob) (pyoxidizer !) |
|
88 | checking templates (*app?templates)... (glob) (pyoxidizer !) | |
86 | checking default template (*mercurial?templates?map-cmdline.default) (glob) (no-pyoxidizer !) |
|
89 | checking default template (*mercurial?templates?map-cmdline.default) (glob) (no-pyoxidizer !) | |
87 | checking default template (*app?templates?map-cmdline.default) (glob) (pyoxidizer !) |
|
90 | checking default template (*app?templates?map-cmdline.default) (glob) (pyoxidizer !) | |
88 | checking commit editor... (*) (glob) |
|
91 | checking commit editor... (*) (glob) | |
89 | checking username... |
|
92 | checking username... | |
90 | no username supplied |
|
93 | no username supplied | |
91 | (specify a username in your configuration file) |
|
94 | (specify a username in your configuration file) | |
92 | 1 problems detected, please check your install! |
|
95 | 1 problems detected, please check your install! | |
93 | [1] |
|
96 | [1] | |
94 |
|
97 | |||
95 | hg debuginstall with invalid encoding |
|
98 | hg debuginstall with invalid encoding | |
96 | $ HGENCODING=invalidenc hg debuginstall | grep encoding |
|
99 | $ HGENCODING=invalidenc hg debuginstall | grep encoding | |
97 | checking encoding (invalidenc)... |
|
100 | checking encoding (invalidenc)... | |
98 | unknown encoding: invalidenc |
|
101 | unknown encoding: invalidenc | |
99 |
|
102 | |||
100 | exception message in JSON |
|
103 | exception message in JSON | |
101 |
|
104 | |||
102 | $ HGENCODING=invalidenc HGUSER= hg debuginstall -Tjson | grep error |
|
105 | $ HGENCODING=invalidenc HGUSER= hg debuginstall -Tjson | grep error | |
103 | "defaulttemplateerror": null, |
|
106 | "defaulttemplateerror": null, | |
104 | "encodingerror": "unknown encoding: invalidenc", |
|
107 | "encodingerror": "unknown encoding: invalidenc", | |
105 | "extensionserror": null, (no-pure !) |
|
108 | "extensionserror": null, (no-pure !) | |
106 | "usernameerror": "no username supplied", |
|
109 | "usernameerror": "no username supplied", | |
107 |
|
110 | |||
108 | path variables are expanded (~ is the same as $TESTTMP) |
|
111 | path variables are expanded (~ is the same as $TESTTMP) | |
109 | $ mkdir tools |
|
112 | $ mkdir tools | |
110 | $ touch tools/testeditor.exe |
|
113 | $ touch tools/testeditor.exe | |
111 | #if execbit |
|
114 | #if execbit | |
112 | $ chmod 755 tools/testeditor.exe |
|
115 | $ chmod 755 tools/testeditor.exe | |
113 | #endif |
|
116 | #endif | |
114 | $ HGEDITOR="~/tools/testeditor.exe" hg debuginstall |
|
117 | $ HGEDITOR="~/tools/testeditor.exe" hg debuginstall | |
115 | checking encoding (ascii)... |
|
118 | checking encoding (ascii)... | |
116 | checking Python executable (*) (glob) |
|
119 | checking Python executable (*) (glob) | |
117 | checking Python implementation (*) (glob) |
|
120 | checking Python implementation (*) (glob) | |
118 | checking Python version (3.*) (glob) (py3 !) |
|
121 | checking Python version (3.*) (glob) (py3 !) | |
119 | checking Python lib (.*[Ll]ib.*)... (re) (no-pyoxidizer !) |
|
122 | checking Python lib (.*[Ll]ib.*)... (re) (no-pyoxidizer !) | |
120 | checking Python lib (.*pyoxidizer.*)... (re) (pyoxidizer !) |
|
123 | checking Python lib (.*pyoxidizer.*)... (re) (pyoxidizer !) | |
121 | checking Python security support (*) (glob) |
|
124 | checking Python security support (*) (glob) | |
122 | TLS 1.2 not supported by Python install; network connections lack modern security (?) |
|
125 | TLS 1.2 not supported by Python install; network connections lack modern security (?) | |
123 | SNI not supported by Python install; may have connectivity issues with some servers (?) |
|
126 | SNI not supported by Python install; may have connectivity issues with some servers (?) | |
124 | checking Rust extensions \((installed|missing)\) (re) |
|
127 | checking Rust extensions \((installed|missing)\) (re) | |
125 | checking Mercurial version (*) (glob) |
|
128 | checking Mercurial version (*) (glob) | |
126 | checking Mercurial custom build (*) (glob) |
|
129 | checking Mercurial custom build (*) (glob) | |
127 | checking module policy (*) (glob) |
|
130 | checking module policy (*) (glob) | |
128 | checking installed modules (*mercurial)... (glob) |
|
131 | checking installed modules (*mercurial)... (glob) (no-pyoxidizer-in-memory !) | |
|
132 | checking installed modules (*/release/app/hg*)... (glob) (pyoxidizer-in-memory !) | |||
129 | checking registered compression engines (*zlib*) (glob) |
|
133 | checking registered compression engines (*zlib*) (glob) | |
130 | checking available compression engines (*zlib*) (glob) |
|
134 | checking available compression engines (*zlib*) (glob) | |
131 | checking available compression engines for wire protocol (*zlib*) (glob) |
|
135 | checking available compression engines for wire protocol (*zlib*) (glob) | |
132 | checking "re2" regexp engine \((available|missing)\) (re) |
|
136 | checking "re2" regexp engine \((available|missing)\) (re) | |
133 | checking templates (*mercurial?templates)... (glob) (no-pyoxidizer !) |
|
137 | checking templates (*mercurial?templates)... (glob) (no-pyoxidizer !) | |
134 | checking templates (*app?templates)... (glob) (pyoxidizer !) |
|
138 | checking templates (*app?templates)... (glob) (pyoxidizer !) | |
135 | checking default template (*mercurial?templates?map-cmdline.default) (glob) (no-pyoxidizer !) |
|
139 | checking default template (*mercurial?templates?map-cmdline.default) (glob) (no-pyoxidizer !) | |
136 | checking default template (*app?templates?map-cmdline.default) (glob) (pyoxidizer !) |
|
140 | checking default template (*app?templates?map-cmdline.default) (glob) (pyoxidizer !) | |
137 | checking commit editor... ($TESTTMP/tools/testeditor.exe) |
|
141 | checking commit editor... ($TESTTMP/tools/testeditor.exe) | |
138 | checking username (test) |
|
142 | checking username (test) | |
139 | no problems detected |
|
143 | no problems detected | |
140 |
|
144 | |||
141 | print out the binary post-shlexsplit in the error message when commit editor is |
|
145 | print out the binary post-shlexsplit in the error message when commit editor is | |
142 | not found (this is intentionally using backslashes to mimic a windows usecase). |
|
146 | not found (this is intentionally using backslashes to mimic a windows usecase). | |
143 | $ HGEDITOR="c:\foo\bar\baz.exe -y -z" hg debuginstall |
|
147 | $ HGEDITOR="c:\foo\bar\baz.exe -y -z" hg debuginstall | |
144 | checking encoding (ascii)... |
|
148 | checking encoding (ascii)... | |
145 | checking Python executable (*) (glob) |
|
149 | checking Python executable (*) (glob) | |
146 | checking Python implementation (*) (glob) |
|
150 | checking Python implementation (*) (glob) | |
147 | checking Python version (3.*) (glob) (py3 !) |
|
151 | checking Python version (3.*) (glob) (py3 !) | |
148 | checking Python lib (.*[Ll]ib.*)... (re) (no-pyoxidizer !) |
|
152 | checking Python lib (.*[Ll]ib.*)... (re) (no-pyoxidizer !) | |
149 | checking Python lib (.*pyoxidizer.*)... (re) (pyoxidizer !) |
|
153 | checking Python lib (.*pyoxidizer.*)... (re) (pyoxidizer !) | |
150 | checking Python security support (*) (glob) |
|
154 | checking Python security support (*) (glob) | |
151 | TLS 1.2 not supported by Python install; network connections lack modern security (?) |
|
155 | TLS 1.2 not supported by Python install; network connections lack modern security (?) | |
152 | SNI not supported by Python install; may have connectivity issues with some servers (?) |
|
156 | SNI not supported by Python install; may have connectivity issues with some servers (?) | |
153 | checking Rust extensions \((installed|missing)\) (re) |
|
157 | checking Rust extensions \((installed|missing)\) (re) | |
154 | checking Mercurial version (*) (glob) |
|
158 | checking Mercurial version (*) (glob) | |
155 | checking Mercurial custom build (*) (glob) |
|
159 | checking Mercurial custom build (*) (glob) | |
156 | checking module policy (*) (glob) |
|
160 | checking module policy (*) (glob) | |
157 | checking installed modules (*mercurial)... (glob) |
|
161 | checking installed modules (*mercurial)... (glob) (no-pyoxidizer-in-memory !) | |
|
162 | checking installed modules (*/release/app/hg*)... (glob) (pyoxidizer-in-memory !) | |||
158 | checking registered compression engines (*zlib*) (glob) |
|
163 | checking registered compression engines (*zlib*) (glob) | |
159 | checking available compression engines (*zlib*) (glob) |
|
164 | checking available compression engines (*zlib*) (glob) | |
160 | checking available compression engines for wire protocol (*zlib*) (glob) |
|
165 | checking available compression engines for wire protocol (*zlib*) (glob) | |
161 | checking "re2" regexp engine \((available|missing)\) (re) |
|
166 | checking "re2" regexp engine \((available|missing)\) (re) | |
162 | checking templates (*mercurial?templates)... (glob) (no-pyoxidizer !) |
|
167 | checking templates (*mercurial?templates)... (glob) (no-pyoxidizer !) | |
163 | checking templates (*app?templates)... (glob) (pyoxidizer !) |
|
168 | checking templates (*app?templates)... (glob) (pyoxidizer !) | |
164 | checking default template (*mercurial?templates?map-cmdline.default) (glob) (no-pyoxidizer !) |
|
169 | checking default template (*mercurial?templates?map-cmdline.default) (glob) (no-pyoxidizer !) | |
165 | checking default template (*app?templates?map-cmdline.default) (glob) (pyoxidizer !) |
|
170 | checking default template (*app?templates?map-cmdline.default) (glob) (pyoxidizer !) | |
166 | checking commit editor... (c:\foo\bar\baz.exe) (windows !) |
|
171 | checking commit editor... (c:\foo\bar\baz.exe) (windows !) | |
167 | Can't find editor 'c:\foo\bar\baz.exe' in PATH (windows !) |
|
172 | Can't find editor 'c:\foo\bar\baz.exe' in PATH (windows !) | |
168 | checking commit editor... (c:foobarbaz.exe) (no-windows !) |
|
173 | checking commit editor... (c:foobarbaz.exe) (no-windows !) | |
169 | Can't find editor 'c:foobarbaz.exe' in PATH (no-windows !) |
|
174 | Can't find editor 'c:foobarbaz.exe' in PATH (no-windows !) | |
170 | (specify a commit editor in your configuration file) |
|
175 | (specify a commit editor in your configuration file) | |
171 | checking username (test) |
|
176 | checking username (test) | |
172 | 1 problems detected, please check your install! |
|
177 | 1 problems detected, please check your install! | |
173 | [1] |
|
178 | [1] | |
174 |
|
179 | |||
175 | debuginstall extension support |
|
180 | debuginstall extension support | |
176 | $ hg debuginstall --config extensions.fsmonitor= --config fsmonitor.watchman_exe=false | grep atchman |
|
181 | $ hg debuginstall --config extensions.fsmonitor= --config fsmonitor.watchman_exe=false | grep atchman | |
177 | fsmonitor checking for watchman binary... (false) |
|
182 | fsmonitor checking for watchman binary... (false) | |
178 | watchman binary missing or broken: warning: Watchman unavailable: watchman exited with code 1 |
|
183 | watchman binary missing or broken: warning: Watchman unavailable: watchman exited with code 1 | |
179 | Verify the json works too: |
|
184 | Verify the json works too: | |
180 | $ hg debuginstall --config extensions.fsmonitor= --config fsmonitor.watchman_exe=false -Tjson | grep atchman |
|
185 | $ hg debuginstall --config extensions.fsmonitor= --config fsmonitor.watchman_exe=false -Tjson | grep atchman | |
181 | "fsmonitor-watchman": "false", |
|
186 | "fsmonitor-watchman": "false", | |
182 | "fsmonitor-watchman-error": "warning: Watchman unavailable: watchman exited with code 1", |
|
187 | "fsmonitor-watchman-error": "warning: Watchman unavailable: watchman exited with code 1", | |
183 |
|
188 | |||
184 | Verify that Mercurial is installable with pip. Note that this MUST be |
|
189 | Verify that Mercurial is installable with pip. Note that this MUST be | |
185 | the last test in this file, because we do some nasty things to the |
|
190 | the last test in this file, because we do some nasty things to the | |
186 | shell environment in order to make the virtualenv work reliably. |
|
191 | shell environment in order to make the virtualenv work reliably. | |
187 |
|
192 | |||
188 | On Python 3, we use the venv module, which is part of the standard library. |
|
193 | On Python 3, we use the venv module, which is part of the standard library. | |
189 | But some Linux distros strip out this module's functionality involving pip, |
|
194 | But some Linux distros strip out this module's functionality involving pip, | |
190 | so we have to look for the ensurepip module, which these distros strip out |
|
195 | so we have to look for the ensurepip module, which these distros strip out | |
191 | completely. |
|
196 | completely. | |
192 | On Python 2, we use the 3rd party virtualenv module, if available. |
|
197 | On Python 2, we use the 3rd party virtualenv module, if available. | |
193 |
|
198 | |||
194 | $ cd $TESTTMP |
|
199 | $ cd $TESTTMP | |
195 | $ unset PYTHONPATH |
|
200 | $ unset PYTHONPATH | |
196 |
|
201 | |||
197 | #if py3 ensurepip network-io no-pyoxidizer |
|
202 | #if py3 ensurepip network-io no-pyoxidizer | |
198 | $ "$PYTHON" -m venv installenv >> pip.log |
|
203 | $ "$PYTHON" -m venv installenv >> pip.log | |
199 |
|
204 | |||
200 | Hack: Debian does something a bit different in ensurepip.bootstrap. This makes |
|
205 | Hack: Debian does something a bit different in ensurepip.bootstrap. This makes | |
201 | it so that pip thinks the 'wheel' wheel is installed so it can build wheels; |
|
206 | it so that pip thinks the 'wheel' wheel is installed so it can build wheels; | |
202 | when it goes to try, however, it shells out to run `python3 -u <setup.py>`, |
|
207 | when it goes to try, however, it shells out to run `python3 -u <setup.py>`, | |
203 | that *doesn't* get the 'wheel' wheel, and it fails with an invalid command |
|
208 | that *doesn't* get the 'wheel' wheel, and it fails with an invalid command | |
204 | 'bdist_wheel'. To fix this, we just delete the wheel from where Debian put it in |
|
209 | 'bdist_wheel'. To fix this, we just delete the wheel from where Debian put it in | |
205 | our virtual env. Then pip doesn't think it's installed and doesn't try to build. |
|
210 | our virtual env. Then pip doesn't think it's installed and doesn't try to build. | |
206 | $ rm installenv/share/python-wheels/wheel-*.whl >/dev/null 2>&1 || true |
|
211 | $ rm installenv/share/python-wheels/wheel-*.whl >/dev/null 2>&1 || true | |
207 |
|
212 | |||
208 | Note: we use this weird path to run pip and hg to avoid platform differences, |
|
213 | Note: we use this weird path to run pip and hg to avoid platform differences, | |
209 | since it's bin on most platforms but Scripts on Windows. |
|
214 | since it's bin on most platforms but Scripts on Windows. | |
210 | $ ./installenv/*/pip install $TESTDIR/.. >> pip.log |
|
215 | $ ./installenv/*/pip install $TESTDIR/.. >> pip.log | |
211 | Failed building wheel for mercurial (?) |
|
216 | Failed building wheel for mercurial (?) | |
212 | WARNING: You are using pip version *; however, version * is available. (glob) (?) |
|
217 | WARNING: You are using pip version *; however, version * is available. (glob) (?) | |
213 | You should consider upgrading via the '$TESTTMP/installenv/bin/python* -m pip install --upgrade pip' command. (glob) (?) |
|
218 | You should consider upgrading via the '$TESTTMP/installenv/bin/python* -m pip install --upgrade pip' command. (glob) (?) | |
214 | $ ./installenv/*/hg debuginstall || cat pip.log |
|
219 | $ ./installenv/*/hg debuginstall || cat pip.log | |
215 | checking encoding (ascii)... |
|
220 | checking encoding (ascii)... | |
216 | checking Python executable (*) (glob) |
|
221 | checking Python executable (*) (glob) | |
217 | checking Python implementation (*) (glob) |
|
222 | checking Python implementation (*) (glob) | |
218 | checking Python version (3.*) (glob) |
|
223 | checking Python version (3.*) (glob) | |
219 | checking Python lib (*)... (glob) |
|
224 | checking Python lib (*)... (glob) | |
220 | checking Python security support (*) (glob) |
|
225 | checking Python security support (*) (glob) | |
221 | checking Rust extensions \((installed|missing)\) (re) |
|
226 | checking Rust extensions \((installed|missing)\) (re) | |
222 | checking Mercurial version (*) (glob) |
|
227 | checking Mercurial version (*) (glob) | |
223 | checking Mercurial custom build (*) (glob) |
|
228 | checking Mercurial custom build (*) (glob) | |
224 | checking module policy (*) (glob) |
|
229 | checking module policy (*) (glob) | |
225 | checking installed modules (*/mercurial)... (glob) |
|
230 | checking installed modules (*/mercurial)... (glob) | |
226 | checking registered compression engines (*) (glob) |
|
231 | checking registered compression engines (*) (glob) | |
227 | checking available compression engines (*) (glob) |
|
232 | checking available compression engines (*) (glob) | |
228 | checking available compression engines for wire protocol (*) (glob) |
|
233 | checking available compression engines for wire protocol (*) (glob) | |
229 | checking "re2" regexp engine \((available|missing)\) (re) |
|
234 | checking "re2" regexp engine \((available|missing)\) (re) | |
230 | checking templates ($TESTTMP/installenv/*/site-packages/mercurial/templates)... (glob) |
|
235 | checking templates ($TESTTMP/installenv/*/site-packages/mercurial/templates)... (glob) | |
231 | checking default template ($TESTTMP/installenv/*/site-packages/mercurial/templates/map-cmdline.default) (glob) |
|
236 | checking default template ($TESTTMP/installenv/*/site-packages/mercurial/templates/map-cmdline.default) (glob) | |
232 | checking commit editor... (*) (glob) |
|
237 | checking commit editor... (*) (glob) | |
233 | checking username (test) |
|
238 | checking username (test) | |
234 | no problems detected |
|
239 | no problems detected | |
235 | #endif |
|
240 | #endif | |
236 |
|
241 | |||
237 | #if virtualenv no-py3 network-io no-pyoxidizer |
|
242 | #if virtualenv no-py3 network-io no-pyoxidizer | |
238 |
|
243 | |||
239 | Note: --no-site-packages is the default for all versions enabled by hghave |
|
244 | Note: --no-site-packages is the default for all versions enabled by hghave | |
240 |
|
245 | |||
241 | $ "$PYTHON" -m virtualenv installenv >> pip.log |
|
246 | $ "$PYTHON" -m virtualenv installenv >> pip.log | |
242 | DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. (?) |
|
247 | DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. (?) | |
243 | DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support (?) |
|
248 | DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support (?) | |
244 |
|
249 | |||
245 | Note: we use this weird path to run pip and hg to avoid platform differences, |
|
250 | Note: we use this weird path to run pip and hg to avoid platform differences, | |
246 | since it's bin on most platforms but Scripts on Windows. |
|
251 | since it's bin on most platforms but Scripts on Windows. | |
247 | $ ./installenv/*/pip install $TESTDIR/.. >> pip.log |
|
252 | $ ./installenv/*/pip install $TESTDIR/.. >> pip.log | |
248 | DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. (?) |
|
253 | DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. (?) | |
249 | DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support (?) |
|
254 | DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support (?) | |
250 | DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. (?) |
|
255 | DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. (?) | |
251 | $ ./installenv/*/hg debuginstall || cat pip.log |
|
256 | $ ./installenv/*/hg debuginstall || cat pip.log | |
252 | checking encoding (ascii)... |
|
257 | checking encoding (ascii)... | |
253 | checking Python executable (*) (glob) |
|
258 | checking Python executable (*) (glob) | |
254 | checking Python implementation (*) (glob) |
|
259 | checking Python implementation (*) (glob) | |
255 | checking Python version (2.*) (glob) |
|
260 | checking Python version (2.*) (glob) | |
256 | checking Python lib (*)... (glob) |
|
261 | checking Python lib (*)... (glob) | |
257 | checking Python security support (*) (glob) |
|
262 | checking Python security support (*) (glob) | |
258 | TLS 1.2 not supported by Python install; network connections lack modern security (?) |
|
263 | TLS 1.2 not supported by Python install; network connections lack modern security (?) | |
259 | SNI not supported by Python install; may have connectivity issues with some servers (?) |
|
264 | SNI not supported by Python install; may have connectivity issues with some servers (?) | |
260 | checking Rust extensions \((installed|missing)\) (re) |
|
265 | checking Rust extensions \((installed|missing)\) (re) | |
261 | checking Mercurial version (*) (glob) |
|
266 | checking Mercurial version (*) (glob) | |
262 | checking Mercurial custom build (*) (glob) |
|
267 | checking Mercurial custom build (*) (glob) | |
263 | checking module policy (*) (glob) |
|
268 | checking module policy (*) (glob) | |
264 | checking installed modules (*/mercurial)... (glob) |
|
269 | checking installed modules (*/mercurial)... (glob) | |
265 | checking registered compression engines (*) (glob) |
|
270 | checking registered compression engines (*) (glob) | |
266 | checking available compression engines (*) (glob) |
|
271 | checking available compression engines (*) (glob) | |
267 | checking available compression engines for wire protocol (*) (glob) |
|
272 | checking available compression engines for wire protocol (*) (glob) | |
268 | checking "re2" regexp engine \((available|missing)\) (re) |
|
273 | checking "re2" regexp engine \((available|missing)\) (re) | |
269 | checking templates ($TESTTMP/installenv/*/site-packages/mercurial/templates)... (glob) |
|
274 | checking templates ($TESTTMP/installenv/*/site-packages/mercurial/templates)... (glob) | |
270 | checking default template ($TESTTMP/installenv/*/site-packages/mercurial/templates/map-cmdline.default) (glob) |
|
275 | checking default template ($TESTTMP/installenv/*/site-packages/mercurial/templates/map-cmdline.default) (glob) | |
271 | checking commit editor... (*) (glob) |
|
276 | checking commit editor... (*) (glob) | |
272 | checking username (test) |
|
277 | checking username (test) | |
273 | no problems detected |
|
278 | no problems detected | |
274 | #endif |
|
279 | #endif |
General Comments 0
You need to be logged in to leave comments.
Login now