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 45: Line 45:
- uploads to Launchpad  
- uploads to Launchpad  
while ignoring the local keyring search
while ignoring the local keyring search
== pbuilder ==
pbuilder-dist wily create
- make a wily pbuilder in that directory
pbuilder-dist vivid create
- make a vivid pbuilder in that directory

Revision as of 21:12, 7 September 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

dput -u ppa:username/ppa <source.changes>

- uploads to Launchpad while ignoring the local keyring search

pbuilder

pbuilder-dist wily create - make a wily pbuilder in that directory

pbuilder-dist vivid create - make a vivid pbuilder in that directory