Module git_import_orig :: Class OrigUpstreamSource
[hide private]
[frames] | no frames]

Class OrigUpstreamSource

            object --+    
                     |    
gbp.deb.UpstreamSource --+
                         |
                        OrigUpstreamSource

Upstream source that will be imported

Instance Methods [hide private]
 
needs_repack(self, options)
Determine if the upstream sources needs to be repacked

Inherited from gbp.deb.UpstreamSource: __init__, guess_version, pack, unpack

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]

Inherited from gbp.deb.UpstreamSource: known_compressions

Class Variables [hide private]

Inherited from gbp.deb.UpstreamSource: is_dir

Inherited from gbp.deb.UpstreamSource (private): _orig, _path, _unpacked

Properties [hide private]

Inherited from gbp.deb.UpstreamSource: is_orig, path

Inherited from object: __class__

Method Details [hide private]

needs_repack(self, options)

 

Determine if the upstream sources needs to be repacked

We repack if

  1. we want to filter out files and use pristine tar since we want to make a filtered tarball available to pristine-tar
  2. when we don't have a suitable upstream tarball (e.g. zip archive or unpacked dir) and want to use filters
  3. when we don't have a suitable upstream tarball (e.g. zip archive or unpacked dir) and want to use pristine-tar