kubernetes-client / c

Official C client library for Kubernetes
Apache License 2.0
144 stars 46 forks source link

[Backlog] Create the .deb/.rpm package for the C client library #81

Closed ityuhui closed 2 years ago

ityuhui commented 2 years ago

Let's create the .deb package firstly.

brendandburns commented 2 years ago

Sound good to me, what distros should we target? I suggest Ubuntu 18/20 and Debian 9/10

brendandburns commented 2 years ago

We should also formalize the semantic versioning and things like release tags in the git repo.

Perhaps the right thing to do is to write a markdown doc describing the process first, and then implement it?

ityuhui commented 2 years ago

Sound good to me, what distros should we target? I suggest Ubuntu 18/20 and Debian 9/10

I agree. Let's support below 4 distros (x86_64 only)

ityuhui commented 2 years ago

We should also formalize the semantic versioning and things like release tags in the git repo.

Perhaps the right thing to do is to write a markdown doc describing the process first, and then implement it?

Sure. Would you like draft the doc ? Or could you please give me a reference doc that other project is using and I will draft it.

brendandburns commented 2 years ago

Here's an example from the Java project:

https://github.com/kubernetes-client/java/wiki/2.-Versioning-and-Compatibility

Thanks!

ityuhui commented 2 years ago

Got it. I will do it.

ahmedyarub commented 2 years ago

are you going to use CPack?

ityuhui commented 2 years ago

I haven't started building the package.

Do you think CPack is better than official debmake for the C client library ?

ahmedyarub commented 2 years ago

I haven't started building the package.

Do you think CPack is better than official debmake for the C client library ?

Because CPack can generate deb files in addition to many other formats https://cmake.org/cmake/help/latest/manual/cpack-generators.7.html

ityuhui commented 2 years ago

@ahmedyarub Great ! I will take a look at this solution.

ityuhui commented 2 years ago

https://github.com/kubernetes-client/c/pull/94 has delivered the feature of deb package.

k8s-triage-robot commented 2 years ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

ityuhui commented 2 years ago

The deb package can now be created. The rpm package will be supported if needed.