All of lore.kernel.org
 help / color / mirror / Atom feed
* design question: should layer.conf contain "PREFERRED_VERSION" settings?
@ 2017-03-22 11:14 Robert P. J. Day
  2017-03-22 11:19 ` Burton, Ross
  0 siblings, 1 reply; 14+ messages in thread
From: Robert P. J. Day @ 2017-03-22 11:14 UTC (permalink / raw)
  To: OE Core mailing list


  i'm just adding some content to intro OE/YP wiki pages about what
various OE files should contain, and what they shouldn't contain, and
this is the layer.conf file for the meta-openstack layer:

  # We have a conf and classes directory, append to BBPATH
  BBPATH .= ":${LAYERDIR}"

  # We have a recipes directory, add to BBFILES
  BBFILES += "${LAYERDIR}/recipes*/*/*.bb
  ${LAYERDIR}/recipes*/*/*.bbappend"

  BBFILE_COLLECTIONS += "openstack-layer"
  BBFILE_PATTERN_openstack-layer := "^${LAYERDIR}/"
  BBFILE_PRIORITY_openstack-layer = "5"

  BB_DANGLINGAPPENDS_WARNONLY ?= "true"

  # pre 0.4.0 greenlet versions segfault python
  PREFERRED_VERSION_python-greenlet = "0.4.5"
  PREFERRED_VERSION_python-sqlalchemy = "1.0.8"
  PREFERRED_VERSION_python-pexpect = "3.3"
  PREFERRED_VERSION_python-futures = "3.0.3%"
  PREFERRED_VERSION_python-django = "1.8.6"
  PREFERRED_VERSION_python-netaddr = "0.7.19"
  PREFERRED_VERSION_python-sqlalchemy = "1.0.16"
  PREFERRED_VERSION_python-requests = "2.12.0"
  PREFERRED_VERSION_python-amqp = "1.4.9"
  PREFERRED_VERSION_python-kombu = "3.0.%"

so, just to be clear, the simple act of adding that layer to a
project's bblayers.conf file will cause those preferred versions to
be selected, correct?

  is that considered good design? in a perfect world, i've always
believed that you should be able to load up your bblayers.conf file
with as many extraneous layers as you want and (well, with some
exceptions), if you choose not to take advantage of the contents of a
layer, it shouldn't hurt you.

  so doesn't the above lock you into those preferred versions,
regardless of whether you use anything from the meta-openstack layer
or not? wouldn't those selections be properly placed elsewhere in the
layer, and not in layer.conf?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================



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

end of thread, other threads:[~2017-03-24 13:55 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-22 11:14 design question: should layer.conf contain "PREFERRED_VERSION" settings? Robert P. J. Day
2017-03-22 11:19 ` Burton, Ross
2017-03-22 11:57   ` Bruce Ashfield
2017-03-22 12:02     ` Burton, Ross
2017-03-22 12:14       ` Bruce Ashfield
2017-03-22 12:24         ` Robert P. J. Day
2017-03-22 12:33           ` Bruce Ashfield
2017-03-22 12:53             ` Robert P. J. Day
2017-03-22 14:59             ` Richard Purdie
2017-03-22 15:44               ` Burton, Ross
2017-03-22 16:32                 ` Richard Purdie
2017-03-24 13:54                   ` Burton, Ross
2017-03-22 17:02                 ` Bruce Ashfield
2017-03-22 15:37             ` Daniel Dickinson

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.