From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MR6dg-00075P-JW for garchives@archives.gentoo.org; Wed, 15 Jul 2009 15:43:24 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 08D16E048A; Wed, 15 Jul 2009 15:43:14 +0000 (UTC) Received: from mail-fx0-f211.google.com (mail-fx0-f211.google.com [209.85.220.211]) by pigeon.gentoo.org (Postfix) with ESMTP id ABE76E0488 for ; Wed, 15 Jul 2009 15:43:13 +0000 (UTC) Received: by mail-fx0-f211.google.com with SMTP id 7so3152363fxm.34 for ; Wed, 15 Jul 2009 08:43:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer; bh=eqK8k8jCJBqV+Ws0oMG2KnZTt8+JWq4VVxDPzlKjI+o=; b=oJh23+5NrnJ/k8q7OE9XZxKlFxJmqY8h54m20uVxzkuIIXAyUGQR4ICWkepDFpH6kD WBQXwVVcJdC9wTaW9fs1CvmnleSOwJieAgPsUw/2j2juRXtjVp2jb6C1z7aUrmV6I6+U yQBeuA0qrRoyUs0wClBtaZJLxPCmpKf7UFO4w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer; b=V1cxXpaJ/wwKtZAnSSXuJuD/5rMqNMapa7v5zn/ricHYbzyUqYvD/ouUj4EZQDvqdw yDVgeWLqvY9AjSH787bLL3lQMfvt5tHfpB5EGnUYL9z85OFyPyPrEAsClWkbm9O2yh4F /FMtGa2WYynhvp84A18toZbCyj7zUzHYZ/F1A= Received: by 10.103.1.5 with SMTP id d5mr4081490mui.74.1247672593415; Wed, 15 Jul 2009 08:43:13 -0700 (PDT) Received: from ?192.168.127.16? (magdalene.ist.utl.pt [193.136.161.161]) by mx.google.com with ESMTPS id 23sm34215489mum.5.2009.07.15.08.43.12 (version=SSLv3 cipher=RC4-MD5); Wed, 15 Jul 2009 08:43:12 -0700 (PDT) Subject: Re: [gentoo-dev] Re: Progress on Universal Select Tool From: =?ISO-8859-1?Q?S=E9rgio?= Almeida To: Gentoo Dev In-Reply-To: <1247584057.14345.29.camel@sapc154.salomon.at> References: <1245163715.14589.515.camel@thedude> <1247499370.5028.23.camel@thedude> <1247563253.14345.7.camel@sapc154.salomon.at> <1247582117.3651.3.camel@thedude> <1247584057.14345.29.camel@sapc154.salomon.at> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-BS3uGSUMjRqWxEVTO6tW" Date: Wed, 15 Jul 2009 16:43:10 +0100 Message-Id: <1247672590.6548.9.camel@thedude> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 X-Archives-Salt: 26bd31f1-4eb2-484b-a3ea-cdc89f955096 X-Archives-Hash: b755f09f351c9b60b46f31966ca78650 --=-BS3uGSUMjRqWxEVTO6tW Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 2009-07-14 at 17:07 +0200, Michael Haubenwallner wrote: >=20 > Usually the files are just copied instead of symlinked there. >=20 > But as far as I know, there is no Unix-ish OS without symlink support - > even Interix does support them. > Although I cannot definitively say we won't have to select between > multiple executables and/or shared libraries for native Windows once - > they would have to be copied instead of symlinked then. >=20 > So it should be fine as long as 'symlink' can potentially be implemented > as 'copy' for specific platforms. >=20 Can be done... def create_symlink(self, source, destination): self.delete_file(destination) os.symlink(source, destination) =09 Therefore can be easily replaced for copy. What should be the default? Should uselect be able to supply both options like "uselect --copy bla bla" overrides os.symlink to copy function? > Thanks! > /haubi/ Thanks for the hint! Cheers, S=C3=A9rgio --=20 S=C3=A9rgio Almeida - mephx.x@gmail.com mephx @ freenode --=-BS3uGSUMjRqWxEVTO6tW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAkpd+QkACgkQQXumuXcKj05pZwCfUtiGjsJBGZEey6KkaECxZxjY 5PUAn3Hi+9nG5+wzn/ZNUjJlSoVUe9aa =vdKQ -----END PGP SIGNATURE----- --=-BS3uGSUMjRqWxEVTO6tW--