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

replace table writer with go-pretty #2292 #2296

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

hyposcaler-bot
Copy link
Contributor

@hellt for #2292 Lightly tested, but should be functional enough to judge if you like the change.

@hyposcaler-bot
Copy link
Contributor Author

I was just targeting the replacement, tried to stick with the original logic that was there.

@kaelemc
Copy link
Contributor

kaelemc commented Nov 15, 2024

@hyposcaler-bot Tried it out for the fun of it.. Looks good.

image

@hyposcaler-bot
Copy link
Contributor Author

Some smoke tests related to the inspect are failing, need to get a handle on the smoke tests, having some issued getting them to run locally on my machine. Then will poke and see what's up.

@hellt
Copy link
Member

hellt commented Nov 16, 2024

Sounds good. If time permits I'll check the PR on my flight today

If anything I will take care of the tests later as well

@hellt
Copy link
Member

hellt commented Nov 16, 2024

Re tests. The devcontainer should handle them I hope.
And there is some documentation around it https://containerlab.dev/manual/dev/test/

@hyposcaler-bot
Copy link
Contributor Author

hyposcaler-bot commented Nov 16, 2024

Re tests. The devcontainer should handle them I hope.

Mostly does, but I get some failures locally on the tests, that don't seem to fail when github runs them.

For the failures when github runs the smoke test, think they are just failing because of the difference between and | when it goes to split the output of the inspect.

@hellt
Copy link
Member

hellt commented Nov 16, 2024

Yes, the failures are definitely about the table border char
Perhaps the test should have a car that keeps the border char to make it easily adaptable

@hyposcaler-bot
Copy link
Contributor Author

Think I have the smoke tests sorted, added a ${table-delimit} set to for the appropriate robot tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants