* [PATCH] manuals: propose https for SSTATE_MIRRORS
@ 2022-01-26 13:18 Michael Opdenacker
2022-01-27 20:23 ` [docs] " Peter Kjellerstedt
0 siblings, 1 reply; 3+ messages in thread
From: Michael Opdenacker @ 2022-01-26 13:18 UTC (permalink / raw)
To: docs; +Cc: Michael Opdenacker
Both http and https work, but https should raise fewer questions
from users.
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
---
documentation/brief-yoctoprojectqs/index.rst | 4 ++--
documentation/overview-manual/concepts.rst | 2 +-
documentation/ref-manual/variables.rst | 4 ++--
documentation/sdk-manual/appendix-customizing.rst | 2 +-
4 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/documentation/brief-yoctoprojectqs/index.rst b/documentation/brief-yoctoprojectqs/index.rst
index eaacde2d9a..b01fb4d40b 100644
--- a/documentation/brief-yoctoprojectqs/index.rst
+++ b/documentation/brief-yoctoprojectqs/index.rst
@@ -256,12 +256,12 @@ an entire Linux distribution, including the toolchain, from source.
BB_SIGNATURE_HANDLER = "OEEquivHash"
BB_HASHSERVE = "auto"
BB_HASHSERVE_UPSTREAM = "typhoon.yocto.io:8687"
- SSTATE_MIRRORS ?= "file://.* http://sstate.yoctoproject.org/&YOCTO_DOC_VERSION;/PATH;downloadfilename=PATH"
+ SSTATE_MIRRORS ?= "file://.* https://sstate.yoctoproject.org/&YOCTO_DOC_VERSION;/PATH;downloadfilename=PATH"
The above settings assumed the use of Yocto Project &YOCTO_DOC_VERSION;.
If you are using the development version instead, set :term:`SSTATE_MIRRORS` as follows::
- SSTATE_MIRRORS ?= "file://.* http://sstate.yoctoproject.org/dev/PATH;downloadfilename=PATH"
+ SSTATE_MIRRORS ?= "file://.* https://sstate.yoctoproject.org/dev/PATH;downloadfilename=PATH"
#. **Start the Build:** Continue with the following command to build an OS
image for the target, which is ``core-image-sato`` in this example:
diff --git a/documentation/overview-manual/concepts.rst b/documentation/overview-manual/concepts.rst
index 5698d93759..5cb5cb7127 100644
--- a/documentation/overview-manual/concepts.rst
+++ b/documentation/overview-manual/concepts.rst
@@ -1904,7 +1904,7 @@ Behind the scenes, the shared state code works by looking in
shared state files. Here is an example::
SSTATE_MIRRORS ?= "\
- file://.* http://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \
+ file://.* https://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \
file://.* file:///some/local/dir/sstate/PATH"
.. note::
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
index adb104e202..d4f40b6929 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -7196,7 +7196,7 @@ system and gives an overview of their function and contents.
following maps the local search path ``universal-4.9`` to the
server-provided path server_url_sstate_path::
- SSTATE_MIRRORS ?= "file://universal-4.9/(.*) http://server_url_sstate_path/universal-4.8/\1 \n"
+ SSTATE_MIRRORS ?= "file://universal-4.9/(.*) https://server_url_sstate_path/universal-4.8/\1 \n"
If a mirror uses the same structure as
:term:`SSTATE_DIR`, you need to add "PATH" at the
@@ -7205,7 +7205,7 @@ system and gives an overview of their function and contents.
::
SSTATE_MIRRORS ?= "\
- file://.* http://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \
+ file://.* https://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \
file://.* file:///some-local-dir/sstate/PATH"
:term:`SSTATE_SCAN_FILES`
diff --git a/documentation/sdk-manual/appendix-customizing.rst b/documentation/sdk-manual/appendix-customizing.rst
index cac199bf7a..f8e56477f3 100644
--- a/documentation/sdk-manual/appendix-customizing.rst
+++ b/documentation/sdk-manual/appendix-customizing.rst
@@ -264,7 +264,7 @@ source, you need to do a number of things:
to find the configuration. The variable you need to set is
:term:`SSTATE_MIRRORS`::
- SSTATE_MIRRORS = "file://.* http://example.com/some_path/sstate-cache/PATH"
+ SSTATE_MIRRORS = "file://.* https://example.com/some_path/sstate-cache/PATH"
You can set the :term:`SSTATE_MIRRORS` variable in two different places:
--
2.25.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* RE: [docs] [PATCH] manuals: propose https for SSTATE_MIRRORS
2022-01-26 13:18 [PATCH] manuals: propose https for SSTATE_MIRRORS Michael Opdenacker
@ 2022-01-27 20:23 ` Peter Kjellerstedt
2022-01-28 15:26 ` Michael Opdenacker
0 siblings, 1 reply; 3+ messages in thread
From: Peter Kjellerstedt @ 2022-01-27 20:23 UTC (permalink / raw)
To: Michael Opdenacker, docs
> -----Original Message-----
> From: docs@lists.yoctoproject.org <docs@lists.yoctoproject.org> On Behalf Of Michael Opdenacker
> Sent: den 26 januari 2022 14:18
> To: docs@lists.yoctoproject.org
> Cc: Michael Opdenacker <michael.opdenacker@bootlin.com>
> Subject: [docs] [PATCH] manuals: propose https for SSTATE_MIRRORS
>
> Both http and https work, but https should raise fewer questions
> from users.
>
> Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
> ---
> documentation/brief-yoctoprojectqs/index.rst | 4 ++--
> documentation/overview-manual/concepts.rst | 2 +-
> documentation/ref-manual/variables.rst | 4 ++--
> documentation/sdk-manual/appendix-customizing.rst | 2 +-
> 4 files changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/documentation/brief-yoctoprojectqs/index.rst b/documentation/brief-yoctoprojectqs/index.rst
> index eaacde2d9a..b01fb4d40b 100644
> --- a/documentation/brief-yoctoprojectqs/index.rst
> +++ b/documentation/brief-yoctoprojectqs/index.rst
> @@ -256,12 +256,12 @@ an entire Linux distribution, including the toolchain, from source.
> BB_SIGNATURE_HANDLER = "OEEquivHash"
> BB_HASHSERVE = "auto"
> BB_HASHSERVE_UPSTREAM = "typhoon.yocto.io:8687"
> - SSTATE_MIRRORS ?= "file://.* http://sstate.yoctoproject.org/&YOCTO_DOC_VERSION;/PATH;downloadfilename=PATH"
> + SSTATE_MIRRORS ?= "file://.* https://sstate.yoctoproject.org/&YOCTO_DOC_VERSION;/PATH;downloadfilename=PATH"
>
> The above settings assumed the use of Yocto Project &YOCTO_DOC_VERSION;.
> If you are using the development version instead, set :term:`SSTATE_MIRRORS` as follows::
>
> - SSTATE_MIRRORS ?= "file://.* http://sstate.yoctoproject.org/dev/PATH;downloadfilename=PATH"
> + SSTATE_MIRRORS ?= "file://.* https://sstate.yoctoproject.org/dev/PATH;downloadfilename=PATH"
>
> #. **Start the Build:** Continue with the following command to build an OS
> image for the target, which is ``core-image-sato`` in this example:
> diff --git a/documentation/overview-manual/concepts.rst b/documentation/overview-manual/concepts.rst
> index 5698d93759..5cb5cb7127 100644
> --- a/documentation/overview-manual/concepts.rst
> +++ b/documentation/overview-manual/concepts.rst
> @@ -1904,7 +1904,7 @@ Behind the scenes, the shared state code works by looking in
> shared state files. Here is an example::
>
> SSTATE_MIRRORS ?= "\
> - file://.* http://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \
> + file://.* https://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \
You might want to take this opportunity to remove the no longer
needed \n from all these examples.
> file://.* file:///some/local/dir/sstate/PATH"
>
> .. note::
> diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
> index adb104e202..d4f40b6929 100644
> --- a/documentation/ref-manual/variables.rst
> +++ b/documentation/ref-manual/variables.rst
> @@ -7196,7 +7196,7 @@ system and gives an overview of their function and contents.
> following maps the local search path ``universal-4.9`` to the
> server-provided path server_url_sstate_path::
>
> - SSTATE_MIRRORS ?= "file://universal-4.9/(.*) http://server_url_sstate_path/universal-4.8/\1 \n"
> + SSTATE_MIRRORS ?= "file://universal-4.9/(.*) https://server_url_sstate_path/universal-4.8/\1 \n"
Here it is even inconsistent as this example has a \n at the
end of the value, which the other examples do not.
>
> If a mirror uses the same structure as
> :term:`SSTATE_DIR`, you need to add "PATH" at the
> @@ -7205,7 +7205,7 @@ system and gives an overview of their function and contents.
> ::
>
> SSTATE_MIRRORS ?= "\
> - file://.* http://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \
> + file://.* https://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \
> file://.* file:///some-local-dir/sstate/PATH"
>
> :term:`SSTATE_SCAN_FILES`
> diff --git a/documentation/sdk-manual/appendix-customizing.rst b/documentation/sdk-manual/appendix-customizing.rst
> index cac199bf7a..f8e56477f3 100644
> --- a/documentation/sdk-manual/appendix-customizing.rst
> +++ b/documentation/sdk-manual/appendix-customizing.rst
> @@ -264,7 +264,7 @@ source, you need to do a number of things:
> to find the configuration. The variable you need to set is
> :term:`SSTATE_MIRRORS`::
>
> - SSTATE_MIRRORS = "file://.* http://example.com/some_path/sstate-cache/PATH"
> + SSTATE_MIRRORS = "file://.* https://example.com/some_path/sstate-cache/PATH"
>
> You can set the :term:`SSTATE_MIRRORS` variable in two different places:
>
> --
> 2.25.1
//Peter
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [docs] [PATCH] manuals: propose https for SSTATE_MIRRORS
2022-01-27 20:23 ` [docs] " Peter Kjellerstedt
@ 2022-01-28 15:26 ` Michael Opdenacker
0 siblings, 0 replies; 3+ messages in thread
From: Michael Opdenacker @ 2022-01-28 15:26 UTC (permalink / raw)
To: Peter Kjellerstedt, docs
Hi Peter
Thank you very much for the new review!
On 1/27/22 21:23, Peter Kjellerstedt wrote:
>> -----Original Message-----
>> From: docs@lists.yoctoproject.org <docs@lists.yoctoproject.org> On Behalf Of Michael Opdenacker
>> Sent: den 26 januari 2022 14:18
>> To: docs@lists.yoctoproject.org
>> Cc: Michael Opdenacker <michael.opdenacker@bootlin.com>
>> Subject: [docs] [PATCH] manuals: propose https for SSTATE_MIRRORS
>>
>> Both http and https work, but https should raise fewer questions
>> from users.
>>
>> Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
>> ---
>> documentation/brief-yoctoprojectqs/index.rst | 4 ++--
>> documentation/overview-manual/concepts.rst | 2 +-
>> documentation/ref-manual/variables.rst | 4 ++--
>> documentation/sdk-manual/appendix-customizing.rst | 2 +-
>> 4 files changed, 6 insertions(+), 6 deletions(-)
>>
>> diff --git a/documentation/brief-yoctoprojectqs/index.rst b/documentation/brief-yoctoprojectqs/index.rst
>> index eaacde2d9a..b01fb4d40b 100644
>> --- a/documentation/brief-yoctoprojectqs/index.rst
>> +++ b/documentation/brief-yoctoprojectqs/index.rst
>> @@ -256,12 +256,12 @@ an entire Linux distribution, including the toolchain, from source.
>> BB_SIGNATURE_HANDLER = "OEEquivHash"
>> BB_HASHSERVE = "auto"
>> BB_HASHSERVE_UPSTREAM = "typhoon.yocto.io:8687"
>> - SSTATE_MIRRORS ?= "file://.* http://sstate.yoctoproject.org/&YOCTO_DOC_VERSION;/PATH;downloadfilename=PATH"
>> + SSTATE_MIRRORS ?= "file://.* https://sstate.yoctoproject.org/&YOCTO_DOC_VERSION;/PATH;downloadfilename=PATH"
>>
>> The above settings assumed the use of Yocto Project &YOCTO_DOC_VERSION;.
>> If you are using the development version instead, set :term:`SSTATE_MIRRORS` as follows::
>>
>> - SSTATE_MIRRORS ?= "file://.* http://sstate.yoctoproject.org/dev/PATH;downloadfilename=PATH"
>> + SSTATE_MIRRORS ?= "file://.* https://sstate.yoctoproject.org/dev/PATH;downloadfilename=PATH"
>>
>> #. **Start the Build:** Continue with the following command to build an OS
>> image for the target, which is ``core-image-sato`` in this example:
>> diff --git a/documentation/overview-manual/concepts.rst b/documentation/overview-manual/concepts.rst
>> index 5698d93759..5cb5cb7127 100644
>> --- a/documentation/overview-manual/concepts.rst
>> +++ b/documentation/overview-manual/concepts.rst
>> @@ -1904,7 +1904,7 @@ Behind the scenes, the shared state code works by looking in
>> shared state files. Here is an example::
>>
>> SSTATE_MIRRORS ?= "\
>> - file://.* http://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \
>> + file://.* https://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \
> You might want to take this opportunity to remove the no longer
> needed \n from all these examples.
>
>> file://.* file:///some/local/dir/sstate/PATH"
>>
>> .. note::
>> diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
>> index adb104e202..d4f40b6929 100644
>> --- a/documentation/ref-manual/variables.rst
>> +++ b/documentation/ref-manual/variables.rst
>> @@ -7196,7 +7196,7 @@ system and gives an overview of their function and contents.
>> following maps the local search path ``universal-4.9`` to the
>> server-provided path server_url_sstate_path::
>>
>> - SSTATE_MIRRORS ?= "file://universal-4.9/(.*) http://server_url_sstate_path/universal-4.8/\1 \n"
>> + SSTATE_MIRRORS ?= "file://universal-4.9/(.*) https://server_url_sstate_path/universal-4.8/\1 \n"
> Here it is even inconsistent as this example has a \n at the
> end of the value, which the other examples do not.
Right, good catch, but I'd rather fix this through a different commit,
possibly touching other settings as well.
I am being programmed not to mix different changes in the same commit ;-)
Cheers
Michael.
--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-01-28 15:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-26 13:18 [PATCH] manuals: propose https for SSTATE_MIRRORS Michael Opdenacker
2022-01-27 20:23 ` [docs] " Peter Kjellerstedt
2022-01-28 15:26 ` Michael Opdenacker
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.