All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Linda <lindaj@jma3.com>
Cc: Julien Grall <julien.grall@citrix.com>,
	Wei Liu <wei.liu2@citrix.com>,
	xen-devel@lists.xen.org
Subject: Re: implementing a classic Xen front/back pv driver pair to provide a transport for 9P FS Protocol
Date: Thu, 2 Apr 2015 14:59:14 -0400	[thread overview]
Message-ID: <20150402185914.GB3131@x230.dumpdata.com> (raw)
In-Reply-To: <551C9D31.7000009@jma3.com>

On Wed, Apr 01, 2015 at 07:36:49PM -0600, Linda wrote:
> First, Julien, your suggestion worked like a charm.
> So here's what's happened tonight.  I tried to build the tools directory of
> my git repository.  Although I used the sudo command in my virtual ubuntu, I
> got a permission denied error  126 on xen_foreign.

One way to help with that is if you do:

make 1>&2 2>log

And attach the log.
> 
> Second, I tried to follow the protocol for submitting my patches.  I changed
> libxl_utils.c and libxl_utils.h, in my repository, add and commit them.
> Unfortunately, I didn't include my signature (next page of instructions I
> was following), and couldn't figure how to get back in to add them.

git commit --amend

Or if you want to do more of them:

git rebase -i origin/staging

(and in the editor change 'pick' to 'r').

> 
> Finally, I tried git send-email (took a bit to find I had to install it).
> Now it doesn't like the format of my send-email:

Again, please copy-n-paste the command line you had.

>  to the devlopers list above and cc'ing Julien and Wei, followed by:
> 1.  following this with the files (even with --no-format-patch), error was
> "no subject line"
> 2.  (different attempt) the repository "master"  error complained about the
> format patch

Not sure I understand that. Is that for 'git send-email' or 'git
format-patch'?
> 
> SO   if anyone is up at an ungodly hour and can explain any of these errors
> to me (I'm in Colorado - so it's 7:30 here), especially with a fix, I'd be
> grateful.  Otherwise, Julien, Wei, I'll start at about 7am my time, maybe a
> little earlier.

The previous OPW had an article about using git and how to do it with
kernel patches. It is exactly the same flow - except different email
address.

Anyhow, what I end up doing is:

1). git format-patch --subject-prefix "PATCH RFC" origin/staging..

(which generates 0001-, 0002-, etc files - for two patches).

2). git send-email --to xen-devel@xenproject.org --to someotheremail.org
--compose --subject "[PATCH RFC] Patches to fix XYZ." 000*.patch

And in the editor do a little writeup of what the patches have.
At the end of this, I attach the output from:

git diff --stat origin/staging..

git shortlog origin/staging..

which gives a nice diff output and what the patches are.

And then send it off.
> 
> Thanks.
> 
> Linda Jacobson
> 
> On 4/1/2015 2:57 PM, Julien Grall wrote:
> >
> >
> >On 01/04/2015 18:46, Linda wrote:
> >>I'll try it.  That's the
> >>
> >>libvncserver-dev libsdl-dev libjpeg62-dev
> >>
> >>Should I keep the libsdl-dev?
> >>
> >>   In the meantime, I'm following the git protocol for patches. I
> >>successfully cloned xen.git.  The next statement in the directions - I
> >>can't tell if it's one statement on many lines, or many statements.  It
> >>starts out git branch -a
> >>When I type this alone, I get "Not a git repository"  When I type in the
> >>many lines as a single command I get the error message:
> >>origin/master no such file or directory
> >
> >You have to type the command "git branch -a"  in the git repository (i.e
> >the directory xen.git).
> >
> >
> >>
> >>This comes from the line remotes/origin/HEAD->origin
> >>
> >>?????
> >
> >This is normal. The line starting by '$' is a command. Everything else is
> >an example output of the execution of the command.
> >
> >Obviously, you have to drop the '$' when typing copying the command.
> >
> >To go further, '$' means a command to execute with your current user and
> >'#' a command to execute with root privileges (i.e adding sudo before).
> >
> >This is usually a standard on Linux/BSD shell documentation.
> >
> >Although, there is some place within this wiki page where the command
> >doesn't have '$'/'#' (see [1]). So you to judge yourself if the line looks
> >like a command or not :).
> >
> >Regards,
> >
> >[1] http://wiki.xenproject.org/wiki/Submitting_Xen_Project_Patches#Git_send-email
> >
> >
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel

  reply	other threads:[~2015-04-02 18:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20150324120542.GA30219@zion.uk.xensource.com>
     [not found] ` <20150324151304.GF30219@zion.uk.xensource.com>
     [not found]   ` <55118486.5090407@jma3.com>
     [not found]     ` <20150324155249.GH30219@zion.uk.xensource.com>
     [not found]       ` <551473AB.1030205@jma3.com>
     [not found]         ` <551484F6.9060605@citrix.com>
     [not found]           ` <5514C344.10308@jma3.com>
     [not found]             ` <55155681.6000904@citrix.com>
     [not found]               ` <1227054292.1038698.1427684604465.JavaMail.zimbra@jma3.com>
     [not found]                 ` <551938CE.80400@citrix.com>
     [not found]                   ` <551C0057.8000707@jma3.com>
     [not found]                     ` <551C0256.4090108@citrix.com>
     [not found]                       ` <551C056E.4050003@jma3.com>
     [not found]                         ` <551C0776.1030201@citrix.com>
     [not found]                           ` <551C0D19.6000008@jma3.com>
     [not found]                             ` <551C12D9.2060308@citrix.com>
     [not found]                               ` <551C15FF.2050808@jma3.com>
     [not found]                                 ` <551C1970.7010702@citrix.com>
     [not found]                                   ` <551C255E.5070403@jma3.com>
     [not found]                                     ` <551C28A4.3010503@citrix.com>
     [not found]                                       ` <551C2F0E.1040906@jma3.com>
     [not found]                                         ` <551C5BAE.5050603@citrix.com>
2015-04-02  1:36                                           ` implementing a classic Xen front/back pv driver pair to provide a transport for 9P FS Protocol Linda
2015-04-02 18:59                                             ` Konrad Rzeszutek Wilk [this message]
2015-04-02 19:16                                               ` Linda
2015-04-02 19:44                                                 ` Konrad Rzeszutek Wilk
2015-04-02 21:25                                                   ` Linda Jacobson
2015-04-03  4:36                                               ` Linda Jacobson

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=20150402185914.GB3131@x230.dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=julien.grall@citrix.com \
    --cc=lindaj@jma3.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.