Conversation
For some reason, long ids are broken to the next line, so the current line parsing logic fails.
aherrmann
left a comment
There was a problem hiding this comment.
Thank for fixing this!
Could you also add a regression test?
|
As I see this piece is not tested yet, and I wouldn't want to spend time adding scaffolding. If you added the mundane pieces, I would love to. |
|
I don't think this requires a lot of scaffolding. Under what use-case did you encounter this issue? I.e. what package had a sufficiently long id to trigger the line wrapping? |
|
I see - it was How would I bring in a |
|
Oh, sorry I misread the change and didn't realize this was about the global package db. Indeed, the global package db dump is generated in the toolchain rule using In that case, one way to test this would be a script that calls This leads me to a follow-up question. Couldn't the |
|
Just encountered this today. And indeed, I believe all package conf files (and probably the database subsequently) have this line wrapping behavior. In nixpkgs I fixed this for the Haskell builder using an AWK expression that turns it into a more easily processable form, see NixOS/nixpkgs#78738 |
|
@Mergifyio rebase |
|
Command
|
|
@robinp Looks like there is a permissions issue. Neither mergify nor I can push the rebase of this branch. Could you please rebase on master and push? |
|
I took a stab at implementing #1396 (comment) in #1457. The module import in So, we can use #1457 instead of this PR. |
For some reason, long ids are broken to the next line, so the current
line parsing logic fails.
For a few minutes, I was detoured to think this is #1067, but then noticed this is an actual python script error.
TESTED=manually