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 KubernetesClient.Aot to support Aot #1498

Merged
merged 21 commits into from
Jan 29, 2024

Conversation

tg123
Copy link
Member

@tg123 tg123 commented Jan 13, 2024

#1395

the main project cannot support aot due to dependencies or some dynamic requirements, for example crd json/yaml serialization
the solution now is doing the same as .Classic, to create a separate project, trim aot non friendly features

Known unsupported features

  • Watch
  • LeaderElection (watch related)
  • Customized Patch Object

@brendanburns please also register KubernetesClient.Aot to nuget.org

@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Jan 13, 2024
@codecov-commenter
Copy link

codecov-commenter commented Jan 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (master@1cae561). Click here to learn what that means.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #1498   +/-   ##
=========================================
  Coverage          ?   70.46%           
=========================================
  Files             ?       89           
  Lines             ?     2641           
  Branches          ?      552           
=========================================
  Hits              ?     1861           
  Misses            ?      780           
  Partials          ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tg123 tg123 marked this pull request as ready for review January 14, 2024 12:33
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 14, 2024
@guillaume-chervet
Copy link

@tg123 I hope you will succeed :)

I'am waiting a lot for this awesome PullRequest :)

@tg123
Copy link
Member Author

tg123 commented Jan 17, 2024

i am also working on making watch for aot
need some big refactor and will try to merge 2 projects together

@brendandburns
Copy link
Contributor

I need a .nuget file to add it to nuget.org. Shall I wait until this merges?

@tg123
Copy link
Member Author

tg123 commented Jan 22, 2024

lets merge first and get nuget from github action

@guillaume-chervet
Copy link

@tg123 it would be awesome :)

@brendandburns
Copy link
Contributor

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jan 29, 2024
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: brendandburns, tg123

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:
  • OWNERS [brendandburns,tg123]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit 00c4c6f into kubernetes-client:master Jan 29, 2024
14 checks passed
</ItemGroup>

<ItemGroup>
<Reference Include="System.Net.Http" Condition="'$(TargetFramework)' == 'net48'" />
Copy link
Contributor

@WeihanLi WeihanLi Jan 30, 2024

Choose a reason for hiding this comment

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

Seemed this can be removed since we target for net8.0 only for this project

Copy link
Member Author

Choose a reason for hiding this comment

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

thanks, copy paste issue, will fix it

@guillaume-chervet
Copy link

Thank you @tg123 will test it today :)

@tg123
Copy link
Member Author

tg123 commented Jan 30, 2024

@guillaume-chervet thank you

@tg123 tg123 deleted the aotfinal branch January 9, 2025 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants