Kubuntu/Packaging: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
Here are some commands that are helpful for new and experienced packagers alike: | |||
Here are some commands | |||
== Git == | == Git == | ||
Line 37: | Line 36: | ||
- check missing files in debian/.install file | - check missing files in debian/.install file | ||
debsign -r | debuild -nc | ||
- (no clean) builds again but without compiling everything over | |||
debsign -r host@ipaddress:path/to/changes | |||
- sign package from remote | - sign package from remote |
Revision as of 21:21, 11 August 2015
Here are some commands that are helpful for new and experienced packagers alike:
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
debuild -nc - (no clean) builds again but without compiling everything over
debsign -r host@ipaddress:path/to/changes - sign package from remote