# -*- coding: utf-8 -*-
##############################################################################
#
#    OpenERP, Open Source Management Solution
#    Copyright (C) 2014 Smile (<http://www.smile.fr>).
#
#    This program is free software: you can redistribute it and/or modify
#    it under the terms of the GNU Affero General Public License as
#    published by the Free Software Foundation, either version 3 of the
#    License, or (at your option) any later version.
#
#    This program is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU Affero General Public License for more details.
#
#    You should have received a copy of the GNU Affero General Public License
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################

{
    "name": "Continuous Integration",
    "version": "0.1beta1",
    "depends": ["smile_scm"],
    "author": "Smile",
    "description": """
Continuous Integration

WARNING: UNDER DEVELOPMENT

Features

    # Update branch
        # For SVN repositories, configure the anonymous login/password
        # For Git repositories, add read access to the server via SSH key
    # Check if changes
    # Create build
    # Test build (set max_testing to limit concurrent testing builds)
        # Create a Docker container with specific postgresql and python versions
        # Run daemonized Docker container which starts server in test mode
        # Check code quality with flake8
        # Count lines of code with cloc
        # Create new database with demo or Restore dump in XML/RPC
        # Install modules in XML/RPC
        # Let Docker container run until new builds kill it (set max_running to limit concurrent running builds)
    # Attach log / config / tests result / code coverage files to build
    # Parse build logs and store results in database

Todo list

    * Manage remote deployment

Suggestions & Feedback to: corentin.pouhet-brunerie@smile.fr & isabelle.richard@smile.fr
    """,
    "summary": "",
    "website": "http://www.smile.fr",
    "category": 'Tools',
    "sequence": 20,
    "data": [
        "security/ir.model.access.csv",
        "data/ir_config_parameter.xml",
        "data/docker_host.xml",
        "data/scm.vcs.csv",
        "data/scm.version.csv",
        "data/ir_cron.xml",
        "views/scm_repository_branch_build_coverage_view.xml",
        "views/scm_repository_branch_build_log_view.xml",
        "views/scm_repository_branch_build_view.xml",
        "views/scm_repository_branch_view.xml",
        "views/scm_vcs_view.xml",
        "views/scm_version_view.xml",
        "views/scm_os_view.xml",
        "views/docker_host_view.xml",
    ],
    "demo": [
        "demo/scm_os.xml",
    ],
    "auto_install": False,
    "installable": True,
    "application": False,
}

@@ -1088,16 +1088,41 @@
 Smile%22,%0A
+    %22license%22: 'AGPL-3',%0A
     %22des

Add license in Odoo manifest