public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] an update script for the gentoo developer
@ 2010-02-02 23:40 Alex Alexander
  0 siblings, 0 replies; only message in thread
From: Alex Alexander @ 2010-02-02 23:40 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1477 bytes --]

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

./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 :)
-- 
Alex Alexander :: wired
Gentoo Developer
www.linuxized.com

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-02-02 23:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-02 23:40 [gentoo-dev] an update script for the gentoo developer Alex Alexander

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