Kubuntu/Packaging: Difference between revisions
< Kubuntu
(Created page with "Here are some commands I have picked up over the past week or so: Package commands git clone - clone git repo git checkout dir/file - copy file from master to current branc...") |
No edit summary |
||
Line 1: | Line 1: | ||
= Aaron Honeycutt (ahoneybun) = | |||
Here are some commands I have picked up over the past week or so: | Here are some commands I have picked up over the past week or so: | ||
== Git == | |||
git clone | git clone | ||
Line 14: | Line 15: | ||
git diff | git diff | ||
- see what changed in all the files | - see what changed in all the files | ||
== Bzr == | |||
bzr co lp:~kubuntu-packagers/+junk/kubuntu-automation | bzr co lp:~kubuntu-packagers/+junk/kubuntu-automation | ||
- grab kubuntu-automation to ignore errors | - grab kubuntu-automation to ignore errors | ||
== Apt == | |||
apt-get source packagename | apt-get source packagename | ||
Line 26: | Line 31: | ||
apt-cache policy packagename | apt-cache policy packagename | ||
- check installed version and available version | - check installed version and available version | ||
== Debian command == | |||
dh_install --list-missing | dh_install --list-missing |
Revision as of 21:13, 11 August 2015
Aaron Honeycutt (ahoneybun)
Here are some commands I have picked up over the past week or so:
Git
git clone - clone git repo
git checkout dir/file - copy file from master to current branch
git checkout branch-name - switch to branch-name
git diff - see what changed in all the files
Bzr
bzr co lp:~kubuntu-packagers/+junk/kubuntu-automation - grab kubuntu-automation to ignore errors
Apt
apt-get source packagename - grab source for packagename
apt-get build-dep packagename - grab depends of packagename
apt-cache policy packagename - check installed version and available version
Debian command
dh_install --list-missing - check missing files in debian/.install file
debsign -r [email protected]:mnt/path/to/changes - sign package from remote