BitBake/GUI/WorkInProgress: Difference between revisions

From Yocto Project
Jump to navigationJump to search
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Intro =
'''Note:''' this page is for tracking imminent/in progress work.


'''Note:''' mostly raw unfiltered thoughts, please contact me before acting upon them.
== Unplanned extra features - schedule at next map day ==
 
* (Re-)Enable removal of packages http://bugzilla.yoctoproject.org/show_bug.cgi?id=1450
[[File:Screenshot-yHob-240511.png]]
 
== M1 (Dev Complete May 23) ==
=== Features ===
* #770 "Add mechanism to enable UI's to request extra data be stored in the cache" http://bugzilla.pokylinux.org/show_bug.cgi?id=770 (Liping/Lianhao) - ''WIP Liping working on a patch set''
* <del>Add mechanism to enable selection of server back-end at runtime, rather than it being hard-coded. Furthermore a UI should be able to specify which server it wants to run against (Liping/Lianhao)</del>
* <del>Distro selector dropdown</del>
** <del>as per MACHINE dropdown, partially implemented</del>
* <del>Build development toolchain checkbox</del>
** <del>add meta-toolchain to task list</del>
* <del>Toolchain host combo</del>
** <del>like MACHINE, set SDKMACHINE from possible files in machine-sdk, partially implemented?</del>
* <del>Include development headers with toolchain (easy/medium)</del>
** add dev-pkgs to IMAGE_FEATURES?
* <del>Spinner to set BB_NUMBER_THREADS</del>
* <del>Spinner to set PARALLEL_MAKE</del>
* <del>Save/load previous configuration</del>
** save will create a .bb file from which the created image can be reproduced
** load will parse a bb file and set up the gui
* <del>Config write back - ''WIP partial implementation of Configurator gobject''
** When the user changes values that could be set in local.conf offer to write those values to save the user from having to change those again in future</del>
* <del>A search box which does basic find in the currently selected treeview's model (gtk.TreeView.set_search_entry)</del>
** Could do with a custom gtk.TreeView.set_search_equal_func()
 
== M2 (Dev Complete Jul 4) ==
=== Features ===
* Optimise, we could probably be faster than ~30s on Single core (dual thread) Core 2 Duo @ 1.8GHz
** PyGtk bindings support a more simple value setting syntax, the following snippet will set the third row's values:<pre>model[(2,)] = ('new string value', 'string 2')</pre>Therefore we can optimise insertion of the data into the tree model by ensuring the data comes back as a list (one entry per row) of tuples containing appropriate values for each column.
* <del>Package format dropdown</del>
* Image output type dropdown
** all possible values for IMAGE_FSTYPES set in class
** getVariable used to get list, split on " " and put into combobox
* Fix sorting in Packages treeview. Sorting by group would be enabled here.
** Enable changing sort order in tree views (A-Z | Z-A | ??) by clicking column header
* Show some notification when doing long-running operations i.e. toggle a package with many DEPENDS and the UI blocks without feedback
* Bitbake reports "ERROR: Nothing to do.  Use 'bitbake world' to build everything, or run 'bitbake --help' for usage information." when exiting hob, need to allow UI's to configure whether this message is relevant or not
*<del>When cancelling a build, confirm before killing</del>
*<del> Enable/Disable layers - use configuration writeback support for local.conf changes to also edit/save bblayers.conf changes</del>
** Properly reload the data when the layers are modified
 
=== Bugs ===
* Fix reset/build again
** I think this is caused by the cooker/server exiting on build completion. If so we need to enable the UI to request the server doesn't terminate until it receives a signal of some sort.
* We need to be able to switch from a stopped/completed build back to the image creation mode.
* Fix removing *all* packages in sweep
 
== Future (Unplanned extra features - schedule at next map day) ==
* Tell the user where the created image is on disk (as a medium term enhancement also allow opening the containing folder, long term allow writing the image to some media)
* Show contents of images & tasks (per community feedback) http://bugzilla.pokylinux.org/show_bug.cgi?id=991
* Show contents of images & tasks (per community feedback) http://bugzilla.pokylinux.org/show_bug.cgi?id=991
* Show more information for selected package (per community feedback) http://bugzilla.pokylinux.org/show_bug.cgi?id=992
* Show more information for selected package (per community feedback) http://bugzilla.pokylinux.org/show_bug.cgi?id=992
Line 57: Line 9:
** show log directory
** show log directory
** view log for task
** view log for task
** copy log
** paste bin log
* add context menus to package view
* add context menus to package view
** "Rebuild-from" with a submenu for each task of the build; fetch, unpack, compile, etc.
** "Rebuild-from" with a submenu for each task of the build; fetch, unpack, compile, etc.
* hobhandler as a proxy to the server has a code smell
* hobhandler as a proxy to the server has a code smell
* Investigate/verify using the image creator with sstate mirrors (should just work!)
* Add GUI to set mirror variables (SSTATE, PREMIRROR, ?)
** Add GUI to set sstate mirror variable
* "Overlay" files, extra files to be installed into the rootfs at image generation time
* "Overlay" files, extra files to be installed into the rootfs at image generation time
** Custom ROOTFS_POSTPROCESS_COMMAND
** Custom ROOTFS_POSTPROCESS_COMMAND
* Display and change IMAGE_FEATURES
* Display and change IMAGE_FEATURES
* Consider a name change, David suggested 'Yocto HOB (Human Oriented Builder)'
* Consider allowing dragging a package from the list to the contents area
* Consider allowing dragging a package from the list to the contents area
* Warn when removing the core layers
* Have build dir be a part of the workspace so that everything done with the GUI tool is part of the same directory.

Latest revision as of 16:01, 6 September 2011

Note: this page is for tracking imminent/in progress work.

Unplanned extra features - schedule at next map day

  • (Re-)Enable removal of packages http://bugzilla.yoctoproject.org/show_bug.cgi?id=1450
  • Show contents of images & tasks (per community feedback) http://bugzilla.pokylinux.org/show_bug.cgi?id=991
  • Show more information for selected package (per community feedback) http://bugzilla.pokylinux.org/show_bug.cgi?id=992
  • add context menus to build view
    • view logs
    • show log directory
    • view log for task
  • add context menus to package view
    • "Rebuild-from" with a submenu for each task of the build; fetch, unpack, compile, etc.
  • hobhandler as a proxy to the server has a code smell
  • Add GUI to set mirror variables (SSTATE, PREMIRROR, ?)
  • "Overlay" files, extra files to be installed into the rootfs at image generation time
    • Custom ROOTFS_POSTPROCESS_COMMAND
  • Display and change IMAGE_FEATURES
  • Consider allowing dragging a package from the list to the contents area