summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update version to 1.4.27eselect-1.4.27Ulrich Müller2023-09-132-1/+6
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Update NEWSUlrich Müller2023-09-131-0/+8
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Display only a warning when selecting an experimental profileUlrich Müller2023-09-092-5/+8
| | | | | | | | * modules/profile.eselect (set_symlink): Selecting an experimental profile without --force is no longer a fatal error. Bug 913480. Bug: https://bugs.gentoo.org/913480 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eselect-mode: Enable lexical bindingUlrich Müller2023-08-252-1/+3
| | | | | | * misc/eselect-mode.el: Enable lexical binding. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eselect-mode: Refer to sh-mode instead of shell-script-modeUlrich Müller2023-08-242-1/+6
| | | | | | | * misc/eselect-mode.el (eselect-mode): Refer to sh-mode directly, instead of shell-script-mode which is its alias. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Update documentation for "has"Ulrich Müller2023-08-222-2/+6
| | | | | | * doc/developer-guide.txt: Update documentation for "has". Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Update version to 1.4.26eselect-1.4.26Ulrich Müller2023-08-092-1/+6
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Update NEWSUlrich Müller2023-08-091-0/+4
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Update lists in editor and visual modulesUlrich Müller2023-08-073-4/+10
| | | | | | | | | * modules/editor.eselect (EDITOR_LIST): * modules/visual.eselect (EDITOR_LIST): Add vim; drop ed, ex, vi and xemacs. Bug 911792. Bug: https://bugs.gentoo.org/911792 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Avoid subshell on startupUlrich Müller2023-07-082-1/+6
| | | | | | * bin/eselect.in (PATH): Avoid subshell. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* env.eselect: Fix typos in commentsUlrich Müller2023-06-121-3/+3
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Update version to 1.4.25eselect-1.4.25Ulrich Müller2023-06-122-1/+4
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Update NEWSUlrich Müller2023-06-121-0/+7
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* env.eselect: More robust file type detectionUlrich Müller2023-06-122-4/+8
| | | | | | | | * modules/env.eselect (is_envfile): Make detection of text file more robust. Bug 908401. Bug: https://bugs.gentoo.org/908401 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eselect-mode: Drop XEmacs compatibility codeUlrich Müller2023-06-122-4/+4
| | | | | | | * misc/eselect-mode.el (eselect-mode): Drop XEmacs compatibility code. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eselect-mode: Update copyright years before writing a fileUlrich Müller2023-06-122-2/+61
| | | | | | | | | | | | * misc/eselect-mode.el (eselect, eselect-mode-fix-whitespace) (eselect-mode-update-copyright): New custom group and variables. (eselect-mode-copyright-regexp): New variable. (eselect-mode-update-copyright): New function, mostly copied from ebuild-mode-update-copyright in ebuild-mode.el. (eselect-mode-before-save): Make fixing of whitespace conditional. Update copyright years when customised to do so. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Use printf instead of echoUlrich Müller2023-06-072-1/+3
| | | | | | * bin/eselect.in (PATH): Use printf instead of echo Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Update version to 1.4.24eselect-1.4.24Ulrich Müller2023-06-072-1/+4
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Update NEWSUlrich Müller2023-06-071-0/+4
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Don't append a spurious newline to PATHUlrich Müller2023-06-072-1/+5
| | | | | | | * bin/eselect.in (PATH): Don't append a spurious newline. Fixes: 81dc05871392f5acbf5fadb5bb1991c737e42a5f Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Update version to 1.4.23eselect-1.4.23Ulrich Müller2023-06-062-1/+6
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Update NEWSUlrich Müller2023-06-061-0/+6
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Sanitise PATHUlrich Müller2023-06-052-1/+15
| | | | | | | * bin/eselect.in (PATH): Sanitise, remove Portage's internal ebuild-helpers dir from it. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Quote argument of ":" commandUlrich Müller2023-06-052-3/+9
| | | | | | | | * bin/eselect.in (EPREFIX): Quote argument of ":" command. This avoids globbing, see: https://www.shellcheck.net/wiki/SC2223 Add some more quotes throughout. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Add subsection about module testing to developer guideUlrich Müller2023-06-042-0/+13
| | | | | | | | | * doc/developer-guide.txt: Add subsection about module testing. Thanks to torsi@fi.uba.ar for the suggestion. Bug 907844. Original-author: Lemon Lime <torsi@fi.uba.ar> Closes: https://bugs.gentoo.org/907844 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Don't autodetect bash and env-update at configure timeUlrich Müller2023-05-116-18/+11
| | | | | | | | | | | | * bin/eselect.in: Update shebang to use EPREFIX. Bug 905934. * bin/Makefile.am (dosed): Don't substitute BASH. * libs/package-manager.bash.in (env_update): Don't use an absolute path for env-update. * libs/Makefile.am (dosed): Don't substitute ENV_UPDATE. * configure.ac: Drop checks for bash and env-update paths. Bug: https://bugs.gentoo.org/905934 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Don't substitute PORTAGEQ in libsUlrich Müller2023-05-112-1/+5
| | | | | | | * libs/Makefile.am (dosed): Don't substitute PORTAGEQ, it no longer exists in configure. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Update version to 1.4.22eselect-1.4.22Ulrich Müller2023-03-202-1/+6
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Update NEWSUlrich Müller2023-03-201-0/+6
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Remove useless exit messageUlrich Müller2023-03-162-1/+6
| | | | | | | * bin/eselect.in (trap): Don't output a message, because die() is verbose enough. Thanks to Florian Schmaus for the suggestion. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* New "update" action in kernel moduleFlorian Schmaus2023-03-153-3/+90
| | | | | | | | | | | | | | | | * modules/kernel.eselect (do_update, describe_update) (describe_update_options): New action, attempts to update the /usr/src/linux symlink to point to the sources of the running kernel. Bug 901209. * man/kernel.eselect.5: Document it. Thanks to ulm for helpful suggestions when working on this functionality. Bug: https://bugs.gentoo.org/901209 Signed-off-by: Florian Schmaus <flow@gentoo.org> [Tweaked bash syntax. Fixed highlighting in man page.] Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* ChangeLog: Add reference to bug 901205Ulrich Müller2023-03-141-1/+1
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Allow to specify modules by pathFlorian Schmaus2023-03-142-1/+15
| | | | | | | | | * libs/core.bash.in (find_module): Allow to specify an absolute path as the module's filename. Bug: https://bugs.gentoo.org/901205 Signed-off-by: Florian Schmaus <flow@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Support NO_COLORUlrich Müller2023-02-282-0/+7
| | | | | | * bin/eselect.in: Disable colours if NO_COLOR is nonempty. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Update version to 1.4.21eselect-1.4.21Ulrich Müller2023-02-273-2/+5
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Update NEWSUlrich Müller2023-02-271-0/+8
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Update option list in bash completionUlrich Müller2023-02-272-2/+7
| | | | | | | * misc/eselect.bashcomp (_eselect): Add --eprefix and --root options. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* New global option --eprefixUlrich Müller2023-02-274-7/+32
| | | | | | | | | * bin/eselect.in: New global option --eprefix. (es_do_help): Document it. * doc/user-guide.txt: * man/eselect.1: Document the --eprefix option. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Allow EPREFIX to be overridden for manipulating prefixed ROOTJames Le Cuirot2023-02-272-2/+10
| | | | | | | | * bin/eselect.in: Allow EPREFIX to be overridden for manipulating prefixed ROOT. Signed-off-by: James Le Cuirot <chewi@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eselect-mode: Remove eselect-mode-make-keywords-list functionUlrich Müller2022-05-012-12/+6
| | | | | | | | * misc/eselect-mode.el (eselect-mode-make-keywords-list): Remove. (eselect-mode-font-lock-keywords): Inline its code. \< \> around a regexp can be obtained via the paren option of regexp-opt. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Drop XEmacs compatibility code in eselect-modeUlrich Müller2022-05-012-5/+3
| | | | | | | * misc/eselect-mode.el (eselect-mode-before-save): Call delete-trailing-whitespace which exists in XEmacs 21.5. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Fix a byte-compile warning in eselect-modeUlrich Müller2022-05-012-4/+10
| | | | | | | * misc/eselect-mode.el (eselect-mode): For GNU Emacs, use write-contents-functions instead of obsolete write-contents-hooks. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Update version to 1.4.20eselect-1.4.20Ulrich Müller2022-01-082-1/+4
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Update NEWSUlrich Müller2022-01-081-0/+4
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Error out if --root has no option argumentUlrich Müller2022-01-082-0/+3
| | | | | | * bin/eselect.in: Error out if --root has no option argument. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Update version to 1.4.19eselect-1.4.19Ulrich Müller2022-01-082-1/+4
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Update NEWSUlrich Müller2022-01-081-0/+7
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* New global option --rootUlrich Müller2022-01-084-6/+32
| | | | | | | | | * bin/eselect.in: New global option --root. (es_do_help): Document it. * doc/user-guide.txt: * man/eselect.1: Document the --root option. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Fix canonicalise call in profile moduleUlrich Müller2022-01-072-2/+8
| | | | | | | | * modules/profile.eselect (set_symlink): Don't call canonicalise with an empty argument, bug 830707. Bug: https://bugs.gentoo.org/830707 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Update version to 1.4.18eselect-1.4.18Ulrich Müller2021-12-282-1/+6
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>