Hi,
So I'm playing with a fresh autotest setup here and we have a local
mirror of kernel.org. Some things I've noticed:
1) job.config_set('local_mirror',...) doesn't seem to do anything.
Looking in kernel.py and kernelexpand.py, it seems that
'http://www.kernel.org/pub/linux/kernel/' is hard-coded in the Python
source. local_mirror is documented in a few places, so seems like either
should be removed or should be supported?
2) gitweb provides a pretty nice interface to generating kernel tarballs:
gitweb.cgi?p=linux/linux-2.6.git;a=snapshot;h=v3.3-rc4;sf=tgz
We use this to minimize disk usage for non-relevant kernels on our
central server. What is the best way for me to represent this to
kernelexpand? It seems like, since we can essentially pass in any tagged
kernel version, the suffix we'd match is '', as in all suffix. But that
seems like a not-great thing to do, if there *are* pre-existing tarballs,
etc.
Further, I expect (but have not checked/tested), that gitweb can also
generate a snapshot of any old SHA1. That seems like it's easier to
match, but requires some sense of the site-configuration to know if it's
present.
So, would it make sense for a variable be added to the global autotest
configuration about the presence of a gitweb service? And then use that
in the kernel building scripts, etc. if present?
Thanks,
Nish
--
Nishanth Aravamudan <[email protected]>
IBM Linux Technology Center
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest