-
Notifications
You must be signed in to change notification settings - Fork 687
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
Conversation
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>
while i like this idea, this also means the code can not be |
On Thu, Mar 09, 2017 at 11:07:37AM -0800, Vincent Batts wrote:
while i like this idea, this also means the code can not be `go
get`ten and vendor'ed, right?
This has no impact on ‘go get’, since all the schema/*.go is still
there. All I'm doing is removing *.go which had been bundled into
fs.go. All we use fs.go for is the *.json files, and those are
still there [1].
[1]: https://github.com/wking/image-spec/blob/5e79bb5ba4c9ab85f6e115372cb9608750dceab4/schema/fs.go#L205
|
k. Prolly should add it to |
? |
i misunderstood. I thought (hoped?) you meant that schema/fs.go is removed and only generated as needed. |
Well, only generated when |
…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>
With:
now that #538 has landed.