Noortheen Raja
3b5f0b4a0d
chore: uv to use system python
2024-04-24 09:16:33 +05:30
Noortheen Raja
93900e7239
feat: use uv for installing test deps
...
and use PuPI OICD to publish packages
2024-04-24 09:16:33 +05:30
Gil Forsyth
c508e0de60
Updated CHANGELOG for 0.16.0
2024-04-23 14:34:31 -04:00
Gil Forsyth
91b80bb664
bumped version to 0.16.0
2024-04-23 14:34:31 -04:00
Gil Forsyth
972d59e134
Updated authorship for 0.16.0
2024-04-23 14:34:30 -04:00
Gil Forsyth
91c18ba601
fix(appimage): quote version bounds in appimage prereqs
2024-04-23 14:34:29 -04:00
Andy Kipp
cc143b1ece
Pin ptk for AppImage ( #5356 )
...
* Update pre-requirements.txt
* Update appimage-py312.rst
2024-04-23 10:31:41 +02:00
pre-commit-ci[bot]
4ba970cad4
[pre-commit.ci] pre-commit autoupdate ( #5355 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.3.7 → v0.4.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.3.7...v0.4.1 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-04-23 08:46:52 +05:30
a
79f02e9ea4
update
2024-04-21 17:14:31 +05:30
Andy Kipp
330f150f6a
EnvPath methods (append, remove, add, insert) prepare the path ( #5349 )
...
* EnvPath methods (append, remove, add, insert) prepare the path before add.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* update
* update
* update
* update
* update
---------
Co-authored-by: a <1@1.1>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-04-21 10:03:42 +02:00
a
e30dd960e2
update
2024-04-20 20:33:07 +02:00
Noortheen Raja
a5eb5bfbf2
test: xfail virtualenv plugin
2024-04-20 23:44:26 +05:30
Noortheen Raja
667efceb72
refactor!: remove confusing hook_post_add_argument
...
current usecase can be solved with custom Action
2024-04-20 23:44:26 +05:30
Noortheen Raja
c02262f7b6
chore: ignore more pdm files
2024-04-20 23:44:26 +05:30
Noortheen Raja
a44c20d805
feat: update setting default sub-command for argparser
...
also remove lambda based default help command
2024-04-20 23:44:26 +05:30
Andy Kipp
8ff5079dca
Update environ.py: doc microfix ( #5346 )
...
Update environ.py
2024-04-19 22:39:33 +05:30
Andy Kipp
2419eaa952
Fix jobs.py: list index out of range ( #5340 )
...
* Update jobs.py
* Create fix-jobs-index.rst
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update fix-jobs-index.rst
* Update test_virtualenv_activator.py
* Update test_virtualenv_activator.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update test_virtualenv_activator.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* test: update venv activator test
* chore: update test xonsh
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Noorhteen Raja NJ <jnoortheen@gmail.com>
2024-04-19 10:33:30 +02:00
Gil Forsyth
fde07cda5f
refactor(aliases): source foreign shell funcs without interactive mode ( #5344 )
...
Co-authored-by: Noortheen Raja <jnoortheen@gmail.com>
2024-04-18 19:51:39 +05:30
Noorhteen Raja NJ
97b6e1ba96
docs: link to dev guide and emphasis on solving issues ( #5341 )
2024-04-17 17:34:57 +05:30
Andy Kipp
6c94d4ad6c
Builtin aliases (xontrib, history) switched to threadable mode ( #5321 )
...
* Create xonfig_xontrib_threadable.rst
* xonfig and xontrib threadable
* xonfig and xontrib threadable
* xonfig and xontrib threadable
* Update builtin_aliases_threadable.rst
* Update xonfig.py
---------
Co-authored-by: a <1@1.1>
2024-04-16 13:27:55 -04:00
Noortheen Raja
aa857e8260
refactor: update line length to default setting
...
and ruff-format
2024-04-16 11:23:35 -04:00
Noortheen Raja
b3d58e6ff2
chore: remove unused flake8 config
2024-04-16 11:23:35 -04:00
Noortheen Raja
2a6e5e15f8
docs: update contribution guide
2024-04-16 11:23:35 -04:00
Noortheen Raja
52ead9336d
refactor: replace black with ruff-format
2024-04-16 11:23:35 -04:00
Noortheen Raja
912c7d395c
refactor!: remove deprecated module xonsh.proc
2024-04-16 11:23:35 -04:00
Noortheen Raja
d0509dd63c
chore: ignore testmon data
2024-04-16 11:23:35 -04:00
Andy Kipp
db83a3f353
Bump xonsh.AppImage to python 3.12 ( #5338 )
...
* Update rever.xsh
* Create appimage-py312.rst
* Update appimage-py312.rst
2024-04-16 11:37:20 +02:00
dependabot[bot]
bca24970d9
Bump peaceiris/actions-gh-pages from 3 to 4 ( #5334 )
...
Bumps [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages ) from 3 to 4.
- [Release notes](https://github.com/peaceiris/actions-gh-pages/releases )
- [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md )
- [Commits](https://github.com/peaceiris/actions-gh-pages/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: peaceiris/actions-gh-pages
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-15 11:21:34 +02:00
Peter Ye
a7688f647d
fix: do not attempt to color traceback for error in xonshrc file ( #5331 )
...
do not color traceback unless shell has been loaded
2024-04-11 08:22:08 +05:30
l-no
a028c72deb
fix: Error in completions with absolute paths ( #5127 ) ( #5328 )
...
fix: Error in completions with absolute paths
fixes #5127 , an error in fetching command completions when
UPDATE_COMPLETIONS_ON_KEYPRESS is enabled and the command is specified
by absolute path.
2024-04-10 11:18:46 +05:30
Peter Ye
5a525e3789
feat: allow square brackets in command arguments ( #5326 )
...
Allow square brackets in command arguments
2024-04-09 22:33:43 +05:30
Peter Ye
0813e527c8
Flatten redirects before passing command to job control ( #5327 )
2024-04-09 22:29:45 +05:30
pre-commit-ci[bot]
15fdc95aca
[pre-commit.ci] pre-commit autoupdate ( #5325 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.3.4 → v0.3.5](https://github.com/astral-sh/ruff-pre-commit/compare/v0.3.4...v0.3.5 )
- [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v4.6.0 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-04-09 18:06:01 +05:30
Peter Ye
08ac0d9759
Fix parsing of redirect tokens ( #5322 )
...
* Fix parsing of redirect tokens
In the parser, wrap redirect tokens such as ">", "a>", and "2>1" in a
tuple (along with the name of the redirect file, if applicable) to
differentiate them from regular command line arguments.
This ensures that a command like ![echo ">"] is parsed correctly.
We now need 2 types of IO-redirect tokens (IOREDIRECT1 and IOREDIRECT2)
so that the parser knows whether or not an IO-redirect has a file
argument. For example, "a>" has type IOREDIRECT1, whereas "2>1" has
type IOREDIRECT2.
* update ioredir tests
* add tests
* add news
* fix multiple redirections error message
2024-04-05 13:21:54 +05:30
Peter Ye
7461c507b2
Fix incorrect IOREDIRECT tokens in Python mode ( #5013 )
...
* add tests
* Fix incorrect IOREDIRECT tokens in Python mode
* add news
* Update lexer used in CompletionContextParser
The completion context lexer should start in subprocess mode so that
operators like ``2>`` are recognized as IOREDIRECT tokens.
This fixes the test case "command 2>/dev/nul{X}" for
test_completion_context.py::test_command.
2024-04-04 16:04:53 +05:30
pre-commit-ci[bot]
04cba39a53
[pre-commit.ci] pre-commit autoupdate ( #5314 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.3.3 → v0.3.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.3.3...v0.3.4 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-03-25 20:28:00 +01:00
Noortheen Raja
6c68541706
feat: start xonfig web from any directory
2024-03-19 16:33:12 +05:30
Noortheen Raja
80940e8b1c
fix: failing tests on extra space
...
web-config
2024-03-19 16:33:12 +05:30
Noortheen Raja
c930c9f234
fix: web config overwrite existing value
...
fixes #5297
2024-03-19 16:33:12 +05:30
Noortheen Raja
ce215bb8fe
docs: add news item
2024-03-19 16:33:12 +05:30
Noortheen Raja
3574acfa51
test: add tests for webconfig post methods
2024-03-19 16:33:12 +05:30
Noortheen Raja
dd4d6f5c26
refactor: remove usage of cgi
...
fixes #5280
2024-03-19 16:33:12 +05:30
pre-commit-ci[bot]
bad29ccd0d
[pre-commit.ci] pre-commit autoupdate ( #5305 )
...
updates:
- [github.com/psf/black: 24.2.0 → 24.3.0](https://github.com/psf/black/compare/24.2.0...24.3.0 )
- [github.com/astral-sh/ruff-pre-commit: v0.3.2 → v0.3.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.3.2...v0.3.3 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-03-18 23:38:07 +05:30
pre-commit-ci[bot]
ac60d3423f
[pre-commit.ci] pre-commit autoupdate ( #5302 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.2.2 → v0.3.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.2.2...v0.3.2 )
- [github.com/pre-commit/mirrors-mypy: v1.8.0 → v1.9.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.8.0...v1.9.0 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-03-12 21:53:22 +01:00
Andy Kipp
5fd9a25d09
Fix dircolors NotADirectoryError ( #5300 )
...
* Update environ.py
* Create fix_dircolors_NotADirectoryError.rst
2024-03-11 16:53:50 -04:00
Gil Forsyth
f5ae75268a
feat(bashpath): add env-var to allow overriding path to bash ( #5295 )
...
I've run into issues with bash completion failing when using `nix` to
handle environments.
The nix environment often installs its own `bash` which doesn't respect
the `BASH_COMPLETIONS` env-var.
This allows an (off-by-default) option to override what is returned by
`xonsh.platform.bash_command`.
The removal of the `lru_cache` should be negligible since
`windows_bash_command` has its own `lru_cache` and the other options are
doing an env lookup or returning a string.
2024-03-08 17:57:53 +01:00
Gil Forsyth
43c9aafe61
Updated CHANGELOG for 0.15.1
2024-03-07 10:11:43 -05:00
Gil Forsyth
991a321632
bumped version to 0.15.1
2024-03-07 10:11:43 -05:00
Gil Forsyth
4796cf7b4a
Updated authorship for 0.15.1
2024-03-07 10:11:43 -05:00
Andrew
17e9377cf8
Add zoxide and any-nix-shell to projects list ( #5294 )
2024-03-06 10:37:19 +01:00