Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add example for manifest's ressources in the case of latest_commit autoupdate strategy #2491

Merged
merged 1 commit into from
Sep 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,19 @@ Or more complex examples with several element, including one with asset that dep

```

Or when using commit-based autoupdate strategy, target the source file associated with the last existing commit (that way new commits can be tested by maintainers before users use them)

```toml
[resources.sources]

[resources.sources.main]
url = "https://github.com/foo/bar/archive/3c592fd667e0a086cae9d66813d7aea815d2f489.tar.gz"
sha256 = "da53469b596116ee7ea9e33914dac19b16aa7f94c5131523bd6dafddbfdbc105"

autoupdate.upstream = "https://github.com/foo/bar/"
autoupdate.strategy = "latest_github_commit"
```

### Properties (for each source)

- `prefetch` : `true` (default) or `false`, wether or not to pre-fetch this asset during the provisioning phase of the resource. If several arch-dependent url are provided, YunoHost will only prefetch the one for the current system architecture.
Expand Down