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

Add go.mod #192

Closed
wants to merge 1 commit into from
Closed

Conversation

ashokponkumar
Copy link
Contributor

Signed-off-by: Ashok Pon Kumar ashokponkumar@gmail.com

@jdolitsky
Copy link
Member

@ashokponkumar was this required for you to use some of the Go libs in this repo?

@ashokponkumar
Copy link
Contributor Author

@ashokponkumar was this required for you to use some of the Go libs in this repo?

Not for this repo specifically. I am using the runtime-spec in https://github.ibm.com/app-modernization/move2kube/blob/master/go.mod and I noticed that some of the other spec's were missing the go.mod and that it might create a problem once we hit v2, hence added them and raised the pull request.

Copy link
Member

@mikebrow mikebrow left a comment

Choose a reason for hiding this comment

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

see questions comments...

@@ -0,0 +1,3 @@
module github.com/opencontainers/distribution-spec
Copy link
Member

Choose a reason for hiding this comment

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

Should this be based off go mod init specs-go/specs As there are no go files in the root or packages..

resulting in module specs-go/specs

Copy link
Member

Choose a reason for hiding this comment

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

have you tested it over in another repo? I didn't try this out..

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We can evolve it similar to opencontainers/runtime-spec#1069

@ashokponkumar
Copy link
Contributor Author

Thanks @mikebrow for the comments. @thaJeztah has created a proposal for a similar PR in runtime-spec in opencontainers/runtime-spec#1069. Based on how that proposal evolves, I can appropriately make the changes here.

Signed-off-by: Ashok Pon Kumar <ashokponkumar@gmail.com>
@vbatts
Copy link
Member

vbatts commented Jan 28, 2021

Is this still needed?

@thaJeztah
Copy link
Member

I think this is still desirable, but some discussion needed on the approach (go.mod in subdirectory, not at the top, and potentially separate versioning to allow fixes that only affect the go-code, not the spec itself); #192 (comment)

Thanks @mikebrow for the comments. @thaJeztah has created a proposal for a similar PR in runtime-spec in opencontainers/runtime-spec#1069. Based on how that proposal evolves, I can appropriately make the changes here.

Base automatically changed from master to main March 9, 2021 17:38
Copy link
Member

@vbatts vbatts left a comment

Choose a reason for hiding this comment

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

🎇

@vbatts
Copy link
Member

vbatts commented Jun 23, 2021

maybe better if someone carries this and put's the go.mod in the right place

@vbatts
Copy link
Member

vbatts commented Jun 23, 2021

closing in favor of #283

@vbatts vbatts closed this Jun 23, 2021
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.

5 participants