Ivan Pozdeev
485090e713
2.6.28
pirms 2 mēnešiem
native-api
6481d1451d
pyenv-latest: fast path for when there is an exact match ( #3437 )
Avoids O(N^2) complexity when `pyenv-latest` is called in a loop
for existing entries
pirms 2 mēnešiem
Ivan Pozdeev
914ff80062
2.6.27
pirms 3 mēnešiem
native-api
044d816d35
which: update `pyenv help global` tip ( #3424 )
pirms 4 mēnešiem
Jake Lodwick
6a246fad63
commands: fast path for --sh, replace sort|uniq with sort -u ( #3423 )
pirms 4 mēnešiem
Ivan Pozdeev
174c61526f
2.6.26
pirms 4 mēnešiem
native-api
8037f22665
rehash: streamline executables discovery; fix regression ( #3418 )
Separate the corner-cutting code for `rehash' into a dedicated branch.
Saves some more time (about 100ms for the large fixture)
pirms 4 mēnešiem
Jake Lodwick
23bcdebe18
versions: fast path for --bare --skip-aliases ( #3411 )
Skip sort, native extension probe, and per-symlink realpath
when called with --bare --skip-aliases (the rehash case).
Use readlink to distinguish internal aliases (relative target)
from external installs (absolute target).
In MacOS, speeds up rehash by 5.2 ms (7%) in empty environment,
55.9 ms (33%) in a regular environment (3 ver, 12 venvs, 320 bins),
93.7 ms (15%) in a large environment (6 ver, 60 venvs, 1466 bins)
pirms 4 mēnešiem
Ivan Pozdeev
aa2e8b8260
2.6.25
pirms 4 mēnešiem
Ivan Pozdeev
c89b6b46dc
2.6.24
pirms 4 mēnešiem
Jake Lodwick
47871b2dc3
rehash: drop redundant sort -u from make_shims call ( #3410 )
register_shim() already deduplicates via associative array (bash 4+) or
by checking if a shim already exists (bash 3.2). The sort -u pipe in the make_shims
call is thus redundant -- the dedup happens downstream regardless. Shim
creation is order-independent and idempotent, so sorting has no semantic
effect either.
Saves one subprocess fork during every rehash invocation.
pirms 4 mēnešiem
Ivan Pozdeev
81befc1592
2.6.23
pirms 4 mēnešiem
Ivan Pozdeev
57ec277d6a
2.6.22
pirms 5 mēnešiem
Ivan Pozdeev
6d8c0e4021
2.6.21
pirms 5 mēnešiem
Ivan Pozdeev
3441980e83
2.6.20
pirms 6 mēnešiem
Ivan Pozdeev
92c9ab5273
2.6.19
pirms 6 mēnešiem
Ivan Pozdeev
c62be31e8c
2.6.18
pirms 6 mēnešiem
rockandska
2c38423a98
pyenv launcher: introduce and export _PYENV_INSTALL_PREFIX ( #3334 )
provides a reliable way for Pyenv code to locate other parts of Pyenv code that are not under `PYENV_ROOT`
* tests: Work with Git entirely in a test repo
Co-authored-by: Ivan Pozdeev <vano@mail.mipt.ru>
pirms 6 mēnešiem
native-api
aa6c9b9694
init: don't silence automatic rehash; rehash: report final error but not provisional ones ( #3377 )
pirms 6 mēnešiem
native-api
a944da76c0
rehash: support BSD mktemp ( #3376 )
macOS 12 `mktemp' doesn't support `-p`
pirms 6 mēnešiem
Florian Blanchet
aeea3ac825
Add PowerShell support ( #2749 )
Co-authored-by: Ivan Pozdeev <ivan_pozdeev@mail.ru>
Co-authored-by: Ivan Pozdeev <vano@mail.mipt.ru>
pirms 6 mēnešiem
Ivan Pozdeev
7418835908
Prevent infinite loop if a shim is linked and called from a nonstandard location with "system" active
pirms 6 mēnešiem
Ivan Pozdeev
22b192913e
2.6.17
pirms 6 mēnešiem
Ivan Pozdeev
e805257c1f
2.6.16
pirms 7 mēnešiem
Ivan Pozdeev
a6ea5b3179
Fix rehash
pirms 7 mēnešiem
native-api
0f7b8fa8ee
sh-rehash: Fix erroneously executing rather than printing a command ( #3369 )
pirms 7 mēnešiem
native-api
6f0e2d3458
rehash: Fix hanging for 60 seconds when shims directory is not writable due to Linux Landlock ( #3367 )
pirms 7 mēnešiem
Ivan Pozdeev
61d869f67e
2.6.15
pirms 7 mēnešiem
Ivan Pozdeev
d1ae7fd65d
2.6.14
pirms 7 mēnešiem
Ivan Pozdeev
fdde91269b
2.6.13
pirms 7 mēnešiem
Ivan Pozdeev
c6ea700cdf
2.6.12
pirms 8 mēnešiem
Ivan Pozdeev
94071a9374
2.6.11
pirms 9 mēnešiem
Ivan Pozdeev
a419b003b4
2.6.10
pirms 9 mēnešiem
Ivan Pozdeev
8087e811cd
2.6.9
pirms 9 mēnešiem
Ivan Pozdeev
519ce9dbf0
2.6.8
pirms 9 mēnešiem
rockandska
68edd564cf
update parent shell detection in pyenv-init to be more portable
pirms 10 mēnešiem
Ivan Pozdeev
3dbdfdf39a
2.6.7
pirms 11 mēnešiem
Ivan Pozdeev
d56241330c
2.6.6
pirms 11 mēnešiem
Ivan Pozdeev
df84c42653
2.6.5
pirms 11 mēnešiem
Ivan Pozdeev
0c680e8ede
2.6.4
pirms 1 gada
Ivan Pozdeev
f1c5371752
2.6.3
pirms 1 gada
Ivan Pozdeev
a71a378dac
2.6.2
pirms 1 gada
Ivan Pozdeev
b9ede4ae0e
2.6.1
pirms 1 gada
Ivan Pozdeev
bfbe76e6a9
2.6.0
pirms 1 gada
Jesse Wattenbarger
018ca73444
Add --bare option to `pyenv version` ( #2783 )
pirms 1 gada
Ivan Pozdeev
f216b4bfb1
2.5.7
pirms 1 gada
Ivan Pozdeev
6fff3d29d4
2.5.6
pirms 1 gada
Ivan Pozdeev
97993fcc26
2.5.5
pirms 1 gada
Ivan Pozdeev
abf1376487
2.5.4
pirms 1 gada
Ivan Pozdeev
5051a42b2c
2.5.3
pirms 1 gada