Skip to content

Conversation

@crazy-max
Copy link
Member

common.mk Outdated
BUILDTIME=$(shell date -u -d "@$${SOURCE_DATE_EPOCH:-$$(date +%s)}" --rfc-3339 ns 2> /dev/null | sed -e 's/ /T/')
CHOWN:=docker run --rm -v $(CURDIR):/v -w /v alpine chown
DEFAULT_PRODUCT_LICENSE:=Community Engine
COMPANY_NAME:=Docker, Inc.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perhaps it should be empty by default (but we can set it in our internal pipeline)
that way, someone using the code from this repository doesn't set docker's name as packager

@thaJeztah
Copy link
Member

I just realised we discussed naming of this variable on Slack, but already used COMPANY_NAME on the cli. Do you think PACKAGER_NAME would be more clear on intent (and possibly better reusable also for rpm/deb)? I opened a quick PR on the cli to change the variable there; docker/cli#3500

@crazy-max crazy-max marked this pull request as ready for review March 27, 2022 09:16
@thaJeztah thaJeztah changed the title [master] makefile: add company name common variable [master] makefile: add PACKAGER_NAME common variable Mar 27, 2022
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thaJeztah thaJeztah merged commit 8448ce4 into docker:master Mar 27, 2022
@crazy-max crazy-max deleted the company-name branch March 27, 2022 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants