From 1ea216bd0c13c73a1c115eec422f7d0fe23dd1ef Mon Sep 17 00:00:00 2001 From: yeelengxiong <33916029+yeelengxiong@users.noreply.github.com> Date: Wed, 29 Nov 2017 20:48:14 -0600 Subject: [PATCH 1/2] Git-Building command and package related --- EliveUsersGuide.md | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/EliveUsersGuide.md b/EliveUsersGuide.md index cb6e74e..10afc39 100644 --- a/EliveUsersGuide.md +++ b/EliveUsersGuide.md @@ -72,6 +72,32 @@ There are a few documentations that will help solve any problems we encounter du # Debian Package Building + +Requirement: + +If using code management system (VCS) to maintain code, this merge and upstream patches a lot easier +git-buildpackage: a suite to help with Debian packages in Git repositories. +Svn-buildpackage: helper programs to maintain Debian packages with Subversion. +cvs-buildpackage: a set of Debian package scripts for CVS source trees. +This makes merging and cherry-picking upstream patches easier. +Git-build-packages is becoming poplar for developers to manage Debian. + +This link below will show you what is new in the patches and what will be in the upcoming patches. http://alioth.debian.org/ + +Structure: + main: for Debian package source tree. +Upstream: for upstream source tree. +Pristine-tar: for upstream tarball generated by the –pristine-tar option. + +Formatting: +Theses commands automate packing activites +git-import-dsc(1): import a previous Debian package to a Git repository. +git-import-orig(1): import a new upstream tar to a Git repository. +git-dch(1): generate: the Debian changelog from Git commit messages. +git-buildpackage(1): build Debian packages from a Git repository. +git-pbuilder(1): build Debian packages from a Git repository using pbuilder/cowbuilder. + + ## Workflow 1. Get a copy of the upstream software, usually in a compressed tar format. @@ -88,7 +114,6 @@ There are a few documentations that will help solve any problems we encounter du ## Import Upstream - 1. First, create the first version of a package, outside of Git. Once it done, you can import the package using the import-dsc command. ~~~shell From 3ee460a11c4f4e871c7e89a2da4f780088e88fe7 Mon Sep 17 00:00:00 2001 From: yeelengxiong <33916029+yeelengxiong@users.noreply.github.com> Date: Wed, 29 Nov 2017 20:51:29 -0600 Subject: [PATCH 2/2] gitbuild rearrange format --- EliveUsersGuide.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/EliveUsersGuide.md b/EliveUsersGuide.md index 10afc39..05218df 100644 --- a/EliveUsersGuide.md +++ b/EliveUsersGuide.md @@ -73,19 +73,18 @@ There are a few documentations that will help solve any problems we encounter du # Debian Package Building -Requirement: -If using code management system (VCS) to maintain code, this merge and upstream patches a lot easier +If using code management system (VCS) to maintain code, this merge and upstream patches a lot easier. + +Requirement: git-buildpackage: a suite to help with Debian packages in Git repositories. Svn-buildpackage: helper programs to maintain Debian packages with Subversion. cvs-buildpackage: a set of Debian package scripts for CVS source trees. This makes merging and cherry-picking upstream patches easier. Git-build-packages is becoming poplar for developers to manage Debian. -This link below will show you what is new in the patches and what will be in the upcoming patches. http://alioth.debian.org/ - Structure: - main: for Debian package source tree. +main: for Debian package source tree. Upstream: for upstream source tree. Pristine-tar: for upstream tarball generated by the –pristine-tar option. @@ -97,6 +96,7 @@ git-dch(1): generate: the Debian changelog from Git commit messages. git-buildpackage(1): build Debian packages from a Git repository. git-pbuilder(1): build Debian packages from a Git repository using pbuilder/cowbuilder. +#This link below will show you what is new in the patches and what will be in the upcoming patches. http://alioth.debian.org/ ## Workflow