Common functionality for import-orig scripts
| Function | orig_needs_repack | Determine if the upstream sources needs to be repacked |
| Function | cleanup_tmp_tree | remove a tree of temporary files |
| Function | is_link_target | does symlink link already point to target? |
| Function | ask_package_name | Ask the user for the source package name. @param default: The default package name to suggest to the user. |
| Function | ask_package_version | Ask the user for the upstream package version. @param default: The default package version to suggest to the user. |
| Function | repacked_tarball_name | Undocumented |
| Function | repack_upstream | Repack the upstream source tree |
| Function | download_orig | No summary |
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. we don't have a suitable upstream tarball (e.g. zip archive or unpacked dir)
and want to use filters
3. we don't have a suitable upstream tarball (e.g. zip archive or unpacked dir)
and want to use pristine-tar
Ask the user for the source package name. @param default: The default package name to suggest to the user.