Accepting request 940750 from openSUSE:Tools

- Improve summary, description and README.md a bit
- Mention bsc#1193429 in this changelog

OBS-URL: https://build.opensuse.org/request/show/940750
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-docker_label_helper?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2021-12-16 01:00:54 +00:00 committed by Git OBS Bridge
commit 01be60c59a
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. Dockerfile to expand the LABEL instruction.
A new syntax using entry/exit flags has been introduced to provide A new syntax using entry/exit flags has been introduced to provide
compatibility with stock docker build command while allowing OBS compatibility with stock docker build command while allowing to add prefixed
to add its prefix to existing LABEL instructions values. labels based on existing LABEL instructions.
Both new and old syntax are supported, but you should not mix both in the Both new and old syntax are supported, but you should not mix both in the
same Dockerfile. same Dockerfile.

View File

@ -1,4 +1,4 @@
<service name="docker_label_helper"> <service name="docker_label_helper">
<summary>Allows automatic duplication of labels with a custom prefix.</summary> <summary>Add prefixed labels in Dockerfile builds</summary>
<description>Expand LABEL instructions with mandatory openSUSE prefixes for Dockerfile.</description> <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> </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#1193429 in this changelog
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jul 23 08:50:08 UTC 2021 - Bruno Leon <bruno.leon@suse.com> 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 Name: obs-service-docker_label_helper
Version: 0.0 Version: 0.0
Release: 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 License: GPL-2.0-or-later
Group: Development/Tools/Building Group: Development/Tools/Building
URL: https://build.opensuse.org URL: https://build.opensuse.org
@ -33,8 +33,8 @@ BuildArch: noarch
BuildRequires: diffutils BuildRequires: diffutils
%description %description
This service can be used during buildtime to expand LABEL An OBS service which expands LABEL instructions in Dockerfile with prefixes.
instructions with mandatory openSUSE prefixes. Useful for implementing https://en.opensuse.org/Building_derived_containers#Labels.
%prep %prep
%setup -q -D -T -n . %setup -q -D -T -n .