diff options
author | Scott Moser <smoser@brickies.net> | 2016-08-05 16:57:38 -0400 |
---|---|---|
committer | Scott Moser <smoser@brickies.net> | 2016-08-08 19:17:53 -0400 |
commit | 2188dc71be86b6c22d2c5522fb7ce41dee566903 (patch) | |
tree | 3d809804d7836a9f5ff2b1e82c18e42522529700 /debian/README.source | |
parent | b56d7a191fc695be364430f8428a17591c523403 (diff) | |
download | vyos-cloud-init-2188dc71be86b6c22d2c5522fb7ce41dee566903.tar.gz vyos-cloud-init-2188dc71be86b6c22d2c5522fb7ce41dee566903.zip |
add debian directory from current yakkety
Diffstat (limited to 'debian/README.source')
-rw-r--r-- | debian/README.source | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 00000000..5e4319fb --- /dev/null +++ b/debian/README.source @@ -0,0 +1,43 @@ +=== General Info === +Development packaging branch is at + lp:ubuntu/<suite>/cloud-init +alternatively, if you're on the development release: + lp:ubuntu/cloud-init + +Patches in debian/patches are also stored applied in bzr. + +To cherry pick revisions 391 to tip from from trunk, do something like: + s=391; e=; + b=../trunk; + [ -n "${e}" ] || e=$(cd ${b} && bzr revno) + pfile=catchup-${s}${e:+-${e}}.patch + [ "$s" = "$e" ] && pfile=catchup-${s}.patch + ( cd ../trunk && bzr log -r$s..$e && + bzr diff -p1 -r$(($s-1))..$e ) > ../$pfile.full + mkdir -p debian/patches + filterdiff --exclude "*/ChangeLog" < ../$pfile.full > debian/patches/$pfile + echo "$pfile" >> debian/patches/series + quilt push + quilt refresh + files="$(quilt files ${pfile}) debian/patches/series debian/patches/${pfile}" + files="$files .pc/${pfile} .pc/applied-patches" + bzr add $files + + # now add an entry + dch --append "${pfile} (sync to $e)" + dch --edit # improve the entry + debcommit $files + + ../$pfile.full will have the full diff. See 'ChangeLog' entries there + and debian/patches/$pfile for help writing debian/changelog entry + +You can set 'e' (end) to not go to tip. + +== Cherry pick single patch == +There is a utility in debian/cherry-pick-rev that will +help to cherry pick a single commit from trunk. + +== New snapshot == +To pull a new upstream snapshot, given lp:cloud-init in ../trunk: + + ./debian/new-upstream-snapshot ../trunk |