Skip to content

generation - Shorten File Names for Ruby #58

Description

@rkodev

What are you generating using Kiota, clients or plugins?

API Client/SDK

In what context or format are you using Kiota?

Source Build

Client library/SDK language

Ruby

Describe the bug

Ruby gem has a limitation of 100 characters in files names including the folder path due to limitations on the tar library. We need to add this to the ruby generator to limit the file name length.

Current file lengths are causing failure in packaging any gems that have longer than 100 characters in the filename. e.g example build

Expected behavior

We should hash out files with long names and shrten them

How to reproduce

attempt to build https://github.com/microsoftgraph/msgraph-beta-sdk-ruby locally

Open API description file

No response

Kiota Version

v1.24.3

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

_No response_

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedStandard GitHub labelrubyPull requests that update Ruby codetype:bugA broken experience

    Type

    No type

    Projects

    • Status
      New📃

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions