-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue #1 - Rename mime files and icons #567
Conversation
My concern is how to handle the compatibility. Currently you get these warnings:
But that mean that the rename won't be done. Lots of packages do this manually. |
Apparently the XML writing code in flaptak-builder is buggy. |
Something like <match type="string" value="<?xml" offset="0"> is rewritten as <match type="string" value="<?xml" offset="0"> |
d2ac83a
to
132c181
Compare
something like that. This was from real-life testing. |
1a2f111
to
b535eb5
Compare
I don't think there is anything we can really do about that, other than have Flathub update quickly. |
Hmm. I can't reproduce with what you've pushed here, though I can certainly understand It looks like |
That's because I already pushed the fix. I even added it in the test case. |
Oh excellent :)
|
Err, nevermind. It does get escaped, but it is technically invalid input. |
@hfiguiere What do you think of this: 0d2e76a |
Looks ok to me. But my testing was done with files that validated, and the error was detectd by the mime-update, which the input supposedly passed. It's not a dependency for this. |
The validation change actually needs to happen in |
FWIW: #568 If I find time I might look into some day. |
Usually it's relaxed on input and strict on output. As discussed, in the longer term it might be wise to use libxml2 to handle XML, but that's not something blocking right now. There error was triggered by |
That's no problem. We already have flatpak-builder packaged as Flatpak, so everyone can use the latest version |
- Added rename-mime-file and rename-mime-icons. flatpak#1
b535eb5
to
8491d91
Compare
This currently sits on top of #566Close #1