1
0
Fork 0
mirror of https://github.com/YunoHost/apps.git synced 2024-09-03 20:06:07 +02:00

Merge pull request #1024 from YunoHost/update-readme

Update README.md
This commit is contained in:
Alexandre Aubin 2020-11-29 04:43:54 +01:00 committed by GitHub
commit 667ee604b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,43 +1,57 @@
# YunoHost apps directory
# YunoHost application catalog
<img src="https://yunohost.org/logo.png" width=80>
<img src="https://yunohost.org/logo.png" width=80><img src="https://yunohost.org/images/yunohost_package.png" width=80>
Here you will find the repositories and versions of every apps integrated in YunoHost.
Here you will find the repositories and versions of every apps available in YunoHost's default catalog.
https://yunohost.org/apps
It is browsable here: https://yunohost.org/apps
The application list corresponds to **apps.json** which contains references to known "free-software" YunoHost packages along with a few metadata about them.
The main file of the catalog is [**apps.json**](./apps.json) which contains
references to the corresponding git repositories for each application, along
with a few metadata about them such as its category or maintenance state. This
file regularly read by `list_builder.py` which publish the results on
https://app.yunohost.org/default/.
## Contributing
### Where can I learn about app packaging in Yunohost ?
### How to add your app to the apps list
- You can browse the contributor documentation : https://yunohost.org/contributordoc
- If you are not familiar with Git/Github, you can have a look at our [homemade guide](https://yunohost.org/#/packaging_apps_git)
- Don't hesitate to reach for help on the dedicated [application packaging chatroom](https://yunohost.org/chat_rooms) ... we can even schedule an audio meeting to help you get started !
**If** your app is under a free-software licence :
* Fork and edit the [apps list](https://github.com/YunoHost/apps/tree/master/apps.json)
### How to add your app to the application catalog
N.B. : the Yunohost project will **NOT** integrate in its catalog applications that are not
based on free-software upstreams.
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
* Add your app's ID and git information at the right alphabetical place
* Indicate the app's functioning state: `notworking`, `inprogress`, or `working`
* Do not add the level yourself. The CI will do it.
* Send a [Pull Request](https://github.com/YunoHost/apps/pulls/)
* *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/)
App example addition:
```json
"wallabag": {
"branch": "master",
"revision": "c2fc62438ac5c9503e3f4ebfdc425ec03a0ec0c0",
"revision": "HEAD",
"url": "https://github.com/abeudin/wallabag_ynh",
"state": "working"
}
```
N.B. : You can now put `HEAD` as `revision`. This way, you won't have to come and update this file each time you change things in your app. *But* this also means that any change to your `master` branch will be made available to everybody. Hence, when developing things which are not production-ready, if you use `HEAD` we strongly recommend that you develop in a `testing` branch (for instance) until you consider things stable enough to be merged in `master`.
N.B. : 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.
N.B. 2 : Organization is still debating about what to do with non-free apps listing (cf. [this thread](https://forum.yunohost.org/t/about-community-and-official-apps/6372/25). Such a list is unlikely to be maintained by the YunoHost project officially. However, it could be created and maintained by member of the community. Check out [the forum](https://forum.yunohost.org) about this.
N.B.2 : If `"revision": "HEAD"` is used in `apps.json`, any commit to the
`master` branch on your app will automatically be published to the catalog.
Therefore we strongly encourage you to develop in separate branches, and only
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
easily.
### How to help translating
We invite you to use [translate.yunohost.org](https://translate.yunohost.org/) instead of doing Pull Request for files in `locales` folder.
### Helper script
#### 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.
@ -48,7 +62,15 @@ Usage:
./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 make my app a High Quality app ?
### 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.
### How to make my app flagged as High Quality ?
A High Quality app will be highlighted in the app list and marked as a level 8 app.
To become a High Quality app, a package has to follow the following rules:
@ -76,30 +98,6 @@ To make an app a High Quality app, technically, you have to add the tag ```"high
}
```
### How to make my app a Featured app ?
A Featured app is highlighted in the app list and shown before any others.
To become a Featured app, a package has to follow the following rules:
* The app should already be a High Quality app.
* The upstream app should be accessible and well made.
* The app should be interesting and demanded by the community.
* The app should fit the spirit of YunoHost.
**Please note that the exact process to decide which apps are going to be Featured, and for how many time, isn't yet defined...**
To make an app a Featured app, technically, you have to add the tag ```"featured": true```.
```json
"wallabag": {
"branch": "master",
"high_quality": true,
"featured": true,
"revision": "HEAD",
"url": "https://github.com/abeudin/wallabag_ynh.git",
"state": "working"
}
```
### What to do if I can't maintain my app anymore ?
If you don't have time anymore to maintain an app, you can update its status to inform users and packagers that you will not maintain it anymore.
@ -112,6 +110,3 @@ This tag can have 5 different values:
Please contact the Apps group if you want to take care of an unmaintained app.
If you want to modify the status of one of your apps, for any reason, please consider informing the community via the forum. Users would probably be glad to be informed that an app they use will become unmaintained.
#### More information
See [yunohost.org/packaging_apps](https://yunohost.org/packaging_apps)