mirror of
https://github.com/YunoHost/yunodevtools.git
synced 2024-09-03 20:16:19 +02:00
Remove add_or_update script, update README instructions about adding apps to the catalog
This commit is contained in:
parent
2bbae095b1
commit
bb53b68ce4
1 changed files with 21 additions and 30 deletions
51
README.md
51
README.md
|
@ -23,26 +23,36 @@ https://app.yunohost.org/default/.
|
||||||
N.B.: The YunoHost project will **NOT** integrate in its catalog applications that are not
|
N.B.: The YunoHost project will **NOT** integrate in its catalog applications that are not
|
||||||
based on free-software upstreams.
|
based on free-software upstreams.
|
||||||
|
|
||||||
|
N.B.2 : We strongly encourage you to transfer the ownership of your repository to
|
||||||
|
the YunoHost-Apps organization on GitHub, such that the community will help you
|
||||||
|
with keeping your app working and up to date with packaging evolutions.
|
||||||
|
|
||||||
To add your application to the catalog:
|
To add your application to the catalog:
|
||||||
* Fork this repository and edit the [apps.json](https://github.com/YunoHost/apps/tree/master/apps.json) file
|
* Fork this repository and edit the [apps.json](https://github.com/YunoHost/apps/tree/master/apps.json) file
|
||||||
* Add your app's ID and git information at the right alphabetical place
|
* Add your app's ID and git information at the right alphabetical place
|
||||||
* Indicate the app's functioning state: `notworking`, `inprogress`, or `working`
|
* Indicate the app's functioning state: `notworking`, `inprogress`, or `working`
|
||||||
* *Do not* add the level entry by yourself. Our automatic test suite ("the CI") will handle it.
|
* Indicate the app category, which you can pick from `categories.yml`
|
||||||
|
* Indicate any anti-feature that your app may be subject to, see `antifeatures.yml` (or remove the `antifeatures` key if there's none)
|
||||||
|
* Indicate if your app can be thought of as an alternative to popular proprietary services (or remove the `potential_alternative_to` key if there's none)
|
||||||
|
* *Do not* add the `level` entry by yourself. Our automatic test suite ("the CI") will handle it.
|
||||||
* Create a [Pull Request](https://github.com/YunoHost/apps/pulls/)
|
* Create a [Pull Request](https://github.com/YunoHost/apps/pulls/)
|
||||||
|
|
||||||
App example addition:
|
App example addition:
|
||||||
```json
|
```json
|
||||||
"wallabag": {
|
"your_app": {
|
||||||
"url": "https://github.com/abeudin/wallabag_ynh",
|
"antifeatures": [
|
||||||
"state": "working"
|
"deprecated-software"
|
||||||
|
],
|
||||||
|
"potential_alternative_to": [
|
||||||
|
"YouTube"
|
||||||
|
],
|
||||||
|
"category": "pick_the_appropriate_category",
|
||||||
|
"state": "working",
|
||||||
|
"url": "https://github.com/YunoHost-Apps/your_app_ynh"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
N.B.: We strongly encourage you to transfer the ownership of your repository to
|
N.B: Implicitly, the catalog publishes the `HEAD` of branch `master`
|
||||||
the YunoHost-Apps organization on GitHub, such that the community will help you
|
|
||||||
with keeping your app working and up to date with packaging evolutions.
|
|
||||||
|
|
||||||
N.B.2: Implicitly, the catalog publishes the `HEAD` of branch `master`
|
|
||||||
(this can be overwritten by adding keys `branch` and `revision`).
|
(this can be overwritten by adding keys `branch` and `revision`).
|
||||||
Therefore, **be careful that any commit on the `master` branch will automatically be published**.
|
Therefore, **be careful that any commit on the `master` branch will automatically be published**.
|
||||||
**We strongly encourage you to develop in separate branches**, and only
|
**We strongly encourage you to develop in separate branches**, and only
|
||||||
|
@ -50,28 +60,9 @@ merge changes that were carefully tested. Get in touch with the Apps group to
|
||||||
obtain an access to the developer CI where you'll be able to test your app
|
obtain an access to the developer CI where you'll be able to test your app
|
||||||
easily.
|
easily.
|
||||||
|
|
||||||
### Updating apps' level in the catalog
|
### Updating apps levels in the catalog
|
||||||
|
|
||||||
App packagers should *not* manually set their apps' level. The levels of all the apps are automatically updated once per week on Friday.
|
App packagers should *not* manually set their apps' level. The levels of all the apps are automatically updated once per week on Friday, according to the results from the official app CI.
|
||||||
|
|
||||||
#### Helper script
|
|
||||||
|
|
||||||
You can use the <code>add_or_update.py</code> Python script to add or update
|
|
||||||
your app from one of the 2 JSON files.
|
|
||||||
|
|
||||||
Usage:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
./add_or_update.py apps.json [github/gitlab url OR app name [github/gitlab url OR app name [github/gitlab url OR app name ...]]]
|
|
||||||
```
|
|
||||||
|
|
||||||
### How to help translating
|
|
||||||
|
|
||||||
Update on Nov. 2020: this part is broken / not maintained anymore for the
|
|
||||||
moment...
|
|
||||||
|
|
||||||
We invite you to use [translate.yunohost.org](https://translate.yunohost.org/)
|
|
||||||
instead of doing Pull Request for files in `locales` folder.
|
|
||||||
|
|
||||||
### Apps flagged as not-maintained
|
### Apps flagged as not-maintained
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue