Danek Duvall wrote:
Brock Pytlik wrote:

Compression algorithms hasn't come up at all, so I'm not sure what
you're referring to there, but my guess is yes, future work.

I was referring to whether the layout contained gzipped files or
uncompressed files -- I think pkgrecv allows either one -- and
presumably other possibilities might exist, too.

Yep, that's also future work. I believe that will work (or not work) as well as it does now. I'm not sure that it's even the layouts business to know the file type, but I could be convinced otherwise.
file_manager.py:
 - line 180: if the file is already in the datastore under a different
   layout, shouldn't it be moved?
Good point, I'll add that in.

You might also check for all locations when removing a file, too.

Sure. Since a hash should only be in a file_manager once, I'd thought to skip it, but I can't think of anything wrong with running through all the layouts.
Brock
Danek

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to