42 Commits

Author SHA256 Message Date
dfe4613514 Accepting request 1314455 from utilities
- update to 2.37.1:
  * fix: regression in displaying export errors (#1469)
- includes 2.37.0:
  * docs: document sub-commands
  * docs: fix link to guix manual (#1421)
  * feat(direnv export gha): strengthen export format
  * fix(python): do not include patch level in virtual environment names (#1423)
  * fix(use_nix): always restore special variables (#1424)
  * fix: accept true as valid DIRENV_DEBUG value (#1365)
  * fix: add trailing newline to error messages (#1426)
  * fix: delete duplicate ansi escape code
  * fix(powershell): "export pwsh" to resolve PowerShell special
    character issues (#1448)
- rebase resolve-bin-path.patch

OBS-URL: https://build.opensuse.org/request/show/1314455
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/direnv?expand=0&rev=20
2025-10-30 16:09:56 +00:00
887f55e3dd 2.37.1
OBS-URL: https://build.opensuse.org/package/show/utilities/direnv?expand=0&rev=40
2025-10-29 20:34:42 +00:00
485ea979ef Accepting request 1275022 from utilities
OBS-URL: https://build.opensuse.org/request/show/1275022
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/direnv?expand=0&rev=19
2025-05-07 17:18:11 +00:00
87e0c6d5a9 Accepting request 1274140 from home:amanzini:branches:utilities
- update to 2.36.0:
  * direnv now requires go 1.24
  * doc: Correct duplicate usage of 'with' in the direnv(1)
  * doc: note direnv version for log_{format,filter}
  * feat: Add use_flox to stdlib.sh
  * feat: logging filter
  * fix use_nix: unset TMPDIR variables
  * fix: A more universal fix for the python 3.14 find_spec deprecation warning
  * fix: Don't give an error when the current directory doesn't exist
  * fix: add support to fully reproducible guix shells
  * fix: assert minimum powershell version
  * fix: escape newlines in generated vimscript
  * fix: fix empty array error in install.sh
  * fix: optionally authenticate against github api during install
  * fix: use_guix: Enable the watching of Guix related files.
- fixed bash completions directory
- added %check section to run unit tests on build

OBS-URL: https://build.opensuse.org/request/show/1274140
OBS-URL: https://build.opensuse.org/package/show/utilities/direnv?expand=0&rev=38
2025-05-06 21:53:19 +00:00
8006a91e1e Accepting request 1235726 from utilities
OBS-URL: https://build.opensuse.org/request/show/1235726
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/direnv?expand=0&rev=18
2025-01-09 14:07:11 +00:00
c02ff97663 Accepting request 1233734 from home:avindra:branches:utilities
- update to 2.35.0:
  * doc: Add version requirement for load_dotenv option (#1326)
  * doc: fix broken link (#1327)
  * doc: update elvish docs (#1305)
  * docs: change Guix link to its package search. (#1268)
  * feat: add opam support (#1298)
  * fix: add NuShell into list of supported shells (#1260)
  * fix: close tmp file (#1272)
  * fix: direnv edit: use editor when EDITOR not found, closes #1246 (#1247)
  * fix: release script
  * fix: stdlib: enable flakes when use flake is used (#1299)
  * fix: stdlib: export GOBIN for layout_go (#1286)
  * fix: stdlib: update layout_python to resolve deprecation warning (#1176)
  * fix: using PWD in .env files (#1052)
  * test: Fix Murex python-layout test (#1293)
- create hook packages for fish, bash and zsh
- add resolve-bin-path.patch to fix exe path inside buildroot

OBS-URL: https://build.opensuse.org/request/show/1233734
OBS-URL: https://build.opensuse.org/package/show/utilities/direnv?expand=0&rev=36
2025-01-07 21:38:40 +00:00
fa73d00fc9 Accepting request 1166953 from utilities
OBS-URL: https://build.opensuse.org/request/show/1166953
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/direnv?expand=0&rev=17
2024-04-12 15:34:56 +00:00
bd543c8675 Accepting request 1166922 from home:avindra:branches:utilities
- update to 2.34.0:
  * doc: README.md, man pages: it's typos (#1230)
  * doc: add shell setup instructions for oh-my-zsh (#1070)
  * doc: added fetchurl manpage link to README.md
  * doc: document XDG_DATA_HOME (#1185)
  * doc: update installation.md for Gentoo (#1206)
  * feat: add Murex support (#1242)
  * feat: added systemd shell for export (#1126)
  * feat: allow to disable warn timeouts (#1209)
  * feat: hide env diff (#1223, #1234)
  * feat: made 'direnv export' non private (#1229)
  * fix: use_julia should not set LD_LIBRARY_PATH (#900)
  * fix: add missing deps for release in go.mod
  * fix: avoid use of regex in bash hook output (#1043)
  * fix: direnv.toml.1.md: add examples for $HOME expansion
  * fix: stdlib: use_flake: don't keep old generations around (#1089)
  * fix: stdlib: use_node: strip leading v from version (#1071)
  * fix: support Bash 5.1 array PROMPT_COMMAND (#1208)
  * fix: update stdlib.sh to avoid deprecation warning (#1221)
  * fix: update zsh syntax in internal/cmd/shell_zsh.go (#1075)
- compress vendor tarball with zst

OBS-URL: https://build.opensuse.org/request/show/1166922
OBS-URL: https://build.opensuse.org/package/show/utilities/direnv?expand=0&rev=34
2024-04-12 05:45:38 +00:00
4b60aeee0e Accepting request 1142712 from utilities
OBS-URL: https://build.opensuse.org/request/show/1142712
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/direnv?expand=0&rev=16
2024-01-30 17:26:19 +00:00
b2f0c3c26c Accepting request 1142104 from home:amanzini:branches:utilities
- update to 2.33.0:
  * fixes and updates to documentation
  * feat: direnv status --json 
  * feat: add PowerShell Support 
  * feat: add mergify configuration 
  * feat: add support for armv7l platform in install.sh 
  * feat: add watch print command 
  * feat: alias direnv disallow to deny 
  * feat: stdlib: create CACHEDIR.TAG inside .direnv 
  * fix: allowPath for LoadedRC 
  * fix: don't prompt to allow if user explicitly denied 
  * fix: man/direnv-stdlib: fix obsolete opam-env example 
  * fix: print correct path in source_env log message 
  * fix: quote tcsh $PATH, to avoid failure on whitespace 
  * fix: remove redundant nil check in CommandsDispatch 
  * fix: update nixpkgs and shellcheck

OBS-URL: https://build.opensuse.org/request/show/1142104
OBS-URL: https://build.opensuse.org/package/show/utilities/direnv?expand=0&rev=32
2024-01-30 05:48:51 +00:00
e7602de52e Accepting request 1096479 from utilities
OBS-URL: https://build.opensuse.org/request/show/1096479
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/direnv?expand=0&rev=15
2023-07-03 15:43:57 +00:00
c5b9101f31 Accepting request 1095484 from home:avindra:branches:utilities
- update to 2.32.3:
  * fix: stat the already open rc file rather than another path based one on it (#1044)
  * fix: remove deprecated io/ioutil uses (#1042)
  * fix: spelling fixes (#1041)
  * fix: appease Go 1.19 gofmt (#1040)
  * fix: stdlib: use_guix: Switch to guix shell. (#1045)
  * fix: pass BASH_PATH to make, matches the nixpkgs derivation (#1006)
  * fix: stdlib/layout_python: exclude patchlevel from $python_version (#1033)
  * fix: incorrect escape sequences during Loads under git-bash (Windows) (#1085)
  * fix: skip some tests for IBM Z mainframe's z/OS operating system (#1094)
  * doc: add Windows installation with winget (#1096)
  * doc: link 12factor webpage for more clarity (#1095)
  * website: add Plausible analytics

OBS-URL: https://build.opensuse.org/request/show/1095484
OBS-URL: https://build.opensuse.org/package/show/utilities/direnv?expand=0&rev=30
2023-07-03 06:35:20 +00:00
d335f642e2 Accepting request 1042689 from utilities
OBS-URL: https://build.opensuse.org/request/show/1042689
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/direnv?expand=0&rev=14
2022-12-13 17:57:19 +00:00
1d0db44861 Accepting request 1041282 from home:dirkmueller:Factory
- update to 2.32.2:
  * doc: Add stdlib's layout_pyenv to docs
  * doc: Fix broken link
  * doc: Minor typo fix
  * doc: `$XDG_CONFIG_HOME/direnv/direnv.toml` => add (typically
    ~/.config/direnv/direnv.toml)
  * doc: add quickenv to Related projects
  * feat: Update layout anaconda to accept a path to a yml file
  * feat: install.sh: can specify direnv version
  * fix: elvish: replace deprecated `except` with `catch`
  * fix: installer.sh: make direnv executable for all
  * fix: path escaping
  * fix: stdlib: only use ANSI escape on TTY
  * fix: test: remove mentions of DIRENV_MTIME
  * fix: test: use lowercase -d flag for base64 decoding of DIRENV_DIFF

OBS-URL: https://build.opensuse.org/request/show/1041282
OBS-URL: https://build.opensuse.org/package/show/utilities/direnv?expand=0&rev=28
2022-12-13 14:18:50 +00:00
868c536bae Accepting request 1039259 from utilities
OBS-URL: https://build.opensuse.org/request/show/1039259
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/direnv?expand=0&rev=13
2022-12-01 16:21:18 +00:00
c944db5dee Accepting request 1037939 from home:amanzini:branches:utilities
- Update to version 2.32.1
  * Support custom VIRTUAL_ENV for layout_python
  * Add gha shell for GitHub Actions
  * allow conda environment names to be detected from environment.yml
  * source_up_if_exists: A strict_env compatible version of source_up
  * Expand ~/ in whitelist paths
  * Add "block" and "revoke" as aliases of the "deny" command
  * Add "permit" and "grant" as aliases of the "allow" command

OBS-URL: https://build.opensuse.org/request/show/1037939
OBS-URL: https://build.opensuse.org/package/show/utilities/direnv?expand=0&rev=26
2022-12-01 08:03:10 +00:00
188150f54e Accepting request 975833 from utilities
OBS-URL: https://build.opensuse.org/request/show/975833
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/direnv?expand=0&rev=12
2022-05-09 16:44:32 +00:00
4f679de1a6 Accepting request 975574 from home:susnux:branches:utilities
Update to version 2.31.0

OBS-URL: https://build.opensuse.org/request/show/975574
OBS-URL: https://build.opensuse.org/package/show/utilities/direnv?expand=0&rev=24
2022-05-09 12:28:06 +00:00
cbcc4ebfef Accepting request 973843 from utilities
OBS-URL: https://build.opensuse.org/request/show/973843
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/direnv?expand=0&rev=11
2022-04-29 22:45:53 +00:00
7d1762e604 Accepting request 973576 from home:dirkmueller:Factory
- use https homepage 
- spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/973576
OBS-URL: https://build.opensuse.org/package/show/utilities/direnv?expand=0&rev=22
2022-04-29 06:57:33 +00:00
ae3c008c88 Accepting request 938149 from utilities
OBS-URL: https://build.opensuse.org/request/show/938149
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/direnv?expand=0&rev=10
2021-12-09 18:45:55 +00:00
c64549a623 Accepting request 898534 from home:susnux:branches:utilities
Update to version 2.28.0

OBS-URL: https://build.opensuse.org/request/show/898534
OBS-URL: https://build.opensuse.org/package/show/utilities/direnv?expand=0&rev=21
2021-12-09 15:51:09 +00:00
c6dcc8c043 Accepting request 850502 from utilities
OBS-URL: https://build.opensuse.org/request/show/850502
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/direnv?expand=0&rev=9
2020-11-24 21:15:11 +00:00
d0b7b18792 Accepting request 849831 from home:jujens:branches:utilities
Update to 2.24.0

OBS-URL: https://build.opensuse.org/request/show/849831
OBS-URL: https://build.opensuse.org/package/show/utilities/direnv?expand=0&rev=19
2020-11-24 14:31:35 +00:00
35766f1469 Accepting request 844828 from utilities
OBS-URL: https://build.opensuse.org/request/show/844828
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/direnv?expand=0&rev=8
2020-10-29 13:52:40 +00:00
c9086cd318 Accepting request 843858 from home:jujens:branches:utilities
Update to 2.23.1

OBS-URL: https://build.opensuse.org/request/show/843858
OBS-URL: https://build.opensuse.org/package/show/utilities/direnv?expand=0&rev=17
2020-10-29 09:47:04 +00:00
de1dbb6dda Accepting request 828194 from utilities
OBS-URL: https://build.opensuse.org/request/show/828194
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/direnv?expand=0&rev=7
2020-08-21 17:04:13 +00:00
d07725bf25 Accepting request 827776 from home:dirkmueller:branches:utilities
- update to 2.21.3:
  * Replace direnv expand_path with pure bash (#631)
  * Fix #594 - write error to fd 3 on Windows (#634)
  * Make direnv hook output work on Windows (#632)
  * Update hook.md to remove ">" typo in Fish instructions (#624)
  * stdlib: layout go adds layout dir to GOPATH (#622)
  * direnv-stdlib.1: add layout php (#619)
  * stdlib: add PATH_rm [ ...] (#615)
  * Error handling tuples (#610)
  * Merge pull request #607 from punitagrawal/master
  * test: elvish: Fix evaluation function
  * stdlib.sh: Re-write grep pattern to avoid shell escape
  * man: Escape '.' at the beginning of line to remove manpage warning
  * stdlib: fix direnv_config_dir usage (#601)
  * direnv version: improve error message (#599)
  * README: fix NixOS link in installation.md (#589)
  * stdlib: add direnv_apply_dump (#587)
  * Simplify direnv_load and make it work even when the command crashes. (#568)
  * docs: fix fish installation instruction
  * test: test for utf-8 compatibility
  * config: add [global] section
  * config: add strict_env option
  * config: fix warn_timeout parsing (#582)
  * Github action for releases
  * config: fix the configuration file selection
  * stdlib: fix shellcheck warnings

OBS-URL: https://build.opensuse.org/request/show/827776
OBS-URL: https://build.opensuse.org/package/show/utilities/direnv?expand=0&rev=15
2020-08-20 13:25:11 +00:00
b45d1be16e Accepting request 805509 from utilities
OBS-URL: https://build.opensuse.org/request/show/805509
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/direnv?expand=0&rev=6
2020-05-14 21:27:30 +00:00
d96d27fa9c Accepting request 801105 from home:polslinux:branches:utilities
- Update to 2.21.2
  + stdlib: revert the set -euo pipefail change. It was causing too many issues for users.
  + direnv allow: fix the allow migration by also creating the parent target directory.
  + stdlib: fix unused variable in use node
  + stdlib: fix unused variable in source_up
  + test: add stdlib test skeleton
  + add dist release utility
  + change where the allow files are being stored
  + direnv status: also show the config
  + direnv exec: improve the error message
  + warn if PS1 is being exported
  + handle SIGINT during export in bash
  + export: display the full RC path instead of a relative one
  + direnv exec: the DIR argument is always required (#493)
  + direnv_load can now handle stdout outputs
  + stdlib: add layout_julia
  + Handle failing pipenv on empty file and avoid an extra pipenv execution (#510)
  + fix source_env behaviour when the file doesn't exists (#487)
  + watch_file can now watch multiple files in a single invocation (#524)
  + layout_python: prefer venv over virtualenv. Do not export VIRUAL_ENV if $python_version is unavailable or a virtual environment does not exist/can't be created
  + Adds layout_pyenv (#505)
  + Fix source_up docs to explain that search starts in parent directory (#518)
  + fix path_add to not leak local variables
  + layout_pyenv: support multiple python versions (#525)
  + Add a direnv_version <version_at_least> command to check the direnv version.
  + dotenv: handle undefined variables
  + source files from .config/direnv/lib/*.sh
  + stdlib: set -euo pipefail

OBS-URL: https://build.opensuse.org/request/show/801105
OBS-URL: https://build.opensuse.org/package/show/utilities/direnv?expand=0&rev=13
2020-05-14 08:44:37 +00:00
7a78f4b972 Accepting request 691017 from utilities
OBS-URL: https://build.opensuse.org/request/show/691017
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/direnv?expand=0&rev=5
2019-04-04 10:07:37 +00:00
a8ab76e21c Accepting request 671212 from home:jengelh:branches:utilities
- Use noun phrase in summary.

OBS-URL: https://build.opensuse.org/request/show/671212
OBS-URL: https://build.opensuse.org/package/show/utilities/direnv?expand=0&rev=11
2019-04-03 10:59:39 +00:00
78705354c3 Accepting request 642078 from utilities
OBS-URL: https://build.opensuse.org/request/show/642078
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/direnv?expand=0&rev=4
2018-10-17 06:40:54 +00:00
Ismail Dönmez
6dd09e20f4 Accepting request 642067 from home:seanlew:branches:utilities
Update direnv to 2.17.0

OBS-URL: https://build.opensuse.org/request/show/642067
OBS-URL: https://build.opensuse.org/package/show/utilities/direnv?expand=0&rev=9
2018-10-15 15:06:32 +00:00
7d85b239a4 Accepting request 580279 from utilities
- Update to 2.15.2
  + Add support for allow folder whitelist (#332)
  + TOML configuration file! (#332, #337)
  + Add support for go 1.10 (#339)

OBS-URL: https://build.opensuse.org/request/show/580279
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/direnv?expand=0&rev=3
2018-02-27 15:59:08 +00:00
Ismail Dönmez
e976fe4663 - Update to 2.15.2
+ Add support for allow folder whitelist (#332)
  + TOML configuration file! (#332, #337)
  + Add support for go 1.10 (#339)

OBS-URL: https://build.opensuse.org/package/show/utilities/direnv?expand=0&rev=7
2018-02-26 15:17:20 +00:00
d87a3b5335 Accepting request 571528 from utilities
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/571528
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/direnv?expand=0&rev=2
2018-02-01 20:29:36 +00:00
b6557409ea Accepting request 566618 from utilities
- Update to 2.14.0
  + support for Pipenv layout
  + version: make public
  + edit: run the command through bash
- Includes fix from 2.13.3
  + fix loading issue on macOS 
- Includes fixes from 2.13.2
  + edit: fix path escaping
  + stdlib: fix find_up
  + stdlib: use absolute path in source_up
  + go-dotenv: update to latest master to fix a parsing error
  + remove ruby as a build dependency
- General packaging cleanups
  - Drop _service file in favor of Github archive url
  - Explicitly list man pages (without wildcard)
  - Lint with spec-cleaner
- Update to 2.13.1
 + FIX: stdlib: make direnv_layout_dir lazy (#298)
- Includes 2.13.0:
 + NEW: stdlib: configurable direnv_layout_dir
 + CHANGE: stdlib: source the direnvrc directly
 + FIX: permit empty NODE_VERSION_PREFIX variable
 + FIX: pwd: Don't use -P to remove symlinks (#295)
 + FIX: also reload when mtime goes back in time
 + FIX: Prevent $HOME path from being striked (#287)
 + BUILD: use the new dep tool to manage dependencies
 + BUILD: dotenv: move to vendor folder
- Includes 2.12.x:
 + stdlib layout_python: fixes on no arg
 + FIX: stdlib path_add(), see #278
 + FIX: install from source instructions
 + NEW: support multiple items in path_add and PATH_add (#276)
 + NEW: add a configurable DIRENV_WARN_TIMEOUT option (#273)
 + CHANGE: rewrite the dotenv parsing, now supports commented lines
 + CHANGE: pass additional args to virtualenv (#261)
 + FIX: stdlib watch_file(): escaping fix
 + FIX: only output color if $TERM is not dumb (#264)
 + FIX: the watch_file documentation
- Includes 2.11.x:
 + FIX: node version sorting (#255)
 + FIX: Typo in MANPATH_add always generates "PATH missing" error. (#256)
 + FIX: only deploy the go 1.8 version
 + NEW: stdlib.sh: introduce MANPATH_add (#248)
 + NEW: provide packages using the equinox service
 + CHANGE: test direnv with go 1.8 (#254)
 + FIX: Add warning about source_env/up
 + FIX: go-md2man install instruction
- Includes 2.10.0:
 + NEW: use guix (#242)
 + CHANGE: use go-md2man to generate the man pages
 + FIX: tcsh escaping (#241)
 + FIX: doc typos and rewords (#226)
- Includes 2.9.0:
 + NEW: use_nix() is now watching default.nix and shell.nix
 + NEW: Allow to fix the bash path at built time
 + FIX: Panic on direnv current with no argument
 + FIX: Permit empty NODE_VERSION_PREFIX variable
 + FIX: layout_python: fail properly when python is not found
- Initial package release 2.8.1

OBS-URL: https://build.opensuse.org/request/show/566618
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/direnv?expand=0&rev=1
2018-01-31 18:49:36 +00:00
OBS User mrdocs
b3d517f118 Accepting request 567997 from home:jengelh:branches:utilities
- Avoid specific user context in summary.

OBS-URL: https://build.opensuse.org/request/show/567997
OBS-URL: https://build.opensuse.org/package/show/utilities/direnv?expand=0&rev=4
2018-01-24 05:04:24 +00:00
OBS User mrdocs
752a5f9dc9 Accepting request 559526 from home:avindra
- Update to 2.14.0
  + support for Pipenv layout
  + version: make public
  + edit: run the command through bash
- Includes fix from 2.13.3
  + fix loading issue on macOS 
- Includes fixes from 2.13.2
  + edit: fix path escaping
  + stdlib: fix find_up
  + stdlib: use absolute path in source_up
  + go-dotenv: update to latest master to fix a parsing error
  + remove ruby as a build dependency

OBS-URL: https://build.opensuse.org/request/show/559526
OBS-URL: https://build.opensuse.org/package/show/utilities/direnv?expand=0&rev=3
2017-12-30 05:42:26 +00:00
OBS User mrdocs
05ee5fad10 Accepting request 534854 from home:avindra
Update to 2.13.1 and general packaging cleanups

OBS-URL: https://build.opensuse.org/request/show/534854
OBS-URL: https://build.opensuse.org/package/show/utilities/direnv?expand=0&rev=2
2017-11-12 05:46:17 +00:00
Ismail Dönmez
f6247b5884 Accepting request 392025 from home:flavio_castelli:utils
direnv is an environment switcher for the shell. It knows how to hook into bash, zsh, tcsh and fish shell to load or unload environment variables depending on the current directory. This allows to have project-specific environment variables and not clutter the "~/.profile" file.

OBS-URL: https://build.opensuse.org/request/show/392025
OBS-URL: https://build.opensuse.org/package/show/utilities/direnv?expand=0&rev=1
2016-04-29 07:33:35 +00:00