2003-07-10 18:29:52

by Dan Aloni

[permalink] [raw]
Subject: auto-bk-get

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
[email protected]


2003-07-10 20:54:52

by Jeff Garzik

[permalink] [raw]
Subject: Re: auto-bk-get

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



2003-07-11 05:11:07

by Dan Aloni

[permalink] [raw]
Subject: Re: auto-bk-get

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
[email protected]

2003-07-11 12:32:37

by Jeff Garzik

[permalink] [raw]
Subject: Re: auto-bk-get

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



2003-07-14 21:51:23

by Roger Gammans

[permalink] [raw]
Subject: Re: auto-bk-get

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


Attachments:
(No filename) (1.08 kB)
(No filename) (232.00 B)
Download all attachments