Re: bzr get-orig-source

2011-10-04 Thread Robert Collins
On Tue, Oct 4, 2011 at 11:10 PM, Jonathan Riddell jridd...@ubuntu.com wrote:
 I added a command to builddeb, bzr get-orig-source.  This helps with my 
 workflow
..
 Others prefer to use  bzr builddeb [-- -nc]  but I find all the changing 
 directories that requires is more hassle than gain.

What directory changing?

-Rob

-- 
ubuntu-distributed-devel mailing list
ubuntu-distributed-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-distributed-devel


Re: bzr get-orig-source

2011-10-04 Thread Jelmer Vernooij

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10/04/2011 12:28 PM, Robert Collins wrote:
 On Tue, Oct 4, 2011 at 11:10 PM, Jonathan Riddell jridd...@ubuntu.com
wrote:
 I added a command to builddeb, bzr get-orig-source. This helps with my
workflow
 ..
 Others prefer to use bzr builddeb [-- -nc] but I find all the changing
directories that requires is more hassle than gain.

 What directory changing?

I think Jonathan means that if you use -nc (no cleanup of build
directory), you have to cd ../build-area/mypkg-1.0 to get to the build
directory.

Personally, I just use bzr bd / bzr pbd, then fixup whatever is
wrong, then bzr bd again - no changing of directories involved.

Cheers,

Jelmer
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOiuBeAAoJEACAbyvXKaRXCIEP/1r4h6AyUMJjMxvZr8I6dJ4e
bN03edNQFC346dCe3Vt75mCWvEufmpE0n8N/fhmnWfZbPrIhFA8Ax78rzz52Tz4l
QQUifkKgre4WOp0tUQQhQD07nqJkIq0T1ENBZk5koHjKfH6rTFuwt31xwh4G0Naf
HXj6Ztcdv//ni/GZhVjgQ+4NVJ4LMPdtHYFXFDKChwdQwu8egGZatmwKpsUvF26T
4XMGezTD49Dte/iOc2MttkPD7JvV4lrxWZJ4CTOfJZdI8/VAXbwYG6i9eRwEcPMa
qrFHZgZ4Eb8jJJ8NHRDcfIU+2TDe2hLHlyCq4owuCWeXY+c9VExvXCMFxvoVhli4
hkjlWUlyJch8CFQCNDskpmL1tAIKJsE+lWMgB7PB2AzNOFNK+xU/+xU194xx6zOO
St8Qccuv1yqAnWcdbpZkHB0sAA+pQH09F2kusl/lrdG91zRvr6r6GQac4SrrXeo6
kYn4UdRtudYIfSJaTMaqYSOGG1NT7tOUVdh3nLVzPYCugIsjhyBAu6smcP/RpPAw
yd8aQHoWvEWb95OPY2j5Digv0TE7XFmXMFffn9MonJnAEWzOKaO73O4OqZsL7HlQ
NcetZxSlZcGzfjzrScoxj4x6tc2LMgyxgnvgaA0Q0SxtAQeXyX2/ioJulYfQHgbF
GPe3psGyYrVlmGCVUVNw
=Rn6g
-END PGP SIGNATURE-


-- 
ubuntu-distributed-devel mailing list
ubuntu-distributed-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-distributed-devel


Re:bzr get-orig-source

2011-10-04 Thread Jonathan Riddell
On Tue, Oct 04, 2011 at 12:30:54PM +0200, Jelmer Vernooij wrote:
 I think Jonathan means that if you use -nc (no cleanup of build
 directory), you have to cd ../build-area/mypkg-1.0 to get to the build
 directory.

Yes, and then copy any changes to packaging back manually.

 Personally, I just use bzr bd / bzr pbd, then fixup whatever is
 wrong, then bzr bd again - no changing of directories involved.

Using bzr builddeb assumes you can find out what is wrong just from
the build logs, maybe you need to update the .symbols files, you need
the build tree around for that.  Also restarting the build from
scratch takes a long time for large packages, e.g. Qt takes well over an
hour to build each time.

What is  bzr pbd?

Jonathan

-- 
ubuntu-distributed-devel mailing list
ubuntu-distributed-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-distributed-devel


Re: bzr get-orig-source

2011-10-04 Thread Jelmer Vernooij
On 10/04/2011 12:48 PM, Jonathan Riddell wrote:
 On Tue, Oct 04, 2011 at 12:30:54PM +0200, Jelmer Vernooij wrote:
 I think Jonathan means that if you use -nc (no cleanup of build
 directory), you have to cd ../build-area/mypkg-1.0 to get to the build
 directory.
 Yes, and then copy any changes to packaging back manually.
I guess we could improve this workflow too - e.g. by having bzr-builddeb
not chdir back after a build has failed. Though with bzr
get-orig-source in place that's not really important anymore.

 Personally, I just use bzr bd / bzr pbd, then fixup whatever is
 wrong, then bzr bd again - no changing of directories involved.
 Using bzr builddeb assumes you can find out what is wrong just from
 the build logs, maybe you need to update the .symbols files, you need
 the build tree around for that.  Also restarting the build from
 scratch takes a long time for large packages, e.g. Qt takes well over an
 hour to build each time.
dpkg-gensymbols spits out a diff which I usually use to update the
symbols file (after careful reviewing, of course).

Fortunately, my packages (even Samba and Heimdal) build in roughly 10
minutes on my machine so I don't care that much about starting from
scratch each time.

 What is  bzr pbd?
charis:~/lp% bzr alias
bzr alias autobuild=dpush
git+ssh://sn-devel/home/jelmer/autobuild/samba-autobuild
bzr alias commit=commit --strict
bzr alias pbd=bd --builder=pdebuild --buildresult
/home/jelmer/buildresult

Cheers,

Jelmer

-- 
ubuntu-distributed-devel mailing list
ubuntu-distributed-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-distributed-devel


Re: bzr get-orig-source

2011-10-04 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On Oct 04, 2011, at 12:30 PM, Jelmer Vernooij wrote:

I think Jonathan means that if you use -nc (no cleanup of build
directory), you have to cd ../build-area/mypkg-1.0 to get to the build
directory.

Since I usually use sbuild or pbuilder directly to build the binary package, I
`cd ..` to run the build (or more usually, open a different shell).

Still, I think `bzr get-orig-source` is a nice addition.

Personally, I just use bzr bd / bzr pbd, then fixup whatever is
wrong, then bzr bd again - no changing of directories involved.

% bzr pbd --help
bzr: ERROR: unknown command pbd

- -Barry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJOixG/AAoJEBJutWOnSwa/cgAP/0sUDi1FwkE+d5kRULEPn8p9
o4M4R+2ic0jVh2iJUsPuWGLmSgQrHvt6re4RetiC4r8tviz2SPGT42YyDt0Q/5A7
H9MJKvrKfyU+Ambs6/AnmMYMnFvGjR0/mhoPrTLuMTiFBx1NkcOgtmn9nWsxNU7u
3dWAyTUu5dUctsTFntH+mwu350h0Nv8lp2/UmgEi3tH7ty9QDO221f2mnkI5eWRb
sT8BvXX5n3das4Vp3v6t3ZoqDLaYp03AjaoEZ6pdxKiazcUd7WG+VedEcOfw3POP
9vDrJMoI8k0KpWEXyzZVI42tRVufvC1ZRWb+MRGm8O+XfWkZH3vLeiA8GstxK0pX
tnENFSkXZHXPcwq6ZPN5NBP7fJ5+1KlCc5lENcbl90SdKfzPKvW489646w7BtKOx
NDEG28MZWVy2LMWbxIz+UxObDCDHEfyCHYvbYst301NSIdXH78GEFuQqWvrgQ23B
DR6xXWvVjl6nVSaS3svLBxoiuHgieZp6bdCqYU5PiSeY+RhGuqI7dDNorhzr9AVY
M86T9990sRV0dzX+m9fr5PiuBhbsGRIXXIK2FBBXa18HizlCflwZK1Txj2AgO4LX
N/p7FOZFyNitUvWg6IDhZBL9+prvrT50xRlix3RLDIHxLwSIgOHkNMk1M11KZfFI
vwrXmiTB92stZ3Lix68I
=ML9I
-END PGP SIGNATURE-
-- 
ubuntu-distributed-devel mailing list
ubuntu-distributed-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-distributed-devel


Re: bzr get-orig-source

2011-10-04 Thread Jelmer Vernooij

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10/04/2011 04:01 PM, Barry Warsaw wrote:
 On Oct 04, 2011, at 12:30 PM, Jelmer Vernooij wrote:

  I think Jonathan means that if you use -nc (no cleanup of build
  directory), you have to cd ../build-area/mypkg-1.0 to get to the build
  directory.

 Since I usually use sbuild or pbuilder directly to build the binary
package, I
 `cd ..` to run the build (or more usually, open a different shell).

 Still, I think `bzr get-orig-source` is a nice addition.
Yeah, I also think it's a useful addition.

  Personally, I just use bzr bd / bzr pbd, then fixup whatever is
  wrong, then bzr bd again - no changing of directories involved.

 % bzr pbd --help
 bzr: ERROR: unknown command pbd
It's an alias for running pdebuild, see my other email.

Cheers,

Jelmer
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOixMCAAoJEACAbyvXKaRXOSsQAJm5saywvBDXs+y5pqfYha0x
WETmjVQvqmNtQ15NQ3aDSY6HCwsxhK9FjR5vJm+0ENrilymUn+QijPgp5M4fImIA
G4qH+Vn5wAoXqHCuYxwp6YI/IkFmc3xim54oGWmcsHkQzFdHTaG/h5MXQarMM9iH
SCxDRPk58Km04ZOCHbe3QkKilu96oJAhujv1JweE9/I2DbF5qeqyqrtVrWIsL10R
M/X7DUuuQmFJi2liZY3w5399XSihfTNyBJ5s9KY0zbSrKQYiYmToH/ogRp1ggHpG
nFpv0oLnVi5zNC7YqjVGlH2L5EEnTNVAB2WNBZDnAZGdMH570Yhn3oFButVOrVeq
wD/g1miyky9gSFK55HdZAj/4AWINK1NLZwCYaMycqKtPUCuV/p5tOOhZlC1OPDqX
5iR5ZIwsMvLjMDYVZ5jh6Y0xiymHWxGRtIyRavz2Ou8SxmhluoFjchL57AF5kV2M
/Xo+gGxHbYoIbZQe5roMbO4zuWmcvtETT5c1oyaYnno0QVoZ1DdzFNEPuu3Jg43s
8AsjbN8NSYKDhmW3hIdejI0bLwMlhLVe8t5Kqex2yUiKIiiUTz6e1fZumQCEDtPL
lmg+qgtdFYJjOB3N7+rmtuInW+nL4u4IqSU/lbEYdcwYyivB9hhmdYZBVhXdeNMQ
XTaKCggowwFatRLEmnIv
=UZM6
-END PGP SIGNATURE-


-- 
ubuntu-distributed-devel mailing list
ubuntu-distributed-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-distributed-devel