Script Index


/usr/sbin/gaze

(gaze into the crystal ball)

Synopsis

gaze - view sorcery spell management information


function maybe_column()

Parameters:

Description

override column so that we can pass -q to not columnate.


function import_snapshot_old()

Parameters:

Description

THIS FUNCTION IS DEPRECATED To make the export_snapshot actualy be useful, an import is quite handy.


function mk_snapshot_filename()

Parameters:

Description

Construct and echo a filename to save a snapshot in.


function export_snapshot()

Parameters:

Description

Write spell configurations and a list of installed spells to an archive. See import_snapshot


function import_snapshot()

Parameters:

Description

Reads a snapshot created by export_snapshot, restores spell configuration and saves the list of installed spells into the install queue.


function checksum()

Parameters:

Description

Run a simple checksum of a list of files in a file Is this used anywhere?


function md5sum_files()

Parameters:

Description

Run an md5sum of a list of files in a file Is this used anywhere?


function alien()

Parameters:

Description

Find all files on the system not installed by a spell This can be quite time consuming.


function gaze_catalog()

Parameters:

Stdout

catalog

Description

Lists sections and spells in a grimoire. Used by gaze grimoire


function gaze_catalog_html()

Parameters:

Stdout

HTML Catalog

Description

Lists all sections and spells, output is in HTML format


function display()

Parameters:

Note

We may want to move this function as it is a generaly handy function

Description

Display a file. Decompresses it if necessary.


function newer()

Parameters:

Description

List spells created more recently than the given date


function older()

Parameters:

Description

List spells created less recently than the given date


function show_from()

Parameters:

Stdout

grep results

Description

Find all install logs that mention the given string, discarding hits that match state files


function show_spell_component()

Parameters:

Description

Generalized show component of a spell, BUILD, DEPENDS, etc...


Parameters:

Description

parameter processing for the search routines. the case statement should be self-explanatory


Parameters:

Args

Patterns

Description

searches for pattern(s) in the name of all spells. it searches in the codex.index files for the sake of speed


function grep_find_grimoire()

Parameters:

Stdout

The full path to the file, /var/lib/sorcery/codex/grimoire/games/coal/DETAILS

Description

Searches for something in a specified grimoire. Not really sure what it looks for or why.


Parameters:

Args

Patterns

Description

searches for pattern(s) in the SHORT field of every SPELL in every grimoire


Parameters:

Args

Patterns

Description

searches for pattern(s) in the long description of every SPELL in every grimoire


function gaze_provides()

Parameters:

Description

Given a feature, shows a list of spells that provide the feature or functionality. For example: % gaze provides alsa-drivers alsa-driver linux-devel linux-dj This output indicates that alsa-driver, linux-devel, and linux-dj all provide the alsa-drivers feature.


function specific_voyeur()

Parameters:

Description

Watches a specific exhibisionist


function any_voyeur()

Parameters:

Description

Watches the first exhibisionist found


function gaze_activate_voyeur()

Parameters:

Description

Start waiting for an exhibisionist.


function show_orphans()

Parameters:

Description

Show spells that have no other spell depending on them


function show_non_orphans()

Parameters:

Description

Show spells that have other spell depending on them


function gaze_show_website()

Parameters:

Description

Shows the website/home page for the given spell.


function show_maintainer()

Parameters:

Description

Shows the maintainer for the given section.


function gaze_show_section()

Parameters:

Description

Given a section name, shows a table of spells in that section along with their grimoire version and installed verion


function gaze_show_section_version_table()

Parameters:

Description

Given a section name, shows a table of spells in that section along with their grimoire version and installed verion


function gaze_show_spell_version_table()

Parameters:

Description

Shows the versions of spells, both the version in the grimoire and the version installed on the system.


function gaze_show_version()

Parameters:

Description

Shows the versions of spells, both the version in the grimoire and the version installed on the system.


function gaze_show_versions()

Parameters:

Description

Shows the all versions of spell, all versions in all grimoires and the version installed on the system.


function gaze_show_patchlevels()

Parameters:

Description

Shows the all versions of spell, all versions in all grimoires and the version installed on the system.


function gaze_show_section_license_table()

Parameters:

Description

Given a section name, shows a table of spells in that section along with their licenses.


function gaze_show_spell_license_table()

Parameters:

Description

Shows the licenses of spells


function gaze_show_license_table()

Parameters:

Description

Shows the information about the given licenses.


function gaze_show_grimoires()

Parameters:

Description

Shows lising of installed grmoires by grimoire name only.


function gaze_show_license()

Parameters:

Description

Shows the licenses of spells if a spell or section name is given. Shows info a license if a license name is given.


function gaze_show_installed()

Parameters:

Description

Displays the installed version of spells


function gaze_show_short_description()

Parameters:

Description

Display the SHORT description of spells


function gaze_show_long_description()

Parameters:

Description

Display the long description of spells


function gaze_show_where()

Parameters:

Description

Display the section spells are located in


function gaze_show_depends()

Parameters:

Description

Display what spells depend on the given spell


function gaze_show_dependencies()

Parameters:

See

gaze_show_depends


function gaze_show_size_all()

Parameters:

Description

Display the size all installed spell use and the largest among them


function gaze_show_size()

Parameters:

Description

Display the space an installed spell uses


function gaze_install()

Parameters:

Description

displays a spell's install log show log without sorcery log files eitther, if "full" show the entire log including sorcery state files


function figure_installed()

Parameters:

Description

used by system_info()


function gaze_tablet()

Parameters:

Stdout

information of spell from tablet

Description

display spell information from tablet


function gaze_system_info()

Parameters:

Description

displays various information about a Source Mage system


function gaze_show_spells_by_status()

Parameters:

Description

prints all spells of a given status.


function gaze_time()

Parameters:

Description

Display the time spells took to compile and install. If gaze is in silent mode, pad all the times as needed.


function gaze_time_full()

Parameters:

Description

Display the time spells took to compile and install. If gaze is in silent mode, pad all the times as needed. Prints all the available times.


function gaze_time_system()

Parameters:

Description

Display the time all installed spells took to compile and install. If --no-orphans is passed, they are skipped.