Build an RPM package out of a Git repository
| Class | GbpAutoGenerateError | Undocumented |
| Function | makedir | Create directory |
| Function | git_archive | Create a compressed orig tarball in output_dir using git_archive |
| Function | prepare_upstream_tarball | Make sure we have an upstream tarball |
| Function | pristine_tar_build_orig | Build orig using pristine-tar |
| Function | get_upstream_tree | Determine the upstream tree from the given options |
| Function | get_tree | Get/create a tree-ish to be used for exporting and diffing. Accepts special keywords for git index and working copies. |
| Function | get_current_branch | Get the currently checked-out branch |
| Function | get_vcs_info | Get the info for spec vcs tag |
| Function | git_archive_build_orig | Build orig tarball using git-archive |
| Function | is_native | Determine whether a package is native or non-native |
| Function | setup_builder | Setup args and options for builder script |
| Function | packaging_tag_data | Compose packaging tag name and msg |
| Function | setup_mock | setup everything to use gbp-builder-mock |
| Function | create_packaging_tag | Create a packaging/release Git tag |
| Function | disable_hooks | Disable all hooks (except for builder) |
| Function | build_parser | Construct config/option parser |
| Function | parse_args | Parse config and command line arguments |
| Function | main | Entry point for gbp-buildpackage-rpm |
Create a compressed orig tarball in output_dir using git_archive
Make sure we have an upstream tarball
Get/create a tree-ish to be used for exporting and diffing. Accepts special keywords for git index and working copies.
Build orig tarball using git-archive
@param repo: our git repository
@type repo: L{RpmGitRepository}
@param spec: spec file of the package
@type spec: L{SpecFile}
@param output_dir: where to put the tarball
@type output_dir: C{Str}
@param options: the parsed options
@type options: C{dict} of options
@return: the tree we built the tarball from
@rtype: C{str}