[edk2-devel] [PATCH V2] BaseTools: replace the chinese quotation mark with unicode "

Fan, ZhijuX posted 1 patch 4 years, 9 months ago
Failed in applying to current master (apply log)
BaseTools/Source/Python/Pkcs7Sign/Readme.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[edk2-devel] [PATCH V2] BaseTools: replace the chinese quotation mark with unicode "
Posted by Fan, ZhijuX 4 years, 9 months ago
From: Sean Brogan <spbrogan@live.com>

BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=2013

chinese quotation mark are used in the file
This patch is going to fix that issue.

Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Zhiju.Fan <zhijux.fan@intel.com>
---
 BaseTools/Source/Python/Pkcs7Sign/Readme.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/BaseTools/Source/Python/Pkcs7Sign/Readme.md b/BaseTools/Source/Python/Pkcs7Sign/Readme.md
index 5315b7fca4..a7b9caf52c 100644
--- a/BaseTools/Source/Python/Pkcs7Sign/Readme.md
+++ b/BaseTools/Source/Python/Pkcs7Sign/Readme.md
@@ -10,7 +10,7 @@ NOTE: Below steps are required for Windows. Linux may already have the OPENSSL e
     set OPENSSL_HOME=c:\home\openssl\openssl-[version]
     set OPENSSL_CONF=%OPENSSL_HOME%\apps\openssl.cnf
 
-When a user uses OpenSSL (req or ca command) to generate the certificates, OpenSSL will use the openssl.cnf file as the configuration data (can use “-config path/to/openssl.cnf” to describe the specific config file).
+When a user uses OpenSSL (req or ca command) to generate the certificates, OpenSSL will use the openssl.cnf file as the configuration data (can use "-config path/to/openssl.cnf" to describe the specific config file).
 
 The user need check the openssl.cnf file, to find your CA path setting, e.g. check if the path exists in [ CA_default ] section.
 
-- 
2.14.1.windows.1


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#44358): https://edk2.groups.io/g/devel/message/44358
Mute This Topic: https://groups.io/mt/32594579/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-

Re: [edk2-devel] [PATCH V2] BaseTools: replace the chinese quotation mark with unicode "
Posted by Philippe Mathieu-Daudé 4 years, 9 months ago
On 7/25/19 5:00 AM, Fan, ZhijuX wrote:
> From: Sean Brogan <spbrogan@live.com>
> 
> BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=2013
> 
> chinese quotation mark are used in the file
> This patch is going to fix that issue.
> 
> Cc: Bob Feng <bob.c.feng@intel.com>
> Cc: Liming Gao <liming.gao@intel.com>
> Signed-off-by: Zhiju.Fan <zhijux.fan@intel.com>
> ---
>  BaseTools/Source/Python/Pkcs7Sign/Readme.md | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/BaseTools/Source/Python/Pkcs7Sign/Readme.md b/BaseTools/Source/Python/Pkcs7Sign/Readme.md
> index 5315b7fca4..a7b9caf52c 100644
> --- a/BaseTools/Source/Python/Pkcs7Sign/Readme.md
> +++ b/BaseTools/Source/Python/Pkcs7Sign/Readme.md
> @@ -10,7 +10,7 @@ NOTE: Below steps are required for Windows. Linux may already have the OPENSSL e
>      set OPENSSL_HOME=c:\home\openssl\openssl-[version]
>      set OPENSSL_CONF=%OPENSSL_HOME%\apps\openssl.cnf
>  
> -When a user uses OpenSSL (req or ca command) to generate the certificates, OpenSSL will use the openssl.cnf file as the configuration data (can use “-config path/to/openssl.cnf” to describe the specific config file).
> +When a user uses OpenSSL (req or ca command) to generate the certificates, OpenSSL will use the openssl.cnf file as the configuration data (can use "-config path/to/openssl.cnf" to describe the specific config file).
>  
>  The user need check the openssl.cnf file, to find your CA path setting, e.g. check if the path exists in [ CA_default ] section.
>  

I wonder, we could add a BaseTool script as pre-commit hook to check
this kind of easy typos...

Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>

-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#44379): https://edk2.groups.io/g/devel/message/44379
Mute This Topic: https://groups.io/mt/32594579/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-

Re: [edk2-devel] [PATCH V2] BaseTools: replace the chinese quotation mark with unicode "
Posted by Liming Gao 4 years, 9 months ago

>-----Original Message-----
>From: Philippe Mathieu-Daudé [mailto:philmd@redhat.com]
>Sent: Thursday, July 25, 2019 7:12 PM
>To: devel@edk2.groups.io; Fan, ZhijuX <zhijux.fan@intel.com>
>Cc: Sean Brogan <spbrogan@live.com>; Feng, Bob C <bob.c.feng@intel.com>;
>Gao, Liming <liming.gao@intel.com>
>Subject: Re: [edk2-devel] [PATCH V2] BaseTools: replace the chinese
>quotation mark with unicode "
>
>On 7/25/19 5:00 AM, Fan, ZhijuX wrote:
>> From: Sean Brogan <spbrogan@live.com>
>>
>> BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=2013
>>
>> chinese quotation mark are used in the file
>> This patch is going to fix that issue.
>>
>> Cc: Bob Feng <bob.c.feng@intel.com>
>> Cc: Liming Gao <liming.gao@intel.com>
>> Signed-off-by: Zhiju.Fan <zhijux.fan@intel.com>
>> ---
>>  BaseTools/Source/Python/Pkcs7Sign/Readme.md | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/BaseTools/Source/Python/Pkcs7Sign/Readme.md
>b/BaseTools/Source/Python/Pkcs7Sign/Readme.md
>> index 5315b7fca4..a7b9caf52c 100644
>> --- a/BaseTools/Source/Python/Pkcs7Sign/Readme.md
>> +++ b/BaseTools/Source/Python/Pkcs7Sign/Readme.md
>> @@ -10,7 +10,7 @@ NOTE: Below steps are required for Windows. Linux
>may already have the OPENSSL e
>>      set OPENSSL_HOME=c:\home\openssl\openssl-[version]
>>      set OPENSSL_CONF=%OPENSSL_HOME%\apps\openssl.cnf
>>
>> -When a user uses OpenSSL (req or ca command) to generate the
>certificates, OpenSSL will use the openssl.cnf file as the configuration data
>(can use “-config path/to/openssl.cnf” to describe the specific config file).
>> +When a user uses OpenSSL (req or ca command) to generate the
>certificates, OpenSSL will use the openssl.cnf file as the configuration data
>(can use "-config path/to/openssl.cnf" to describe the specific config file).
>>
>>  The user need check the openssl.cnf file, to find your CA path setting, e.g.
>check if the path exists in [ CA_default ] section.
>>
>
>I wonder, we could add a BaseTool script as pre-commit hook to check
>this kind of easy typos...
>
>Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>

Reviewed-by: Liming Gao <liming.gao@intel.com>

Thanks
Liming

-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#44439): https://edk2.groups.io/g/devel/message/44439
Mute This Topic: https://groups.io/mt/32594579/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-