Openembedded Core Discussions
 help / color / mirror / Atom feed
* [RFC PATCH 0/3] WIP: add ability to reduce package feed churn
@ 2015-09-08 13:41 Paul Eggleton
  2015-09-08 13:41 ` [RFC PATCH 1/3] classes/sstate: break out function to get sstate manifest filename Paul Eggleton
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Paul Eggleton @ 2015-09-08 13:41 UTC (permalink / raw)
  To: openembedded-core

Based on some earlier thinking / work done by Richard Purdie and Randy Witt
I've been looking into how we could avoid newly versioned but otherwise
functionally identical packages built solely because of changes in
recipe dependencies entering the package feed (thus triggering unnecessary
upgrades on target). I've come up with a class that you can enable that
makes use of build-compare to compare the new package to one that was
previously generated and skip adding it to the feed if it hasn't
materially changed.

I suspect we may be able to go further than this in future so this isn't
necessarily the end game in terms of reducing the impact of signature
changes, but it's a start. More concretely I am a bit concerned that
build-compare itself needs further work, I am seeing errors in the task
logs that aren't causing the task to fail, probably the script needs
set -e at minimum (and the errors themselves need fixing). I wanted to
give people a bit of a preview of this though as it does have the
potential to be quite useful assuming the approach makes sense.



Please review the following changes for suitability for inclusion. If you have
any objections or suggestions for improvement, please respond to the patches.


The following changes since commit 8402958cd2cb87b8283c8ee4e2d08e1a6717d67a:

  pseudo_1.7.3.bb: New version of pseudo (2015-09-06 15:24:28 +0100)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib paule/packagefeed-stability
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/packagefeed-stability

Paul Eggleton (3):
  classes/sstate: break out function to get sstate manifest filename
  build-compare: add support for examining deb and ipk packages
  WIP: classes/packagefeed-stability: add class to help reduce package
    feed churn

 meta/classes/packagefeed-stability.bbclass         | 270 +++++++++++++++++++++
 meta/classes/sstate.bbclass                        |   7 +-
 meta/lib/oe/sstatesig.py                           |  12 +
 .../build-compare/build-compare_git.bb             |   8 +-
 ...001-Add-support-for-deb-and-ipk-packaging.patch |  64 +++++
 5 files changed, 353 insertions(+), 8 deletions(-)
 create mode 100644 meta/classes/packagefeed-stability.bbclass
 create mode 100644 meta/recipes-devtools/build-compare/files/0001-Add-support-for-deb-and-ipk-packaging.patch

-- 
2.1.0



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

end of thread, other threads:[~2015-09-08 15:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-08 13:41 [RFC PATCH 0/3] WIP: add ability to reduce package feed churn Paul Eggleton
2015-09-08 13:41 ` [RFC PATCH 1/3] classes/sstate: break out function to get sstate manifest filename Paul Eggleton
2015-09-08 13:41 ` [RFC PATCH 2/3] build-compare: add support for examining deb and ipk packages Paul Eggleton
2015-09-08 13:41 ` [RFC PATCH 3/3] WIP: classes/packagefeed-stability: add class to help reduce package feed churn Paul Eggleton
2015-09-08 14:09   ` Mark Hatle
2015-09-08 15:03     ` Paul Eggleton
2015-09-08 15:47       ` Mark Hatle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox