summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2014-01-18cleanupswmat2Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-17intro doneRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-17intro doneRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-16user-manual-bitbakecommand.xml: Restored to wmat version.Scott Rifenbark
Restored the version to match that of the wmat branch. Rather than investigate and replay a million commits, I simply edited the file to match the file in the wmat PDF version. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
2014-01-16user-manual-fetching.xml: Brought up to wmat version.Scott Rifenbark
Rather than investigate, cherry-pick, and edit individual commits from the wmat branch, I have used a single commit to bring this version of the chapter up to (and a bit beyond) the wmat version of the file. Asided from dropping in the text verbatim, I took care of obvious spacing and formatting issues. The file is now at a good base equal to what was in the wmat version. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
2014-01-16user-manual-intro.xml: Edits to bring chapter to wmat point.Scott Rifenbark
Rather than replay the multiple commits to bring this chapter up to the point that it is in the wmat tree, I hand-applied the changes in one commit. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
2014-01-16user-manual-hello.xml: Changes to replicate the from from wmat.Scott Rifenbark
This file was evidently a "working" file and not included in the manual at the point Bill left off. The wmat branch, however, had a load of commits dedicated to this file. Rather than attempt to replay them all one-by-one, I simply copied the file from the wmat branch and hand-inserted the changes to make it equal to what was there. Note also that I re-formatted the file to have the same formatting standards I use in the YP manuals. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
2014-01-16user-manual-hello.xml: Commit to possibly purge trailing whitespace.Scott Rifenbark
Not sure if this file needed it but I loaded it into Gedit, made a small change by inserting a trailiing blank and deleting some whitespace and then save the file. The plug-in I have in Gedit should eliminate all trailing whitespace in the file when it is saved. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
2014-01-16user-manual-hello.xml: Updated chapter to be identical to wmat version.Scott Rifenbark
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
2014-01-14user-manual-metadata.xml: Fixes so manual makes correctly.Scott Rifenbark
Had to fix up some errors in the tags to get the manual to correctly build. Also a bit of formatting for some of the examples. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
2014-01-14user-manual-intro.xml: Added two blank sections.Scott Rifenbark
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
2014-01-14metadata.xml: Initial loading of the metadata chapter.Bill Traynor
Brought the chapter up to the point where Bill Traynor had it in his wmat branch. I chose not to try and replay the many commits to get to this point. Rather, I compiled the PDF version of the BB manual from wmat and then used that as my guide to hand-add all the text. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
2014-01-14user-manual-hello.xml: Added new chapter.Scott Rifenbark
The beginnings of a new chapter that shows a "Hello World" example. Placeholder only with this commit. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
2014-01-14user-manual-intro.xml: Added "Concepts" section.Scott Rifenbark
Provided initial text for recipes, configuration files, and classes. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
2014-01-13user-manual-intro: Applied some minor edits to intro area.Scott Rifenbark
This was a commit of Bill's that I decided to apply. I did it by hand though. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
2014-01-13user-manual.xml: General clean-up for the title page.Scott Rifenbark
Added a commented out manual revision history table, condensed the copyright dates, made room for a BB mail list email, and did some XML formatting. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
2014-01-13user-manual-style.css: Added background image to .authorgroup.Scott Rifenbark
Necessary to make the .PNG book title appear on the cover. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
2014-01-13user-manual: Added blank concepts section.Scott Rifenbark
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
2014-01-13user-manual: Removed trailing whitespace.Scott Rifenbark
Simply opened all these files up and added a couple spaces of whitespace. Then saved to allow the Gedit plug-in to do its thing to remove all trailing whitespace. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
2014-01-13user-manual: Formatting of .XML source and correct makeScott Rifenbark
The make was failing. I went through and scrubbed the entire section to conform to formatting standards and get the build to not error out. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
2014-01-13user-manual-intro: Edits to the "Introduction" section.Bill Traynor
Beginning the full rewrite of this Chapter, additions of more introductory text, as well as file reformatting. Signed-off-by: Bill Traynor <wmat@alphatroop.com> Conflicts: doc/user-manual/user-manual-intro.xml Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
2014-01-13documentation: Add README based off the YP docs oneBill Traynor
Reusing the README file from the Yocto Project Documentation directory but removed the YP specific content and changed to be specific to BitBake. Signed-off-by: Bill Traynor <wmat@alphatroop.com>
2014-01-13gitignore: Update for recent docs changesBill Traynor
Added a few more files to gitignore file to allow document generation testing. Signed-off-by: Bill Traynor <wmat@alphatroop.com>
2014-01-13user-manual: Separate out chapters into individual filesRichard Purdie
Splitting the manual into a chapter per file makes the content a little more managable. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-13user-manual: Import YP Docs templates for usermanual improvementsBill Traynor
Import the necessary pieces to be able to build the BitBake User Manual using make in a similar way that the Yocto Documentation is built. The Makefile has been edited to remove Yocto Project specific content and adapt for bitbake's needs. Signed-off-by: Bill Traynor <wmat@alphatroop.com>
2014-01-13usermanual: Renamed manual dir to user-manual to be consistent.Bill Traynor
Renaming the manual directory to user-manual in order to allow for future additions of specific manual types, such as a dev-manual. Signed-off-by: Bill Traynor <wmat@alphatroop.com>
2014-01-13usermanual: Updated CC License to version 3.0Bill Traynor
Updated the Creative Commons License to the most current version, version 3.0. Also updated the Creative Commons mailing address. Signed-off-by: Bill Traynor <wmat@alphatroop.com>
2014-01-13usermanual: Added 2013 to copyright notice.Bill Traynor
Added 2013 to the list of copyright notice years. Signed-off-by: Bill Traynor <wmat@alphatroop.com>
2014-01-10toaster: Toaster GUI, generic search, filter and orderAlexandru DAMIAN
This patch implements table searching, filtering and ordering, in a generic mode reusable for all tables. The search operates list of fields defined in the corresponding class for each model, search_allowed_fields. The search expression and filters are sent through GET requests using a QuerySet-like input. The inputs are filtered and validated before usage to prevent inadvertent or malicious use. Filters and table headers are defined in the views for each table, and rendered by generic code which is easily modified for various tables. The Build table and Configuration table are implemented using this framework as an example of how it should be used. [YOCTO #4249] [YOCTO #4254] [YOCTO #4255] [YOCTO #4256] [YOCTO #4257] [YOCTO #4259] [YOCTO #4260] Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
2014-01-10toaster: Build dashboard implementationAlexandru DAMIAN
This patch adds the build dashboard page implementation, which is the landing page for the Toaster GUI. Also adds correct links from the main build page to the various parts of the dashboard. [YOCTO #4258] Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
2014-01-10toaster: Create the base page navigation structureAlexandru DAMIAN
Updating the general container pages to use the graphical design and features from the design phase. In the process of adapting the Simple UI to the designed interface, we create all the pages and the navigation structure for the Toaster GUI. Views for each page have been added, and the url mapping has been updated to reflect newly added pages. The table page has been refactored to be component-oriented instead of class-oriented in order to facilitate reusage. Changes are made in different layers of the template (base, basetable) in order to maximize code reuse among different pages in the build. Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
2014-01-10toaster: update static media for Toaster GUIAlexandru DAMIAN
In the process of making the GUI more usable, we bring in the static assets used during the design phase into the application. Licenses used: Bootstrap 2.3.2 under Apache License 2.0 Font Awesome under SIL OFL 1.1 (GPL compatible) and MIT licence GLYPHICONS Halflings released with Bootstrap, CC BY 3.0 jQuery 2.0.3 under MIT licence prettify.js under Apache Licence 2.0 Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
2014-01-10toaster: clone Simple UI as base for Toaster GUIAlexandru DAMIAN
This patch clones the Simple UI to provide the base code for the development of the Toaster GUI. The clone takes the place of the application that was reserved for Javascript MVC code. The templates used for Simple UI are renamed to start with an "simple_" to prevent name resolution conflict with the Toaster GUI templates. Minor changes are made to the settings.py and urls.py in the toaster main section to account for the newly enabled application. Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
2014-01-08fetch2/gitannex: Fix function arguments to match bitbake masterRichard Purdie
This code clearly uses an earlier fetcher API. Update it to match master. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-08gitannex: Add missing file from previous commitRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-08bitbake: fetch2/git: add description for nobranchZhenhua Luo
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-08bitbake: gitannex.py: Add Git Annex supportOtavio Salvador
This add a Git Annex backend which reuses the Git fetcher code; it allows managing files with git, without checking the file contents into git, being useful when dealing with files larger than git can currently easily handle, whether due to limitations in memory, time, or disk space. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-07bitbake: fetch2/git: add nobranch option for SRC_URI to skip SHA validating ↵Zhenhua Luo
for branch For rebased git tree, some commits doesn't exist in any branch, and such commits are valid in tag, the change is useful for such case. Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-07bitbake/lib/bb/build.py: fix the task flags cleandirsRobert Yang
The user manual said: 'cleandirs' - directories which should created before the task runs but should be empty But it only removes the dir, doesn't create it [YOCTO #5703] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-07bitbake: usermanual.xml: fix a typoRobert Yang
Fixed: "should created" -> "should be created" [YOCTO #5703] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-07toaster: add two-stage commit startup logicAlexandru DAMIAN
Toaster start script lunches multiple process components of the toaster system. This patch adds logic into the startup script to safely fail startup and do proper cleanup on any error that may happen during system start. Bitbake needs to return 0 if it will successfully lunches the server-mode. Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-03bitbake/lib/bb/cooker.py: remove a duplicated self.dataRobert Yang
Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-02bitbake: fetcher2: clean(): remove the .patch.doneRobert Yang
There was a problem: $ bitbake xf86-video-omapfb -cfetch && bitbake xf86-video-omapfb -ccleanall Everything should be removed, but the 0006-omapfb-port-to-new-xserver-video-API.patch.done still exists in the DL_DIR, this is because the clean() in the fetch2/__init__.py skips removing the local file, so that it will skip removing the .done. The local file (file://) isn't needed to be removed since it is not downloaded into DL_DIR, but the .done should be removed, this patch will remove the .done, and it doesn't remove anything else since the clean() in local.py does nothing. [YOCTO #5687] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-02bitbake: fetcher2: git.py: clean(): remove the .tar.gz.doneRobert Yang
There was a problem: $ bitbake xf86-video-omapfb -cfetch && bitbake xf86-video-omapfb -ccleanall The git2_git.pingu.fi.xf86-video-omapfb.tar.gz has been removed from the DL_DIR, but the git2_git.pingu.fi.xf86-video-omapfb.tar.gz.done still exists, this is because the "open(ud.donestamp, 'w').close()" in try_mirror_url() will create the git2_git.xxx.tar.gz.done, but no one removes it (the clean() in fetch2/__init__.py removes the DL_DIR/git2/pkg.done) This only happens on the git fetcher AFAIK. [YOCTO #5688] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-02bitbake: replace 3 spaces with 4Robert Yang
A part of fetch2/__init__.py uses 3 spaces as the indent, I think that they should be typos. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-12-22fetch2: avoid printing "no checksum" error message twicePaul Eggleton
Because of the way we were handling this error, it was printed twice - once via logger.error() (to avoid the log being printed) and a second time when the exception gets wrapped in a FuncFailed at a higher level. Call logger.error() earlier and change the text we send in the exception to be more brief, so it more closely resembles the behaviour when there is an invalid checksum. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-12-22fetch2: fail checksum validation if SRC_URI checksums set to ""Paul Eggleton
We were checking SRC_URI md5sum/sha256sum values against None here, so if they were set to "" then no error was produced. Since the value is still effectively unset in this case, this is not the right behaviour; just check if the value doesn't evaluate to False instead. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-12-20Update to version 1.21.1 for masterRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-12-20siggen: Fix reversed difference outputRichard Purdie
The output when comparing siginfo files for dict_diff is reversed and shows additions when things were removed and vice versa. This patch reverses the operation so the changes are shown correctly and makes the output less confusing. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-12-20runqueue: Further extend bitbake -S output to view signature differencesRichard Purdie
Based upon the list of difference starting points, we can use the siggen.find_siginfo() function call and the difference printing code to provide a list of differences between the current build target and whatever can be obtained from the sstate cache. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>