~ubuntu-branches/ubuntu/dapper/dpatch/dapper

« back to all changes in this revision

Viewing changes to tests/log/11_dpep_debianonly_origtargz_in_upstream.sh.log

  • Committer: Bazaar Package Importer
  • Author(s): Junichi Uekawa
  • Date: 2005-12-16 08:16:54 UTC
  • Revision ID: james.westby@ubuntu.com-20051216081654-9or0cuc9nzsszob7
Tags: 2.0.16
* Bug fix: "dpatch: manpage typo: s/ th / the /", thanks to Justin
  Pryzby (Closes: #337160).
* Bug fix: "dpatch suggests wrong cpp build dependency", thanks to
  Matthias Klose (Closes: #333005).
* Bug fix: "examples/rules/rules.new.non-dh.gz uses undocumented
  --with-cpp option", thanks to Matthias Klose (Closes: #333006).
* Bug fix: "dpatch-edit-patch should fail when no patchname specified",
  thanks to Charles Fry (Closes: #328731).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
   Check that --debianonly option is working in dpatch-edit-patch
 
2
   with the auto-detection, finding the .tar.gz in ../upstream directory.
 
3
   Bug: #315719 -- patch to use ../upstream
 
4
   Depends on 10_dpep_debianonly.sh for setting up the environment.
 
5
   Bug: #317775 -- fallback when orig.tar.gz does not exist does not work.
 
6
 
 
7
+ cd /tmp/XXXX/dpatch-test/../debianonly/dpatch-test
 
8
+ mv ../upstream ../hidden-upstream
 
9
+ echo 'echo yet-more-patch > 11 '
 
10
+ dpatch-edit-patch -P/tmp/XXXX/debianonly/dpatch-test/../upstream --debianonly -d test 11_test_patch
 
11
dpatch-edit-patch: * /tmp/XXXX/debianonly/dpatch-test/debian/patches/11_test_patch.dpatch does not exist, it will be created as a new dpatch.
 
12
dpatch-edit-patch: * debian/-only layout selected
 
13
DEBUG: try /tmp/XXXX/debianonly/dpatch-test/../upstream
 
14
Reading package lists...
 
15
Building dependency tree...
 
16
E: Unable to find a source package for dpatch-test
 
17
dpatch-get-origtargz: Error: apt-get source dpatch-test failed
 
18
dpatch-get-origtargz: Error: unable to obtain dpatch-test_0.1.orig.tar.gz from anywhere
 
19
dpatch-edit-patch: Error: unable to obtain upstream tarball,  failed
 
20
+ :
 
21
+ mv ../hidden-upstream ../upstream
 
22
+ echo 'echo yet-more-patch > 11 '
 
23
+ dpatch-edit-patch -P/tmp/XXXX/debianonly/dpatch-test/../upstream --debianonly -d test 11_test_patch
 
24
dpatch-edit-patch: * /tmp/XXXX/debianonly/dpatch-test/debian/patches/11_test_patch.dpatch does not exist, it will be created as a new dpatch.
 
25
dpatch-edit-patch: * debian/-only layout selected
 
26
DEBUG: try /tmp/XXXX/debianonly/dpatch-test/../upstream
 
27
dpatch-edit-patch: * unpacking dpatch-test_0.1.orig.tar.gz
 
28
dpatch-edit-patch: * Copying /tmp/XXXX/debianonly/dpatch-test to reference directory.
 
29
dpatch-edit-patch: * Cleaning /tmp/XXXX/dpatch-test
 
30
--- Cleaning
 
31
dh_testdir
 
32
dh_testroot
 
33
dh_clean -k
 
34
dpatch deapply-all
 
35
03_description not applied to ./ .
 
36
02_another not applied to ./ .
 
37
01_edpatch not applied to ./ .
 
38
rm -rf patch-stamp debian/patched
 
39
make: Nothing to be done for `unpatch'.
 
40
03_description not applied to ./ .
 
41
02_another not applied to ./ .
 
42
01_edpatch not applied to ./ .
 
43
dpatch-edit-patch: Warning: * No base-patch supplied, not applying any patches.
 
44
dpatch-edit-patch: * Copying reference directory /tmp/XXXX/dpatch-test to work directory.
 
45
 
 
46
dpatch-edit-patch:
 
47
 
 
48
Now launching an interactive shell in your work directory. Edit your files.
 
49
When you are done, exit the shell. When you exit the shell, your patch will be
 
50
automatically updated based on the changes in your work directory.
 
51
 
 
52
If you wish to abort the process, exit the shell such that it returns an exit
 
53
code of "230". This is typically done by exiting the shell with the command
 
54
'exit 230'.
 
55
dpatch-edit-patch: * Creating new patch /tmp/XXXX/debianonly/dpatch-test/debian/patches/11_test_patch.dpatch
 
56
dpatch-edit-patch: Warning: debian/patches/00template not exist, using hardcoded default.
 
57
dpatch-edit-patch: /tmp/XXXX/debianonly/dpatch-test/debian/patches/11_test_patch.dpatch created.
 
58
+ echo 'echo yet-more-patch > 11 '
 
59
+ dpatch-edit-patch --origtargzpath=/tmp/XXXX/debianonly/dpatch-test/../upstream --debianonly -d test 11_test_patch
 
60
dpatch-edit-patch: * /tmp/XXXX/debianonly/dpatch-test/debian/patches/11_test_patch.dpatch exists, this patch will be updated.
 
61
dpatch-edit-patch: * debian/-only layout selected
 
62
DEBUG: try /tmp/XXXX/debianonly/dpatch-test/../upstream
 
63
dpatch-edit-patch: * unpacking dpatch-test_0.1.orig.tar.gz
 
64
dpatch-edit-patch: * Copying /tmp/XXXX/debianonly/dpatch-test to reference directory.
 
65
dpatch-edit-patch: * Cleaning /tmp/XXXX/dpatch-test
 
66
--- Cleaning
 
67
dh_testdir
 
68
dh_testroot
 
69
dh_clean -k
 
70
dpatch deapply-all
 
71
03_description not applied to ./ .
 
72
02_another not applied to ./ .
 
73
01_edpatch not applied to ./ .
 
74
rm -rf patch-stamp debian/patched
 
75
make: Nothing to be done for `unpatch'.
 
76
03_description not applied to ./ .
 
77
02_another not applied to ./ .
 
78
01_edpatch not applied to ./ .
 
79
dpatch-edit-patch: Warning: 11_test_patch.dpatch is not listed in debian/patches/00list, no other patches will be applied to the working directory.
 
80
dpatch-edit-patch: * Copying reference directory /tmp/XXXX/dpatch-test to work directory.
 
81
dpatch-edit-patch: * Applying current 11_test_patch.dpatch for editing.
 
82
applying patch 11_test_patch to ./ ... ok.
 
83
 
 
84
dpatch-edit-patch:
 
85
 
 
86
Now launching an interactive shell in your work directory. Edit your files.
 
87
When you are done, exit the shell. When you exit the shell, your patch will be
 
88
automatically updated based on the changes in your work directory.
 
89
 
 
90
If you wish to abort the process, exit the shell such that it returns an exit
 
91
code of "230". This is typically done by exiting the shell with the command
 
92
'exit 230'.
 
93
dpatch-edit-patch: Updating patch /tmp/XXXX/debianonly/dpatch-test/debian/patches/11_test_patch.dpatch
 
94
dpatch-edit-patch: @DPATCH@ tag found, preserving dpatch header.
 
95
dpatch-edit-patch: /tmp/XXXX/debianonly/dpatch-test/debian/patches/11_test_patch.dpatch updated.
 
96
+ grep yet-more-patch debian/patches/11_test_patch.dpatch
 
97
+yet-more-patch