Commit graph

8978 commits

Author SHA1 Message Date
Gyuri Horak
a1a08386bc
Single command return code integration tests fixed for macOS (#3402) 2020-07-29 08:55:48 +02:00
Gyuri Horak
cf9bc3c82e
News entry rst fix (#3402) 2020-07-29 08:26:51 +02:00
Gyuri Horak
9c0ac6e406
News entry for single command exit code fix (#3402) 2020-07-28 22:08:15 +02:00
Gyuri Horak
46143f2b6e
Integration tests for single command return codes #3402 2020-07-28 17:35:16 +02:00
Gyuri Horak
76cd2f543f
Merge branch 'master' into issue_3402 2020-07-28 11:26:53 +02:00
Anthony Scopatz
6d0e6ee1ae
Merge pull request #3524 from bobhy/failback_shell_env
Failback shell env
2020-07-27 21:21:32 -05:00
Anthony Scopatz
674c41782c
Merge pull request #3636 from Achimh3011/pkg_resources_missing_methods
Provide the XonshImportEventLoader with all the functions that pkg_re…
2020-07-27 12:35:43 -05:00
Achim Herwig
d15cd6a184 Make black happy. 2020-07-27 18:46:48 +02:00
Achim Herwig
3f9f08ceca Use frozenset and provide NEWS entry as suggested by scopatz. 2020-07-27 16:54:16 +02:00
Anthony Scopatz
ebc756d6c6
Merge pull request #3614 from con-f-use/master
Expand xonshrc documentation
2020-07-27 09:43:12 -05:00
Anthony Scopatz
f4b317f867
Merge pull request #3575 from paugier/hg-get-branch-topic
get_hg_branch aware of topics
2020-07-27 09:41:53 -05:00
con-f-use
49615e9e49
add warning about JSON hack 2020-07-27 09:37:32 +02:00
Anthony Scopatz
6df0e9639f
Merge pull request #3600 from bobhy/is_3599
fix history gc for json backend
2020-07-26 19:58:52 -05:00
Bob Hyman
7e6e47163f perf tweaks per review 2020-07-21 19:00:22 -04:00
Achim Herwig
342d942227 Adress review comment... 2020-07-12 18:02:25 +02:00
Achim Herwig
9de03038c9 Shortened version that provides correct hasattr semantics. 2020-07-11 12:31:35 +02:00
Achim Herwig
9bd858e6b4 Provide the XonshImportEventLoader with all the functions that pkg_resources would expect.
Fixes #3607

Signed-off-by: Achim Herwig <achim.herwig@wodca.de>
2020-07-11 12:31:35 +02:00
con-f-use
dd3baf5835
fix typo in docs/xonshrc.rst
Co-authored-by: Burak Yigit Kaya <ben@byk.im>
2020-06-30 20:00:31 +02:00
Bob Hyman
de07c3ed37 Don't run test_integrations.py with XONSH_DEBUG=1 2020-06-28 14:21:53 -04:00
Bob Hyman
a4e696ad94 Display history size after first gc pass; (debug only) show progress enumerating history files 2020-06-28 14:08:30 -04:00
Bob Hyman
022972ee92 Wordsmith news to trigger another CI pass. 2020-06-26 20:47:54 -04:00
Bob Hyman
15f3d8852b fix history gc for JSON backend; deal with large accumulations while this was broken 2020-06-26 20:47:54 -04:00
Bob Hyman
dde73ba72c Xonsh failback to /usr/bin/bash in preference to /etc/shells 2020-06-25 19:49:04 -04:00
con-f-use
51671628e3
typo in docs/xonshrc.rst
Co-authored-by: Morten Enemark Lund <melund@gmail.com>
2020-06-26 00:54:38 +02:00
Morten Enemark Lund
3ee01444a9
Merge pull request #3613 from bobhy/is_3608
LS_COLORS add 'mh', 'ca', change 'rs' to 'fi', enable ln=target
2020-06-25 23:34:47 +02:00
Bob Hyman
6492a61171 test 2020-06-24 20:03:56 -04:00
Bob Hyman
0cad1a28fe avoid deep nesting initializing LS_COLORS 2020-06-24 18:01:18 -04:00
Gyuri Horak
bd8b5f548d
#3402 set the exit code for single commands 2020-06-22 16:34:58 +02:00
Bob Hyman
129ce9e44a LS_COLORS add mh, change rs to fi; support ln=target 2020-06-20 17:46:37 -04:00
David Strobach
c0089a4cef
Merge pull request #3561 from bobhy/flake8_in_CI
Run (pure) flake8 in CI; deprecate config for pytest-flake8
2020-06-20 21:00:39 +02:00
Jamie Bliss
867a53086a
Merge pull request #3624 from laloch/xontrib-failok
xontrib: don't stop loading xontribs on error
2020-06-19 19:43:45 -04:00
Bob Hyman
8e4d2bfb0e changes per review 2020-06-19 17:31:37 -04:00
David Strobach
19c9379df7 changelog entry 2020-06-18 15:41:16 +02:00
David Strobach
daeeadfbc3 xontrib: don't stop loading xontribs on error
xontrib load action can load multiple xontribs at once. If, however,
one of the xontribs fails to load, because, for instance, of
a missing dependency, the command exits and the rest of the modules
is not attempted to load at all.
This patch modifies the `load` action behavior to only print
exception on error, but to continue loading remaining xontribs.
2020-06-18 15:41:10 +02:00
Jamie Bliss
ecfea5d965
Merge pull request #3620 from laloch/ci-timeout
CI: increase pytest timeout
2020-06-15 13:39:04 -04:00
Bob Hyman
016afa5281 Merge branch 'is_3608' of https://github.com/bobhy/xonsh into is_3608 2020-06-14 14:36:06 -04:00
Bob Hyman
b65f7b0ac5 Only test easy-to-test cases on Windows. 2020-06-14 13:16:37 -04:00
Bob Hyman
57ed6e553a Prune test cases that won't work on Windows. 2020-06-14 13:08:11 -04:00
Bob Hyman
1e3a571e7b Merge branch 'is_3608' of https://github.com/bobhy/xonsh into is_3608 2020-06-14 01:11:52 -04:00
Bob Hyman
79073df177 blacken yet another file. 2020-06-14 01:10:13 -04:00
Bob Hyman
78117bd251
blacken yet another file. 2020-06-14 01:05:01 -04:00
Bob Hyman
37d6ca11c1 Merge branch 'is_3608' of https://github.com/bobhy/xonsh into is_3608 2020-06-14 00:51:14 -04:00
Bob Hyman
4ba9b45c1c Merge branch 'is_3608' of https://github.com/bobhy/xonsh into is_3608 2020-06-14 00:50:23 -04:00
Bob Hyman
68daee95e0 Merge branch 'is_3608' of https://github.com/bobhy/xonsh into is_3608 2020-06-14 00:43:58 -04:00
Bob Hyman
08a79c97c8 don't try to create pipe on Windows; return 'or', not 'mi' for broken link 2020-06-14 00:43:15 -04:00
Bob Hyman
07ce103732 don't try to create pipe on Windows; return 'or', not 'mi' for broken link 2020-06-14 00:22:30 -04:00
Bob Hyman
68f776def0 refresh PR 2020-06-13 15:56:39 -04:00
Bob Hyman
b8e8e812b9 Merge branch 'master' into is_3608 2020-06-13 15:49:37 -04:00
Bob Hyman
5c233aa94b bump test timeout to something generous 2020-06-13 15:03:55 -04:00
Bob Hyman
da27115aea duplicate #3620 2020-06-13 13:52:03 -04:00