[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH OSSTEST] Switch to merged qemu-xen{, -traditional}.git trees



Ian Campbell writes ("Re: [Xen-devel] [PATCH OSSTEST] Switch to merged 
qemu-xen{, -traditional}.git trees"):
> Copied from xen.git/config. I also copied xen.git/hooks/pre-receive which
> prevents pushes to non-staging branches (except by osstest) and prevents
> pushes of unannottated tags.

This prevented my pushes to qemu-xen-traditional.git, since it doesn't
have staging branches.

I edited the hooks/pre-receive and the relevant bit now looks like
this:

10      while read old new refname rest; do
11              case $refname in
12              refs/heads/master)      ;;
13              refs/heads/stable-*)    ;;
14      #       refs/heads/*staging*)   ;;
15      #       refs/heads/*)
16      #               if [ "x$whoami" != xosstest ]; then
17      #                       reject 'push only to staging branches'
18      #               fi
19      #                ;;
20              refs/tags/*)

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.