Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

sfood(1) [debian man page]

SFOOD(1)						      General Commands Manual							  SFOOD(1)

sfood - detect import statements using the AST parser SYNOPSIS
sfood [options] files ... DESCRIPTION
This script outputs a comma-separated list of tuples: ((from_root, from_filename), (to_root, to_filename)) The roots are the root directories where the modules lie. You can use sfood-graph or some other tool to filter, cluster and generate a meaningful graph from this list of dependencies. As a special case, if the 'to' tuple is (None, None), this means to at least include the 'from' tuple as a node. This may happen if the file has no dependencies on anything. As inputs, it can receive either files or directories; in case no argument is passed, it parses the current directory recursively. OPTIONS
-h, --help show the help message and exit -i, --internal, --internal-only Filter out dependencies that are outside of the roots of the input files. If internal is used twice, we filter down further the dependencies to the # set of files that were processed only, not just to the files that live in the same roots. -I IGNORES, --ignore=IGNORES Add the given directory name to the list to be ignored. -v, --verbose Output more debugging information -f, -r, --follow, --recursive Follow the modules depended upon and trace their dependencies. WARNING: This can be slow. Use --internal to limit the scope. --print-roots Only print the package roots corresponding to the input files.This is mostly used for testing and troubleshooting. -d, --disable-pragmas Disable processing of pragma directives as strings after imports. -u, --ignore-unused Automatically ignore unused imports. (See sfood-checker(1)) SEE ALSO
sfood-checker(1), sfood-cluster(1), sfood-copy(1), sfood-flatten(1), sfood-graph(1), sfood-imports(1). AUTHOR
sfood was written by Martin Blais <> and it's part of snakefood suite. This manual page was written by Sandro Tosi <>, for the Debian project (and may be used by others). January 2, 2009 SFOOD(1)

Check Out this Related Man Page

ceve(1) 							   USER COMMANDS							   ceve(1)

ceve - parse package metadata SYNOPSIS
ceve [-output-type output-type] [-output-file output-file] [-input-type input-type] [-extract-cone package=version] [-cone-dep-types code- dependency-types] [-stop-extraction package=version] [-dose-date yyyy-mm-dd] [-dose-archive archive-name] [-resolve-dependencies] [-rpm- versions] [-debian-versions] [-verbose] [-help] files [-ignore-file-deps file] DESCRIPTION
Ceve is a generalized metadata parser. It reads package specifications, extracts package metadata from them, performs some manipulations, and outputs the package metadata in one of several formats. OPTIONS
-cone-dep-types list A comma-separated list of dependency types to use for dependency closure generation. By default, all dependency types are used. Pos- sible values are: o conflicts o depends o enhances o predepends o recommends o replaces o suggests -debian-versions Force usage of the Debian version numbering scheme, as well as the Debian syntax for virtual packages (dependencies with a version specification cannot be satisfied by a virtual package). -dose-architecture architecture Use architecture as the default Dose architecture. -dose-archive archive Use archive as the default Dose archive name. -dose-date date Set date as the lifetime for the packages to add to a Dose database. -extract-cone package Only output the package package and its dependency closure. The package specification can be either a package name, or a package name and version in the form name=version. This option can be abbreviated as -x. -help Not particularly useful, given that you're already reading this manpage. -input-type input-type The input type. Possible values are: o debian One Debian package (.deb) o debian-pool A Debian pool or cache file o rpm One RPM package o hdlist An uncompressed RPM hdlist file o pkgsrc A pkgsrc pkg_summary file o egraph A n EGraph file (GraphML-based) o synthesis-hdlist An RPM synthesis hdlist (uncompressed) This option can be abbreviated as -p. -output-dir directory Set the directory to output to. This is only useful when using the dose output type. -output-file file Set the file to output to. This option can be abbreviated as -o. -output-type output-type Set the type of output to produce. Possible values are: o prettyprint Pretty printer. o egraph EGraph format (GraphML-based) o dose Dose database format (use the -output-dir option to specify which directory to write to) o oz Oz data structure o graphviz GraphVIZ graph o tart or cnf CNF formula, readable by Tart This option can be abbreviated as -t. -resolve-dependencies If specified, resolve dependencies so that a dependency on a virtual package is replaced by the disjunction of all packages that provide the virtual package. -rpm-versions Force usage of the RPM version numbering scheme, as well as the RPM semantics for virtual packages (all provides have versions). This is default when using the rpm or hdlist input types. -stop-extraction package When computing the dependency closure, stop at package package (i.e. do not take its dependencies into account). Specification is the same as for the -extract-cone option. -verbose Be verbose (mostly useful for debugging). -ignore-file-deps file file should countain a list of file dependencies that are assumed to be available, and thus will not generate a warning during dependency resolution if not provided by any package. Version 1.2 October 28, 2008 ceve(1)
Man Page

Featured Tech Videos