[pacman-dev] Removal of pacsearch?
pacsearch "Add[s] color and install information to a pacman -Ss search". This contrib script has last been updated for pacman 3.2 if I recall correctly. Since pacman now comes with color support, I feel like this script has become obsolete. Beside being redundant, it is slower and colors are somewhat less readable (as subjective as it may be). Shall we remove pacsearch from the contrib scripts? -- Pierre Neidhardt Whenever people agree with me I always feel I must be wrong. -- Oscar Wilde
On Thu, Dec 26, 2013 at 6:34 AM, Pierre Neidhardt <ambrevar@gmail.com>wrote:
pacsearch "Add[s] color and install information to a pacman -Ss search". This contrib script has last been updated for pacman 3.2 if I recall correctly. Since pacman now comes with color support, I feel like this script has become obsolete. Beside being redundant, it is slower and colors are somewhat less readable (as subjective as it may be).
Did it require regular updates past 3.2 to still work? I've still been using it without problems. The biggest reason I use it is to search -Ss and -Qs output at the same time, not for color. As far as I know this still doesn't happen with any combination of pacman flags. Also, citation required for "slower" claim. This is likely due to the aforementioned two operations instead of the single one you are comparing against. -Dan
On 13-12-26 09:28:52, Dan McGee wrote:
On Thu, Dec 26, 2013 at 6:34 AM, Pierre Neidhardt <ambrevar@gmail.com>wrote:
pacsearch "Add[s] color and install information to a pacman -Ss search". This contrib script has last been updated for pacman 3.2 if I recall correctly. Since pacman now comes with color support, I feel like this script has become obsolete. Beside being redundant, it is slower and colors are somewhat less readable (as subjective as it may be).
Did it require regular updates past 3.2 to still work? I've still been using it without problems.
Nope, working just fine.
The biggest reason I use it is to search -Ss and -Qs output at the same time, not for color. As far as I know this still doesn't happen with any combination of pacman flags.
Also, citation required for "slower" claim. This is likely due to the aforementioned two operations instead of the single one you are comparing against.
Oh, right, I did not know that! Thanks for pointing that out. And yes, the time needed for pacsearch is roughly the same as pacman -Qs + pacman -Ss. So I guess the only fix should occur in the help message which is somewhat misleading! :) -- Pierre Neidhardt "Our vision is to speed up time, eventually eliminating it." -- Alex Schure
On 27/12/13 00:28, Dan McGee wrote:
On Thu, Dec 26, 2013 at 6:34 AM, Pierre Neidhardt <ambrevar@gmail.com>wrote:
pacsearch "Add[s] color and install information to a pacman -Ss search". This contrib script has last been updated for pacman 3.2 if I recall correctly. Since pacman now comes with color support, I feel like this script has become obsolete. Beside being redundant, it is slower and colors are somewhat less readable (as subjective as it may be).
Did it require regular updates past 3.2 to still work? I've still been using it without problems.
The biggest reason I use it is to search -Ss and -Qs output at the same time, not for color. As far as I know this still doesn't happen with any combination of pacman flags.
It sort of does... Well, installed packages in the repos are listed as such: allan@arya ~
pacman -Ss glibc core/glibc 2.18-11 (base) [installed] GNU C Library extra/nss-mdns 0.10-5 glibc plugin providing host name resolution via mDNS
Also, citation required for "slower" claim. This is likely due to the aforementioned two operations instead of the single one you are comparing against.
-Dan
On Fri, Dec 27, 2013 at 11:25:47AM +1000, Allan McRae wrote:
On 27/12/13 00:28, Dan McGee wrote:
On Thu, Dec 26, 2013 at 6:34 AM, Pierre Neidhardt <ambrevar@gmail.com>wrote:
pacsearch "Add[s] color and install information to a pacman -Ss search". This contrib script has last been updated for pacman 3.2 if I recall correctly. Since pacman now comes with color support, I feel like this script has become obsolete. Beside being redundant, it is slower and colors are somewhat less readable (as subjective as it may be).
Did it require regular updates past 3.2 to still work? I've still been using it without problems.
The biggest reason I use it is to search -Ss and -Qs output at the same time, not for color. As far as I know this still doesn't happen with any combination of pacman flags.
It sort of does... Well, installed packages in the repos are listed as such:
allan@arya ~
pacman -Ss glibc core/glibc 2.18-11 (base) [installed] GNU C Library extra/nss-mdns 0.10-5 glibc plugin providing host name resolution via mDNS
But because it also searches pacman -Qs, you would get packages that are not in a repository as well (so most people's AUR packages, unless they make a local repo for it).
Also, citation required for "slower" claim. This is likely due to the aforementioned two operations instead of the single one you are comparing against.
-Dan
-- William Giokas | KaiSforza | http://kaictl.net/ GnuPG Key: 0x73CD09CF Fingerprint: F73F 50EF BBE2 9846 8306 E6B8 6902 06D8 73CD 09CF
participants (4)
-
Allan McRae
-
Dan McGee
-
Pierre Neidhardt
-
William Giokas