Re: mmotm 2011-02-04-15-15 uploaded

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

 



On Sat, Feb 05, 2011 at 11:44:30AM +0100, Johannes Weiner wrote:
> On Fri, Feb 04, 2011 at 06:43:00PM -0800, Andrew Morton wrote:
> > On Sat, 5 Feb 2011 13:34:50 +1100 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
> > > On Fri, 04 Feb 2011 15:15:17 -0800 akpm@xxxxxxxxxxxxxxxxxxxx wrote:
> > > >
> > > > The mm-of-the-moment snapshot 2011-02-04-15-15 has been uploaded to
> > > > 
> > > >    http://userweb.kernel.org/~akpm/mmotm/
> > > > 
> > > > and will soon be available at
> > > > 
> > > >    git://zen-kernel.org/kernel/mmotm.git
> > > 
> > > Just an FYI (origin is the above git repo):
> > > 
> > > $ git remote update origin
> > > Fetching origin
> > > fatal: read error: Connection reset by peer
> > > error: Could not fetch origin
> > 
> > Yes, that's been dead for a while and James isn't responding to email.
> 
> I created an automated tree for myself a while ago.  It has been
> working fine for the last few -mmotm snapshots:
> 
> 	http://git.cmpxchg.org/?p=linux-mmotm.git;a=summary
> 
> Feel free to use that and let me know if something is not right.

Here is the script I use for tree generation, btw:

---
#!/bin/bash

set -e

cd `dirname $0`
CWD="`pwd`"

TAR="broken-out.tar.gz"
URL="http://kernel.org/~akpm/mmotm/$TAR";
TREE_PRIVATE="$CWD/linux-2.6"
TREE_PUBLIC="/pub/git/linux-mmotm.git"

mtime()
{
    stat --printf='%Y' "$@"
}

prepare()
{
    if [ -f "$TAR" ]
    then
	ORG="`mtime $TAR`"
	wget -qN "$URL"
	[ "$ORG" = "`mtime $TAR`" ] && exit 0
    else
	wget -q "$URL"
    fi

    rm -rf broken-out
    tar -xf "$TAR"
    mv .DATE* series broken-out/

    # fix empty binary hunks so git will eat them
    sed -i '/^Binary files.*differ/d' broken-out/*.patch
}

[ "$1" = "-r" ] || prepare

LTAG="v`sed -n 2p broken-out/.DATE`"
ATAG="$LTAG-mmotm-`sed -n 1p broken-out/.DATE`"

cd "$TREE_PRIVATE"
git fetch --tags
git reset --quiet --hard "$LTAG"
git clean --quiet -fdx
rm -rf .git/rebase-apply
git quiltimport --author "mmotm auto import <mm-commits@xxxxxxxxxxxxxxx>" --patches "$CWD/broken-out"
git tag -f "$ATAG"
git push --force "$TREE_PUBLIC" --tags
git push --force "$TREE_PUBLIC" --all
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux