Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

schema/fs: Drop *.go files #605

Merged
merged 1 commit into from
Mar 10, 2017
Merged

Conversation

wking
Copy link
Contributor

@wking wking commented Mar 9, 2017

With:

$ go get -u github.com/mjibson/esc
$ make schema/fs.go

now that #538 has landed.

With:

  $ go get -u github.com/mjibson/esc
  $ make schema/fs.go

now that 6f633c2 (schema/gen: Include .json instead of excluding .go,
2017-01-27, opencontainers#538) has landed.

Signed-off-by: W. Trevor King <wking@tremily.us>
@vbatts
Copy link
Member

vbatts commented Mar 9, 2017

while i like this idea, this also means the code can not be go getten and vendor'ed, right?

@wking
Copy link
Contributor Author

wking commented Mar 9, 2017 via email

@vbatts
Copy link
Member

vbatts commented Mar 9, 2017

k. Prolly should add it to .gitignore too

@wking
Copy link
Contributor Author

wking commented Mar 9, 2017

Prolly should add it to .gitignore too

? fs.go is still in version control after this commit. I an only removing some unused content from fs.go. What would I add to .gitignore?

@vbatts
Copy link
Member

vbatts commented Mar 9, 2017

i misunderstood. I thought (hoped?) you meant that schema/fs.go is removed and only generated as needed.

@wking
Copy link
Contributor Author

wking commented Mar 9, 2017

...only generated as needed

Well, only generated when .json changes (#538) should help a bit ;).

@jonboulle
Copy link
Contributor

jonboulle commented Mar 10, 2017

LGTM

I thought (hoped?) you meant that schema/fs.go is removed and only generated as needed.

we could try this elsewhere but this change is fine for now

Approved with PullApprove

@vbatts
Copy link
Member

vbatts commented Mar 10, 2017

LGTM

Approved with PullApprove

@vbatts vbatts merged commit 39825f9 into opencontainers:master Mar 10, 2017
@wking wking deleted the cleanup-fs.go branch March 17, 2017 22:12
@vbatts vbatts mentioned this pull request May 19, 2017
wking added a commit to wking/image-spec that referenced this pull request Sep 18, 2017
…ure"

Adjusting wording we've been carrying since 9bb56d8 (image-layout:
add an initial image layout spec, 2016-05-26, opencontainers#605).

On Windows, an unpacked layout will use backslashes.  Layouts really
don't care what the directory separator is, and each access method
(filesytem access, tar unpacker, etc.) already has an unambiguous
separator character.

Signed-off-by: W. Trevor King <wking@tremily.us>
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.

3 participants