On Tue, 2011-01-04 at 14:31 -0200, Eduardo Habkost wrote:
> On Tue, Jan 04, 2011 at 02:15:26PM -0200, Lucas Meneghel Rodrigues wrote:
> > I see an opportunity for us to do some cleanup on that and eliminate
> > bin. Now, we need a plan of migration, a carefully made patchset, and
> > tons of testing. Perhaps the entire contents of bin can be dropped into
> > client altogether, but that is not too symmetrical with common_lib.
> 
> IMO there's no need to hurry. If we think it is worth it, we can slowly
> move libraries out of bin and keep only executable scripts, but no need
> to do it in a large step.
> 
> About symmetry with common_lib: I think common_lib is the aberration (it
> could live outside 'client', but we have the issue of sending only the
> 'client' directory to test hosts), so I wouldn't worry about making the
> client-only modules layout match the common_lib layout.
> 

It seems to me that we can make things much better by doing some simple,
mechanical steps:

1) Change autotest_lib to autotest
2) Move common_lib to common
3) Move stuff from client/bin to client altogether
4) Telling everybody that has internal tests/site extensions to adapt
their tests to the changed API.

The 3 first steps will generate *freaking huge* patchsets, but it's just
mechanical work. As long as it's well tested and audited (pylint comes
to the rescue here), it's not that dangerous.

Now, 4) is probably the hardest part, as we have parties with large site
repositories, google being the biggest. So for me, is all a matter for
the google folks (Chrome OS and other internal users) to pronounce about
it. I won't even try to make a change if those guys do not feel OK about
it.

Any comments guys?

Lucas

_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to