Skip to content

Commit bcc3baa

Browse files
authored
Merge pull request YunoHost#2549 from YunoHost/debian/12.0.11
[CI] Update app helpers/resources for debian/12.0.11
2 parents a66bd57 + f903f2f commit bcc3baa

File tree

4 files changed

+194
-196
lines changed

4 files changed

+194
-196
lines changed

pages/06.contribute/10.packaging_apps/10.manifest/10.appresources/packaging_app_manifest_resources.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ routes:
88
custom_edit_link: 'https://github.com/YunoHost/yunohost/blob/dev/src/utils/resources.py'
99
---
1010

11-
Doc auto-generated by [this script](https://github.com/YunoHost/yunohost/blob/992b25d7ba42e0ace7c5d4cfab41c4f7a1e1c65b/doc/generate_resource_doc.py) on 10/01/2025 (YunoHost version 12.0.10)
11+
Doc auto-generated by [this script](https://github.com/YunoHost/yunohost/blob/d5fc3cd6ab72105d2d2fccdaf3861c479709d914/doc/generate_resource_doc.py) on 20/01/2025 (YunoHost version 12.0.11)
1212

1313

1414
---
@@ -157,7 +157,7 @@ admin.allowed = "admins" # Assuming the "admins" group exists (cf future devel
157157
```
158158

159159
### Properties (for each perm name)
160-
- `url`: The relative URI corresponding to this permission. Typically `/` or `/something`. This property may be omitted for non-web permissions.
160+
- `url`: The relative URI corresponding to this permission. Typically `/` or `/something`. This property may be omitted for non-web permissions. Can also be a regex, prefixed by `re:` like `re:/api/[A-Z]*$`.
161161
- `show_tile`: (default: `true` if `url` is defined) Wether or not a tile should be displayed for that permission in the user portal
162162
- `allowed`: (default: nobody) The group initially allowed to access this perm, if `init_{perm}_permission` is not defined in the manifest questions. Note that the admin may tweak who is allowed/unallowed on that permission later on, this is only meant to **initialize** the permission.
163163
- `auth_header`: (default: `true`) Define for the URL of this permission, if SSOwat pass the authentication header to the application. Default is true
@@ -313,8 +313,6 @@ autoupdate.version_regex = "^release-v(.*)$"
313313

314314
And the autoupdater will use the matched group (here: `4.1`) as the version.
315315

316-
Note that the autoupdate-related regex must follow [Python's regex implementation](https://docs.python.org/3/howto/regex.html#regex-howto) (for instance a double backslash is to be used as escape character).
317-
318316
You can make sure that your autoupdate strategy is working well immediately (without waiting for the next check on the infra) by doing the following:
319317
1. Clone this repo: https://github.com/YunoHost/apps_tools
320318
2. In `apps_tools` open a terminal to run the following commands:

0 commit comments

Comments
 (0)