linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* auto-bk-get
@ 2003-07-10 18:44 Dan Aloni
  2003-07-10 21:09 ` auto-bk-get Jeff Garzik
  0 siblings, 1 reply; 5+ messages in thread
From: Dan Aloni @ 2003-07-10 18:44 UTC (permalink / raw)
  To: linux-kernel

For kernel developers which are BitKeeper users, 

auto-bk-get is an on-demand 'bk get' libc wrapper tool.

It means that you don't need to run 'bk -r get' in order to build 
the kernel. Instead, you just run 'make config' or 'make bzImage', 
using auto-bk-get in a clean repository and auto-bk-get will 
only 'bk get' the files you need from the repository (one of my
test cases showed only 2800 out of 14000 files were checked out). 

It also supports building in an entirely different directory, 
taking the files from a repository somewhere else.

To download and compile auto-bk-get:

# bk clone http://auto-bk-get.bkbits.net/auto-bk-get
# cd auto-bk-get
# make

Read the README file.

-- 
Dan Aloni
da-x@gmx.net

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: auto-bk-get
  2003-07-10 18:44 auto-bk-get Dan Aloni
@ 2003-07-10 21:09 ` Jeff Garzik
  2003-07-11  5:25   ` auto-bk-get Dan Aloni
  2003-07-14 22:06   ` auto-bk-get Roger Gammans
  0 siblings, 2 replies; 5+ messages in thread
From: Jeff Garzik @ 2003-07-10 21:09 UTC (permalink / raw)
  To: Dan Aloni; +Cc: linux-kernel

Dan Aloni wrote:
> For kernel developers which are BitKeeper users, 
> 
> auto-bk-get is an on-demand 'bk get' libc wrapper tool.
> 
> It means that you don't need to run 'bk -r get' in order to build 
> the kernel. Instead, you just run 'make config' or 'make bzImage', 
> using auto-bk-get in a clean repository and auto-bk-get will 
> only 'bk get' the files you need from the repository (one of my
> test cases showed only 2800 out of 14000 files were checked out). 


No offense, but, it would probably be easier to fix the few remaining 
places where the makefile system does not automatically check out the files.

It works great for everything except the Kconfig stuff, IIRC.

	Jeff




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: auto-bk-get
  2003-07-10 21:09 ` auto-bk-get Jeff Garzik
@ 2003-07-11  5:25   ` Dan Aloni
  2003-07-11 12:43     ` auto-bk-get Jeff Garzik
  2003-07-14 22:06   ` auto-bk-get Roger Gammans
  1 sibling, 1 reply; 5+ messages in thread
From: Dan Aloni @ 2003-07-11  5:25 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: linux-kernel

On Thu, Jul 10, 2003 at 05:09:10PM -0400, Jeff Garzik wrote:
> Dan Aloni wrote:
> >For kernel developers which are BitKeeper users, 
> >
> >auto-bk-get is an on-demand 'bk get' libc wrapper tool.
> >
> >It means that you don't need to run 'bk -r get' in order to build 
> >the kernel. Instead, you just run 'make config' or 'make bzImage', 
> >using auto-bk-get in a clean repository and auto-bk-get will 
> >only 'bk get' the files you need from the repository (one of my
> >test cases showed only 2800 out of 14000 files were checked out). 
> 
> 
> No offense, but, it would probably be easier to fix the few remaining 
> places where the makefile system does not automatically check out the files.
> 
> It works great for everything except the Kconfig stuff, IIRC.

It's not just that. Does make and the build system alone allow you 
to build in an entirely different tree? (i.e check out and recreate
the directory structure somewhere else, leaving the repository clean or
even on a read-only media).

-- 
Dan Aloni
da-x@gmx.net

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: auto-bk-get
  2003-07-11  5:25   ` auto-bk-get Dan Aloni
@ 2003-07-11 12:43     ` Jeff Garzik
  0 siblings, 0 replies; 5+ messages in thread
From: Jeff Garzik @ 2003-07-11 12:43 UTC (permalink / raw)
  To: Dan Aloni; +Cc: linux-kernel

Dan Aloni wrote:
> On Thu, Jul 10, 2003 at 05:09:10PM -0400, Jeff Garzik wrote:
> 
>>Dan Aloni wrote:
>>
>>>For kernel developers which are BitKeeper users, 
>>>
>>>auto-bk-get is an on-demand 'bk get' libc wrapper tool.
>>>
>>>It means that you don't need to run 'bk -r get' in order to build 
>>>the kernel. Instead, you just run 'make config' or 'make bzImage', 
>>>using auto-bk-get in a clean repository and auto-bk-get will 
>>>only 'bk get' the files you need from the repository (one of my
>>>test cases showed only 2800 out of 14000 files were checked out). 
>>
>>
>>No offense, but, it would probably be easier to fix the few remaining 
>>places where the makefile system does not automatically check out the files.
>>
>>It works great for everything except the Kconfig stuff, IIRC.
> 
> 
> It's not just that. Does make and the build system alone allow you 
> to build in an entirely different tree? (i.e check out and recreate
> the directory structure somewhere else, leaving the repository clean or
> even on a read-only media).


Yes, that's Sam Ravnborg's (sp?) srcdir != objdir work.

	Jeff




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: auto-bk-get
  2003-07-10 21:09 ` auto-bk-get Jeff Garzik
  2003-07-11  5:25   ` auto-bk-get Dan Aloni
@ 2003-07-14 22:06   ` Roger Gammans
  1 sibling, 0 replies; 5+ messages in thread
From: Roger Gammans @ 2003-07-14 22:06 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: Dan Aloni, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1138 bytes --]

On Thu, Jul 10, 2003 at 05:09:10PM -0400, Jeff Garzik wrote:
> Dan Aloni wrote:
> >For kernel developers which are BitKeeper users, 
> >
> >auto-bk-get is an on-demand 'bk get' libc wrapper tool.
> [snip]
>
> No offense, but, it would probably be easier to fix the few remaining 
> places where the makefile system does not automatically check out the files.
> 
> It works great for everything except the Kconfig stuff, IIRC.

I played about with this a long time ago at the beginning of
2.5, so was attempt to do this with the old build system which
didn't had a few awkward bits, and then I was distracted by userspace 
stuff.

What I did I put here ( http://www.sandman.uklinux.net/odds/index.html )
it might be of use - though as I recall correctly most of the 
code was taken from  patch(1). So it's nothing special.

TTFN
-- 
Roger. 	                        Home| http://www.sandman.uklinux.net/
Master of Peng Shui.      (Ancient oriental art of Penguin Arranging)
Work|Independent Systems Consultant | http://www.firstdatabase.co.uk/
So what are the eigenvalues and eigenvectors of 'The Matrix'? --anon

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-07-14 21:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-10 18:44 auto-bk-get Dan Aloni
2003-07-10 21:09 ` auto-bk-get Jeff Garzik
2003-07-11  5:25   ` auto-bk-get Dan Aloni
2003-07-11 12:43     ` auto-bk-get Jeff Garzik
2003-07-14 22:06   ` auto-bk-get Roger Gammans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).