xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Julien Grall <julien.grall@arm.com>
To: Lars Kurth <lars.kurth.xen@gmail.com>,
	"Wieczorkiewicz, Pawel" <wipawel@amazon.de>
Cc: "Tim \(Xen.org\)" <tim@xen.org>,
	Stefano Stabellini <sstabellini@kernel.org>, Wei Liu <wl@xen.org>,
	Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
	George Dunlap <George.Dunlap@eu.citrix.com>,
	Andrew Cooper <andrew.cooper3@citrix.com>,
	Ian Jackson <ian.jackson@eu.citrix.com>,
	xen-devel <xen-devel@lists.xen.org>,
	"Pohlack, Martin" <mpohlack@amazon.de>,
	Ross Lagerwall <ross.lagerwall@citrix.com>,
	'Jan Beulich' <jbeulich@suse.com>,
	xen-devel <xen-devel@lists.xenproject.org>
Subject: Re: [Xen-devel] [PATCH lp-metadata 2/3] livepatch: Handle arbitrary size names with the list operation
Date: Thu, 15 Aug 2019 16:58:38 +0100	[thread overview]
Message-ID: <7308f1a7-ceaf-d0e3-b425-bbd8049d5007@arm.com> (raw)
In-Reply-To: <C3D44CDE-E1C3-404D-852E-FDA691F09B82@gmail.com>

Hi Lars,

On 15/08/2019 16:46, Lars Kurth wrote:
> 
> 
>> On 15 Aug 2019, at 16:33, Lars Kurth <lars.kurth.xen@gmail.com 
>> <mailto:lars.kurth.xen@gmail.com>> wrote:
>>
>>
>>
>>> On 15 Aug 2019, at 16:19, Wieczorkiewicz, Pawel <wipawel@amazon.de 
>>> <mailto:wipawel@amazon.de>> wrote:
>>>
>>> Hi Lars, Julien,
>>>
>>> Thanks for the pointers, I will read them up and follow the recommendations 
>>> with my future contributions.
>>> Sorry for the mess…
>>
>> It's not really a mess: it must have been quite a pain to put the mails 
>> together manually
>> And it would become more painful for a second revision
>> I have been through this myself
>>
>>> But, let me ask first before reading the wikis, how do you prefer submitting 
>>> series that contain patches belonging to 2 distinct repos (e.g. xen and 
>>> livepatch-build-tools)?
>>
>> That's a good question and a very rare use-case. We split them, as all the 
>> tools such as git format-patch only work on one repo
>> Applying patches also only works on a per repo basis
>>
>> So, I would send two series. But mention the relationship in the cover letter 
>> (and/or patch if it is a single one)
>>
>> The tools in the docs currently may not work on livepatch-build-tools.git
>> * First: there is no MAINTAINERS file in livepatch-build-tools.git, which 
>> really should be added
>> * Second: using xen.git:/scripts/add_maintainers.pl may not work when called 
>> from within livepatch-build-tools.git
>>
>> I am going to play with this and update the docs and if needed the tools 
>> accordingly
>> You may have to improvise in the meantime:
>> * Step 1 & 3 will work: Step 2, option 1 will probably not (which means until 
>> I have done this, you may have to follow option 2 and make sure that the right 
>> people are CC'ed)
> 
> I can confirm that Step 2 does not work without some tools changes to 
> scripts/add_maintainers.pl when called from within a non-xen.git repo
> 
> And
> 
> git send-email --to xen-devel@lists.xenproject.org 
> <mailto:xen-devel@lists.xenproject.org> 
> --cc-cmd="../xen.git/scripts/get_maintainer.pl" --dry-run -1
> 
> errors with
> 
> ../xen.git/scripts/get_maintainer.pl: The current directory does not appear to 
> be a Xen source tree.
> 
> I need to fix this. Hopefully get_maintainer.pl isn't too dependant on the 
> actual Xen tree

get_maintainer.pl relies on the current working directory to be the top of tree.

At the moment, it checks various file are present (see top_of_tree) but I think 
it should be feasible to just relax it to just MAINTAINERS.

The risk is a user may end up to call the wrong MAINTAINERS file if it messes up 
the current working directory (i.e calling for Xen patches from 
livepatch-tools). Not sure if this is a real concern though...

Note that Linux has a similar check to ensure the user is on the right directory 
(i.e

Cheers,

-- 
Julien Grall

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

  reply	other threads:[~2019-08-15 15:59 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-15 11:27 [Xen-devel] [PATCH lp-metadata 2/3] livepatch: Handle arbitrary size names with the list operation Pawel Wieczorkiewicz
2019-08-15 11:38 ` Julien Grall
2019-08-15 14:58   ` Lars Kurth
2019-08-15 15:19     ` Wieczorkiewicz, Pawel
2019-08-15 15:29       ` Julien Grall
2019-08-15 15:32         ` George Dunlap
2019-08-15 15:36           ` Julien Grall
2019-08-15 15:48             ` George Dunlap
2019-08-15 16:00               ` Julien Grall
2019-08-15 16:23                 ` George Dunlap
2019-08-15 15:42         ` Wieczorkiewicz, Pawel
2019-08-15 16:29           ` Andrew Cooper
2019-08-15 18:59             ` Lars Kurth
2019-08-21 18:38             ` Konrad Rzeszutek Wilk
2019-08-15 15:33       ` Lars Kurth
2019-08-15 15:46         ` Lars Kurth
2019-08-15 15:58           ` Julien Grall [this message]
2019-08-15 16:17             ` Lars Kurth

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=7308f1a7-ceaf-d0e3-b425-bbd8049d5007@arm.com \
    --to=julien.grall@arm.com \
    --cc=George.Dunlap@eu.citrix.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=jbeulich@suse.com \
    --cc=konrad.wilk@oracle.com \
    --cc=lars.kurth.xen@gmail.com \
    --cc=mpohlack@amazon.de \
    --cc=ross.lagerwall@citrix.com \
    --cc=sstabellini@kernel.org \
    --cc=tim@xen.org \
    --cc=wipawel@amazon.de \
    --cc=wl@xen.org \
    --cc=xen-devel@lists.xen.org \
    --cc=xen-devel@lists.xenproject.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).