oe-lite:esbens-bakery.git
4 years agoRelease 4.0.3
Esben Haabendal [Wed, 25 Sep 2013 07:30:07 +0000 (09:30 +0200)]
Release 4.0.3

Signed-off-by: Esben Haabendal <esben.haabendal@prevas.dk>
4 years agoclone: Rephrase argument help texts
Esben Haabendal [Thu, 8 Aug 2013 12:43:48 +0000 (14:43 +0200)]
clone: Rephrase argument help texts

Signed-off-by: Esben Haabendal <esben.haabendal@prevas.dk>
4 years agoupdate: Improve error handling for submodule heads not on branch
Esben Haabendal [Wed, 7 Aug 2013 15:00:28 +0000 (17:00 +0200)]
update: Improve error handling for submodule heads not on branch

Change to a warning and list all skipped submodules at the end.

Signed-off-by: Esben Haabendal <esben.haabendal@prevas.dk>
4 years agoupdate: Fix logging output
Esben Haabendal [Wed, 7 Aug 2013 14:57:53 +0000 (16:57 +0200)]
update: Fix logging output

Signed-off-by: Esben Haabendal <esben.haabendal@prevas.dk>
4 years agoImprove debugging of import errors
Esben Haabendal [Wed, 7 Aug 2013 11:19:58 +0000 (13:19 +0200)]
Improve debugging of import errors

Signed-off-by: Esben Haabendal <esben.haabendal@prevas.dk>
4 years agoIgnore leftover oelite.cmd .pyc files
Esben Haabendal [Fri, 3 May 2013 17:40:02 +0000 (19:40 +0200)]
Ignore leftover oelite.cmd .pyc files

When switching between OE-lite/core 3.3 (or nwer) and OE-lite/core older
than 3.3, the .pyc files left in oelite.cmd tricks bakery into loading
them, and even trying to use them, which ofcourse does not work.

Signed-off-by: Esben Haabendal <esben.haabendal@prevas.dk>
4 years agoRelease 4.0.2
Esben Haabendal [Tue, 19 Mar 2013 08:58:30 +0000 (09:58 +0100)]
Release 4.0.2

Signed-off-by: Esben Haabendal <esben.haabendal@prevas.dk>
4 years agoAdd python-svn dependency
Esben Haabendal [Tue, 19 Mar 2013 08:39:01 +0000 (09:39 +0100)]
Add python-svn dependency

Signed-off-by: Esben Haabendal <esben.haabendal@prevas.dk>
4 years agoFix module loading bug breaking dpkg packages
Esben Haabendal [Tue, 19 Mar 2013 08:38:44 +0000 (09:38 +0100)]
Fix module loading bug breaking dpkg packages

Signed-off-by: Esben Haabendal <esben.haabendal@prevas.dk>
4 years agoFixup lucid ppa packaging (4.0.1~lucid2)
Esben Haabendal [Fri, 15 Mar 2013 22:40:18 +0000 (23:40 +0100)]
Fixup lucid ppa packaging (4.0.1~lucid2)

Signed-off-by: Esben Haabendal <esben.haabendal@prevas.dk>
4 years agoRelease 4.0.1
Esben Haabendal [Fri, 15 Mar 2013 14:39:45 +0000 (15:39 +0100)]
Release 4.0.1

Signed-off-by: Esben Haabendal <esben.haabendal@prevas.dk>
4 years agoFix logging.Formatter initialization bug
Esben Haabendal [Fri, 15 Mar 2013 14:13:12 +0000 (15:13 +0100)]
Fix logging.Formatter initialization bug

Use old-class stype way of "super" initialization, for compatibility with
old Python versions.

Signed-off-by: Esben Haabendal <esben.haabendal@prevas.dk>
4 years agoLaunchpad build fixup
Esben Haabendal [Fri, 15 Mar 2013 14:14:42 +0000 (15:14 +0100)]
Launchpad build fixup

Signed-off-by: Esben Haabendal <esben.haabendal@prevas.dk>
4 years agoDrop maverick support and add (experimental) raring
Esben Haabendal [Fri, 15 Mar 2013 14:14:12 +0000 (15:14 +0100)]
Drop maverick support and add (experimental) raring

Signed-off-by: Esben Haabendal <esben.haabendal@prevas.dk>
4 years agoAdd build_version suffix to Ubuntu packages.
Esben Haabendal [Fri, 15 Mar 2013 14:13:46 +0000 (15:13 +0100)]
Add build_version suffix to Ubuntu packages.

Signed-off-by: Esben Haabendal <esben.haabendal@prevas.dk>
4 years agoRelease 4.0.0
Esben Haabendal [Fri, 15 Mar 2013 09:23:00 +0000 (10:23 +0100)]
Release 4.0.0

Signed-off-by: Esben Haabendal <esben.haabendal@prevas.dk>
4 years agoFix topdir priority in stack
Esben Haabendal [Wed, 13 Mar 2013 20:52:37 +0000 (21:52 +0100)]
Fix topdir priority in stack

The conf, classes, and recipes directories of manifest topdir must have
priority of any other metadata layers.

Signed-off-by: Esben Haabendal <esben.haabendal@prevas.dk>
4 years agoFix init command
Esben Haabendal [Mon, 11 Mar 2013 09:34:54 +0000 (10:34 +0100)]
Fix init command

Signed-off-by: Esben Haabendal <esben.haabendal@prevas.dk>
4 years agoOE-bakery v4 refactoring
Esben Haabendal [Mon, 25 Feb 2013 12:55:45 +0000 (13:55 +0100)]
OE-bakery v4 refactoring

Large parts of the code basically rewritten...

The new feature is "dynamic manifest commands".  The idea is that OE-lite
manifests (with OE-lite/core in mind), can completely define so-called
manifest commands without any changes to OE-lite Bakery.  Examples of
manifest commands are the old "bake" and "show" commands.

Existing OE-lite manifests are fully supported also, by adding legacy
bake and show manifest commands if manifest does not define manifest
commands themselves.

A number of OE-lite Bakery API features is deprecated for OE-lite
manifests using dynamic manifest commands, namely:

* oebakery.DEBUG - use options.debug instead)
* oebakery.FatalError() - define own Exception classes instead
* oebakery.debug() - use logging.debug() instead
* oebakery.info() - use logging.info() instead
* oebakery.warn() - use logging.warning() instead
  ("WARNING: " prefix not included)
* oebakery.err() - use logging.error() instead
  ("ERROR: " prefix not included)
* oebakery.die() - use oebakery.fatal() instead

And as can be seen from the list above, the logging module has been
chosen as the new interface for OE-lite metadata logging API.

OE-lite/core master branch will be upgraded to use dynamic manifest commands,
and this will serve as example on how to implement such commands.

The unsupported "ingredient", "prebake", and "tmp" commands is removed.

Signed-off-by: Esben Haabendal <esben.haabendal@prevas.dk>
4 years agogitignore: distribution tarballs
Esben Haabendal [Mon, 25 Feb 2013 12:34:12 +0000 (13:34 +0100)]
gitignore: distribution tarballs

Signed-off-by: Esben Haabendal <esben.haabendal@prevas.dk>
4 years agoUse version information from source when distributing
Esben Haabendal [Sun, 10 Feb 2013 14:25:39 +0000 (15:25 +0100)]
Use version information from source when distributing

Signed-off-by: Esben Haabendal <esben.haabendal@prevas.dk>
4 years agoWhitespace cleanup
Esben Haabendal [Sun, 10 Feb 2013 14:11:10 +0000 (15:11 +0100)]
Whitespace cleanup

Signed-off-by: Esben Haabendal <esben.haabendal@prevas.dk>
5 years agoRelease 3.1.0
Esben Haabendal [Wed, 24 Oct 2012 09:37:41 +0000 (11:37 +0200)]
Release 3.1.0

Signed-off-by: Esben Haabendal <esben.haabendal@prevas.dk>
5 years agoAdd experimental quantal (12.10) support
Esben Haabendal [Wed, 24 Oct 2012 09:37:28 +0000 (11:37 +0200)]
Add experimental quantal (12.10) support

Signed-off-by: Esben Haabendal <esben.haabendal@prevas.dk>
5 years agoForce stdout and stderr into un-buffered mode
Esben Haabendal [Wed, 24 Oct 2012 09:16:41 +0000 (11:16 +0200)]
Force stdout and stderr into un-buffered mode

This seems to unbreak the FUBAR stdout/stderr handling in Jenkins for
now...

Signed-off-by: Esben Haabendal <esben.haabendal@prevas.dk>
5 years agoFix support for layers without a srcuri parameter
Esben Haabendal [Wed, 24 Oct 2012 09:15:55 +0000 (11:15 +0200)]
Fix support for layers without a srcuri parameter

Signed-off-by: Esben Haabendal <esben.haabendal@prevas.dk>
5 years agoAdd support for tag and commit layer parameters
Esben Haabendal [Mon, 17 Sep 2012 19:38:13 +0000 (21:38 +0200)]
Add support for tag and commit layer parameters

With this, you can craft a bakery.conf to build with a stack with
layers defined by tag, commit id or branch.

5 years agoRelease 3.0.1
Esben Haabendal [Mon, 17 Sep 2012 19:36:37 +0000 (21:36 +0200)]
Release 3.0.1

5 years agoFix problem with longs when run from symlinked path
Esben Haabendal [Fri, 17 Aug 2012 12:52:54 +0000 (14:52 +0200)]
Fix problem with longs when run from symlinked path

When cloning an OE-lite manifest to a directory path that is not
the canonicalised absolute pathname (see realpath(1)), you could
experience a bug in git like this:

fatal: Not a git repository: ../../../../../../../../../../mnt/data/staff/home/eha/oe-lite/hest/.git/modules/lib/GitPython/modules/async

This fix, or rather workaround, changes to the canonicalized path
before running shell commands.

With this fix, you will still experience this problem if you use
"git clone" (without --recursive) and then "oe update" to clone
an OE-lite manifest.  In such case, please use "oe clone" or
use "git clone --recursive" before "oe update" instead.

5 years agoRelease 3.0.0
Esben Haabendal [Mon, 21 May 2012 08:29:27 +0000 (10:29 +0200)]
Release 3.0.0

Bump version number to 3.0.0, to allow use of 2.x.y as version number for
OE-lite 2 bakery versions, and 1.x.y as version number for OE-lite 1
compatible bakery versions.

5 years agoFix git integration of of debian/control
Esben Haabendal [Mon, 21 May 2012 07:46:47 +0000 (09:46 +0200)]
Fix git integration of of debian/control

5 years agoRelease 1.0.0
Esben Haabendal [Wed, 16 May 2012 12:12:12 +0000 (14:12 +0200)]
Release 1.0.0

5 years agoFix update (and thus init) of manifest without registered submodules
Esben Haabendal [Wed, 16 May 2012 11:53:49 +0000 (13:53 +0200)]
Fix update (and thus init) of manifest without registered submodules

5 years agoReturn non-zero exit code on pull failure
Esben Haabendal [Wed, 16 May 2012 11:52:48 +0000 (13:52 +0200)]
Return non-zero exit code on pull failure

5 years agoFix exit code for update command
Esben Haabendal [Fri, 2 Mar 2012 13:38:58 +0000 (14:38 +0100)]
Fix exit code for update command

5 years agoMerge branch 'master' of dev.doredevelopment.dk:/srv/public/git/oe-lite/bakery
Esben Haabendal [Thu, 2 Feb 2012 14:16:47 +0000 (15:16 +0100)]
Merge branch 'master' of dev.doredevelopment.dk:/srv/public/git/oe-lite/bakery

5 years ago1.0.0pre7
Esben Haabendal [Thu, 2 Feb 2012 14:15:33 +0000 (15:15 +0100)]
1.0.0pre7

5 years ago1.0.0pre7
Esben Haabendal [Wed, 1 Feb 2012 17:49:33 +0000 (18:49 +0100)]
1.0.0pre7

5 years agoA couple of error handling bugfixes
Esben Haabendal [Wed, 1 Feb 2012 17:47:06 +0000 (18:47 +0100)]
A couple of error handling bugfixes

5 years agoUpdate remote origin, making branch checkout more robust
Esben Haabendal [Wed, 1 Feb 2012 17:46:51 +0000 (18:46 +0100)]
Update remote origin, making branch checkout more robust

5 years agoFix update with submodules that are added but not initialized
Esben Haabendal [Wed, 1 Feb 2012 17:46:20 +0000 (18:46 +0100)]
Fix update with submodules that are added but not initialized

5 years agoMake shell command wrapper more robust
Esben Haabendal [Wed, 1 Feb 2012 17:14:53 +0000 (18:14 +0100)]
Make shell command wrapper more robust

5 years agoChange OSTACK remote parameter to use ',' as divider between fetch and push
Esben Haabendal [Thu, 26 Jan 2012 08:22:06 +0000 (09:22 +0100)]
Change OSTACK remote parameter to use ',' as divider between fetch and push

5 years agoFix update of manually created submodules
Esben Haabendal [Thu, 26 Jan 2012 08:20:57 +0000 (09:20 +0100)]
Fix update of manually created submodules

When updating first time after manually creating a new submodule,
there is no remote or merge setting for the master branch, which
is now handled correctly.

6 years agoFix submodule update with newer git versions
Esben Haabendal [Thu, 17 Nov 2011 12:22:46 +0000 (13:22 +0100)]
Fix submodule update with newer git versions

6 years ago1.0.0pre5
Esben Haabendal [Thu, 17 Nov 2011 10:06:59 +0000 (11:06 +0100)]
1.0.0pre5

6 years agoFix update handling of remote branch stack layers
Esben Haabendal [Thu, 17 Nov 2011 10:03:21 +0000 (11:03 +0100)]
Fix update handling of remote branch stack layers

When checking if a stack layer is on a branch or a detached head, we
check remote branches also.

6 years ago1.0.0pre4
Esben Haabendal [Thu, 17 Nov 2011 10:01:53 +0000 (11:01 +0100)]
1.0.0pre4

6 years ago1.0.0pre3
Esben Haabendal [Fri, 21 Oct 2011 10:08:56 +0000 (12:08 +0200)]
1.0.0pre3

6 years ago1.0.0pre2 maybe...
Esben Haabendal [Fri, 21 Oct 2011 10:06:40 +0000 (12:06 +0200)]
1.0.0pre2 maybe...

6 years agoFix update (and thus init) command when adding submodules to new path
Esben Haabendal [Fri, 26 Aug 2011 12:14:30 +0000 (14:14 +0200)]
Fix update (and thus init) command when adding submodules to new path

6 years agoFix running of init command (logical bug in check for .git)
Esben Haabendal [Fri, 26 Aug 2011 12:12:59 +0000 (14:12 +0200)]
Fix running of init command (logical bug in check for .git)

6 years agoFix error handling of show command
Esben Haabendal [Wed, 24 Aug 2011 19:21:16 +0000 (21:21 +0200)]
Fix error handling of show command

6 years agoDon't output parsetab.py
Esben Haabendal [Fri, 19 Aug 2011 07:47:06 +0000 (09:47 +0200)]
Don't output parsetab.py

6 years agoImprove robustness of update command
Esben Haabendal [Thu, 18 Aug 2011 07:03:24 +0000 (09:03 +0200)]
Improve robustness of update command

6 years agoFixup clone, init, pull and update for new OESTACK configuration
Esben Haabendal [Wed, 17 Aug 2011 18:58:03 +0000 (20:58 +0200)]
Fixup clone, init, pull and update for new OESTACK configuration

6 years agoFix variable expansion support.
Esben Haabendal [Fri, 12 Aug 2011 10:40:47 +0000 (12:40 +0200)]
Fix variable expansion support.

6 years agoBig BB -> OE renaming
Esben Haabendal [Fri, 12 Aug 2011 10:39:30 +0000 (12:39 +0200)]
Big BB -> OE renaming

* Bakery / repository setup is now configured in bakery.conf
  (was oe-lite.conf)
* Renamed bitbake.conf to oe-lite.conf
* Recipe file extension renamed from .bb to .oe
* Class file extension renamed from .bbclass to .oeclass
* Repository setup now managed by new OESTACK variable
* BBPATH renamed to OEPATH
* BBRECIPES renamed to OERECIPES

6 years agoFixup error handling in show command
Esben Haabendal [Tue, 9 Aug 2011 09:19:54 +0000 (11:19 +0200)]
Fixup error handling in show command

6 years agoFixup error handling in bake command
Esben Haabendal [Tue, 9 Aug 2011 09:19:29 +0000 (11:19 +0200)]
Fixup error handling in bake command

6 years agoHandle FatalError exception in bake command
Esben Haabendal [Tue, 12 Jul 2011 19:04:15 +0000 (21:04 +0200)]
Handle FatalError exception in bake command

6 years agoFix update command to work with BakeryData
Esben Haabendal [Tue, 12 Jul 2011 19:03:13 +0000 (21:03 +0200)]
Fix update command to work with BakeryData

6 years agoMerge branch 'master' of dev.doredevelopment.dk:/srv/public/git/oe-lite/bakery into...
Esben Haabendal [Sun, 3 Jul 2011 14:00:23 +0000 (16:00 +0200)]
Merge branch 'master' of dev.doredevelopment.dk:/srv/public/git/oe-lite/bakery into parser-rewrite

Conflicts:
src/oebakery/oe.py

6 years agoRaise FatalError on oebakery.die()
Esben Haabendal [Sun, 3 Jul 2011 13:48:44 +0000 (15:48 +0200)]
Raise FatalError on oebakery.die()

6 years agoImproved error messages on bake and show command failure
Esben Haabendal [Sun, 3 Jul 2011 13:51:08 +0000 (15:51 +0200)]
Improved error messages on bake and show command failure

6 years agoSelf-contained parser and data classes for bakery config file
Esben Haabendal [Sun, 3 Jul 2011 13:55:03 +0000 (15:55 +0200)]
Self-contained parser and data classes for bakery config file

6 years agoBugfix, return non-zero if oebakery module cannot be imported
Esben Haabendal [Thu, 23 Jun 2011 11:33:45 +0000 (13:33 +0200)]
Bugfix, return non-zero if oebakery module cannot be imported

6 years agoBugfix, import bb.msg to not fail when setting debug_level
Esben Haabendal [Thu, 23 Jun 2011 11:32:46 +0000 (13:32 +0200)]
Bugfix, import bb.msg to not fail when setting debug_level

6 years agoparser-rewrite work in progress parser-rewrite
Esben Haabendal [Wed, 27 Apr 2011 19:33:57 +0000 (21:33 +0200)]
parser-rewrite work in progress

6 years agoparser rewrite work
Esben Haabendal [Thu, 7 Apr 2011 17:25:05 +0000 (19:25 +0200)]
parser rewrite work

6 years agonew parser rewrite in progress
Esben Haabendal [Sun, 3 Apr 2011 12:47:04 +0000 (14:47 +0200)]
new parser rewrite in progress

6 years agomoving stuff around....
Esben Haabendal [Sun, 3 Apr 2011 12:46:30 +0000 (14:46 +0200)]
moving stuff around....

6 years agofix exit code for update and init
Esben Haabendal [Mon, 7 Feb 2011 19:36:59 +0000 (20:36 +0100)]
fix exit code for update and init

6 years agocleanup: remove unneeded return
Esben Haabendal [Fri, 21 Jan 2011 14:54:38 +0000 (15:54 +0100)]
cleanup: remove unneeded return

6 years agoReturn 0 on success and error code on failure (bake and show)
Esben Haabendal [Fri, 21 Jan 2011 14:54:16 +0000 (15:54 +0100)]
Return 0 on success and error code on failure (bake and show)

6 years agoSet BBRECIPES instead of BBFILES and fixup BBPATH and sys.path settings
Esben Haabendal [Wed, 29 Dec 2010 09:00:55 +0000 (10:00 +0100)]
Set BBRECIPES instead of BBFILES and fixup BBPATH and sys.path settings

6 years agoFix clone of file url ending in .git/ without specifying destination dir
Esben Haabendal [Thu, 16 Dec 2010 09:42:18 +0000 (10:42 +0100)]
Fix clone of file url ending in .git/ without specifying destination dir

6 years agoFix setting of submodule urls (when remotes also defined)
Esben Haabendal [Thu, 16 Dec 2010 09:26:07 +0000 (10:26 +0100)]
Fix setting of submodule urls (when remotes also defined)

6 years agoMake sure TOPDIR is always set to absolute/real path (symlink extended)
Esben Haabendal [Wed, 8 Dec 2010 13:37:37 +0000 (14:37 +0100)]
Make sure TOPDIR is always set to absolute/real path (symlink extended)

6 years agorename OE_TOPDIR to TOPDIR
Esben Haabendal [Sat, 4 Dec 2010 16:05:01 +0000 (17:05 +0100)]
rename OE_TOPDIR to TOPDIR

6 years agoAdd show command and move parser.parse_args call to oe.py
Esben Haabendal [Sat, 4 Dec 2010 16:04:44 +0000 (17:04 +0100)]
Add show command and move parser.parse_args call to oe.py

6 years agoadd --debug / -d option support for bake command
Esben Haabendal [Fri, 3 Dec 2010 09:50:40 +0000 (10:50 +0100)]
add --debug / -d option support for bake command

6 years agoupdate: fix submodule handling (update/clone before config)
Esben Haabendal [Thu, 2 Dec 2010 15:47:12 +0000 (16:47 +0100)]
update: fix submodule handling (update/clone before config)

6 years agov1.0.0pre1
Esben Haabendal [Thu, 2 Dec 2010 14:52:35 +0000 (15:52 +0100)]
v1.0.0pre1

6 years agoUse BitBake from host for clone/init and else TOPDIR/bitbake/lib
Esben Haabendal [Thu, 2 Dec 2010 14:46:02 +0000 (15:46 +0100)]
Use BitBake from host for clone/init and else TOPDIR/bitbake/lib

6 years agoPass options and args to OEliteBaker constructor
Esben Haabendal [Thu, 2 Dec 2010 13:34:48 +0000 (14:34 +0100)]
Pass options and args to OEliteBaker constructor

7 years agochange output functions a bit bitbake-refactor
Esben Haabendal [Thu, 18 Nov 2010 22:08:22 +0000 (23:08 +0100)]
change output functions a bit

* allow debug() to be switched off
* don't prefix debug() and info() messages
* change die() prefix to FATAL:

7 years agoBitBake integration refactoring
Esben Haabendal [Tue, 16 Nov 2010 20:06:08 +0000 (21:06 +0100)]
BitBake integration refactoring

* use BitBake to parse configuration file
* import BitBake modules instead of calling bitbake command

7 years agoadd common debug, info, warn, err and die functions
Esben Haabendal [Tue, 16 Nov 2010 20:02:05 +0000 (21:02 +0100)]
add common debug, info, warn, err and die functions

7 years agoRevert "try out new way of executing sub commands"
Esben Haabendal [Tue, 21 Sep 2010 09:21:38 +0000 (11:21 +0200)]
Revert "try out new way of executing sub commands"

Did not work with all python versions.
The code module and it's InteractiveInterpreter should be tried used instead.

This reverts commit 4b83a8ac14eb44089327bd33105913560732cbdc.

7 years agoFix submodule init compatibility issue with older git versions
Esben Haabendal [Tue, 21 Sep 2010 09:04:58 +0000 (11:04 +0200)]
Fix submodule init compatibility issue with older git versions

7 years agotry out new way of executing sub commands
Esben Haabendal [Sat, 7 Aug 2010 14:56:40 +0000 (16:56 +0200)]
try out new way of executing sub commands

7 years agoremove misc.py
Esben Haabendal [Sat, 7 Aug 2010 14:55:45 +0000 (16:55 +0200)]
remove misc.py

7 years agoCleanup hack to be able to run from source directory
Esben Haabendal [Sat, 7 Aug 2010 14:55:26 +0000 (16:55 +0200)]
Cleanup hack to be able to run from source directory

* only add to path if oebakery could not be imported from default path

7 years agodebian/control: add automake and libtool to Depends
Esben Haabendal [Sat, 7 Aug 2010 14:53:43 +0000 (16:53 +0200)]
debian/control: add automake and libtool to Depends

7 years ago0.16.5
Esben Haabendal [Mon, 1 Feb 2010 13:53:22 +0000 (14:53 +0100)]
0.16.5

7 years agoAdd libncurses-dev dependency
Esben Haabendal [Mon, 1 Feb 2010 13:51:27 +0000 (14:51 +0100)]
Add libncurses-dev dependency

7 years agoHandle relative DL_DIR env variable
Esben Haabendal [Mon, 1 Feb 2010 13:43:04 +0000 (14:43 +0100)]
Handle relative DL_DIR env variable

7 years ago0.16.4
Esben Haabendal [Mon, 1 Feb 2010 09:44:19 +0000 (10:44 +0100)]
0.16.4

7 years agoSupport git versions without submodule update --recursive option
Esben Haabendal [Wed, 27 Jan 2010 12:13:09 +0000 (13:13 +0100)]
Support git versions without submodule update --recursive option