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 1NcSMD-0004De-ES for garchives@archives.gentoo.org; Tue, 02 Feb 2010 23:40:33 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 796F1E0D74; Tue, 2 Feb 2010 23:40:20 +0000 (UTC) Received: from mail-ew0-f216.google.com (mail-ew0-f216.google.com [209.85.219.216]) by pigeon.gentoo.org (Postfix) with ESMTP id E3A82E0D55 for ; Tue, 2 Feb 2010 23:39:48 +0000 (UTC) Received: by ewy8 with SMTP id 8so730884ewy.29 for ; Tue, 02 Feb 2010 15:39:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:subject :message-id:mime-version:content-type:content-disposition:user-agent; bh=kLwt1mo2ajNl8s3YCkmL3ObIa/qmOzOwTxnB811jRcU=; b=R2znlDSXm5LW0GEhqTwvFZnW2M8QwitU2vO9Y+O0mSUa4R33TUNeFRv/lDemGYToP8 TzfTXNtis0cCNgHaghNvTxeQx25fqPCK3IgWEZ3tOBU+aLn2eJv9AGyMTNcqgWkBl+se aUkT02YtrHQ4xFpBy1Mag85fV33XKjSUQ6F1c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; b=X7qSTjp2RSzOTaPrNBAmRc7yRtEWtZfraY0gXeh9Hz4xIOMa1bfAjVKrP5FohrBKaC x4rcbSDpewY6089R+O8cKjvMcOg2UDshpnGrAfVuzcfnsgSm853Z14bfRpuJNaq5SN/q kpxyBZWGp3FR/T6pC8T+okezHI9Plafms1G9g= Received: by 10.213.109.193 with SMTP id k1mr1317068ebp.86.1265153988100; Tue, 02 Feb 2010 15:39:48 -0800 (PST) Received: from fury.skynet (athedsl-291551.home.otenet.gr [85.73.186.125]) by mx.google.com with ESMTPS id 23sm14082496eya.35.2010.02.02.15.39.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 02 Feb 2010 15:39:47 -0800 (PST) Sender: Alex Alexander Date: Wed, 3 Feb 2010 01:40:10 +0200 From: Alex Alexander To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] an update script for the gentoo developer Message-ID: <20100202234010.GB9108@fury.skynet> 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 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7iMSBzlTiPOCCT2k" Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-Archives-Salt: d1374f4e-6de4-4c36-aa73-dd7f2ce0fd70 X-Archives-Hash: 470fac65f82deb4a516281faa9e874c3 --7iMSBzlTiPOCCT2k Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello fellow devs, I've created a script to help me keep my tree/overlays up-to-date, automatically regenerate metadata, update eix, etc. It's not anything too sophisticated, but it works for me, so I thought I'd share it with you guys. An updated version of the script is available at my gentoo devspace: http://dev.gentoo.org/~wired/scripts/update =2E/update -h gives you all available options edit the script to set the defaults to your liking. the script expects the following directory structure: ${DATA_DIR}/ main/ gentoo-x86/ gentoo/ (optional) gentoo-news/ (optional) overlays/ {various overlays} overlays_disabled/ {overlays not used} make.conf autogenerated, holds active overlay list imported in /etc/make.conf ${SCRIPT_OUTPUT} if called with -c, all output goes here the make.conf is sourced in /etc/make.conf and is generated each time the overlays/ folder gets updated. the script is constantly improved and I keep the online version up-to-date. there are some options that diff/fetch the latest version for you automatically. I'll probably add a --sync option soon to make it useful on systems without a CVS checkout. hopefully some of you will find it useful. patches and feedback always welcome :) --=20 Alex Alexander :: wired Gentoo Developer www.linuxized.com --7iMSBzlTiPOCCT2k Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) iEYEARECAAYFAktot9oACgkQCtniI/gSTSeyNACgjIBDS6q3Fykx6RU4s+12pOtW rPAAoLwDIl1kvLlFZPRbSsz97STYehsK =n4DU -----END PGP SIGNATURE----- --7iMSBzlTiPOCCT2k--