Skip to content

Commit 40fb467

Browse files
authored
Be more correct with hash vs. signature (#4358)
1 parent 5e541f3 commit 40fb467

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎devops/backup_sources/sources_backup.rst‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The *sources backup* feature is intended for storing the downloaded recipe sourc
1616
allowing future reproducibility of your builds even in the case where the original download URLs are no longer accessible.
1717

1818
The backup is triggered for calls to the :ref:`download<conan_tools_files_get>` and :ref:`get<conan_tools_files_get>` methods
19-
when a ``sha256`` file signature is provided.
19+
when a ``sha256`` file hash is provided.
2020

2121

2222
.. _backup_sources_config:
@@ -61,13 +61,13 @@ In summary, it looks something like:
6161
:ref:`See below<backup_sources_setup_remote>` if you are in need for configuring your own.
6262
- The remote's URL can then be set in ``core.sources:download_urls`` and ``core.sources:upload_url``.
6363
- In your recipe's ``source()`` method, ensure the relevant ``get``/``download``
64-
calls supply the ``sha256`` signature of the downloaded files.
64+
calls supply the ``sha256`` hash of the downloaded files.
6565
- Set ``core.sources:download_cache`` in your :ref:`global.conf<reference_config_files_global_conf>` file if a custom location is desired,
6666
else the default cache folder will be used
6767
- Run Conan normally, creating packages etc.
6868
- Once some sources have been locally downloaded, the folder pointed to by ``core.sources:download_cache`` will contain, for each downloaded file:
69-
- A blob file (no extensions) with the name of the ``sha256`` signature provided in ``get``/``download``.
70-
- A ``.json`` file which will also have the name of the ``sha256`` signature,
69+
- A blob file (no extensions) with the name of the ``sha256`` hash provided in ``get``/``download``.
70+
- A ``.json`` file which will also have the name of the ``sha256`` hash,
7171
that will contain information about which references and which mirrors this blob belongs to.
7272
- Calling ``conan upload`` will now optionally upload the backups for the matching references if ``core.sources:upload_url`` is set.
7373

0 commit comments

Comments
 (0)