summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* fix copyright holder to Gentoo AuthorsArthur Zamarin2024-05-121-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* helpers/gentoo-common.sh: fix whitespaceSam James2024-02-211-5/+5
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* Ignore backup prefixed or suffixed files in repos.conf subdirectory.gentoo-bashcomp-20230313Jernej Jakob2023-01-141-1/+1
| | | | | | | | | | 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>
* Revert "ignore non conf files in /etc/portage/repos.conf."Jernej Jakob2023-01-141-2/+2
| | | | | | | | | | 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>
* ignore non conf files in /etc/portage/repos.conf.redneb2021-11-161-2/+2
| | | | | | | | | | | | | | 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>
* fix repos.conf files pattern matching.gentoo-bashcomp-20190211Patrice Clement2019-02-111-1/+1
| | | | | | | Courtesy of Duncan <1i5t5.duncan@cox.net>. Closes: https://bugs.gentoo.org/562626 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
* Split common functions out of completions.Michał Górny2014-08-311-0/+395
The goal is to install the reusable functions in helpersdir from where they can be reused by other completions.