[Pkg-javascript-commits] [node-lodash] 05/08: add README.Debian for using multi tarballs
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Tue Aug 22 17:35:28 UTC 2017
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository node-lodash.
commit 924223933b1bb75f5cb8ca3d992db4c7b2440697
Author: Pirate Praveen <praveen at debian.org>
Date: Tue Aug 22 22:53:46 2017 +0530
add README.Debian for using multi tarballs
---
debian/README.Debian | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..7e260e6
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,35 @@
+This package use multiple upstream tarballs.
+
+See
+https://raphaelhertzog.com/2010/09/07/how-to-use-multiple-upstream-tarballs-in-debian-source-packages/
+
+Example of updating from 4.16.6 to 4.17.4
+
+Step 1: Download both tarballs
+uscan --verbose
+
+This will create node-lodash_4.17.4+dfsg.orig.tar.xz and
+ lodash-methods-4.17.4.tar.gz.
+
+Rename second tarball to
+ node-lodash_4.17.4+dfsg.orig-modules.tar.gz
+
+Step 2: Extract previous version's dsc file
+dpkg-souce -x node-lodash_4.16.6+dfsg-2.dsc
+
+Step 3: Use uupdate to use first tarball
+cd node-lodash-4.16.6+dfsg
+uupdate -v 4.17.4+dfsg ../node-lodash_4.17.4+dfsg.orig.tar.xz
+
+Step 4: Extract second tarball
+cd ../node-lodash-4.17.4+dfsg
+tar -zxvf ../node-lodash_4.17.4+dfsg.orig-modules.tar.gz
+mv lodash-4.17.4-npm-* modules
+
+Step 5: Create dsc file
+dpkg-source -b .
+
+Step 6: Import dsc file to git
+cd ../node-lodash
+gbp import-dsc --pristine-tar ../node-lodash_4.17.4+dfsg-1.dsc
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-lodash.git
More information about the Pkg-javascript-commits
mailing list