Re: [yocto] [yocto-doc][PATCH] ref-manual: fix copy-paste style error (`SRC_URI`)

2019-03-12 Thread Scott Rifenbark
Filip,

Thanks for the catch.  I have fixed this in the upcoming 2.7 version of the
YP reference guide.  You can see the fix here -
https://yoctoproject.org/docs/2.7/ref-manual/ref-manual.html#var-SRC_URI.

I will back-port to the relevant YP-maintained development branches (thud
and sumo).

Scott

On Mon, Mar 11, 2019 at 8:30 AM Filip Jareš  wrote:

> The update fixes a copy-paste-and-forget-to-update-everything error
> in the documentation of the `SRC_URI` entry in the Reference Manual.
> The `maxdate` paragraph just repeated what is there for the
> neighboring `mindate` paragraph which was incorrect.
>
> What is documented (and patched) here is implemented in the
> `should_apply` function in `meta/lib/oe/patch.py`.
>
> Signed-off-by: Filip Jareš 
> ---
>  documentation/ref-manual/ref-variables.xml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/documentation/ref-manual/ref-variables.xml
> b/documentation/ref-manual/ref-variables.xml
> index 3ffa92c..b49fb25 100644
> --- a/documentation/ref-manual/ref-variables.xml
> +++ b/documentation/ref-manual/ref-variables.xml
> @@ -13798,7 +13798,7 @@
>  
>
>  maxdate -
>  Apply the patch only if
> SRCDATE
> -is not later than
> mindate.
> +is not later than
> maxdate.
>  
>
>  minrev -
>  Apply the patch only if
> SRCREV
> --
> 2.7.4
>
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [yocto-doc][PATCH] ref-manual: fix copy-paste style error (`SRC_URI`)

2019-03-11 Thread Filip Jareš
The update fixes a copy-paste-and-forget-to-update-everything error
in the documentation of the `SRC_URI` entry in the Reference Manual.
The `maxdate` paragraph just repeated what is there for the
neighboring `mindate` paragraph which was incorrect.

What is documented (and patched) here is implemented in the
`should_apply` function in `meta/lib/oe/patch.py`.

Signed-off-by: Filip Jareš 
---
 documentation/ref-manual/ref-variables.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/documentation/ref-manual/ref-variables.xml 
b/documentation/ref-manual/ref-variables.xml
index 3ffa92c..b49fb25 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -13798,7 +13798,7 @@
 
 maxdate 
-
 Apply the patch only if 
SRCDATE
-is not later than mindate.
+is not later than maxdate.
 
 minrev 
-
 Apply the patch only if SRCREV
-- 
2.7.4

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto