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

Submitted by Filip Jareš on March 11, 2019, 2:30 p.m. | Patch ID: 159495

Details

Message ID 1552314623-15702-1-git-send-email-filipjares@gmail.com
State New
Headers show

Commit Message

Filip Jareš March 11, 2019, 2:30 p.m.
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š <filipjares@gmail.com>
---
 documentation/ref-manual/ref-variables.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

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 @@ 
                             </para></listitem>
                         <listitem><para><emphasis><filename>maxdate</filename> -</emphasis>
                             Apply the patch only if <filename>SRCDATE</filename>
-                            is not later than <filename>mindate</filename>.
+                            is not later than <filename>maxdate</filename>.
                             </para></listitem>
                         <listitem><para><emphasis><filename>minrev</filename> -</emphasis>
                             Apply the patch only if <filename>SRCREV</filename>

Comments

Scott Rifenbark March 12, 2019, 3:21 p.m.
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š <filipjares@gmail.com> 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š <filipjares@gmail.com>
> ---
>  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 @@
>                              </para></listitem>
>
>  <listitem><para><emphasis><filename>maxdate</filename> -</emphasis>
>                              Apply the patch only if
> <filename>SRCDATE</filename>
> -                            is not later than
> <filename>mindate</filename>.
> +                            is not later than
> <filename>maxdate</filename>.
>                              </para></listitem>
>
>  <listitem><para><emphasis><filename>minrev</filename> -</emphasis>
>                              Apply the patch only if
> <filename>SRCREV</filename>
> --
> 2.7.4
>
>