|
__init__(self,
path)
x.__init__(...) initializes x; see help(type(x)) for signature |
|
|
|
create_pristinetar_commits(self,
upstream_tree,
tarball,
component_tarballs)
Create pristine-tar commits for a package with main tarball tarball
and (optionl) component tarballs based on upstream_tree |
|
|
|
debian_version_from_upstream(self,
upstream_tag_format,
upstream_branch,
commit=' HEAD ' ,
epoch=None,
debian_release=True)
Build the Debian version that a package based on upstream commit
commit would carry taking into account a possible epoch. |
|
|
str
|
find_version(self,
format,
version)
Check if a certain version is stored in this repo and return the SHA1
of the related commit. |
|
|
Bool
|
|
|
tree_drop_dirs(self,
tree,
dirs)
Drop the given top level dirs from the given git tree returning a new
tree object. |
|
|
|
tree_get_dir(self,
tree,
dir)
Get the SHA1 of directory in a given tree |
|
|
Inherited from git.repository.GitRepository :
archive ,
clean ,
collect_garbage ,
force_head ,
get_author_info ,
get_config ,
is_clean ,
is_empty ,
rev_parse ,
set_user_email ,
set_user_name ,
status
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|
Inherited from git.repository.GitRepository :
abort_merge ,
branch_contains ,
create_branch ,
delete_branch ,
get_branch ,
get_local_branches ,
get_merge_base ,
get_merge_branch ,
get_remote_branches ,
get_upstream_branch ,
has_branch ,
is_fast_forward ,
merge ,
rename_branch ,
set_branch ,
set_upstream_branch ,
update_ref
|
Inherited from git.repository.GitRepository :
create_tag ,
delete_tag ,
describe ,
find_branch_tag ,
find_tag ,
get_tags ,
has_tag ,
move_tag ,
verify_tag
|
Inherited from git.repository.GitRepository :
checkout ,
get_obj_type ,
has_treeish ,
list_tree ,
make_tree ,
write_tree
|
Inherited from git.repository.GitRepository :
add_remote_repo ,
fetch ,
get_remote_repos ,
get_remotes ,
has_remote_repo ,
pull ,
push ,
push_tag ,
remove_remote_repo
|
Inherited from git.repository.GitRepository :
add_files ,
list_files ,
remove_files ,
write_file
|
Inherited from git.repository.GitRepository :
commit_all ,
commit_dir ,
commit_files ,
commit_staged ,
commit_tree
|
Inherited from git.repository.GitRepository :
get_commit_info ,
get_commits ,
get_subject ,
grep_log ,
show
|
Inherited from git.repository.GitRepository :
apply_patch ,
diff ,
diff_status ,
format_patches
|
Inherited from git.repository.GitRepository :
add_submodule ,
get_submodules ,
has_submodules ,
update_submodules
|
|
_mangle_version(cls,
format,
version)
Basic version mangling to replce single characters |
|
|
|
_unmangle_format(cls,
format)
Reverse of _mangle_version for format |
|
|
|
_unmangle_version(cls,
format,
tag)
Reverse of _mangle_version for version |
|
|
|
|
|
version_to_tag(cls,
format,
version)
Generate a tag from a given format and a version |
|
|
Inherited from git.repository.GitRepository :
clone ,
create
|