configlet icon indicating copy to clipboard operation
configlet copied to clipboard

Feature request: listing exercises that match a set of statuses

Open kytrinyx opened this issue 2 years ago • 5 comments

The TL;DR is that I'd like a standardized way of listing out all exercises that are beta or active so that CI test scripts can ignore exercises that are deprecated or wip.

Right now I don't think CI has a default/standard tool that lets us process JSON, but all tracks have Configlet on CI.

If we had a way of getting just a list of active exercises, then the tracks could use that as input to ignore wip (and deprecated) exercises, even if it's simply using xargs and running the test command for each exercise.

The larger use case that is motivating this request is that I'd like to:

  • Use the new configlet create (or whatever) command to stub in a bunch of new (incomplete) exercises in a track. They would have status wip.
  • Use a generator to generate test suites based on the problem-specifications
  • Open a PR and merge to main without breaking CI.

You could still run the tests locally by doing whatever tracks do to run the tests for just one exercise, but CI wouldn’t fail as long as the exercise is wip.

Thoughts?

kytrinyx avatar Oct 26 '22 11:10 kytrinyx