headscale icon indicating copy to clipboard operation
headscale copied to clipboard

V0.26 Route List formatting

Open craig4who opened this issue 7 months ago • 12 comments

Is this a support request?

  • [x] This is not a support request

Is there an existing issue for this?

  • [x] I have searched the existing issues

Current Behavior

When running the command

headscale nodes list-routes

If you have lots of routes the formatting of the display is hard to read and understand, making it impossible to know what’s in the DB.

Expected Behavior

When running the command as previously done with 0.25.1 when listing the routes you can easily see what routes are pending in order to load them into the DB.

Steps To Reproduce

Tried running with column t at the end it looks a little bit better but not 100%

Environment

- OS: Ubuntu 22.04.5 LTS
- Headscale version: 0.26
- Tailscale version: latest

Runtime environment

  • [ ] Headscale is behind a (reverse) proxy
  • [ ] Headscale runs in a container

Debug information

NA

craig4who avatar May 18 '25 18:05 craig4who

maybe it helps to pipe to | less -S ?

hanjo avatar May 19 '25 10:05 hanjo

No that didnt help :-( Have you got the version installed and tried it? Do you know what i mean?

craig4who avatar May 19 '25 10:05 craig4who

It won't return to the old format, but maybe it could wrap/fold inside each column

kradalby avatar May 19 '25 12:05 kradalby

Are you getting the same thing? Can you see what i mean?

craig4who avatar May 19 '25 13:05 craig4who

I dont have a lot of routes, it would be helpful with a few screenshots

kradalby avatar May 20 '25 06:05 kradalby

https://media.discordapp.net/attachments/896711692120129540/1373056459264495636/IMG_8678.jpg?ex=682cfa7a&is=682ba8fa&hm=0c8edb42b6b06e462d40244da165e15a1d56be6ac16860b1b2e464b9acc5c091&=&format=webp&width=1280&height=960

craig4who avatar May 20 '25 08:05 craig4who

Let me know if you need anymore. I personally rolled back but i can upgrade again.

craig4who avatar May 20 '25 08:05 craig4who

Image

craig4who avatar May 24 '25 15:05 craig4who

@kradalby Hope that helps you.

craig4who avatar May 24 '25 15:05 craig4who

@hanjo This is with your suggestion

Image

craig4who avatar May 24 '25 15:05 craig4who

Image

craig4who avatar May 24 '25 15:05 craig4who

This issue is stale because it has been open for 90 days with no activity.

github-actions[bot] avatar Oct 17 '25 02:10 github-actions[bot]