public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-portage-dev] xattr wrapper for install, bug #465000
@ 2014-01-26 22:53 Anthony G. Basile
  2014-01-27 14:02 ` vivo75
  2014-01-31  4:43 ` Mike Frysinger
  0 siblings, 2 replies; 8+ messages in thread
From: Anthony G. Basile @ 2014-01-26 22:53 UTC (permalink / raw
  To: gentoo-portage-dev

Hi everyone,

A while back, I wrote a python wrapper for install to preserve xattrs. 
Its installed in LIBDIR/portage/bin/install.py.  It is *painfully* slow. 
  For a package like moodle with 16650 .php files, none of which 
probably need any xattr's set, it takes about 30 mins to install.  I 
rewrote the wrapper in C.  Replacing the python wrapper with the C 
wrapper, the same example reduces from about 30 mins to 2 mins.

Mike and I did some back and forth about how best to write it.  The 
latest version is pretty much done at

https://bugs.gentoo.org/show_bug.cgi?id=465000#c56

We need to get that integrated into portage.  1) I'm not 100% sure how 
to do that.  2) We may want to install it at /usr/bin/install-xattr 
because I'm sure it will be useful for more than just portage.

Comments?

-- 
Anthony G. Basile, Ph. D.
Chair of Information Technology
D'Youville College
Buffalo, NY 14201
(716) 829-8197


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

end of thread, other threads:[~2014-01-31 19:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-26 22:53 [gentoo-portage-dev] xattr wrapper for install, bug #465000 Anthony G. Basile
2014-01-27 14:02 ` vivo75
2014-01-28  4:36   ` Mike Frysinger
2014-01-29 16:33   ` Anthony G. Basile
2014-01-29 23:50     ` Francesco R.
2014-01-31  4:43 ` Mike Frysinger
2014-01-31  4:53   ` Brian Dolbec
2014-01-31 19:55     ` Greg Turner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox