public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Anthony G. Basile" <basile@opensource.dyc.edu>
To: gentoo-portage-dev@lists.gentoo.org
Subject: [gentoo-portage-dev] xattr wrapper for install, bug #465000
Date: Sun, 26 Jan 2014 17:53:44 -0500	[thread overview]
Message-ID: <52E591F8.8010705@opensource.dyc.edu> (raw)

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


             reply	other threads:[~2014-01-26 22:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-26 22:53 Anthony G. Basile [this message]
2014-01-27 14:02 ` [gentoo-portage-dev] xattr wrapper for install, bug #465000 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52E591F8.8010705@opensource.dyc.edu \
    --to=basile@opensource.dyc.edu \
    --cc=gentoo-portage-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox