| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
* --changed-deps
* --changed-deps-report
* --changed-slot
* --changed-use
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
| |
Bug: https://bugs.gentoo.org/924830
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Adds the following:
- --autounmask-keep-keywords
- --autounmask-continue
- --onlydeps-with-ideps
- --onlydeps-with-rdeps
- --update-if-installed
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
Portage ignores any files starting with '.' or ending with '~' in
the repos.conf directory.
See 'portage.util' function '_recursive_basename_filter'.
Closes: https://bugs.gentoo.org/730624
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit f3f401b1166bb3d7f79b9f3cb8ebfc3527cd4394.
The commit introduced behavior that was not consistent with portage,
which parses all files in the repos.conf directory not starting with
'.' or ending with '~', regardless if they end with '.conf' or not.
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
| |
Signed-off-by: Louis Sautier <sautier.louis@gmail.com>
Closes: https://github.com/gentoo/gentoo-bashcomp/pull/6
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
portage ignores any file in /etc/portage/repos.conf/ (when that is in
fact a directory) that does not have a name of the form "*.conf".
gentoo-bashcomp should emulate the behavior of portage. Otherwise you
might run into issues: e.g. if there is a backup of eselect-repo.conf
called eselect-repo.conf~ that contains references to a now removed
overlay, gentoo-bashcomp should not try to search for completions in the
now nonexistent repo directory
Closes: https://github.com/gentoo/gentoo-bashcomp/pull/5
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
|
|
|
|
|
|
|
| |
Courtesy of Duncan <1i5t5.duncan@cox.net>.
Closes: https://bugs.gentoo.org/562626
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
Based on Marco Genasci's patch and slightly modified to get rid of the
unnecessary call to xargs.
Courtesy of Marco Genasci <fedeliallalinea@gmail.com>.
Closes: https://bugs.gentoo.org/235454
Closes: https://github.com/gentoo/gentoo-bashcomp/pull/4
|
| |
|
|
|
|
|
|
| |
This PR adds the --rage-clean option.
Closes: https://github.com/gentoo/gentoo-bashcomp/pull/2
|
|
|
|
| |
Closes: https://github.com/gentoo/gentoo-bashcomp/pull/1
|
|
|
|
| |
That handles proper install paths and substitutions.
|
| |
|
|
|
|
|
| |
The goal is to install the reusable functions in helpersdir from where
they can be reused by other completions.
|
|
|
|
|
| |
completions/ for files going to completionsdir, compat/ for those going
into compatdir.
|
|
|
|
|
| |
It is just wrong, so there is no point in keeping it for now. I will
write new rules after refactoring the code.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Newer portage versions use repos.conf to set paths to different repos
rather than PORTDIR/PORTDIR_OVERLAY. This adds a parser for these
ini-style config files.
|
|
|
|
|
|
|
| |
- Do not use deprecated have() function.
- Move gentoo_style_init completion in separate file. It doesn't support
dynamic loading so it should be installed in compatdir.
- Cleanup spaces at the end of lines.
|
|
|
|
|
|
| |
Sometime in the last three years the output of layman changed and broke
the overlay parsing. Also updated options, fixed handling of opts
containing "=" with bash-4, and cleaned up a bunch of stuff.
|
| |
|
| |
|
|
|
|
| |
https://bugs.gentoo.org/show_bug.cgi?id=431578#c2
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
- use _parse_help rather than a hardcoded list of options
- use _get_comp_words_by_ref and _split_longopt for proper handling of
options requiring arguments
- fix --commitmsgfile to complete on filenames
- add proper completions for --mode and --vcs
|
|
|
|
|
|
|
|
|
| |
(Based on a patch by Jacek Sowiński)
Now that the main portage tree is using the md5-cache format by default
we need to be sure we're checking both locations.
Also clean up some bad indentation and useless line continuations.
|
| |
|
|
|
|
|
| |
As of portage-2.1.11.10/2.2.0_alpha121 the /etc/make.globals symlink no
longer exists (see bug #427862).
|
| |
|
|
|
|
|
| |
epkginfo is just a shortcut for equery meta,
so I reused the code for that.
|
|
|
|
|
| |
--HG--
extra : source : e6a0424d3176b724b00098f21973e76e10cc6405
|
| |
|
|
|
|
|
| |
--HG--
extra : source : a29f54778b77d71486990ff8130848ebbd02acc5
|
|
|
|
|
| |
--HG--
extra : source : 61ccc1fd1399c57af02ffc5489c55261c043d418
|
|
|
|
|
| |
--HG--
extra : source : e2d4bcca497f4d1cde9825e1b75db31df5234292
|
|
|
|
|
|
|
| |
`equery changes --help`: * "Usage" and "examples" give different order of args. * In "Usage" it is: [options] pkgspec * In "examples" it is: pkgspec [options] 2. I chose "examples" approach so: * `equery c <TAB><TAB>` will complete pkgspec * `equery c -<TAB><TAB>` will complete -h and --help * `equery c pkgspec <TAB><TAB>` will complete other options
--HG--
extra : source : 1476935140c182f435d6de80dab035a931d5edb6
|
|
|
|
|
|
|
|
|
|
|
| |
1. Remove -c and --category options as they are not present in
`equery belongs --help` output.
2. Make code indentation more readable.
3. "Only complete if the previous entry on the command line is not
a file name." now works properly also with options.
--HG--
extra : source : 9f755f92ba552dcd20d20e473ff6cf5848c27e9e
|
|
|
|
| |
belongs, check, depends, depgraph, files, list, size
|
|
|
|
|
|
| |
- fix pkgspec completion
- separate completion for these modules, as they have another sets of
options
|
| |
|
|
|
|
| |
svn path=/trunk/; revision=104
|
|
|
|
| |
svn path=/trunk/; revision=103
|