Support ASV and USV like CSV #12635

Open
opened 2025-11-02 10:16:37 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @ptman on GitHub (Mar 13, 2024).

Feature Description

CSV is already supported. Similar support for ASV and USV would be great. https://github.com/sixarm/usv

Screenshots

No response

Originally created by @ptman on GitHub (Mar 13, 2024). ### Feature Description CSV is already supported. Similar support for ASV and USV would be great. https://github.com/sixarm/usv ### Screenshots _No response_
GiteaMirror added the type/proposal label 2025-11-02 10:16:37 -06:00
Author
Owner

@silverwind commented on GitHub (Mar 13, 2024):

There are numerous variants to CSV, like TSV (tabs), PSV (pipe). Maybe the separator characters should be configurable 😆.

@silverwind commented on GitHub (Mar 13, 2024): There are numerous variants to CSV, like TSV (tabs), PSV (pipe). Maybe the separator characters should be configurable 😆.
Author
Owner

@lunny commented on GitHub (Mar 13, 2024):

There are numerous variants to CSV, like TSV (tabs), PSV (pipe). Maybe the separator characters should be configurable 😆.

I think maybe we can have a guess.

@lunny commented on GitHub (Mar 13, 2024): > There are numerous variants to CSV, like TSV (tabs), PSV (pipe). Maybe the separator characters should be configurable 😆. I think maybe we can have a guess.
Author
Owner

@silverwind commented on GitHub (Mar 13, 2024):

Yeah, some of these formats have well-known file extensions, so it should be possible. Also it would help to know which formats GitHub or GitLab support.

@silverwind commented on GitHub (Mar 13, 2024): Yeah, some of these formats have well-known file extensions, so it should be possible. Also it would help to know which formats GitHub or GitLab support.
Author
Owner

@KN4CK3R commented on GitHub (Mar 13, 2024):

I already have implemented this:
712e19fa6f/modules/csv/csv.go (L53)

May have to re-check when we try to create a csv reader and what may be a delimiter.

@KN4CK3R commented on GitHub (Mar 13, 2024): I already have implemented this: https://github.com/go-gitea/gitea/blob/712e19fa6fbf2f1a5b0a471782d38a7d91e538ae/modules/csv/csv.go#L53 May have to re-check when we try to create a csv reader and what may be a delimiter.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#12635