]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
11 years agotoaster: Removed unused 'disabled' css class in Filter dialog
Ravi Chintakunta [Sat, 25 Jan 2014 23:52:53 +0000 (18:52 -0500)] 
toaster: Removed unused 'disabled' css class in Filter dialog

Signed-off-by: Ravi Chintakunta <ravi.chintakunta@timesys.com>
11 years agobuild: fix handling of task override for tasks with underscores in their names
Paul Eggleton [Mon, 17 Feb 2014 14:07:41 +0000 (14:07 +0000)] 
build: fix handling of task override for tasks with underscores in their names

Tasks whose names contain underscores (such as do_populate_sdk in OE)
when converted to a task override do not function properly. If we
replace underscores with hyphens we can still have a working override
for these tasks.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoparse: make vars_from_file return None for non-recipes
Paul Eggleton [Mon, 17 Feb 2014 14:07:40 +0000 (14:07 +0000)] 
parse: make vars_from_file return None for non-recipes

It doesn't really make sense to set PN from .conf files, for example.
More concretely, this avoids the config hash changing unnecessarily
within Hob due to PN effectively changing (since bblayers.conf is
parsed first and then .hob.conf).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorunqueue: Fix silly variable overlap
Richard Purdie [Sat, 15 Feb 2014 13:49:38 +0000 (13:49 +0000)] 
runqueue: Fix silly variable overlap

A previous commit of mine used the target variable for two different uses
resulting in a lot more sstate being installed than is needed.

Fix the variable to use two different names and unbreak the setscene
behaviour.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorunqueue: Ensure we do run 'masked' setscene tasks if specified as targets
Richard Purdie [Thu, 13 Feb 2014 15:01:25 +0000 (15:01 +0000)] 
runqueue: Ensure we do run 'masked' setscene tasks if specified as targets

If you specify multiple targets on bitbake's commandline and some of them are
setscene tasks which are "masked" by other tasks they may not get run.

For example <image>:do_rootfs <kernel>:do_populate_sysroot

the rootfs tasks "masks" the populate_sysroot task so bitbake would currently
decide not to run it. In this case, we do really want it to be run.

The fix is not to skip anything which has been given as an explict target.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agouser-manual-metadata.xml: Edits to the "Sharing Functionality" section.
Scott Rifenbark [Tue, 4 Feb 2014 19:36:11 +0000 (13:36 -0600)] 
user-manual-metadata.xml: Edits to the "Sharing Functionality" section.

Applied some review edits from Paul to the section.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
11 years agouser-manual-metadata.xml: Edits to "Conditional Syntax (Overrides)"
Scott Rifenbark [Mon, 3 Feb 2014 22:55:51 +0000 (16:55 -0600)] 
user-manual-metadata.xml: Edits to "Conditional Syntax (Overrides)"

Re-wrote this section to use clearer more described examples.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
11 years agouser-manual-metadata.xml: Edits to "Defining Pure Python Functions"
Scott Rifenbark [Mon, 3 Feb 2014 18:07:43 +0000 (12:07 -0600)] 
user-manual-metadata.xml: Edits to "Defining Pure Python Functions"

Made a review edit here to the section per Paul Eggleton.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
11 years agouser-manual-metadata.xml: Edits through syntax section
Scott Rifenbark [Mon, 3 Feb 2014 17:51:04 +0000 (11:51 -0600)] 
user-manual-metadata.xml: Edits through syntax section

I made some general improvements in the "Overview" and
"Basic Syntax" sections.  Additionally, I added a blank
section for "Variable Flags" that will eventually hold general
information on this concept.  Finally, come review edits to the
"Defining Pure Python Functions" section per Paul Eggleton.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
11 years agouser-manual-intro.xml: General edits to Introduction chapter.
Scott Rifenbark [Mon, 3 Feb 2014 13:29:54 +0000 (07:29 -0600)] 
user-manual-intro.xml: General edits to Introduction chapter.

I performed a general edit to this chapter.  Some significant changes
include changing the chapter's title to "Overview" when it was titled
"BitBake User Manual", doing some consolidation of text to eliminate
a couple sections that described methods to obtain a copy of BitBake,
and various improvements as needed.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
11 years agouser-manual-metadata.xml: Added "Checksums (Signatures)" section.
Scott Rifenbark [Wed, 29 Jan 2014 18:06:15 +0000 (12:06 -0600)] 
user-manual-metadata.xml: Added "Checksums (Signatures)" section.

Added this section to the end of the Metadata chapter.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
11 years agouser-manual-ref-variables.xml: Review edits to several variables in glossary.
Scott Rifenbark [Mon, 27 Jan 2014 15:01:21 +0000 (09:01 -0600)] 
user-manual-ref-variables.xml: Review edits to several variables in glossary.

ASSUME_PROVIDED
BBCLASSEXTEND
SRC_URI
PACKAGES_DYNAMIC
BB_NUMBER_THREADS
BB_DANGLINGAPPENDS_WARNONLY

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
11 years agouser-manual-ref-variables.xml: Added 11 new variables to glossary.
Scott Rifenbark [Fri, 24 Jan 2014 21:44:24 +0000 (15:44 -0600)] 
user-manual-ref-variables.xml: Added 11 new variables to glossary.

SRCREV_FORMAT
BUILDNAME
BB_ENV_WHITELIST
BB_PRESERVE_ENV
BB_ENV_EXTRAWHITE
BB_ORIGENV
BB_TASKHASH
BITBAKE_UI
BBDUBUG
BB_DEFAULT_TASK
BBINCLUDED

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
11 years agouser-manual-ref-variables.xml: Edits to FILESPATH.
Scott Rifenbark [Fri, 24 Jan 2014 21:10:13 +0000 (15:10 -0600)] 
user-manual-ref-variables.xml: Edits to FILESPATH.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
11 years agouser-manual-ref-variables.xml: Added 6 new variables to glossary:
Scott Rifenbark [Fri, 24 Jan 2014 15:50:29 +0000 (09:50 -0600)] 
user-manual-ref-variables.xml: Added 6 new variables to glossary:

MULTI_PROVIDER_WHITELIST
CACHE
PERSISTENT_DIR
FETCHCMD
FILE
FILESDIR

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
11 years agouser-manual-ref-variables.xml: Edits to PREFERRED_PROVIDER.
Scott Rifenbark [Fri, 24 Jan 2014 15:01:36 +0000 (09:01 -0600)] 
user-manual-ref-variables.xml: Edits to PREFERRED_PROVIDER.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
11 years agouser-manual-ref-variables.xml: Added PREFERRED_PROVIDERS to glossary.
Scott Rifenbark [Fri, 24 Jan 2014 14:59:25 +0000 (08:59 -0600)] 
user-manual-ref-variables.xml: Added PREFERRED_PROVIDERS to glossary.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
11 years agouser-manual-ref-variables.xml: Added FAKEROOT* variables to glossary.
Scott Rifenbark [Fri, 24 Jan 2014 13:36:15 +0000 (07:36 -0600)] 
user-manual-ref-variables.xml: Added FAKEROOT* variables to glossary.

FAKEROOT
FAKEROOTCMD
FAKEROOTBASEENV
FAKEROOTDIRS
FAKEROOTENV
FAKEROOTNOENV

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
11 years agouser-manual-ref-variables.xml: Added BB* variables to glossary.
Scott Rifenbark [Thu, 23 Jan 2014 15:59:53 +0000 (09:59 -0600)] 
user-manual-ref-variables.xml: Added BB* variables to glossary.

BB_STRICT_CHECKSUM
BB_WORKERCONTEXT
BB_SIGNATURE_EXCLUDE_FLAGS
BB_HASHBASE_WHITELIST
BB_INVALIDCONF
BB_LOGFMT
BB_RUNFMT
BB_RUNTASK
BB_HASHBASE_WHITELIST
BB_STAMP_POLICY
BB_STAMP_WHITELIST
BB_SCHEDULER
BB_SCHEDULERS
BB_SETSCENE_DEPVALID
BB_SETSCENE_VERIFY_FUNCTION
BB_SIGNATURE_HANDLER
BB_SRCREV_POLICY
BB_VERBOSE_LOGS

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
11 years agorunqueue: Fix setscene hard dependency problems
Richard Purdie [Mon, 10 Feb 2014 22:50:28 +0000 (22:50 +0000)] 
runqueue: Fix setscene hard dependency problems

Commit c54e738e2b5dc0d8e6fd8e93b284ed96e7a83051 added in the idea of hard dependencies
such as the case a setscene has a hard dependency on pseudo-native and that
dependency wasn't available from sstate for some reason.

Unfortunately the implementation was a bit too enthusiastic, causing rebuilds
of things when it wasn't necessary. A test case was:

bitbake quilt-native
bitbake quilt-native -c clean
bitbake <some-image>

and then you'd watch quilt-native get rebuilt for no good reason.

The clue to the problem is in the for loop where it never depends on
the item being iterated over.

The fix is to include the exact list of hard dependencies rather than
guessing. With these changes, the use case above works, the one in
the original commit also works.

This patch also adds in or cleans up various pieces of logging to
allow issues like this to be more easily debugged in future.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: build.py: create separate function for shell trap creation code
Laurentiu Palcu [Mon, 3 Feb 2014 11:33:07 +0000 (13:33 +0200)] 
bitbake: build.py: create separate function for shell trap creation code

Currently, the shell trap code was created in exec_func_shell(). Split
the function so that we can create the code separately.

Also, some whitespaces were automatically deleted by my editor. Since
this is not necessarily a bad thing, leave these changes too.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodata: Account for pre/postfunc functions when calculating dependencies
Richard Purdie [Mon, 3 Feb 2014 16:09:32 +0000 (16:09 +0000)] 
data: Account for pre/postfunc functions when calculating dependencies

pre/postfuncs were not being added to checksums. This meant that when reconfiguration
occurred, tasks were not always being rerun when they should. This include
sstate functions as well as systemd's do_install function in the OE metadata.

With the addition of postfuncs, its possible a shell task can have a python
pre/postfunc so we have to guard against this when generating shell output
in emit_func.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorunqueue: Fix race against tasks sharing stamp files
Richard Purdie [Fri, 31 Jan 2014 11:17:34 +0000 (11:17 +0000)] 
runqueue: Fix race against tasks sharing stamp files

Shared work directories work by assuming bitbake will not run
more than one task with a specific stamp name. Recent runqueue optimisations
accidentally broke this meaning there could be races. This fixes the code.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agouser-manual: Fix issue with previous revert
Richard Purdie [Tue, 28 Jan 2014 15:29:26 +0000 (15:29 +0000)] 
user-manual: Fix issue with previous revert

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoRevert "usermanual: Updated CC License to version 3.0"
Richard Purdie [Tue, 28 Jan 2014 14:26:08 +0000 (14:26 +0000)] 
Revert "usermanual: Updated CC License to version 3.0"

This reverts commit 0546bc19557de9263b448ceb1707884543d2de56.

This change was not discussed with the copyright holders so the license
needs to remain at version 2.5.

11 years agosiggen.py: fix the SignatureGenerator()
Robert Yang [Mon, 20 Jan 2014 11:44:53 +0000 (19:44 +0800)] 
siggen.py: fix the SignatureGenerator()

If we set:

BB_SIGNATURE_HANDLER = "noop"

Then we would get the following errors:

[snip]
File "runqueue.py", line 876, in RunQueue._start_worker(fakeroot=False, rqexec=None):
                "fakerootnoenv" : self.rqdata.dataCache.fakerootnoenv,
   >            "hashes" : bb.parse.siggen.taskhash,
                "hash_deps" : bb.parse.siggen.runtaskdeps,
AttributeError: 'SignatureGenerator' object has no attribute 'taskhash'
[snip]

This patch fixes the problem.

[YOCTO #5741]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorunqueue: Simplify pointless len() usage
Richard Purdie [Mon, 27 Jan 2014 21:47:27 +0000 (21:47 +0000)] 
runqueue: Simplify pointless len() usage

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agohob: No need for enable_proxy and same_proxy in conf file
Irina Patru [Thu, 23 Jan 2014 09:49:43 +0000 (11:49 +0200)] 
hob: No need for enable_proxy and same_proxy in conf file

Hob doesn't read these variable from file and bitbake doesn't use them,
so they shouldn't be set in conf file.

Signed-off-by: Irina Patru <irina.patru@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agohob: Don't always save proxy values in conf file
Irina Patru [Thu, 23 Jan 2014 09:49:42 +0000 (11:49 +0200)] 
hob: Don't always save proxy values in conf file

If enable_proxy is not activated, Hob should not save the proxy values
in the conf file when user hits save button.

[ HOB #5308 ]

Signed-off-by: Irina Patru <irina.patru@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agohob: don't display interruptions as fails
Irina Patru [Tue, 21 Jan 2014 15:59:38 +0000 (17:59 +0200)] 
hob: don't display interruptions as fails

When Hob receives a bb.command.CommandFailed event, it should check if
it's a log kind of information.
"Forced shutdown" and "Stopped build" are messages that show when a build
is not complete, but Hob considered them error.

[HOB #5609]

Signed-off-by: Irina Patru <irina.patru@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agohob: unsetting busy cursor after hitting Stop button
Irina Patru [Tue, 21 Jan 2014 15:59:37 +0000 (17:59 +0200)] 
hob: unsetting busy cursor after hitting Stop button

The busy cursor would never change after pressing Stop button.
It should be set after the possible return inside machine_combo_changed_cb()
method.

Signed-off-by: Irina Patru <irina.patru@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob: check if parser has attribute 'shutdown'
Irina Patru [Tue, 21 Jan 2014 15:59:36 +0000 (17:59 +0200)] 
bitbake: hob: check if parser has attribute 'shutdown'

It must be checked first if parser has the attribute 'shutdown' when
user hits Stop button and the forceshutdown state is given.

[HOB #5579]

Signed-off-by: Irina Patru <irina.patru@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agohob: change error_msg for CommandFailed event
Irina Patru [Tue, 21 Jan 2014 15:59:35 +0000 (17:59 +0200)] 
hob: change error_msg for CommandFailed event

When a bb.command.CommandFailed event is received by Hob, the error
message is stored inside event.error.
This information tells exactly why bitbake failed, so Hob should display
it instead of the current composed message.

Signed-off-by: Irina Patru <irina.patru@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocooker: Add option of specifying indvidual tasks for targets
Richard Purdie [Mon, 27 Jan 2014 14:37:04 +0000 (14:37 +0000)] 
cooker: Add option of specifying indvidual tasks for targets

Currently its near enough impossible to tell bitbake to run target X,
task Y and target A, task B. We could hack various parts of the API
around but it would mean incompatibilities.

An alternative is to accept the syntax "<target>:do_<task>" as a target
name. The default task would be used where the task is unspecified.

This has the advantage that its neat/clean code and works from all
current APIs including the commandline.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agouser-manual-ref-variables.xml: Added 10 new variables to the glossary.
Scott Rifenbark [Wed, 22 Jan 2014 14:25:28 +0000 (08:25 -0600)] 
user-manual-ref-variables.xml: Added 10 new variables to the glossary.

Fixes [YOCTO #5472]

1. ASSUME_PROVIDED
2. BB_CURRENTTASK
3. BB_FETCH_PREMIRRORONLY
4. BB_FILENAME
5. BB_NICE_LEVEL
6. BB_HASHCONFIG_WHITELIST
7. BB_TASK_NICE_LEVEL
8. BB_NO_NETWORK
9. BB_NUMBER_PARSE_THREADS
10. STAMPCLEAN

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
11 years agouser-manual-ref-variables.xml: Fixed references to "Build Directory".
Scott Rifenbark [Tue, 21 Jan 2014 23:25:41 +0000 (17:25 -0600)] 
user-manual-ref-variables.xml: Fixed references to "Build Directory".

I made sure that these are lower-cased.  Also, removed the tags
for cross-referencing into the term section of the YP Development
Manual.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
11 years agouser-manual-ref-variables.xml: Editing pass.
Scott Rifenbark [Tue, 21 Jan 2014 23:20:55 +0000 (17:20 -0600)] 
user-manual-ref-variables.xml: Editing pass.

Corrected grammar and applied active voice where possible.
Also removed several cross-reference tags to the YP manual set.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
11 years agotemplate/titlepage.templates.xml: Suppress Title Text.
Scott Rifenbark [Mon, 20 Jan 2014 23:47:02 +0000 (17:47 -0600)] 
template/titlepage.templates.xml: Suppress Title Text.

I commented out two blocks of code that are responsible
for getting the book's title to format onto the title page.
Commenting the code out suppresses the title from the
PDF version's title page yet retains the title text for the
HTML tab space of the browser.  The reason this is necessary
is because the BitBake User Manual uses an image file for
the title.  Thus, it is not necessary to print the title
again.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
11 years agouser-manual-customization.xsl: Updated param list to pass
Scott Rifenbark [Mon, 20 Jan 2014 22:35:25 +0000 (16:35 -0600)] 
user-manual-customization.xsl: Updated param list to pass

I added five parameters here to match the build process used
for the YP manual set.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
11 years agouser-manual-metadata.xml: Renamed section tag
Scott Rifenbark [Mon, 20 Jan 2014 21:13:18 +0000 (15:13 -0600)] 
user-manual-metadata.xml: Renamed section tag

There were two section tags that used the same id name "classes".
One was in the intro chapter and one was in the metadata chapter.
This was causing an exception in the PDF creation process and
breaking it.  I renamed the tag in the metadata chapter
"metadata-classes".

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
11 years agouser-manual-ref-variavbles.xml: Added new glossary chapter.
Scott Rifenbark [Mon, 20 Jan 2014 19:09:43 +0000 (13:09 -0600)] 
user-manual-ref-variavbles.xml: Added new glossary chapter.

Added a scrubbed copy of the YP ref-manual glossary.  The content
was scrubbed to contain BB variables only.  Removed broken
cross-references, made sure the PDF file built.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
11 years agouser-manual-bitbakecommand: Various edits/cleanups
Richard Purdie [Sat, 18 Jan 2014 16:25:25 +0000 (16:25 +0000)] 
user-manual-bitbakecommand: Various edits/cleanups

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agouser-manual-bitbakecommand: Standardise on section tags, not example
Richard Purdie [Sat, 18 Jan 2014 16:22:01 +0000 (16:22 +0000)] 
user-manual-bitbakecommand: Standardise on section tags, not example

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agouser-manual-bitbakecommand: Replace screen tags with literallayout
Richard Purdie [Sat, 18 Jan 2014 16:14:52 +0000 (16:14 +0000)] 
user-manual-bitbakecommand: Replace screen tags with literallayout

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agouser-manual-bitbakecommand: Reform whitespace
Richard Purdie [Sat, 18 Jan 2014 16:05:00 +0000 (16:05 +0000)] 
user-manual-bitbakecommand: Reform whitespace

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agouser-manual-bitbakecommand: Update help text output with that from bitbake master
Richard Purdie [Sat, 18 Jan 2014 15:33:30 +0000 (15:33 +0000)] 
user-manual-bitbakecommand: Update help text output with that from bitbake master

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agouser-manual-fetching: Editing pass over the manual chapter
Richard Purdie [Sat, 18 Jan 2014 15:24:18 +0000 (15:24 +0000)] 
user-manual-fetching: Editing pass over the manual chapter

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agouser-manual-fetching: Change varname/emphasis tags to filename
Richard Purdie [Sat, 18 Jan 2014 15:21:33 +0000 (15:21 +0000)] 
user-manual-fetching: Change varname/emphasis tags to filename

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agouser-manual-fetching: Change screen -> literallayout
Richard Purdie [Sat, 18 Jan 2014 15:13:13 +0000 (15:13 +0000)] 
user-manual-fetching: Change screen -> literallayout

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agouser-manual-fetching: Change the file whitespace
Richard Purdie [Sat, 18 Jan 2014 15:07:32 +0000 (15:07 +0000)] 
user-manual-fetching: Change the file whitespace

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agouser-manual-metadata: Clean up task documentation
Richard Purdie [Sat, 18 Jan 2014 14:34:14 +0000 (14:34 +0000)] 
user-manual-metadata: Clean up task documentation

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agouser-manual-metadata: Clean up task flag section
Richard Purdie [Sat, 18 Jan 2014 14:33:33 +0000 (14:33 +0000)] 
user-manual-metadata: Clean up task flag section

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agouser-manual-metadata: Expand parsing process docuemtnation
Richard Purdie [Sat, 18 Jan 2014 14:32:51 +0000 (14:32 +0000)] 
user-manual-metadata: Expand parsing process docuemtnation

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agouser-manual-metadata: Add section about layers
Richard Purdie [Sat, 18 Jan 2014 14:30:45 +0000 (14:30 +0000)] 
user-manual-metadata: Add section about layers

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agouser-manual-metadata: Add section about INHERIT
Richard Purdie [Sat, 18 Jan 2014 14:29:16 +0000 (14:29 +0000)] 
user-manual-metadata: Add section about INHERIT

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agouser-manual-metadata: Add section about running tasks and the environment
Richard Purdie [Sat, 18 Jan 2014 14:27:30 +0000 (14:27 +0000)] 
user-manual-metadata: Add section about running tasks and the environment

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agouser-manual-metadata: Rework section about shell/python functions
Richard Purdie [Sat, 18 Jan 2014 14:26:07 +0000 (14:26 +0000)] 
user-manual-metadata: Rework section about shell/python functions

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agouser-manual-metadata: Add section about data store operations
Richard Purdie [Sat, 18 Jan 2014 14:24:13 +0000 (14:24 +0000)] 
user-manual-metadata: Add section about data store operations

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agouser-manual-metadata: Add lists of common events
Richard Purdie [Sat, 18 Jan 2014 14:22:41 +0000 (14:22 +0000)] 
user-manual-metadata: Add lists of common events

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agouser-manual-metadata: Editing pass over the manual chapter
Richard Purdie [Sat, 18 Jan 2014 14:02:18 +0000 (14:02 +0000)] 
user-manual-metadata: Editing pass over the manual chapter

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agouser-manual-metadata: Use filename tags instead of literal and varname tags
Richard Purdie [Sat, 18 Jan 2014 13:20:36 +0000 (13:20 +0000)] 
user-manual-metadata: Use filename tags instead of literal and varname tags

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agouser-manual-metadata: Replace screen tags with literallayout tags
Richard Purdie [Sat, 18 Jan 2014 13:14:30 +0000 (13:14 +0000)] 
user-manual-metadata: Replace screen tags with literallayout tags

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agouser-manual-metadata: Update whitespace (no content changes)
Richard Purdie [Sat, 18 Jan 2014 11:34:47 +0000 (11:34 +0000)] 
user-manual-metadata: Update whitespace (no content changes)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agouser-manual-metadata: Reorder sections to more logical order
Richard Purdie [Fri, 17 Jan 2014 16:35:32 +0000 (16:35 +0000)] 
user-manual-metadata: Reorder sections to more logical order

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agouser-manual-metadata: Add section ids for most sections
Richard Purdie [Fri, 17 Jan 2014 16:22:42 +0000 (16:22 +0000)] 
user-manual-metadata: Add section ids for most sections

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agouser-manual-hello.xml: Added new chapter for "Hello World Example"
Scott Rifenbark [Tue, 14 Jan 2014 13:27:59 +0000 (07:27 -0600)] 
user-manual-hello.xml: Added new chapter for "Hello World Example"

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>
11 years agouser-manual.xml: Cleanup on the title page.
Scott Rifenbark [Tue, 14 Jan 2014 00:04:41 +0000 (18:04 -0600)] 
user-manual.xml: Cleanup on the title page.

1. Added commented out manual revision history.
2. Cleaned up the author stuff.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
11 years agouser-manual-intro.xml: Re-write of BitBake introduction.
Bill Traynor [Tue, 14 Jan 2014 00:34:16 +0000 (18:34 -0600)] 
user-manual-intro.xml: Re-write of BitBake introduction.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
11 years agouser-manual-intro: Various minor cleanups/improvements
Richard Purdie [Fri, 17 Jan 2014 15:15:24 +0000 (15:15 +0000)] 
user-manual-intro: Various minor cleanups/improvements

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agouser-manual-intro: Add obtaining bitbake and summary sections
Richard Purdie [Fri, 17 Jan 2014 15:07:11 +0000 (15:07 +0000)] 
user-manual-intro: Add obtaining bitbake and summary sections

Add new obtaining bitbake and summary sections from Bill Traynor

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agouser-manual-intro.xml: Added "Concepts" section.
Scott Rifenbark [Mon, 13 Jan 2014 23:35:00 +0000 (17:35 -0600)] 
user-manual-intro.xml: Added "Concepts" section.

Provided initial text for recipes, configuration files, and
classes.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agouser-manual-intro: Update/improve whitespace
Richard Purdie [Fri, 17 Jan 2014 15:00:48 +0000 (15:00 +0000)] 
user-manual-intro: Update/improve whitespace

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agouser-manual-intro: Expand introduction and fix spelling mistakes
Richard Purdie [Fri, 17 Jan 2014 14:58:20 +0000 (14:58 +0000)] 
user-manual-intro: Expand introduction and fix spelling mistakes

Expand the introduction section, fill out the section ids and fix some spelling
mistakes.

Wording from Bill Traynor/Scott Rifenbark

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodocumentation: Add README based off the YP docs one
Bill Traynor [Mon, 14 Jan 2013 20:24:34 +0000 (15:24 -0500)] 
documentation: Add README based off the YP docs one

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>
11 years agogitignore: Update for recent docs changes
Bill Traynor [Mon, 14 Jan 2013 19:32:51 +0000 (14:32 -0500)] 
gitignore: Update for recent docs changes

Added a few more files to gitignore file to allow document
generation testing.

Signed-off-by: Bill Traynor <wmat@alphatroop.com>
11 years agouser-manual: Separate out chapters into individual files
Richard Purdie [Fri, 11 Jan 2013 17:45:15 +0000 (12:45 -0500)] 
user-manual: Separate out chapters into individual files

Splitting the manual into a chapter per file makes the content
a little more managable.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agouser-manual: Import YP Docs templates for usermanual improvements
Bill Traynor [Fri, 11 Jan 2013 17:45:15 +0000 (12:45 -0500)] 
user-manual: Import YP Docs templates for usermanual improvements

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>
11 years agousermanual: Renamed manual dir to user-manual to be consistent.
Bill Traynor [Mon, 7 Jan 2013 14:34:50 +0000 (09:34 -0500)] 
usermanual: Renamed manual dir to user-manual to be consistent.

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>
11 years agousermanual: Updated CC License to version 3.0
Bill Traynor [Fri, 4 Jan 2013 15:40:40 +0000 (10:40 -0500)] 
usermanual: Updated CC License to version 3.0

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>
11 years agotoaster: fix package data gathering
Alexandru DAMIAN [Fri, 17 Jan 2014 17:58:05 +0000 (17:58 +0000)] 
toaster: fix package data gathering

Under OE-Core, the name under which a package would
be installed in a target may have been different than the
name under it has been built or recorded in the dependencies
listings.

This patch addresses the way that Toaster records package
names, and adds the field of "installed_name" to save the
name under which a package have been installed in an image.

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
11 years agotoaster: fix builds page CSS and functionality
Alexandru DAMIAN [Mon, 20 Jan 2014 17:31:08 +0000 (17:31 +0000)] 
toaster: fix builds page CSS and functionality

This patch fixes a set of CSS and functionality problems
with the build list page:

* Fix Recent Builds text styles
* Added proper links from Failed Tasks entries.
* Always Search returns to the first page of results.
* Clear search button appears only if search is active.
* Search shows the number of object, proper no objects found
* Various smaller fixes.

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
11 years agotoaster: Set .error styles for tables
Barros Pena, Belen [Thu, 16 Jan 2014 10:50:59 +0000 (10:50 +0000)] 
toaster: Set .error styles for tables

Override the default styles of Twitter Bootstrap for table rows
with the .error class applied, and ensure that table cells and
anchor tags inherit the .error styles when their table row has
that class applied.

Signed-off-by: Belen Barros <belen.barros.pena@intel.com>
11 years agotoaster: All Tasks Feature with sorting and filtering
Ravi Chintakunta [Fri, 10 Jan 2014 21:43:24 +0000 (16:43 -0500)] 
toaster: All Tasks Feature with sorting and filtering

- Fixed the all tasks view and template  to match the UI design and use
the new basetable code.

- Added a method to views to add sort order icon to the view context.

- Default sort order when the page is loaded is displayed with the sort icon

- Filtering of columns

Signed-off-by: Ravi Chintakunta <ravi.chintakunta@timesys.com>
11 years agotoaster: Implementation of recipe detail views
David Reyna [Sat, 18 Jan 2014 00:58:08 +0000 (16:58 -0800)] 
toaster: Implementation of recipe detail views

Add the new recipe detail page and update the view context accordingly.
Rename the recipe summary page to 'recipes.html' and add the respective
links to the recipe details page.

The views are based on specifications found in attachments to
https://bugzilla.yoctoproject.org/show_bug.cgi?id=4299

[YOCTO #4299]

Signed-off-by: David Reyna <david.reyna@windriver.com>
11 years agotoaster: Implementation of base build details page
David Reyna [Fri, 17 Jan 2014 01:41:57 +0000 (17:41 -0800)] 
toaster: Implementation of base build details page

This page is the standard base page for 'details' views. It is
based on 'basebuildpage.html' but does not include the build's
quick-link sidebar.

Signed-off-by: David Reyna <david.reyna@windriver.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
11 years agotoaster: Added custom filter tags for use in templates.
Ravi Chintakunta [Tue, 14 Jan 2014 19:06:38 +0000 (14:06 -0500)] 
toaster: Added custom filter tags for use in templates.

- custom filter tag to return the css class based on
  the task execution status and execution outcome

- custom filters for active filter icon and tooltip text

- custom filter for displaying blank for None, zero, '0' and
  'Not Applicable'

Signed-off-by: Ravi Chintakunta <ravi.chintakunta@timesys.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
11 years agotoaster: Base table fixes for header text, sort icon and filter icon
Ravi Chintakunta [Fri, 10 Jan 2014 21:36:40 +0000 (16:36 -0500)] 
toaster: Base table fixes for header text, sort icon and filter icon

- Display the table column header as a link only if it is sortable.
   Non-sortable column headers are displayed as plain text.

- Display the sort order by an up / down arrow icon next to the
   column header

- Add style for header in default.css

- Set tooltip for the active filter icon

- Pass the view name to the filter dialog

Signed-off-by: Ravi Chintakunta <ravi.chintakunta@timesys.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
11 years agotoaster: Base html fix to set the page title
Ravi Chintakunta [Wed, 15 Jan 2014 19:55:06 +0000 (14:55 -0500)] 
toaster: Base html fix to set the page title

Set title of the page if the context includes objectname.

Signed-off-by: Ravi Chintakunta <ravi.chintakunta@timesys.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
11 years agotoaster: settings remove duplicate entry
Alexandru DAMIAN [Fri, 10 Jan 2014 03:08:09 +0000 (22:08 -0500)] 
toaster: settings remove duplicate entry

The 'toastergui' application had duplicate entries,
so this patch removes the duplicate ones.

Based on an original patch from Ravi Chintakunta <ravi.chintakunta@timesys.com>.

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
11 years agotoaster: Add initial tests
Andreea Proca [Tue, 14 Jan 2014 14:01:08 +0000 (16:01 +0200)] 
toaster: Add initial tests

This adds the initial api tests for toaster, using Django's unittest modules.

Signed-off-by: Andreea Proca <andreea.b.proca@intel.com>
11 years agotoaster: Toaster GUI Build and Dashboard pages fixes
Alexandru DAMIAN [Thu, 16 Jan 2014 12:22:21 +0000 (12:22 +0000)] 
toaster: Toaster GUI Build and Dashboard pages fixes

THis is a large set of fixes for the generic table, Build and
Dashboard pages.

Among the fixes:
* the table remembers which columns to show across refreshes,
based on saving the settings in a cookie
* added column timespent for a build which is  a denormalization
of the completed_on - started_on information due to limits in
computing datetime differences in the SQL engine
* fixed formatting of the time differences
* various sorting header links fixed
* correct error and warning CSS classes applied to the
respective rows
* fixes multiple divide-by-zero error in displaying duration
estimations

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
11 years agotoaster: add jquery cookie plugin
Alexandru DAMIAN [Thu, 16 Jan 2014 13:07:02 +0000 (13:07 +0000)] 
toaster: add jquery cookie plugin

We add the jquery cookie plugin to allow us to save
and read local client date in cookie.

jquery-cookie using version 1.4.0 under MIT licence.

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
11 years agotoaster: add vim modelines for .py files
Alexandru DAMIAN [Tue, 14 Jan 2014 12:50:32 +0000 (12:50 +0000)] 
toaster: add vim modelines for .py files

No-op patch that adds vim modelines for all .py files
intended to be user-edited.

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
11 years agotoaster: update Task classification fields
Alexandru DAMIAN [Tue, 14 Jan 2014 12:35:12 +0000 (12:35 +0000)] 
toaster: update Task classification fields

This patch updates the task classification fields (outcome, etc)
as to

* Changes outcome names from SSTATE to CACHED and
from EXISTING to PREBUILT

* NoExec tasks now recorded as Not Executed / script type NA instead
of Executed / script type NOEXEC. Script type NOEXEC is deleted.

* SetScene tasks do not get order numbers

* New task method that returns a QuerySet for setscene tasks related
to this task: Task.get_related_setscene()

* New custom TaskManager that allows searching for setscene tasks
related to a certain task: Task.objects.related_setscene(task)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
11 years agotoaster: update Simple UI references to avoid conflict
Alexandru DAMIAN [Mon, 13 Jan 2014 17:03:41 +0000 (17:03 +0000)] 
toaster: update Simple UI references to avoid conflict

Since the Toaster GUI was cloned from the Simple UI, we need
to update the URL pattern names in Simple UI to
prevent conflict when determining the reverse URL path.

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
11 years agorunqueue: Only attempt to print closest matching task if there is a match
Richard Purdie [Mon, 20 Jan 2014 21:36:36 +0000 (21:36 +0000)] 
runqueue: Only attempt to print closest matching task if there is a match

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agofetch2/wget: Check downloaded file isn't zero size
Richard Purdie [Tue, 21 Jan 2014 09:58:21 +0000 (09:58 +0000)] 
fetch2/wget: Check downloaded file isn't zero size

I can't think of a reason we'd download zero sized files however there are
reasons zero length files can accidently make it onto source mirrors.

This check allows us to ignore the broken files and switch to another
mirror rather than fail with odd checksum failures.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agofetch2/git: Dereference unresolved tags with ls-remote
Richard Purdie [Mon, 20 Jan 2014 14:23:55 +0000 (14:23 +0000)] 
fetch2/git: Dereference unresolved tags with ls-remote

We need to deference tags when trying to map them to commit IDs with
ls-remote. If we don't do this, a given commit might not show up
later in a specific branch. There appears to be no good reason not
to do this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agofetch2/git: Anchor names when using ls-remote
Richard Purdie [Mon, 20 Jan 2014 14:30:11 +0000 (14:30 +0000)] 
fetch2/git: Anchor names when using ls-remote

When specifying tags, they're searched for unanchored so foo/bar could
match:

refs/heads/abc/foo/bar
refs/heads/xyz/foo/bar
refs/heads/foo/bar

This change anchors the expressions so they are based against heads
or tags (or any other base level tree that has been created).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agofetch2: Improve invalid SRCREV error message
Richard Purdie [Mon, 20 Jan 2014 13:25:43 +0000 (13:25 +0000)] 
fetch2: Improve invalid SRCREV error message

The current message can be ambiguous, improve it (and also rename a
variable to clean up the rest of the function).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>