All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Campbell <ian.campbell@citrix.com>
To: Wei Liu <wei.liu2@citrix.com>
Cc: samuel.thibault@ens-lyon.org, stefano.stabellini@eu.citrix.com,
	ian.jackson@eu.citrix.com, xen-devel@lists.xen.org
Subject: Re: [PATCH v3 0/8] Split off mini-os to a separate tree
Date: Fri, 27 Feb 2015 16:37:26 +0000	[thread overview]
Message-ID: <1425055046.14641.248.camel@citrix.com> (raw)
In-Reply-To: <1424863291-4225-1-git-send-email-wei.liu2@citrix.com>

On Wed, 2015-02-25 at 11:21 +0000, Wei Liu wrote:
> This is v3 of my mini-os splitting off patch series.

As xen@xenbits I ran:
        $ mkdir ~/git/mini-os.git
        $ cd ~/git/mini-os.git
        $ git init --bare
        Initialized empty Git repository in /home/xen/git/mini-os.git/
        $ chgrp -R xenmaint .
        $ find . -type d -exec chmod g+s {} \;
        $ git config --add receive.denyNonFastForwards true
        $ git config --add receive.unpackLimit 10000
        $ git config --add gc.autopacklimit 25

(the last three are due to what is in xen.git/config)

Then on the machine where I usually do committing stuff I did:
        $ git clone git://xenbits.xen.org/mini-os.git mini-os.git
        Cloning into 'mini-os.git'...
        warning: You appear to have cloned an empty repository.
        $ git fetch git://xenbits.xen.org/people/liuw/mini-os.git master
        remote: Counting objects: 3325, done.
        remote: Compressing objects: 100% (954/954), done.
        remote: Total 3325 (delta 2308), reused 3291 (delta 2282)
        Receiving objects: 100% (3325/3325), 962.22 KiB | 451 KiB/s, done.
        Resolving deltas: 100% (2308/2308), done.
        From git://xenbits.xen.org/people/liuw/mini-os
         * branch            master     -> FETCH_HEAD
        $ git push --dry-run origin f5d9868796e91bee70601805b9bfc1bb544b0586:refs/heads/master
        To ssh://xenbits.xen.org/home/xen/git/mini-os.git
         * [new branch]      f5d9868796e91bee70601805b9bfc1bb544b0586 -> master

However having merged wip.build-system-v4 I discovered that autogen.sh
needed to have been run half way up the merged branch.

Wei fixed this up and produced a new people/liuw/mini-os.git and
wip.build-system-v5, see <20150227161058.GE29195@zion.uk.xensource.com>.

So in mini-os.git:

        $ git fetch git://xenbits.xen.org/people/liuw/mini-os.git master
        remote: Counting objects: 99, done.
        remote: Compressing objects: 100% (71/71), done.
        remote: Total 90 (delta 19), reused 84 (delta 15)
        Unpacking objects: 100% (90/90), done.
        From git://xenbits.xen.org/people/liuw/mini-os
         * branch            master     -> FETCH_HEAD
        $ git rev-parse FETCH_HEAD
        55f7cd7427ef3e7fe3563a3da46d8664a2ed0d6d
        $ git push --dry-run origin +55f7cd7427ef3e7fe3563a3da46d8664a2ed0d6d:refs/heads/master
        To ssh://xenbits.xen.org/home/xen/git/mini-os.git
         + f5d9868...55f7cd7 55f7cd7427ef3e7fe3563a3da46d8664a2ed0d6d -> master (forced update)
        $ git push origin +55f7cd7427ef3e7fe3563a3da46d8664a2ed0d6d:refs/heads/master
        Counting objects: 99, done.
        Delta compression using up to 8 threads.
        Compressing objects: 100% (70/70), done.
        Writing objects: 100% (90/90), 183.78 KiB, done.
        Total 90 (delta 19), reused 86 (delta 16)
        To ssh://xenbits.xen.org/home/xen/git/mini-os.git
         + f5d9868...55f7cd7 55f7cd7427ef3e7fe3563a3da46d8664a2ed0d6d -> master (forced update)
        
This required me to temporarily disable receive.denyNonFastForward on
the xenbits repo. It is re-enabled now.

Having done that I pulled

 git://xenbits.xen.org/people/liuw/xen.git wip.build-system-v5

into my staging branch, build tested it and pushed it back out to the
xen.git#staging branch.

Phew!

Ian.

  parent reply	other threads:[~2015-02-27 16:37 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-25 11:21 [PATCH v3 0/8] Split off mini-os to a separate tree Wei Liu
2015-02-25 11:21 ` [PATCH v3 1/8] stubdom: fix "make build" Wei Liu
2015-02-25 11:21 ` [PATCH v3 2/8] Makefile: refactor build/clean/distclean targets Wei Liu
2015-02-25 11:21 ` [PATCH v3 3/8] stubdom: don't look for mini-os source file during configure Wei Liu
2015-02-25 11:21 ` [PATCH v3 4/8] stubdom: no need to clean mini-os Wei Liu
2015-02-25 19:31   ` Samuel Thibault
2015-02-27 13:32   ` Ian Campbell
2015-02-25 11:21 ` [PATCH v3 5/8] git-checkout.sh: use "mkdir -p" Wei Liu
2015-02-25 11:21 ` [PATCH v3 6/8] Mini-OS: standalone build Wei Liu
2015-02-25 11:21 ` [PATCH v3] build system: stubdom targets now depends on mini-os target Wei Liu
2015-02-27 13:31   ` Ian Campbell
2015-02-25 11:21 ` [PATCH v3 8/8] Remove in-tree mini-os directory Wei Liu
2015-02-27 13:38 ` [PATCH v3 0/8] Split off mini-os to a separate tree Ian Campbell
2015-02-27 13:50   ` Wei Liu
2015-02-27 14:46     ` Ian Campbell
2015-02-27 14:58       ` Wei Liu
2015-02-27 15:05         ` Ian Campbell
2015-02-27 16:10           ` Wei Liu
2015-02-27 16:37 ` Ian Campbell [this message]
2015-02-27 17:07   ` Ian Campbell
2015-03-02 10:56     ` Ian Campbell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1425055046.14641.248.camel@citrix.com \
    --to=ian.campbell@citrix.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=samuel.thibault@ens-lyon.org \
    --cc=stefano.stabellini@eu.citrix.com \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.