batpull(1)
NAME
batpull - Magic package downloader
SYNOPSIS
batpull [options] {PACKAGE} [series]
DESCRIPTION
Reimplement ubuntu-dev-tools' pull-lp-source the proper way (i.e. in ruby :P). Unlike pull-lp-source batpull can fetch tar, diff or dsc independent from each other. If that is not wished, dget will be invoked.
In general batpull tries to be as compatible with pull-lp-source (the
primary syntax is equal and both use the env variable DIST for a custom
series value).
batpull doesn't check the information you provide prior to the attempt of getting the proper URL(s), thus a failure in that step will result in a less precise description (it really can be two things anyway: either you are trying to be silly, or launchpad couldn't be reached ;-).
- batpull expects one mandatory argument, which is the package name. In
addition to that you can set options to fetch the tarball, the diff or
the dsc file. Once you set one of these options batpull will not invoke
dget. This means that setting -t -d -c will essentially behave like no
option at all, with the difference that dget doesn't get used and thus
the source doesn't get extracted.
- Tip
- Like with pull-lp-source you can pass the distribution series as final option. If you wish to set the series name on a general scale you can use the DIST environment variable, which is used by batpull and pull-lp-source. If you don't use either of these options the target distribution as defined in the batrc will be used.
- Note
- Also note that setting DIST will not interfere with any internal use of the pull methods. batpull is the only batscript that would prefer DIST over the configured target distribution.
OPTIONS
--tar Download tarball
--diff Download diff file
--dsc Download dsc file
- PACKAGE
- The source package's name on Launchpad
- series The series/release pocket to download this package from
SEE ALSO
AUTHOR
- Harald Sitter <apachelogger@ubuntu.com>.