Scout
From openSUSE
Introduction
Scout is a command line utility which allows the users to search in packages using indexes of various attributes. Each functionality has its own module. It is accompanied by small tool which prints useful messages about packages when command is not found in the shell.
Installation
Scout is available in openSUSE BuildService in home:prusnak:scout project. If you would like to install and test it, follow these three steps:
- add the following repository (change openSUSE_11.0 to your distribution if necessary)
zypper ar http://download.opensuse.org/repositories/home:/prusnak:/scout/openSUSE_11.0 scout
- if you plan to install indexes also add next repository:
zypper ar http://download.opensuse.org/repositories/home:/prusnak:/scout/data scout-data
- install scout
zypper in scout
- if you have added index repository, install any of the index data you find attractive (see below for the whole list of indexes):
zypper in scout-bin-suse110 zypper in scout-java-suse110
Command-not-Found
If you'd like to try command-not-found feature (and you are not using openSUSE 11.1), follow these steps:
- install command-not-found
zypper in command-not-found
(zypper should automatically install dependencies like scout, patched bash and python-satsolver for 11.0+)
or use One Click Install for 11.0 which adds needed repository
- add following lines to /etc/bash.bashrc.local:
if [ -f /etc/bash_command_not_found ]; then
. /etc/bash_command_not_found
fi
- or if you are using zsh:
if [ -f /etc/zh_command_not_found ]; then
. /etc/zsh_command_not_found
fi
Upcoming openSUSE 11.1 will contain these feature working out of the box!
Videos
- scout demonstration video by Pavol Rusnak
- java wrapper using scout by Michal Vyskocil
Supported Modules and Repositories
| Module | description |
|---|---|
| autoconf | Search for autoconf macros inside the m4 files. |
| bin | Search for binaries contained in the packages. |
| header | Search for C/C++/Obj-C/Obj-C++ headers |
| java | Search for java classes inside the packaged JAR files. |
| python | Search for python modules. |
| webpin | Search in packages using the webpin webservice. |
| Repository | description |
|---|---|
| factory | openSUSE Factory |
| jpackage17 | Java:jpackage-1.7 (openSUSE BuildService) |
| packman103 | Packman openSUSE 10.3 |
| packman110 | Packman openSUSE 11.0 |
| sle10 | SUSE Linux Enterprise 10 |
| suse101 | SUSE Linux 10.1 |
| suse102 | openSUSE 10.2 |
| suse103 | openSUSE 10.3 |
| suse110 | openSUSE 11.0 |
| suse111 | openSUSE 11.1 |
| zypp | Zypp Repositories |
Module-repository matrix and index list
| factory | jpackage17 | packman103 | packman110 | sle10 | suse101 | suse102 | suse103 | suse110 | suse111 | zypp | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| autoconf | no | no | no | no | index | index | index | index | index | todo | no |
| bin | no | no | index | index | index | index | index | index | index | todo | yes |
| header | no | no | no | no | index | index | index | index | index | todo | no |
| library | no | no | no | no | todo | todo | todo | todo | todo | todo | no |
| java | no | index | no | no | index | index | index | index | index | todo | no |
| perl | no | no | no | no | todo | todo | todo | todo | todo | todo | no |
| pkgconfig | no | no | no | no | todo | todo | todo | todo | todo | todo | no |
| python | no | no | no | no | index | index | index | index | index | todo | no |
| ruby | no | no | no | no | todo | todo | todo | todo | todo | todo | no |
| webpin | yes | no | no | no | no | no | yes | yes | yes | todo | no |
- yes - available (right after installing scout, no other packages needed)
- index - available after installing index package scout-module-repository
- todo - planned, but not yet available/implemented
- no - not available (either inapplicable or has a very little importance)
Tasks / Future plans
- ruby indexes
- perl indexes
- pkgconfig indexes
-
binaries indexes- done -
java indexes- done -
autoconf indexes- done -
bash completion- done -
documentation + man page- done -
python indexes- done -
header indexes- done -
support for ZYPP repositories in bin module- done
References
- Git repository: http://repo.or.cz/w/scout.git
- BuildService project: https://build.opensuse.org/project/show?project=home:prusnak:scout
- BuildService repositories: http://download.opensuse.org/repositories/home:/prusnak:/scout/

