linuxboot / linuxboot/fiano

make trying to remove more verbose

Open
#229 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Go
Stars
373
Forks
59
PR merge metrics
No merged PRs in 30d

Description

the cleaner now prints
Trying to remove E052D8A6-224A-4C32-8D37-2E0AE162364D

It should print the name too
It should be in a form easily parsed by scripts

one option is something like this
blacklist name (or guid if there is no name)
in addition to
remove name (or guid if there is no name)

Also, since sometimes we need both, can you handle an RE of the form
re|guid

i.e. the extended re format, which would be nice in that it's easier to find it.

Consider also outputting in CSV format?
CSV is nice as it allows blank fields:
operation,guid,name
remove,x,E052D8A6-224A-4C32-8D37-2E0AE162364D
blacklist,y,E052D8A6-224A-4C32-8D37-2E0AE162364E

In any event the error message should have a solid anchor
so that awk/grep/sed pipelines can easily create the blacklist and update remove commands. It's close, just not quite there, says your first user.

Would be a real nice thing to be able to say
Given this set of remove, comment, and blacklist, did I cover all the DXEs and if not what did I miss.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the cleaner entry point that emits “Trying to remove” and inspect how remove and blacklist operations are represented. Clarify which output format, extended regex behavior, and coverage reporting are required before changing the output; done should be demonstrated by tests showing stable, script-parsable records containing the operation, GUID, and name.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.