CLI: admin auth list missing space #4628

Closed
opened 2025-11-02 05:56:49 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @s-hamann on GitHub (Jan 11, 2020).

  • Gitea version (or commit ref): 1.11.0-rc1
  • Git version: 2.24.1
  • Operating system: Alpine Linux
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant

Description

The output of gitea admin auth list is missing a space between the Type and Enabled columns.
This make the output difficult to read and parse automatically.

Example output:

 ID Name   TypeEnabled
  1 Test OAuth2true

I see there is a \t in cmd\admin.go:L537, but somehow it does not make it to stdout.

Originally created by @s-hamann on GitHub (Jan 11, 2020). - Gitea version (or commit ref): 1.11.0-rc1 - Git version: 2.24.1 - Operating system: Alpine Linux - Database (use `[x]`): - [ ] PostgreSQL - [x] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [x] Not relevant ## Description The output of `gitea admin auth list` is missing a space between the `Type` and `Enabled` columns. This make the output difficult to read and parse automatically. Example output: ``` ID Name TypeEnabled 1 Test OAuth2true ``` I see there is a `\t` in `cmd\admin.go:L537`, but somehow it does not make it to stdout.
GiteaMirror added the type/enhancement label 2025-11-02 05:56:49 -06:00
Author
Owner

@stale[bot] commented on GitHub (Mar 12, 2020):

This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.

@stale[bot] commented on GitHub (Mar 12, 2020): This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.
Author
Owner

@s-hamann commented on GitHub (Mar 12, 2020):

I think this is still valid

@s-hamann commented on GitHub (Mar 12, 2020): I think this is still valid
Author
Owner

@stale[bot] commented on GitHub (Mar 26, 2020):

This issue has been automatically closed because of inactivity. You can re-open it if needed.

@stale[bot] commented on GitHub (Mar 26, 2020): This issue has been automatically closed because of inactivity. You can re-open it if needed.
Author
Owner

@s-hamann commented on GitHub (Mar 26, 2020):

Stale bot does not seem to work as stated. Could this please be re-opened?

@s-hamann commented on GitHub (Mar 26, 2020): Stale bot does not seem to work as stated. Could this please be re-opened?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#4628