-
Notifications
You must be signed in to change notification settings - Fork 59
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 license entries and dependency upper bounds #27
Conversation
Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA. It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: alexjg If they are not already assigned, you can assign the PR to them by writing The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
The test failures are |
@alexjg Can you enlighten me on how you came up with these bounds? This is a question that has always puzzled me. |
fyi - since |
@guoshimin sadly I basically guessed them by just pulling whatever the current latest on Hackage is. If there's another way of doing it I would be happy to do that. As far as I can tell though dependency resolution problems like this are hard, boring, and not going away 🙁 @jonschoning Ah, for some reason didn't realise the kubernetes.cabal was autogenerated. Shall I move this stuff to General FYI: I'm not an expert at Haskell packaging or anything, just keen to use this project and happy to do the donkey work to get it pushed to Hackage so just let me know things that need doing. |
@jonschoning How exactly is |
There is some brief documentation at
https://github.com/kubernetes-client/haskell/blob/master/README.md. I'll
give you the full instructions when I get in front of a computer.
…On Fri, Nov 2, 2018, 4:01 AM alexjg ***@***.*** wrote:
@jonschoning <https://github.com/jonschoning> How exactly is
kubernetes/kubernetes.cabal generated? There's no script in the repo that
I can see so I assume by manually runing swagger-codegen?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#27 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALPcHSxHEgnbt1byg8zgsDkaWNKvTsrxks5urCYngaJpZM4YHJLQ>
.
|
Is the intention to publish 5 packages to Hackage? How will users know they are related, or which ones to use? |
Good point, I had assumed multiple packages based on the existing directory layout. If we want to merge them I guess we would need to do some restructuring. Alternatively, multiple packages doesn't seem to be uncommon, e.g Servant has servant, servant-server, servant-client etc. |
I don't think they can be merged into 1, at least not the auto-gen'd package. but users will have to know to use |
Also, not sure if the root |
I was thinking we can have two packages: kubernetes-openapi that is auto generated, and all the hand-written code in another package. @jonschoning you made some change to swagger-codegen to add the ability to customize the package name, right? And we can write a README.md page for the codegen'ed package to point users to the entrypoint and configure the codegen process to not override the README.md. @alexjg sorry this is turning into kind of a rabbit hole :p |
yes, the generator can customize the base module name and the cabal package name, and cabal package version independantly with CLI params
you can view all the config params with the arguments
|
@guoshimin Fine by me, I'm happier to go down a rabbit hole then for no one to respond :) How do you propose we configure the codegen process to not overwrite |
Looks like it's already configured to not overwrite README.md here https://github.com/kubernetes-client/haskell/blob/master/kubernetes/.swagger-codegen-ignore |
Okay that makes sense. Would that mean consolidating |
What is currently missing for getting this published? I'd be happy to help if you can direct me where help is needed. Regarding the naming I think the |
Sorry it's my fault for not moving it forward. Haven't been able to find time to work on it recently. The plan it to have a package named |
@guoshimin no worries...just wondering if I can help somehow. Let me know. |
@guoshimin is this PR still relevant given that #31 was merged? |
yeah, the changes here need to be adapted for #33 |
@alexjg Do you want to take another look at this? The package structure is now stable. |
Yep, happy to have another look. As far as I can see there are only two libraries missing version bounds. Now ( |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Yes, ideally. /remove-lifecycle stale |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@alexjg: PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closed this PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
I'm making a start on getting this into Hackage to help with #5 . I'm assuming one of the project maintainers will want to actually push the thing to Hackage. I'm getting a bunch of failing tests but they're also failing on
master
so will look into that separately.All I've done here is add upper counds for dependencies as per the hackage guildelines and add a bunch of license references. Do we need to do anything else?