Jump to content

Kubuntu/Packaging: Difference between revisions

From KDE Community Wiki
Ahoneybun (talk | contribs)
No edit summary
Ahoneybun (talk | contribs)
No edit summary
Line 1: Line 1:
= Aaron Honeycutt (ahoneybun) =
Here are some commands that are helpful for new and experienced packagers alike:  
Here are some commands I have picked up over the past week or so:


== Git ==
== Git ==
Line 37: Line 36:
- check missing files in debian/.install file
- check missing files in debian/.install file


debsign -r ubuntu@ec2-54-166-32-1.compute-1.amazonaws.com:mnt/path/to/changes
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