mirror of
https://git.yoctoproject.org/poky
synced 2026-09-17 03:49:32 +02:00
contributor-guide: couple minor typo/grammar fixes
- font fix - missing word fix (From yocto-docs rev: c7e020d278ded715fc24034b000fb93f554b606c) Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> (cherry picked from commit a9bf37a1166120f8870422aceaf2f3d8cb53788a) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Paul Barker <paul@pbarker.dev>
This commit is contained in:
committed by
Paul Barker
parent
de21795014
commit
9c1cc745bc
@@ -28,7 +28,7 @@ file name. It is recommended to use released versions of software as these are
|
|||||||
revisions that upstream are expecting people to use.
|
revisions that upstream are expecting people to use.
|
||||||
|
|
||||||
Recipe versions should always compare and sort correctly so that upgrades work
|
Recipe versions should always compare and sort correctly so that upgrades work
|
||||||
as expected. With conventional versions such as ``1.4`` upgrading ``to 1.5``
|
as expected. With conventional versions such as ``1.4`` upgrading to ``1.5``
|
||||||
this happens naturally, but some versions don't sort. For example,
|
this happens naturally, but some versions don't sort. For example,
|
||||||
``1.5 Release Candidate 2`` could be written as ``1.5rc2`` but this sorts after
|
``1.5 Release Candidate 2`` could be written as ``1.5rc2`` but this sorts after
|
||||||
``1.5``, so upgrades from feeds won't happen correctly.
|
``1.5``, so upgrades from feeds won't happen correctly.
|
||||||
@@ -82,7 +82,7 @@ Recipe formatting
|
|||||||
Variable Formatting
|
Variable Formatting
|
||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
- Variable assignment should a space around each side of the operator, e.g.
|
- Variable assignment should include a space around each side of the operator, e.g.
|
||||||
``FOO = "bar"``, not ``FOO="bar"``.
|
``FOO = "bar"``, not ``FOO="bar"``.
|
||||||
|
|
||||||
- Double quotes should be used on the right-hand side of the assignment,
|
- Double quotes should be used on the right-hand side of the assignment,
|
||||||
|
|||||||
Reference in New Issue
Block a user