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

Use apps instead of community

This commit is contained in:
Maniack Crudelis 2019-03-21 08:03:35 +01:00 committed by Alexandre Aubin
parent 00caac4bf0
commit 8e0eeb584f

View file

@ -11,21 +11,23 @@ https://yunohost.org/apps
**Situation will change soon regarding lists. Consider this info as obsolete** **Situation will change soon regarding lists. Consider this info as obsolete**
- **official.json** contains the repository information of validated apps. - **official.json** contains the repository information of validated apps.
- **community.json** contains all references to known "free-software" YunoHost packages. If you want to add your app to the list, please [send a Pull Request](#contributing) - **community.json** contains all references to known "free-software" YunoHost packages. If you want to add your app to the list, please [send a Pull Request](#contributing)
- **apps.json** contains all references to known YunoHost packages. If you want to add your app to the list, please [send a Pull Request](#contributing). **This list replace both community.json and official.json.**
## Usage ## Usage
The official package list is automatically fetched. If you want to **enable the community package list** on your YunoHost instance: The official package list is automatically fetched. If you want to **enable the apps package list** on your YunoHost instance:
``` ```
sudo yunohost app fetchlist -n community -u https://yunohost.org/community.json sudo yunohost app fetchlist -n apps -u https://yunohost.org/apps.json
``` ```
## Contributing ## Contributing
### How to add your app to the community list ### How to add your app to the apps list
**If** your app is under a free-software licence : **If** your app is under a free-software licence :
* Fork and edit the [community list](https://github.com/YunoHost/apps/tree/master/community.json) * Fork and edit the [apps list](https://github.com/YunoHost/apps/tree/master/apps.json)
* 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 yourself. The CI will do it. * Do not add the level yourself. The CI will do it.
@ -57,7 +59,7 @@ your app from one of the 2 json files.
Usage: Usage:
```bash ```bash
./add_or_update.py [community.json OR official.json] [github/gitlab url OR app name [github/gitlab url OR app name [github/gitlab url OR app name ...]]] ./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 make my app a High Quality app ?