- Improve summary, description and README.md a bit

- Mention bsc#1193428 in this changelog

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-docker_label_helper?expand=0&rev=4
This commit is contained in:
Fabian Vogt 2021-12-15 14:53:37 +00:00 committed by Git OBS Bridge
parent d31f24723b
commit 9a9b636ddd
4 changed files with 13 additions and 7 deletions

4
README
View File

@ -5,8 +5,8 @@ This service can be enabled to run during buildtime, when it will edit the
Dockerfile to expand the LABEL instruction.
A new syntax using entry/exit flags has been introduced to provide
compatibility with stock docker build command while allowing OBS
to add its prefix to existing LABEL instructions values.
compatibility with stock docker build command while allowing to add prefixed
labels based on existing LABEL instructions.
Both new and old syntax are supported, but you should not mix both in the
same Dockerfile.

View File

@ -1,4 +1,4 @@
<service name="docker_label_helper">
<summary>Allows automatic duplication of labels with a custom prefix.</summary>
<description>Expand LABEL instructions with mandatory openSUSE prefixes for Dockerfile.</description>
<summary>Add prefixed labels in Dockerfile builds</summary>
<description>An OBS service which expands LABEL instructions in Dockerfile with prefixes. Useful for implementing https://en.opensuse.org/Building_derived_containers#Labels.</description>
</service>

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Dec 15 14:52:19 UTC 2021 - Fabian Vogt <fvogt@suse.com>
- Improve summary, description and README.md a bit
- Mention bsc#1193428 in this changelog
-------------------------------------------------------------------
Fri Jul 23 08:50:08 UTC 2021 - Bruno Leon <bruno.leon@suse.com>

View File

@ -19,7 +19,7 @@
Name: obs-service-docker_label_helper
Version: 0.0
Release: 0
Summary: Service to duplicate labels with a custom prefix
Summary: OBS Service to add prefixed labels in Dockerfile builds
License: GPL-2.0-or-later
Group: Development/Tools/Building
URL: https://build.opensuse.org
@ -33,8 +33,8 @@ BuildArch: noarch
BuildRequires: diffutils
%description
This service can be used during buildtime to expand LABEL
instructions with mandatory openSUSE prefixes.
An OBS service which expands LABEL instructions in Dockerfile with prefixes.
Useful for implementing https://en.opensuse.org/Building_derived_containers#Labels.
%prep
%setup -q -D -T -n .