testsolv: skip the last "job install name" for package if do not ends with a new line
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 609
- Forks
- 177
- PR merge metrics
- No merged PRs in 30d
Description
I found that the testsolv parser in ext skip the last job install name line if it is not followed by a new line \n.
For example:
system x86_64 rpm
...
job install name pattern:yast2_basis
job install name kernel-default
job install name snapper
job install name grub2
job install name btrfsprogs
btrfsprogs will be ignored if the EOF is after the end of the line and there is no \n. If I am not wrong this do not happen when the job install name is referring to a pattern: instead of a package, but I am not sure here.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with the example input and inspect the testsolv parser in ext, focusing on how the final line is handled at EOF. Confirm that the final job install name is retained without a trailing newline, and add or update a regression test if the existing testsolv coverage provides a suitable location.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100