Class Bat::PullLP
In: lib/bat.rb
Parent: Object

Download the dsc, diff, tarball or all of them of a specific package in a specific pocket from Launchpad.

Methods

dget   get_diff   get_dsc   get_tar   new  

Attributes

response  [R] 

Public Class methods

Try to get the page for package in release using get_lp_page from the Bat module. If no release is specified the target distribution set in the Bat module is used.

Public Instance methods

Invoke dget on a automatically constructed URL

Invoke wget on a automatically constructed URL for the diff.gz file (replaces the file if it is already present in the working directory)

Invoke wget on a automatically constructed URL for the dsc file (replaces the file if it is already present in the working directory)

Invoke wget on a automatically constructed URL for the orig.tar.gz tarball (replaces the file if it is already present in the working directory)

[Validate]