public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Gao, Liming" <liming.gao@intel.com>
To: Evan Lloyd <Evan.Lloyd@arm.com>, Laszlo Ersek <lersek@redhat.com>,
	"edk2-devel (edk2-devel@lists.01.org)" <edk2-devel@ml01.01.org>
Cc: Leif Lindholm <leif.lindholm@linaro.org>
Subject: Re: File mode problem on Github edk2-BaseTools-win32
Date: Fri, 11 Nov 2016 13:57:35 +0000	[thread overview]
Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14B4B0FE6@shsmsx102.ccr.corp.intel.com> (raw)
In-Reply-To: <AM5PR0801MB176288EC74E3A656B3CBDCAE8BBB0@AM5PR0801MB1762.eurprd08.prod.outlook.com>

Evan:
  Yes. I expect you send the patch into this mail list. After I review and test, I will help push it into edk2-BaseTools-win32 repo. As you mention, this repo is still the mirror of svn. Any change in this repo will impact the mirror sync. So, we expect the patch to be applied.

Thanks
Liming
From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Evan Lloyd
Sent: Friday, November 11, 2016 9:13 PM
To: Laszlo Ersek <lersek@redhat.com>; edk2-devel (edk2-devel@lists.01.org) <edk2-devel@ml01.01.org>
Cc: Gao, Liming <liming.gao@intel.com>; Leif Lindholm <leif.lindholm@linaro.org>
Subject: Re: [edk2] File mode problem on Github edk2-BaseTools-win32

Hi Laszlo.

>-----Original Message-----
>From: Laszlo Ersek [mailto:lersek@redhat.com]
>Sent: 11 November 2016 11:24
>To: Evan Lloyd; edk2-devel (edk2-devel@lists.01.org<mailto:edk2-devel@lists.01.org>)
>Cc: Leif Lindholm; liming.gao@intel.com<mailto:liming.gao@intel.com>
>Subject: Re: [edk2] File mode problem on Github edk2-BaseTools-win32
...
>> Liming,
>> Because this is purely a permission problem in the Git repository, and .exe
>files are not amenable to patching,
>
>They are -- I think if you change the file mode bits, git will see that, and will
>create a patch that has no content hunks, just the file mode changes.

A semantic quibble; ".exe files are not amenable to patching" is true, the file ATTRIBUTES may be.
Patches against a .exe (or .dll) should surely start alarm bells ringing for most people.

>
>For example, in the BaseTools/Conf/ directory, we happen have two
>template files that have gratuitous execute permissions. If I remove those
>permissions, "git diff" shows
>
...
>(The above patch is one I could submit genuinely, but I'm too lazy. :))

And somebody on the list would only object, so why bother? ;-)

>
>> I have raised a pull request on https://github.com/tianocore/edk2-
>BaseTools-win32/pulls
>> This is only a minor thing, but I would deem it a great favour were you to
>accept the pull request.
>> It has me tearing my hair out, and I have little enough to begin with. :-{
>
>It is fine to send pull requests, but:
>- they should be mailed to the list (not opened on github),
>- the patches have to be reviewed first, anyway.
>
>(Speaking about the edk2 repo at least -- I realize this is a different repo.)

As you point out, this is for a different repo; provided (I think) as a convenience, and is ancillary to edk2.
My viewpoint is that this is a specialised aspect, of interest to very few people. (Does anyone else use Cygwin Git and the Win32 binaries?)
The only reason for publishing this request here was one of awareness. Most people will, I expect, be blissfully unconcerned.

I am happy to submit a patch though, should those responsible (Liming?) want that.
Until that is confirmed though, I'm assuming that the GitHub repo is a mirror of a Subversion original (which will not record modes), so applying a patch might involve a lot more work than accepting the pull request on GitHub.

Regards,
Evan

>
>Thanks
>Laszlo
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org<mailto:edk2-devel@lists.01.org>
https://lists.01.org/mailman/listinfo/edk2-devel


      reply	other threads:[~2016-11-11 13:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-11 11:05 File mode problem on Github edk2-BaseTools-win32 Evan Lloyd
2016-11-11 11:24 ` Laszlo Ersek
2016-11-11 13:12   ` Evan Lloyd
2016-11-11 13:57     ` Gao, Liming [this message]

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-list 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=4A89E2EF3DFEDB4C8BFDE51014F606A14B4B0FE6@shsmsx102.ccr.corp.intel.com \
    --to=devel@edk2.groups.io \
    /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