Skip to content

Commit

Permalink
docs: source URL can be a list (meta.yaml) (#5218)
Browse files Browse the repository at this point in the history
* meta.yaml: source URL can be a list

* Update docs/source/resources/define-metadata.rst

Co-authored-by: jaimergp <jaimergp@users.noreply.github.com>

---------

Co-authored-by: Bianca Henderson <bhenderson@anaconda.com>
Co-authored-by: jaimergp <jaimergp@users.noreply.github.com>
  • Loading branch information
3 people authored Mar 22, 2024
1 parent be0c74c commit ab137d2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/source/resources/define-metadata.rst
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,18 @@ If an extracted archive contains only 1 folder at its top level, its contents
will be moved 1 level up, so that the extracted package contents sit in the
root of the work folder.

You can also specify multiple URLs for the same source archive.
They will be attempted in order, should one fail.

.. code-block:: yaml
source:
url:
- https://archive.linux.duke.edu/cran/src/contrib/ggblanket_6.0.0.tar.gz
- https://archive.linux.duke.edu/cran/src/contrib/Archive/ggblanket/ggblanket_6.0.0.tar.gz
sha256: cd2181fe3d3365eaf36ff8bbbc90ea9d76c56d40e63386b4eefa0e3120ec6665
Source from git
---------------

Expand Down

0 comments on commit ab137d2

Please sign in to comment.