All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH 0/3] Add bits to save/restore URI headrevs
@ 2015-12-15 19:37 Christopher Larson
  2015-12-15 19:37 ` [meta-oe][PATCH 1/3] oe: add python namespace package Christopher Larson
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Christopher Larson @ 2015-12-15 19:37 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Christopher Larson

From: Christopher Larson <chris_larson@mentor.com>

This is useful to support BB_NO_NETWORK with AUTOREV, by letting someone ship
dumped headrevs to the user, who then inherit this class, which ensures that
the cached headrevs are used, and upstream is not contacted at parse time.
BB_SRCREV_POLICY will be set to "cache" as well, if it's not already set, as
otherwise bitbake will contact upstream to update the cached values.

This is helpful when shipping downloads to someone when there's a desire to
support both BB_NO_NETWORK and AUTOREV.

The restore_headrevs.bbclass will restore dumped headrevs at config parse time
(add to INHERIT), and the oe.headrevs python module provides a function one
can call to dump the headrevs.

The following changes since commit 62bfd1f93f8873611e818c7cc8c13a761d629502:

  wireshark: update to version 2.0.0 (2015-11-30 14:39:59 -0500)

are available in the git repository at:

  git://github.com/kergoth/meta-openembedded.git headrevs
  https://github.com/kergoth/meta-openembedded/tree/headrevs

Christopher Larson (3):
  oe: add python namespace package
  oe.headrevs: save and restore the bitbake URI headrevs
  restore_headrevs.bbclass: add

 meta-oe/classes/restore_headrevs.bbclass | 32 +++++++++++++++++++++++++++
 meta-oe/lib/oe/__init__.py               |  2 ++
 meta-oe/lib/oe/headrevs.py               | 38 ++++++++++++++++++++++++++++++++
 3 files changed, 72 insertions(+)
 create mode 100644 meta-oe/classes/restore_headrevs.bbclass
 create mode 100644 meta-oe/lib/oe/__init__.py
 create mode 100644 meta-oe/lib/oe/headrevs.py

-- 
2.2.1



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-12-15 20:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-15 19:37 [meta-oe][PATCH 0/3] Add bits to save/restore URI headrevs Christopher Larson
2015-12-15 19:37 ` [meta-oe][PATCH 1/3] oe: add python namespace package Christopher Larson
2015-12-15 19:37 ` [meta-oe][PATCH 2/3] oe.headrevs: save and restore the bitbake URI headrevs Christopher Larson
2015-12-15 19:37 ` [meta-oe][PATCH 3/3] restore_headrevs.bbclass: add Christopher Larson
2015-12-15 19:49 ` [meta-oe][PATCH 0/3] Add bits to save/restore URI headrevs Martin Jansa
2015-12-15 20:40   ` Christopher Larson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.