************************ elbe-db ************************ .. __name: NAME ==== elbe-db - interface to the ELBE db. Must be run inside the initvm. .. __synopsis: SYNOPSIS ======== :: elbe db [options] list_projects elbe db [options] create_project elbe db [options] get_files elbe db [options] reset_project elbe db [options] list_users elbe db [options] save_version elbe db [options] set_xml elbe db [options] del_project elbe db [options] print_version_xml elbe db [options] init elbe db [options] del_user elbe db [options] set_project_version elbe db [options] add_user elbe db [options] list_versions elbe db [options] del_versions elbe db [options] build .. __description: DESCRIPTION =========== This command controls the ELBE daemon and is run inside the initvm. .. __options: OPTIONS ======= -h, --help Displays help. --name Sets the name of the new user. --fullname Sets the full name of the new user. --password Sets the password of the new user. --email Sets the email address of the new user. --noadmin TODO!! MACHT MEINER MEINUNG NACH DAS GLEICHE WIE ADMIN. --admin Gives the new user admin privileges. (Boolean variable, default=False). --delete-projects Delete all projects owned by the user. --quiet TODO --user User name of the project owner. --clean Deletes the target and chroot directory in . --description Description of the project version which shall be stored in the database. .. __commands: COMMANDS ======== *init* Creates a new ELBE database and adds one new user. Options: name[=root], fullname[=Admin], password[=foo], email[=\ root@localhost], noadmin[=True]. *add_user* Adds a new user. Options: fullname, password, email, admin=[False]. *del_user* Deletes user . Options: delete-projects[=False], quiet=[False]. *list_projects* Lists all projects stored in the database. *list_users* Lists all users registered in the ELBE database. *create_project* Creates a new project in directory . Options: user. *del_project* Removes project in from ELBE database. *set_xml* Assigns the file as ELBE recipe to the project in . *build* Builds the project in . *get_files* Returns a list of all files and directories in *reset_project* Resets the project state in the database. Can be useful if a build has been aborted and the project is set ``busy`` in in the database obstructing future actions on this project. Options: clean[=False]. *set_project_version* Sets the project version of project to . *list_versions* Lists all versions of project . *save_version* Saves current state of project as version. Options: description. *del_versions* Deletes the version of project . *print_version_xml* Prints ELBE xml file in of version . .. __elbe: ELBE ==== Part of the elbe1 suite