Skip to content

Convert project_name to lowercase - #568

Merged
aanand merged 1 commit into
docker:masterfrom
Aigeruth:fix/project_name
Jan 12, 2015
Merged

aanand merged 1 commit into
docker:masterfrom
Aigeruth:fix/project_name

Conversation

@Aigeruth

Copy link
Copy Markdown
$ fig up
Creating FIGtest_test_1...
Building test...
Invalid repository name (FIGtest_test), only [a-z0-9-_.] are allowed
$ cat fig.yml 
test:
  build: test/
$ cat test/Dockerfile 
FROM scratch
$ basename $(pwd)
FIG-test

IMHO . and - could be allowed in the a normalize_name method too. What is your opinion?

@dnephin

dnephin commented Oct 21, 2014

Copy link
Copy Markdown

Uppercase letters should actually be supported, this is a bug in docker 1.3 API , see #541

@Aigeruth

Copy link
Copy Markdown
Author

@dnephin Thank you for your answer! How about the dot and the dash characters? Should I modify this pull request to allow them (and restore the uppercase support)?

@drewwells

Copy link
Copy Markdown

This lowercase fix would be beneficial to my organization adopting fig. Are there any plans to ship a release with it?

@dnephin

dnephin commented Jan 12, 2015

Copy link
Copy Markdown

It looks like this hasn't changed in docker 1.4.1, so it's probably safe to assume this restriction is staying around. We should probably get this merged.

LGTM

@bfirsh @aanand

@aanand

aanand commented Jan 12, 2015

Copy link
Copy Markdown

LGTM

aanand added a commit that referenced this pull request Jan 12, 2015
Convert project_name to lowercase
@aanand
aanand merged commit 4827e60 into docker:master Jan 12, 2015
@dnephin dnephin added this to the 1.1.0 milestone Jan 12, 2015
@drewwells

Copy link
Copy Markdown

Woot!
On Mon, Jan 12, 2015 at 10:24 AM Aanand Prasad [email protected]
wrote:

LGTM

—
Reply to this email directly or view it on GitHub
#568 (comment).

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.

4 participants