mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
YunoHost is an operating system aiming to simplify as much as possible the administration of a server. This repository corresponds to the core code, written mostly in Python and Bash.
* [enh] add base to run tests * [enh] start global settings proto * [mod] has -> exists * [enh] configure actionmap for settings module * [enh] add a default values mecanism * [enh] nicer yaml dump * [mod] DRY * [fix] moulinette doesn't respect positionned arguments * [fix] typo * [mod] don't print when it's not needed * [enh] raise a moulinette exception when the key doesn't exists * [mod] add todo comments * [mod] no more default value * [enh] namespace all global settings commands * [mod] unix way, be quiet except when needed * [fix] forgot to add namespace argument to settings-list * [fix] fail_silently wasn't considered as a cli flag * [mod] refactoring * [enh] remove empty namespace on remove * [enh] print a warning if attempt to list an empty namespace settings * [mod] refactoring * [enh] handle case where I can't open settings file * [enh] handle case where I can't write settings file * [enh] handle case where I can't serialized settings data into yaml * [mod] add error return codes * [enh] start to move to new architecture for settings * [enh] uses a dict instead of a tuple for settings * [mod] no more namespace in settings list * [mod] settings.exists isn't relevant anymore * [mod] settings.remove isn't relevant anymore * [enh] fix settings and switch to json * [enh] adapt settings set * [enh] don't set a key that doesn't exists * [enh] check type of keys before settings them * [enh] start implement default * [enh] handle case where key doesnt exist for default * [enh] i18n for bad key type on settings set * [enh] i18n for bad key type on settings set for enum * [mod] exception for weird situation * [mod] this message isn't used anymore * [enh] i18n for unknown setting key from local settings * [mod] style * [enh] start to work on a reset mecanism * [enh] complain if settings_reset is called without yes * [fix] --yes of reset is a boolean option * [enh] backup old settings before resetting * [fix] bad usage of logger * [enh] backup unknown settings * [enh] move settings description in translations * [enh] add tests for settings * [enh] migrate to pytest assert style * [fix] typo * [doc] add some comments for not explicite part of the code * [mod] possibilities -> choices for uniformised vocabulary * [mod] follow rest semantic * [doc] made namespace usage more explicit * [fix] we don't use namespace key anymore * [enh] make settings_default available in cli * [fix] *really* be Rest semantic * [doc] add docstrings to settings module functions * [enh] reset-all and --full option * [fix] Remove unused global_settings_reset_not_yes |
||
---|---|---|
bin | ||
data | ||
debian | ||
lib/metronome/modules | ||
locales | ||
sbin | ||
src/yunohost | ||
tests | ||
.gitignore | ||
.travis.yml | ||
CONTRIBUTORS.md | ||
LICENSE | ||
README.md |
YunoHost core
This repository is the core of YunoHost code.

Issues
- Please report issues on YunoHost bugtracker (no registration needed).
Contribute
- You can develop on this repository using ynh-dev tool with
use-git
sub-command. - On this repository we are following this workflow:
stable <— testing <— branch
. - Note: if you modify python scripts, you will have to modifiy the actions map.
Repository content
- YunoHost core Python 2.7 scripts.
- An actionsmap used by moulinette.
- Services configuration templates.
- Hooks.
- Locales for translations of
yunohost
command. - Shell helpers for application packaging.
- Modules for the XMPP server Metronome.
- Debian files for package creation.
How does it works?
- Python core scripts are accessible through two interfaces thanks to the moulinette framework:
- CLI for
yunohost
command. - API for web administration module (other modules could be implemented).
- You can find more details about how YunoHost works on this documentation (in french).
Dependencies
License
As other components of YunoHost core code, this repository is under GNU AGPL v.3 license.