Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Zac Medico <zmedico@g.o>
Subject: Re: [RFC] New PROPERTIES="live-sources" setting for ebuilds?
Date: Tue, 05 Aug 2008 23:26:22 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ciaran McCreesh wrote:
> On Tue, 05 Aug 2008 22:55:06 -0700
> Zac Medico <zmedico@g.o> wrote:
>> Would having the ebuild perform locking be unportable or introduce
>> any undesirable complexity? Does it really need to be so
>> fine-grained?
> 
> It's not particularly tricky, and the lock code can be moved into an
> eclass if necessary. And the gain is worth it -- scm fetches can be
> slow, so parallelising fetches from different hosts will speed things
> up quite a bit.
> 
>> I don't see flock listed in the spec here [1].
> 
> If any platform doesn't have flock, there're various other ways of
> doing locking using mkdir and either a fifo or just plain old sleep.
> 

To simplify things, how about if we just do a
PROPERTIES=live-src-unpack for now, to indicate exclusive access to
$DISTDIR during src_unpack? Thats a simple and portable baseline
that will be quite useful even without anything finer grained.

Zac
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkiZRA0ACgkQ/ejvha5XGaNZsACfVMIzQgQufKgbMrM6TyjKowN4
PQIAn1jTnV7omQaoezbU3cR4eS/hZrAU
=I00K
-----END PGP SIGNATURE-----


Replies:
Re: [RFC] New PROPERTIES="live-sources" setting for ebuilds?
-- Joe Peterson
Re: [RFC] New PROPERTIES="live-sources" setting for ebuilds?
-- Ciaran McCreesh
References:
[RFC] New PROPERTIES="live-sources" setting for ebuilds?
-- Zac Medico
Re: [RFC] New PROPERTIES="live-sources" setting for ebuilds?
-- Ciaran McCreesh
Re: [RFC] New PROPERTIES="live-sources" setting for ebuilds?
-- Zac Medico
Re: [RFC] New PROPERTIES="live-sources" setting for ebuilds?
-- Ciaran McCreesh
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: [RFC] New PROPERTIES="live-sources" setting for ebuilds?
Next by thread:
Re: [RFC] New PROPERTIES="live-sources" setting for ebuilds?
Previous by date:
Re: [RFC] New PROPERTIES=virtual value to identify meta-packages?
Next by date:
Re: [RFC] New PROPERTIES="live-sources" setting for ebuilds?


Updated Jun 17, 2009

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.