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

Long filenames causing issues on Windows #6037

Closed
svrooij opened this issue Jan 18, 2025 · 2 comments
Closed

Long filenames causing issues on Windows #6037

svrooij opened this issue Jan 18, 2025 · 2 comments

Comments

@svrooij
Copy link

svrooij commented Jan 18, 2025

What are you generating using Kiota, clients or plugins?

API Client/SDK

In what context or format are you using Kiota?

Nuget tool

Client library/SDK language

Python

Describe the bug

Kiota generates to long filenames for some models in the Graph api.

Which causes issues when trying to install the python graph sdk on Windows without support for long filenames.

microsoftgraph/msgraph-sdk-python-core#338

Expected behavior

I expect the filenames of the models to be truncated to 30 (or other defined number) chars and then made unique.

How to reproduce

microsoftgraph/msgraph-sdk-python-core#338

Open API description file

Graph specs

Kiota Version

1.0.0

Latest Kiota version known to work for scenario above?(Not required)

No response

Known Workarounds

No response

Configuration

No response

Debug output

Click to expand log ```
</details>


### Other information

Personally I also faced this issue when I wanted to checkout the graph SDK for dotnet, but most SDKs are distributed compiled. In case of python the users of the api are faced with this issue as well, it no longer only bugs contributors but also end-users of the python sdk
@svrooij svrooij added status:waiting-for-triage An issue that is yet to be reviewed or assigned type:bug A broken experience labels Jan 18, 2025
@github-project-automation github-project-automation bot moved this to Needs Triage 🔍 in Kiota Jan 18, 2025
@msgraph-bot msgraph-bot bot added the Python label Jan 18, 2025
@baywet
Copy link
Member

baywet commented Jan 20, 2025

Hi @svrooij
Thank you for using kiota and for reaching out.

This is something we're unlikely to change at this point since:

Let us know if you have any additional comments or questions.

@baywet baywet added status:waiting-for-author-feedback Issue that we've responded but needs author feedback to close type:feature New experience request and removed type:bug A broken experience status:waiting-for-triage An issue that is yet to be reviewed or assigned labels Jan 20, 2025
@baywet baywet moved this from Needs Triage 🔍 to Waits for author 🔁 in Kiota Jan 20, 2025
@svrooij
Copy link
Author

svrooij commented Jan 20, 2025

I have no personal gain with this issue, I refuse to install python on Windows 😬

Those reasons are perfect to not do anything about this, just wanted to get this issue on the radar and maybe close the other issue (3y old), as you already done.

@svrooij svrooij closed this as not planned Won't fix, can't repro, duplicate, stale Jan 20, 2025
@microsoft-github-policy-service microsoft-github-policy-service bot removed the status:waiting-for-author-feedback Issue that we've responded but needs author feedback to close label Jan 20, 2025
@github-project-automation github-project-automation bot moved this from Waits for author 🔁 to Done ✔️ in Kiota Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done ✔️
Development

No branches or pull requests

2 participants