public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH 0/7] "apt-get source" fetch/unpack support
@ 2019-01-17 16:04 Henning Schild
  2019-01-17 16:04 ` [PATCH 1/7] conf: add deb-src entries to all our distro configs Henning Schild
                   ` (8 more replies)
  0 siblings, 9 replies; 28+ messages in thread
From: Henning Schild @ 2019-01-17 16:04 UTC (permalink / raw)
  To: isar-users; +Cc: Cedric Hombourger, Henning Schild

From: Henning Schild <henning.schild@siemens.com>

This series includes support for fetching upstream sources with "apt-get
source". This will make sure we fetch exactly what matches out distro,
without rewriting debian fetch/unpack logic.
I did consider implementing it as an "apt://" extension to the regular
fetcher but decided against that. You have to set SRC_APT and
effectively pass arguement to apt-get. That fetcher can only work in
packages and depends on buildchroot and mounting, so it can not be part
of the general fetcher. But maybe the general fetcher could ignore
"apt://" lines and this task will ignore anything but "apt://" so we can
still use SRC_URI instead of SRC_APT. Let us talk about the interface.
The documentation is still missing, but i thing it is ready for a first
review.

The idea and parts of the code came from Mentor.

Henning Schild (7):
  conf: add deb-src entries to all our distro configs
  dpkg-base: introduce an "apt-get source" fetch/unpack step
  meta: move debianization code into a class and into dpkg-base
  debianize: allow changlog version change
  meta-isar/recipes-app: add upstream hello rebuild example
  local.conf: remove example-hello from the default build
  local.conf: enable rebuilding "hello" for all distros

 meta-isar/conf/distro/debian-buster.list      |  3 +
 meta-isar/conf/distro/debian-jessie.list      |  3 +
 .../conf/distro/debian-stretch-backports.list |  1 +
 meta-isar/conf/distro/debian-stretch.list     |  3 +
 meta-isar/conf/distro/raspbian-jessie.list    |  1 +
 meta-isar/conf/local.conf.sample              |  2 +-
 meta-isar/recipes-app/hello/hello.inc         | 19 +++++
 meta-isar/recipes-app/hello/hello_2.10.bb     |  8 ++
 meta-isar/recipes-app/hello/hello_2.9.bb      |  8 ++
 meta/classes/debianize.bbclass                | 82 +++++++++++++++++++
 meta/classes/dpkg-base.bbclass                | 20 +++++
 meta/classes/dpkg-raw.bbclass                 | 76 -----------------
 12 files changed, 149 insertions(+), 77 deletions(-)
 create mode 100644 meta-isar/recipes-app/hello/hello.inc
 create mode 100644 meta-isar/recipes-app/hello/hello_2.10.bb
 create mode 100644 meta-isar/recipes-app/hello/hello_2.9.bb
 create mode 100644 meta/classes/debianize.bbclass

-- 
2.19.2


^ permalink raw reply	[flat|nested] 28+ messages in thread
* [PATCH 0/7] "apt-get source" fetch/unpack support
@ 2019-01-17 16:02 Henning Schild
  2019-01-17 16:05 ` Henning Schild
  0 siblings, 1 reply; 28+ messages in thread
From: Henning Schild @ 2019-01-17 16:02 UTC (permalink / raw)
  To: isar-users; +Cc: Cedric Hombourger, Henning Schild

From: Henning Schild <henning.schild@siemens.com>

This series includes support for fetching upstream sources with "apt-get
source". This will make sure we fetch exactly what matches out distro,
without rewriting debian fetch/unpack logic.
I did consider implementing it as an "apt://" extension to the regular
fetcher but decided against that. You have to set SRC_APT and
effectively pass arguement to apt-get. That fetcher can only work in
packages and depends on buildchroot and mounting, so it can not be part
of the general fetcher. But maybe the general fetcher could ignore
"apt://" lines and this task will ignore anything but "apt://" so we can
still use SRC_URI instead of SRC_APT. Let us talk about the interface.
The documentation is still missing, but i thing it is ready for a first
review.

The idea and parts of the code came from Mentor.

Henning Schild (7):
  conf: add deb-src entries to all our distro configs
  dpkg-base: introduce an "apt-get source" fetch/unpack step
  meta: move debianization code into a class and into dpkg-base
  debianize: allow changlog version change
  meta-isar/recipes-app: add upstream hello rebuild example
  local.conf: remove example-hello from the default build
  local.conf: enable rebuilding "hello" for all distros

 meta-isar/conf/distro/debian-buster.list      |  3 +
 meta-isar/conf/distro/debian-jessie.list      |  3 +
 .../conf/distro/debian-stretch-backports.list |  1 +
 meta-isar/conf/distro/debian-stretch.list     |  3 +
 meta-isar/conf/distro/raspbian-jessie.list    |  1 +
 meta-isar/conf/local.conf.sample              |  2 +-
 meta-isar/recipes-app/hello/hello.inc         | 19 +++++
 meta-isar/recipes-app/hello/hello_2.10.bb     |  8 ++
 meta-isar/recipes-app/hello/hello_2.9.bb      |  8 ++
 meta/classes/debianize.bbclass                | 82 +++++++++++++++++++
 meta/classes/dpkg-base.bbclass                | 20 +++++
 meta/classes/dpkg-raw.bbclass                 | 76 -----------------
 12 files changed, 149 insertions(+), 77 deletions(-)
 create mode 100644 meta-isar/recipes-app/hello/hello.inc
 create mode 100644 meta-isar/recipes-app/hello/hello_2.10.bb
 create mode 100644 meta-isar/recipes-app/hello/hello_2.9.bb
 create mode 100644 meta/classes/debianize.bbclass

-- 
2.19.2


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

end of thread, other threads:[~2019-01-30 13:58 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-17 16:04 [PATCH 0/7] "apt-get source" fetch/unpack support Henning Schild
2019-01-17 16:04 ` [PATCH 1/7] conf: add deb-src entries to all our distro configs Henning Schild
2019-01-17 16:04 ` [PATCH 2/7] dpkg-base: introduce an "apt-get source" fetch/unpack step Henning Schild
2019-01-28 17:06   ` Jan Kiszka
2019-01-28 17:12     ` Hombourger, Cedric
2019-01-28 17:13       ` Jan Kiszka
2019-01-30 13:57   ` [PATCHv2 " Henning Schild
2019-01-30 13:58     ` Henning Schild
2019-01-17 16:04 ` [PATCH 3/7] meta: move debianization code into a class and into dpkg-base Henning Schild
2019-01-17 16:04 ` [PATCH 4/7] debianize: allow changlog version change Henning Schild
2019-01-17 16:04 ` [PATCH 5/7] meta-isar/recipes-app: add upstream hello rebuild example Henning Schild
2019-01-30 13:06   ` [PATCHv2 " Henning Schild
2019-01-30 13:07     ` Henning Schild
2019-01-17 16:04 ` [PATCH 6/7] local.conf: remove example-hello from the default build Henning Schild
2019-01-28 17:08   ` Jan Kiszka
2019-01-29 11:14     ` Maxim Yu. Osipov
2019-01-17 16:04 ` [PATCH 7/7] local.conf: enable rebuilding "hello" for all distros Henning Schild
2019-01-29 11:20   ` Maxim Yu. Osipov
2019-01-30 13:04     ` Henning Schild
2019-01-17 16:38 ` [PATCH 0/7] "apt-get source" fetch/unpack support Henning Schild
2019-01-21  9:29   ` Claudius Heine
2019-01-28 17:17   ` Jan Kiszka
2019-01-28 16:57 ` Henning Schild
2019-01-30  6:43   ` Maxim Yu. Osipov
2019-01-30  9:15     ` Henning Schild
2019-01-30 12:24     ` Henning Schild
  -- strict thread matches above, loose matches on Subject: below --
2019-01-17 16:02 Henning Schild
2019-01-17 16:05 ` Henning Schild

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