From: Henning Schild <henning.schild@siemens.com>
To: isar-users@googlegroups.com
Cc: Silvano Cirujano Cuesta <silvano.cirujano-cuesta@siemens.com>,
Henning Schild <henning.schild@siemens.com>
Subject: [PATCH v4 0/5] Allow better control over container tags
Date: Thu, 5 Aug 2021 17:57:16 +0200 [thread overview]
Message-ID: <20210805155721.11872-1-henning.schild@siemens.com> (raw)
changed since v3:
- only naming and docs
- rename variables again, patter is "class prefix"+"docker name"
- docker calls the bits of a tag "TARGET_IMAGE[:TAG]"
- prefix is "CONTAINER_IMAGE"
- also rename CONTAINER_FORMATS to CONTAINER_IMAGE_FORMATS in p4
- fix docs in p4
changes since v2:
- use CONTAINER_TARGET_IMAGE instead of CONTAINER_IMAGE_NAME
- update docs
changes since v1:
- add RECIPE-API-CHANGELOG entry for interface change in p3
--
A container tags consists of "name:tag" and both have been kind of
hardcoded so far. "tag" was always "latest" which is not proper
versioning. And "name" has always been "isar-DISTRO-ARCH" which is also
not proper because the name should probably describe the content and not
so much the build system. Plus that name means guaranteed collision if
you build two containers with isar based on the same disto and arch.
Henning Schild (5):
classes: make sure container extension can run multiple times
classes: simplify tag handling in container class
classes: allow more control over container image name and tag
classes: rename CONTAINER_FORMATS to CONTAINER_IMAGE_FORMATS
classes: fix comment in container-img class
RECIPE-API-CHANGELOG.md | 8 +++++
doc/user_manual.md | 16 +++++-----
meta/classes/container-img.bbclass | 10 +++----
.../classes/image-container-extension.bbclass | 29 ++++++++++---------
meta/classes/image-sdk-extension.bbclass | 2 +-
5 files changed, 36 insertions(+), 29 deletions(-)
--
2.31.1
next reply other threads:[~2021-08-05 15:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-05 15:57 Henning Schild [this message]
2021-08-05 15:57 ` [PATCH v4 1/5] classes: make sure container extension can run multiple times Henning Schild
2021-08-05 15:57 ` [PATCH v4 2/5] classes: simplify tag handling in container class Henning Schild
2021-08-05 15:57 ` [PATCH v4 3/5] classes: allow more control over container image name and tag Henning Schild
2021-08-05 15:57 ` [PATCH v4 4/5] classes: rename CONTAINER_FORMATS to CONTAINER_IMAGE_FORMATS Henning Schild
2021-08-05 15:57 ` [PATCH v4 5/5] classes: fix comment in container-img class Henning Schild
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210805155721.11872-1-henning.schild@siemens.com \
--to=henning.schild@siemens.com \
--cc=isar-users@googlegroups.com \
--cc=silvano.cirujano-cuesta@siemens.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox