| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
| |
* modules/visual.eselect (EDITOR_LIST): Don't use absolute paths.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
* modules/news.eselect (do_list): Recognise "new" and "all"
options, bug 771075.
(describe_list_options): New function.
Bug: https://bugs.gentoo.org/771075
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
| |
* modules/rc.eselect (is_script): Test whether the script is a
regular file, bug 718920.
Bug: https://bugs.gentoo.org/718920
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
| |
* modules/rc.eselect (show_script_status): Quote strings to
prevent globbing, bug 701382.
Bug: https://bugs.gentoo.org/701382
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libs/editor-variable.bash.in (find_in_path): New function, looks
up its first argument in EDITOR_PATH, and tests if it exists.
(find_targets, do_set): Use it.
* modules/pager.eselect (EDITOR_LIST):
* modules/editor.eselect (EDITOR_LIST): Don't use absolute paths.
* man/editor.eselect.5:
* man/pager.eselect.5: Update.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
| |
* modules/news.eselect (do_read, do_unread): Allow specification
of item by its number or name.
(describe_read_options, describe_unread_options): Document it.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
| |
* modules/profile.eselect (set_symlink): Warn about deprecated
profiles, bug 673568.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
| |
|
|
|
|
|
| |
* modules/rc.eselect (show_script_status): Add /lib64/rc/bin
to PATH as well, workaround for bug 645240 until OpenRC is fixed.
|
|
|
|
|
| |
* modules/profile.eselect (set_symlink): Require --force option
when selecting an experimental profile.
|
|
|
|
|
|
|
|
| |
* modules/profile.eselect (find_targets): Add a fourth field for
the profiles' status to the output.
(set_symlink): Account for the change in find_targets.
(do_list): Also show the profiles' status, but only in non-brief
output mode. Bug 643864.
|
| |
|
|
|
|
| |
* modules/news.eselect (do_list): Check for valid news item format.
|
|
|
|
| |
* modules/profile.eselect (set_symlink): Fix regex, bug 614008.
|
|
|
|
|
|
|
|
| |
* modules/kernel.eselect (do_set): Don't remove the old symlink
before we know that we have a valid new target. Simplify.
(set_symlink): Check if the new link target is valid, then remove
any old symlink, then set the new one.
(remove_symlink): Use rm -f.
|
|
|
|
|
|
| |
* modules/kernel.eselect (set_symlink):
* modules/profile.eselect (set_symlink): Check range of number,
bug 617572. Thanks to Takuto Yoshida <otakuto.gentoo@gmail.com>.
|
| |
|
|
|
|
|
| |
* modules/news.eselect (find_items, find_repo_dir): Check return
status of package manager calls, bug 601506.
|
|
|
|
|
| |
* modules/pager.eselect (EDITOR_LIST): Prefer less to more.
* man/pager.eselect.5: Update.
|
| |
|
|
|
|
|
|
|
|
| |
* modules/binutils.eselect:
* man/binutils.eselect.5: Module removed. This has been converted
to a wrapper and moved to the binutils-config package, bug 507870.
* modules/Makefile.am (modules_DATA):
* man/Makefile.am (man_MANS): Update accordingly.
|
| |
|
|
|
|
|
| |
* modules/rc.eselect (is_script): Don't call external programs.
Test if script is executable, with a shebang in its first line.
|
|
|
|
|
|
| |
* modules/rc.eselect: Be compatible with new OpenRC, bug 536822.
(is_script): Test for "openrc-run" or "runscript" in shebang line.
(run_runscript): Omit the interpreter when executing the script.
|
| |
|
|
|
|
|
|
|
| |
* modules/kernel.eselect (find_targets): Changed heuristic for
recognising kernel source trees: Check for both Makefile and
Kconfig being present, but don't require digits in the directory
name any more. Bug 516754.
|
|
|
|
|
|
|
|
|
|
| |
* libs/core.bash.in (inherit):
* libs/tests.bash.in (has):
* modules/config.eselect (generic_handle_one_file, accept_handler)
(merge_handler, display_handler):
* modules/news.eselect (find_items, do_list, do_read, do_unread):
* modules/rc.eselect (run_runscript, do_show): Remove redundant $@
in "for" loops throughout.
|
|
|
|
|
| |
* modules/profile.eselect (get_repos): Fix bash 4.3 breakage,
bug 511132.
|
|
|
|
|
| |
* modules/news.eselect (accepted_languages): Suppress "C"
and "POSIX" in output. Support <language>_<territory>.
|
|
|
|
|
| |
* modules/rc.eselect (show_script_status): Set proper PATH to service_*
commands.
|
|
|
|
|
|
|
|
| |
* modules/rc.eselect (get_runlevel): Call "rc-status -r" directly,
in order to avoid sourcing functions.sh, bug 373219.
Remove baselayout-1 compatibility code.
(source_rc_functions): Remove function.
(do_show): Don't call source_rc_functions.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* modules/modules.eselect (do_list): New local option --only-names
will output names of modules only, without their description.
This replaces the previous brief output mode behaviour and is
mainly intended for bash completion.
(describe_list_options): New function, documents --only-names.
* bin/eselect.in (es_do_help): Don't force default output mode.
* misc/eselect.bashcomp (_eselect): Call "eselect modules list"
with --only-names option.
|
|
|
|
|
|
|
|
|
| |
When building packages in an alternate ROOT that doesn't need to be
perfectly configured as a stand-alone system it is reasonable for
PORTDIR to be shared with the host system and not inside of ROOT. Also
when using eselect in automated scripts (to take advantage of
repo_name:foo/profile/path parsing) it feels clunky to have to emit
"Please ignore the following warning" messages to avoid scaring people.
|
|
|
|
|
| |
* modules/rc.eselect (source_rc_functions): Drop baselayout-1
compatibility code.
|
|
|
|
|
|
|
|
|
|
| |
* libs/config.bash.in (store_config):
* libs/default.eselect.in (show_usage_message):
* libs/editor-variable.bash.in (do_set):
* libs/output.bash.in (write_kv_list_entry):
* modules/env.eselect (create_profile_env, create_prelink_conf):
* modules/news.eselect (do_list, do_read):
Declare IFS as local variable.
|
|
|
|
|
|
| |
* modules/bashcomp.eselect: Remove.
* modules/Makefile.am (modules_DATA): Remove bashcomp.eselect.
* Makefile.am (symlinks): Don't install bashcomp-config symlink.
|
|
|
|
|
|
| |
* modules/kernel.eselect (find_targets, set_symlink, do_show):
Consider target trees as valid only if they contain a Makefile,
bug 460328. Thanks to C.J. Wijtmans <cj.wijtmans@gmail.com>.
|
|
|
|
|
|
| |
* libs/editor-variable.bash.in (do_set):
* modules/locale.eselect (do_set): Don't return bad status when
ROOT is nontrivial, bug 473308. Thanks to <smkbot@gmail.com>.
|
|
|
|
|
| |
* modules/profile.eselect (get_symlink_location):
Create profile symlink below PORTAGE_CONFIGROOT, bug 453006.
|
| |
|
|
|
|
|
|
| |
* modules/profile.eselect (get_repos, get_repo_path): Use EROOT
to make it work in Prefix, fixes bug 444620. Thanks to Greg Turner
<gmturner007@ameritech.net> for bug report and patch.
|