GradleRIO icon indicating copy to clipboard operation
GradleRIO copied to clipboard

RiologPlugin Removed from 2022 version

Open oconnelc opened this issue 2 years ago • 7 comments

In previous versions of the GradleRIO plugin there was a plugin called RiologPlugin that provided the task: riolog${target.name.capitalize()}"

This plugin was removed from the 2022 rewrite. I was unable to find any documentation as to why this was removed and was wondering if this capability could be brought back.

oconnelc avatar Feb 19 '22 21:02 oconnelc

This was an intentional change and was unsupported, even when it was implemented. The only features in GradleRIO that are supported are the ones listed here: https://docs.wpilib.org/en/stable/docs/software/advanced-gradlerio/gradlew-tasks.html

Daltz333 avatar Feb 19 '22 21:02 Daltz333

Thank you for the link. It looks like there's an equivalent task: ./gradlew riolog - Runs a console displaying output from the default RoboRIO (roborio)

oconnelc avatar Feb 19 '22 22:02 oconnelc

It was removed because it wasn't well implemented, and during the rewrite it wasn't worth the dev time to reimplement. It wasn't used much, and riolog exists in both VS Code and the DS itself.

If we were going to write it again, I would prefer to write a standalone tool with ImGui, as that would be much more usable, and easier to maintain for us. (In fact I've kind of already started working on this). I don't see us ever readding the capability to gradlerio.

ThadHouse avatar Feb 19 '22 22:02 ThadHouse

The link that was posted mentioned it in the supported tasks, but it doesn't seem like it's there. This explanation makes the most sense, so we'll use one of the other options. Any chance of getting the documentation updated so that it's not listed as a supported operation?

oconnelc avatar Feb 19 '22 22:02 oconnelc

@Daltz333 we should remove that task from the docs.

ThadHouse avatar Feb 19 '22 22:02 ThadHouse

Oops. Didn't even notice it there.

Daltz333 avatar Feb 19 '22 22:02 Daltz333

Thank you everyone for your help.

oconnelc avatar Feb 19 '22 22:02 oconnelc

Since this was a won't fix, its getting closed.

ThadHouse avatar Dec 12 '23 07:12 ThadHouse