Skip to contentSkip to conversation

ref-manual: fix copy-paste style error (`SRC_URI`)

PATCH In review Filip Jareš 2 participants 2 messages Mar 11, 2019 – Mar 12, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ref-manual: fix copy-paste style error (`SRC_URI`)

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.

---
 documentation/ref-manual/ref-variables.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
documentation/ref-manual/ref-variables.xml +1 -1
index 3ffa92c..b49fb25 100644
@@ -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>
Signature · 1 line
2.7.4
#1 lore raw

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

Quoted 37 lines · 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.

---
 documentation/ref-manual/ref-variables.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
documentation/ref-manual/ref-variables.xml +0 -0
index 3ffa92c..b49fb25 100644
@@ -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