Commit ee6ddeab authored by Cyril Brulebois's avatar Cyril Brulebois

Add mrconfig magic.

parent dfc9e425
[DEFAULT]
# repo_dir is what's inside the brackets for each repository below,
# and repo_name its basename, so that the mr logic (calling git clone
# when the local repository is still missing) works:
checkout =
here=${MR_CONFIG%%.mrconfig};
repo_dir=$(echo "$MR_REPO"|sed -e "s,$here,," -e "s,/$,,");
repo_name=$(basename $repo_dir);
git clone git://git.debian.org/git/pkg-xorg/$repo_dir $repo_name
# Avoid the default 'git pull' and all the merges that come with it:
update =
git fetch "$@"
[app/compiz.git]
[app/grandr.git]
[app/intel-gen4asm.git]
[app/mesa-demos.git]
[app/twm.git]
[app/x11-apps.git]
[app/x11-session-utils.git]
[app/x11-utils.git]
[app/x11-xfs-utils.git]
[app/x11-xkb-utils.git]
[app/x11-xserver-utils.git]
[app/xauth.git]
[app/xbacklight.git]
[app/xdm.git]
[app/xfs.git]
[app/xinit.git]
[app/xprint-utils.git]
[app/xterm.git]
[app/xutils-dev.git]
[app/xutils.git]
#[attic/app/aquamarine.git]
#[attic/app/beryl-core.git]
#[attic/app/beryl-dbus.git]
#[attic/app/beryl-manager.git]
#[attic/app/beryl-plugins.git]
#[attic/app/beryl-settings.git]
#[attic/app/compiz-extra.git]
#[attic/app/emerald.git]
#[attic/app/emerald-themes.git]
#[attic/app/heliodor.git]
#[attic/app/xbase-clients.git]
#[attic/driver/xserver-xorg-input-calcomp.git]
#[attic/driver/xserver-xorg-input-digitaledge.git]
#[attic/driver/xserver-xorg-input-dmc.git]
#[attic/driver/xserver-xorg-input-dynapro.git]
#[attic/driver/xserver-xorg-input-elo2300.git]
#[attic/driver/xserver-xorg-input-jamstudio.git]
#[attic/driver/xserver-xorg-input-magellan.git]
#[attic/driver/xserver-xorg-input-magictouch.git]
#[attic/driver/xserver-xorg-input-microtouch.git]
#[attic/driver/xserver-xorg-input-palmax.git]
#[attic/driver/xserver-xorg-input-spaceorb.git]
#[attic/driver/xserver-xorg-input-summa.git]
#[attic/driver/xserver-xorg-input-tek4957.git]
#[attic/driver/xserver-xorg-input-ur98.git]
#[attic/driver/xserver-xorg-video-amd.git]
#[attic/driver/xserver-xorg-video-ast.git]
#[attic/driver/xserver-xorg-video-avivo.git]
#[attic/driver/xserver-xorg-video-cyrix.git]
#[attic/driver/xserver-xorg-video-imstt.git]
#[attic/driver/xserver-xorg-video-nsc.git]
#[attic/driver/xserver-xorg-video-sunbw2.git]
#[attic/driver/xserver-xorg-video-vga.git]
#[attic/driver/xserver-xorg-video-via.git]
#[attic/lib/libxevie.git]
#[attic/lib/libxfontcache.git]
#[attic/lib/libxkbui.git]
#[attic/lib/libxtrap.git]
#[attic/lib/libxxf86misc.git]
#[attic/proto/x11proto-evie.git]
#[attic/proto/x11proto-fontcache.git]
#[attic/proto/x11proto-trap.git]
[bling/ccsm.git]
[bling/compizconfig-backend-gconf.git]
[bling/compizconfig-backend-kconfig4.git]
[bling/compizconfig-backend-kconfig.git]
[bling/compizconfig-python.git]
[bling/compiz-fusion-bcop.git]
[bling/compiz-fusion-plugins-extra.git]
[bling/compiz-fusion-plugins-main.git]
[bling/compiz-fusion-plugins-unsupported.git]
[bling/libcompizconfig.git]
[bling/tools.git]
[data/xbitmaps.git]
[data/xcursor-themes.git]
[data/xkb-data.git]
[debian/xorg.git]
[debian/xsf-tools.git]
[doc-hackers.git]
[doc/xorg-docs.git]
[doc/xorg-sgml-doctools.git]
[driver/xserver-xorg-input-acecad.git]
[driver/xserver-xorg-input-aiptek.git]
[driver/xserver-xorg-input-citron.git]
[driver/xserver-xorg-input-elographics.git]
[driver/xserver-xorg-input-evdev.git]
[driver/xserver-xorg-input-evtouch.git]
[driver/xserver-xorg-input-fpit.git]
[driver/xserver-xorg-input-hyperpen.git]
[driver/xserver-xorg-input-joystick.git]
[driver/xserver-xorg-input-keyboard.git]
[driver/xserver-xorg-input-mouse.git]
[driver/xserver-xorg-input-mutouch.git]
[driver/xserver-xorg-input-penmount.git]
[driver/xserver-xorg-input-synaptics.git]
[driver/xserver-xorg-input-vmmouse.git]
[driver/xserver-xorg-input-void.git]
[driver/xserver-xorg-video-apm.git]
[driver/xserver-xorg-video-ark.git]
[driver/xserver-xorg-video-ati.git]
[driver/xserver-xorg-video-chips.git]
[driver/xserver-xorg-video-cirrus.git]
[driver/xserver-xorg-video-dove.git]
[driver/xserver-xorg-video-dummy.git]
[driver/xserver-xorg-video-fbdev.git]
[driver/xserver-xorg-video-glide.git]
[driver/xserver-xorg-video-glint.git]
[driver/xserver-xorg-video-i128.git]
[driver/xserver-xorg-video-i740.git]
[driver/xserver-xorg-video-intel.git]
[driver/xserver-xorg-video-ivtvdev.git]
[driver/xserver-xorg-video-mach64.git]
[driver/xserver-xorg-video-mga.git]
[driver/xserver-xorg-video-neomagic.git]
[driver/xserver-xorg-video-newport.git]
[driver/xserver-xorg-video-nouveau.git]
[driver/xserver-xorg-video-nv.git]
[driver/xserver-xorg-video-openchrome.git]
[driver/xserver-xorg-video-qxl.git]
[driver/xserver-xorg-video-r128.git]
[driver/xserver-xorg-video-radeonhd.git]
[driver/xserver-xorg-video-rendition.git]
[driver/xserver-xorg-video-s3.git]
[driver/xserver-xorg-video-s3virge.git]
[driver/xserver-xorg-video-savage.git]
[driver/xserver-xorg-video-siliconmotion.git]
[driver/xserver-xorg-video-sis.git]
[driver/xserver-xorg-video-sisusb.git]
[driver/xserver-xorg-video-suncg14.git]
[driver/xserver-xorg-video-suncg3.git]
[driver/xserver-xorg-video-suncg6.git]
[driver/xserver-xorg-video-sunffb.git]
[driver/xserver-xorg-video-sunleo.git]
[driver/xserver-xorg-video-suntcx.git]
[driver/xserver-xorg-video-tdfx.git]
[driver/xserver-xorg-video-tga.git]
[driver/xserver-xorg-video-trident.git]
[driver/xserver-xorg-video-tseng.git]
[driver/xserver-xorg-video-v4l.git]
[driver/xserver-xorg-video-vesa.git]
[driver/xserver-xorg-video-vmware.git]
[driver/xserver-xorg-video-voodoo.git]
[font/xfonts-100dpi.git]
[font/xfonts-75dpi.git]
[font/xfonts-base.git]
[font/xfonts-cyrillic.git]
[font/xfonts-encodings.git]
[font/xfonts-scalable.git]
[font/xfonts-utils.git]
[git-migration.git]
[lib/drm-snapshot.git]
[lib/libdmx.git]
[lib/libdrm.git]
[lib/libfontenc.git]
[lib/libfs.git]
[lib/libice.git]
[lib/libpciaccess.git]
[lib/libsm.git]
[lib/libx11.git]
[lib/libxau.git]
[lib/libxaw.git]
[lib/libxcomposite.git]
[lib/libxcursor.git]
[lib/libxdamage.git]
[lib/libxdmcp.git]
[lib/libxext.git]
[lib/libxfixes.git]
[lib/libxfont.git]
[lib/libxi.git]
[lib/libxinerama.git]
[lib/libxkbfile.git]
[lib/libxmu.git]
[lib/libxp.git]
[lib/libxpm.git]
[lib/libxprintapputil.git]
[lib/libxprintutil.git]
[lib/libxrandr.git]
[lib/libxrender.git]
[lib/libxres.git]
[lib/libxss.git]
[lib/libxt.git]
[lib/libxtst.git]
[lib/libxv.git]
[lib/libxvmc.git]
[lib/libxxf86dga.git]
[lib/libxxf86vm.git]
[lib/mesa.git]
[lib/pixman.git]
[lib/xft.git]
[lib/xtrans.git]
[pkg-xorg.git]
[proto/x11proto-bigreqs.git]
[proto/x11proto-composite.git]
[proto/x11proto-core.git]
[proto/x11proto-damage.git]
[proto/x11proto-dmx.git]
[proto/x11proto-dri2.git]
[proto/x11proto-fixes.git]
[proto/x11proto-fonts.git]
[proto/x11proto-gl.git]
[proto/x11proto-input.git]
[proto/x11proto-kb.git]
[proto/x11proto-print.git]
[proto/x11proto-randr.git]
[proto/x11proto-record.git]
[proto/x11proto-render.git]
[proto/x11proto-resource.git]
[proto/x11proto-scrnsaver.git]
[proto/x11proto-video.git]
[proto/x11proto-xcmisc.git]
[proto/x11proto-xext.git]
[proto/x11proto-xf86bigfont.git]
[proto/x11proto-xf86dga.git]
[proto/x11proto-xf86dri.git]
[proto/x11proto-xf86misc.git]
[proto/x11proto-xf86vidmode.git]
[proto/x11proto-xinerama.git]
[xserver/xorg-server.git]
[xserver/xprint.git]
[xsfbs.git]
#!/bin/sh
set -e
# Move to xsf-tools directory:
cd $(dirname $0)
# Configuration variables:
host=git.debian.org
home=/git/pkg-xorg
tools_repo=debian/xsf-tools.git
mrconfig=mrconfig
# Some blurb to make everything work:
cp mrconfig.head $mrconfig
# Build a list of repositories based on the actual repositories on the
# server:
repos=$(ssh $host find $home -name '*.git'|sort|sed "s,^$home/,,")
for repo in $repos; do
case $repo in
# Comment those, just in case people need them at some point:
attic/*)
echo "#[$repo]"
;;
# Real repository:
*)
echo "[$repo]"
;;
esac
done >> $mrconfig
rm -f $tmp
# Move back:
cd - > /dev/null
[DEFAULT]
# repo_dir is what's inside the brackets for each repository below,
# and repo_name its basename, so that the mr logic (calling git clone
# when the local repository is still missing) works:
checkout =
here=${MR_CONFIG%%.mrconfig};
repo_dir=$(echo "$MR_REPO"|sed -e "s,$here,," -e "s,/$,,");
repo_name=$(basename $repo_dir);
git clone git://git.debian.org/git/pkg-xorg/$repo_dir $repo_name
# Avoid the default 'git pull' and all the merges that come with it:
update =
git fetch "$@"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment