Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 809DFE01156; Tue, 2 Aug 2016 06:32:52 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.192.171 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from mail-pf0-f171.google.com (mail-pf0-f171.google.com [209.85.192.171]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 02AD9E00F6A for ; Tue, 2 Aug 2016 06:32:22 -0700 (PDT) Received: by mail-pf0-f171.google.com with SMTP id p64so66722976pfb.1 for ; Tue, 02 Aug 2016 06:32:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=wzMVJ+qR4iQnQF92uE+DUHekzwabVY/fwrksf6T44dU=; b=H1sj/BcRlORD9AFFYl0fJkzC+2jzu4WOWMsZIqPJVOCizQbmOXsCu1DcbDO6vYjuY0 c9LUFY1t0JOjSTHdJnmRcKknKPgo8EEaLIalg0kNjk+Ng+o4VBcxxItlN74Z6mn+PYJ9 S0wmmR1uJ2fH8tDMEW92PXU/dWWhNfcsEM4bhGFMt1oX4giIfkdmDp4ASSBOWvBmVV/i JYqmQ2XvDBK9uD80bzhXjThgX3dfj1OLWZLitGS9FtF0t3b/pW8pGpUza9jA2Ur3TVt7 9N0wdJzJjSj7Pvup13Bnw39Wr2NcX6vCXGGZHCYcQ5R3KRkzFOVCyLS12WFy6CLGQOUN Qmaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=wzMVJ+qR4iQnQF92uE+DUHekzwabVY/fwrksf6T44dU=; b=EhKqfq33fYiPiLjosKytis1e70dJelrKd2fwW44Dh2+m6oiNO7Rdr5U3O26tnh6e2P wlm/ArFVmKjMbuOWdjvivTFA48H/hekSZ7dxmKIn7tX22EnjqJRpHzt/LCZb+gp2koWo womgCmqXH3FdnMz4pjXl8zgO4655KfQZemyGJ4jjlA15hJEbmeykamIlv37oXFxuFtPZ ubKu5b0pMbkajYE25+lMxd44DZvkxqafgqwdbQ82LCkjNhve5YuS1m2ZyLZSDn2dKGCF y2M/X3u581x3TMT/fh23o5ekTnhXbLou0nfCjzO1+bNCYaDqqXyLeLGFsxRMhMQ8yEn3 3/Ug== X-Gm-Message-State: AEkoous1SAFWznr97ANRzgagW3fuiGOR2L4bv157cFP+bIt0VKEnswG//MSl7WMehaFu7zMo X-Received: by 10.98.0.83 with SMTP id 80mr78757971pfa.78.1470144741969; Tue, 02 Aug 2016 06:32:21 -0700 (PDT) Received: from orion.ger.corp.intel.com (fmdmzpr02-ext.fm.intel.com. [192.55.55.37]) by smtp.gmail.com with ESMTPSA id s1sm5049532paz.47.2016.08.02.06.32.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 02 Aug 2016 06:32:21 -0700 (PDT) From: Michael Wood To: toaster@yoctoproject.org Date: Tue, 2 Aug 2016 14:32:06 +0100 Message-Id: <1470144726-5273-6-git-send-email-michael.g.wood@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1470144726-5273-1-git-send-email-michael.g.wood@intel.com> References: <1470144726-5273-1-git-send-email-michael.g.wood@intel.com> Subject: [PATCH 5/5] toaster: fixtures Add README X-BeenThere: toaster@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Web based interface for BitBake List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Aug 2016 13:32:52 -0000 Add README to explain fixtures directory Signed-off-by: Michael Wood --- bitbake/lib/toaster/orm/fixtures/README | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 bitbake/lib/toaster/orm/fixtures/README diff --git a/bitbake/lib/toaster/orm/fixtures/README b/bitbake/lib/toaster/orm/fixtures/README new file mode 100644 index 0000000..1b1c660 --- /dev/null +++ b/bitbake/lib/toaster/orm/fixtures/README @@ -0,0 +1,30 @@ +# Fixtures directory + +Fixtures are data dumps that can be loaded into Toaster's database to provide +configuration and data. + +In this directory we have the fixtures which are loaded the first time you start Toaster. +This is to provide useful default values and metadata to Toaster. + + - settings.xml This Contains Toaster wide settings, such as the default values for + certain bitbake variables. + + - poky.xml This is the default release data for supported poky based setup + + - oe-core.xml This is the default release data for supported oe-core based setups + +# Custom data/configuration + + - custom.xml + +To add custom initial data/configuration to Toaster place a file called +"custom.xml" in this directory. If present it will be loaded into the database. +We suggest that this is used to overlay any configuration already done. +All objects loaded with the same primary keys overwrite the existing data. +Data can be provided in XML, JSON and if installed YAML formats. + +# To load data at any point in time + +Use the django management command manage.py loaddata +For further information see the Django command documentation at: +https://docs.djangoproject.com/en/1.8/ref/django-admin/#django-admin-loaddata -- 2.7.4