From 03f3d75d43458978ecc375f7e16cfc8f35b5ae99 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Mon, 10 Jan 2011 16:09:05 +0100 Subject: Make gbp-create-remote-repo a first class citizen Add manpage, move into path, add bash completion --- docs/chapters/import.sgml | 2 +- docs/common.ent | 1 + docs/man.gbp-create-remote-repo.sgml | 11 +++ docs/manpages/gbp-create-remote-repo.sgml | 125 ++++++++++++++++++++++++++++++ docs/manpages/manpages.ent | 1 + docs/manual.sgml | 1 + 6 files changed, 140 insertions(+), 1 deletion(-) create mode 100644 docs/man.gbp-create-remote-repo.sgml create mode 100644 docs/manpages/gbp-create-remote-repo.sgml (limited to 'docs') diff --git a/docs/chapters/import.sgml b/docs/chapters/import.sgml index 079ea334..cbb88048 100644 --- a/docs/chapters/import.sgml +++ b/docs/chapters/import.sgml @@ -168,6 +168,6 @@ EOF &git-import-orig; 0.1 ../package-0.1.tar.gz dh_make - That's it, you're done. + That's it, you're done. If you want to publish you're new repository you can use &gbp-create-remote-repo;. diff --git a/docs/common.ent b/docs/common.ent index 19fbd442..8a7e3e24 100644 --- a/docs/common.ent +++ b/docs/common.ent @@ -11,6 +11,7 @@ gbp-pull"> gbp-clone"> gbp-pq"> + gbp-create-remote-repo"> git"> gitk"> pbuilder"> diff --git a/docs/man.gbp-create-remote-repo.sgml b/docs/man.gbp-create-remote-repo.sgml new file mode 100644 index 00000000..f46421a3 --- /dev/null +++ b/docs/man.gbp-create-remote-repo.sgml @@ -0,0 +1,11 @@ + + %COMMON; + + %MANPAGES; +]> + + +git-buildpackage Manual +&man.gbp.create.remote.repo; + diff --git a/docs/manpages/gbp-create-remote-repo.sgml b/docs/manpages/gbp-create-remote-repo.sgml new file mode 100644 index 00000000..a68b74d5 --- /dev/null +++ b/docs/manpages/gbp-create-remote-repo.sgml @@ -0,0 +1,125 @@ + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + +
+ + gbp-create-remote-repo + &dhsection; + + + &gbp-create-remote-repo; + + Create remote repositories + + + + &gbp-create-remote-repo; + + [auto|on|off] + url-pattern + + branch_name + branch_name + + + + + DESCRIPTION + + &gbp-create-remote-repo; creates a repository at a remote location via ssh + and pushes the local repository into it. It then sets up remote branch + tracking so you can use &gbp-pull; to update your repo from there. + + + Note: By default the remote repositories are created in the collab-maint repository on alioth.debian.org. + + + + OPTIONS + + + =pattern + + + Where to create the remote repository. The part + %(pkg)s will be replaced by the package name. + + + + + =branch_name + + + The branch in the Git repository the Debian package is being + developed on, default is master. + + + + =branch_name + + + The branch in the &git; repository the upstream sources are put + onto. Default is upstream. + + + + + + + Whether to push the pristine tar branch. + + + + + + + verbose execution + + + + [auto|on|off] + + + Wheter to use colored output. + + + + + + + Wheter to set up branch tracking for the debian, upstream and + pristine-tar branches. + + + + + &man.git.config-files; + + + SEE ALSO + + + git-buildpackage + 1 + , + + gbp-pull + 1 + + + + + AUTHOR + + &dhusername; &dhemail; + + +
diff --git a/docs/manpages/manpages.ent b/docs/manpages/manpages.ent index 62115cfc..be577db8 100644 --- a/docs/manpages/manpages.ent +++ b/docs/manpages/manpages.ent @@ -6,5 +6,6 @@ + diff --git a/docs/manual.sgml b/docs/manual.sgml index 79776917..3e3add82 100644 --- a/docs/manual.sgml +++ b/docs/manual.sgml @@ -35,6 +35,7 @@ &man.gbp.clone; &man.gbp.pull; &man.gbp.pq; + &man.gbp.create.remote.repo; Copyright -- cgit v1.2.3