Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Aug 24, 2011
  1. @rpurdie

    usermanual: The git fetcher defaults to the git protocol (or file)

    rpurdie authored committed
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
    Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  2. @rpurdie

    fetch2/git: Add rsync as a valid git protocol

    rpurdie authored committed
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
    Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  3. bb/ui/hob: warn and prevent image build if no IMAGE_FSTYPE is set

    Joshua Lock authored committed
    If IMAGE_FSTYPE is empty and the user has opted to build an image warn
    them and prevent the build.
    
    Fixes [YOCTO #1267]
    
    Signed-off-by: Joshua Lock <josh@linux.intel.com>
    Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  4. bb/ui/crumbs/hobprefs: fix setting IMAGE_FSYTPES

    Joshua Lock authored committed
    We were setting the value as a list when a string is expected
    
    Signed-off-by: Joshua Lock <josh@linux.intel.com>
    Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  5. bb/ui/crumbs/hobeventhandler: fix return values of *_image_output_type

    Joshua Lock authored committed
    These methods are expected to return lists.
    
    Signed-off-by: Joshua Lock <josh@linux.intel.com>
    Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  6. bb/ui/hob: fix package only build

    Joshua Lock authored committed
    Use the models new get_selected_pn method to return a list of PN's for the
    selected items and pass that for a package only build, rather than passing
    a list of package names (which buildTargets can't handle).
    
    Fixes [YOCTO #1385]
    
    Signed-off-by: Joshua Lock <josh@linux.intel.com>
    Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  7. bb/ui/crumbs/tasklistmodel: track the PN for each entry in the model

    Joshua Lock authored committed
    Now that we've switched to packages in the model, rather than PN, it makes
    sense to add an extra field to store the PN of the package.
    
    This patch includes a convenience method to retrieve a list of selected PN's.
    
    Signed-off-by: Joshua Lock <josh@linux.intel.com>
    Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  8. hob: don't try and build if user selects Bake with no selections made

    Joshua Lock authored committed
    If the user hasn't made any selections inform them that they need to do so
    before clicking Bake.
    
    Fixes [YOCTO #1384]
    
    Signed-off-by: Joshua Lock <josh@linux.intel.com>
    Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  9. bb/ui/crumbs/tasklistmodel: store all binb, not just the first

    Joshua Lock authored committed
    This makes it easier for the user to determine what the effects of a
    removal may be, further it means we no longer need the find_alt_dependency
    method which could be a fairly time-consuming method depending on the size
    of the contents table.
    
    Partially addresses [YOCTO #1365]
    
    Signed-off-by: Joshua Lock <josh@linux.intel.com>
    Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  10. bb/ui/crumbs/tasklistmodel: remove useless items from dependency list

    Joshua Lock authored committed
    Ensure the dependency list is uniquified, doesn't include self references
    and further doesn't include -dev references.
    
    Signed-off-by: Joshua Lock <josh@linux.intel.com>
    Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  11. bb/ui/crumbs/tasklistmodel: more robust checking for substrings

    Joshua Lock authored committed
    Relying on the count() method of Str to determine whether the string
    contains a substring is error prone purely because the return value doesn't
    strictly convert to a Boolean value.
    To that end take the more pythonic approach of using the in operator (foo
    in bar) to check for the substring.
    Further, add a helper method for the common case of testing whether a pn
    is -native, -cross or virtual/
    
    Signed-off-by: Joshua Lock <josh@linux.intel.com>
    Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  12. bb/ui/crumbs/runningbuild: hide the progress bar on cache load complete

    Joshua Lock authored committed
    When we receive the CacheLoadComplete command we need to ensure the
    progress bar is hidden as we can't expect the ParseComplete event, where
    this would usually be done.
    
    This patch makes the Goggle UI usable again.
    
    Signed-off-by: Joshua Lock <josh@linux.intel.com>
    Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  13. bb/ui/crumbs/runningbuild: reduce number of messages after recent msg…

    Joshua Lock authored committed
    … change
    
    The recent change to the message module to remove custom logging domains
    resulted in an increased number of messages being displayed in the
    running build view, ignore all messages lower than log level INFO.
    
    Signed-off-by: Joshua Lock <josh@linux.intel.com>
    Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Commits on Aug 15, 2011
  1. @rpurdie

    Fixup remaining bb.msg.domain users

    rpurdie authored committed
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
    Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  2. @rpurdie

    build.py: Fix cut and paste error

    rpurdie authored committed
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
    Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  3. Ensure only the filtered environment variables are inherited from the OS

    Joshua Lock authored committed
    The recent change which modified inheritFromOS to use the intial
    environment, rather than the current environment, introduced a bug such
    that variables which had been cleaned from the environment where still set
    in the data store.
    
    This patch changes things such that a list of approved environment
    variables is saved after the environment is cleaned and only the variables
    in this list are inherited in inheritFromOS.
    
    CC: James Limbouris <james.limbouris@gmail.com>
    CC: Chris Larson <clarson@kergoth.com>
    Signed-off-by: Joshua Lock <josh@linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
    Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  4. @rpurdie

    bitbake/msg.py: Drop manually created domain lists

    rpurdie authored committed
    This patch removes the majority of the domain related code from bb.msg
    on the grounds that we now support dynamic creation of logging domains
    so having this hardcoded is just error prone and less flexible. It also
    makes the msg code overly and needlessly complex.
    
    It also removes the bb.msg.debug/note/warn/plain/error functions since
    we might as well remove them rather than try and fix them at this point.
    
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
    Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  5. bitbake-layers: extend show_layers

    Paul Eggleton authored committed
    Make show_layers print layer name, path, and priority in a simple table
    rather than just the value of BBLAYERS.
    
    Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
    Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  6. bitbake-layers: use logger.plain instead of info

    Paul Eggleton authored committed
    The INFO: prefix makes sense in bitbake itself but in bitbake-layers is
    just noise. Changing this exposed the fact that the logger was not being
    set up correctly (which should be done anyway to correctly support
    logging from BitBake), so this has also been fixed.
    
    [RP: Sync with logging changes]
    Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
    Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  7. bitbake-layers: show help with no command specified

    Paul Eggleton authored committed
    Instead of running show_appends when no command is specified, show the
    default help text. Running show_appends by default made sense previously
    when that was the only real command provided, but now we have several
    useful commands implemented.
    
    Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
    Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  8. bitbake-layers: improve default command help

    Paul Eggleton authored committed
    Improve default help output and make unrecognised commands print it out
    rather than just an error.
    
    Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
    Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  9. @rpurdie

    bitbake/logging: Overhaul internal logging process

    rpurdie authored committed
    At the moment it bugs me a lot that we only have one effective logging
    level for bitbake, despite the logging module having provision to do
    more advanced things. This patch:
    
    * Changes the core log level to the lowest level we have messages of
      (DEBUG-2) so messages always flow through the core logger
    * Allows build.py's task logging code to log all the output regardless
      of what output is on the console and sets this so log files now
      always contain debug level messages even if these don't appear
      on the console
    * Moves the verbose/debug/debug-domains code to be a UI side setting
    * Adds a filter to the UI to only print the user requested output.
    
    The result is more complete logfiles on disk but the usual output to the
    console.
    
    There are some behaviour changes intentionally made by this patch:
    
    a) the -v option now controls whether output is tee'd to the console.
    
    Ultimately, we likely want to output a message to the user about where the
    log file is and avoid placing output directly onto the console for every
    executing task.
    
    b) The functions get_debug_levels, the debug_levels variable, the
    set_debug_levels, the set_verbosity and set_debug_domains functions are
    removed from bb.msg.
    
    c) The "logging" init function changes format.
    
    d) All messages get fired to all handlers all the time leading to an
    increase in inter-process traffic. This could likely be hacked around
    short term with a function for a UI to only request events greater than
    level X. Longer term, having masks for event handlers would be better.
    
    e) logger.getEffectiveLevel() is no longer a reliable guide to what
    will/won't get logged so for now we look at the default log levels instead.
    
    [YOCTO #304]
    
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
    Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  10. @denix0

    lib/bb/providers: make "checking PREFERRED_PROVIDER_%s" a debug message

    denix0 authored committed
    In verbose mode there are hundreds of these "checking PREFERRED_PROVIDER_%s"
    messages, cluttering the output and obscuring the more important resulting
    "selecting %s to satisfy runtime %s due to %s" messages. Individual "checking"
    lines are more suited for debug mode, similar to "sorted providers for %s
    are: %s", hence convert logger.verbose() to logger.debug().
    
    Signed-off-by: Denys Dmytriyenko <denys@ti.com>
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
    Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  11. bb/ui/crumbs/tasklistmodel: simplify conditional in include_item

    Joshua Lock authored committed
    No need to check if the name ends with -native or -cross as path will be
    None in this instance.
    
    Signed-off-by: Joshua Lock <josh@linux.intel.com>
    Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  12. bb/ui/crumbs/tasklistmodel: make package_model_filter a little safer

    Joshua Lock authored committed
    Ignore names that include '-cross', rather than just 'cross'
    
    Signed-off-by: Joshua Lock <josh@linux.intel.com>
    Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  13. bb/ui/crumbs/tasklistmodel: optimise find_path_for_item

    Joshua Lock authored committed
    If the item_name contains virtual/, -native or -cross it won't be present
    in the model. Return None early in this circumstance rather than iterating
    the entire model and still returning None.
    
    Signed-off-by: Joshua Lock <josh@linux.intel.com>
    Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  14. bb/ui/crumbs/tasklistmodel: include package level information

    Joshua Lock authored committed
    Until now the hob UI has only contained recipe (pn) level targets in the
    data store, this patch switches to including package level information.
    
    This is slightly slower in all model related cases (more entries) but gives
    much more flexibility for image customisation.
    
    Signed-off-by: Joshua Lock <josh@linux.intel.com>
    Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  15. bb/crumbs/tasklistmodel: filter nativesdk packages out of views

    Joshua Lock authored committed
    Signed-off-by: Joshua Lock <josh@linux.intel.com>
    Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Commits on Aug 13, 2011
  1. lib/bb/ui/crumbs/hobprefs: fix erroneous save/reparse

    Joshua Lock authored committed
    We need to unset the reload_required variable once we've triggered a reload
    so that we don't cause a reload each time the preferences dialog is shown and
    dismissed, regardless of whether anything has changed.
    
    Signed-off-by: Joshua Lock <josh@linux.intel.com>
    Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  2. bb/ui/crumbs/configurator: introduce writeConfFile method for all writes

    Joshua Lock authored committed
    Configuration files are written in several places, this refactors the code
    to use a common method.
    
    Signed-off-by: Joshua Lock <josh@linux.intel.com>
    Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  3. bb/ui/crumbs/hobeventhandler: adapt to reset -> reparse change

    Joshua Lock authored committed
    The API has changed from just a reparse call to a reset call followed by
    a reparse call.
    
    Signed-off-by: Joshua Lock <josh@linux.intel.com>
    Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  4. bb/command|cooker: refactor the reparseFiles logic

    Joshua Lock authored committed
    Turn the reparseFiles logic into a command to reset the cooker's state
    machine and a noop which triggers a cache rebuild.
    
    The resetCooker command resets the cookers state machine such that a cache
    update will be triggered by any async command which requires the cache.
    The reparseFiles command remains as a noop async command that has the
    needcache property set to True so that when called it ensures the cache is
    built.
    
    Patch from Richard with the addition of removing the force parameter from
    the updateCache method.
    
    CC: Richard Purdie <richard.purdie@linuxfoundation.org>
    Signed-off-by: Joshua Lock <josh@linux.intel.com>
    Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Commits on Aug 12, 2011
  1. @rpurdie

    bitbake/usermanual: Update to be more in sync with bitbake codebase

    rpurdie authored committed
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
    Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  2. @rpurdie

    bitbake: Fix -e when used with -b option

    rpurdie authored committed
    When using the -e and -b options together an expection was occuring.
    This was due to incorrect initialisation and this patch adds in the
    correct initialisation calls.
    
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
    Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  3. bb/cache: rename confusing variable

    Joshua Lock authored committed
    The bNeedUpdate variable doesn't reflect its purpose, and doesn't match
    coding style (type encoded in variable name, camel case) - rename to
    cache_ok.
    
    Signed-off-by: Joshua Lock <josh@linux.intel.com>
    Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Something went wrong with that request. Please try again.