-
-
Notifications
You must be signed in to change notification settings - Fork 393
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
[Bug]: flatpak search lists results with some invalid app ids ("Names must contain at least 2 periods") #4535
Closed
2 tasks done
Labels
Comments
mwleeds
added a commit
that referenced
this issue
Nov 2, 2021
This commit changes the search command to properly output the app ID for IDs that end in .desktop, e.g. to print org.telegram.desktop rather than org.telegram. Fixes #4535
mwleeds
added a commit
that referenced
this issue
Nov 2, 2021
This commit changes the search command to properly output the app ID for IDs that end in .desktop, e.g. to print org.telegram.desktop rather than org.telegram. Fixes #4535
Thanks for the bug report. Fix available in #4536 |
mwleeds
added a commit
to pwithnall/flatpak
that referenced
this issue
Nov 10, 2021
In flatpak#4535 it was brough to light that the search command strips the ".desktop" suffix from app IDs even if they genuinely end in .desktop. This commit fixes the reverse issue now that we've ported to libappstream: don't include the .desktop suffix even if it's present in the id of the appstream component, which it sometimes is. Fortunately we already ignore any components that don't have flatpak <bundle> elements, so we can unambiguously get the ID there.
mwleeds
added a commit
to pwithnall/flatpak
that referenced
this issue
Nov 10, 2021
In flatpak#4535 it was brough to light that the search command strips the ".desktop" suffix from app IDs even if they genuinely end in .desktop. This commit fixes the reverse issue now that we've ported to libappstream: don't include the .desktop suffix even if it's present in the id of the appstream component, which it sometimes is. Fortunately we already ignore any components that don't have flatpak <bundle> elements, so we can unambiguously get the ID there. Fixes flatpak#4535
mwleeds
added a commit
to pwithnall/flatpak
that referenced
this issue
Nov 10, 2021
In flatpak#4535 it was brough to light that the search command strips the ".desktop" suffix from app IDs even if they genuinely end in .desktop. This commit fixes the reverse issue now that we've ported to libappstream: don't include the .desktop suffix even if it's present in the id of the appstream component, which it sometimes is. Fortunately we already ignore any components that don't have flatpak <bundle> elements, so we can unambiguously get the ID there. Fixes flatpak#4535
mwleeds
added a commit
to pwithnall/flatpak
that referenced
this issue
Nov 10, 2021
In flatpak#4535 it was brough to light that the search command strips the ".desktop" suffix from app IDs even if they genuinely end in .desktop. This commit fixes the reverse issue now that we've ported to libappstream: don't include the .desktop suffix even if it's present in the id of the appstream component, which it sometimes is. Fortunately we already ignore any components that don't have flatpak <bundle> elements, so we can unambiguously get the ID there. Fixes flatpak#4535
mwleeds
added a commit
to pwithnall/flatpak
that referenced
this issue
Nov 11, 2021
In flatpak#4535 it was brough to light that the search command strips the ".desktop" suffix from app IDs even if they genuinely end in .desktop. This commit fixes the reverse issue now that we've ported to libappstream: don't include the .desktop suffix even if it's present in the id of the appstream component, which it sometimes is. Fortunately we already ignore any components that don't have flatpak <bundle> elements, so we can unambiguously get the ID there. Fixes flatpak#4535
alexlarsson
pushed a commit
that referenced
this issue
Nov 15, 2021
This commit changes the search command to properly output the app ID for IDs that end in .desktop, e.g. to print org.telegram.desktop rather than org.telegram. Fixes #4535
mwleeds
added a commit
to pwithnall/flatpak
that referenced
this issue
Nov 15, 2021
In flatpak#4535 it was brough to light that the search command strips the ".desktop" suffix from app IDs even if they genuinely end in .desktop. This commit fixes the reverse issue now that we've ported to libappstream: don't include the .desktop suffix even if it's present in the id of the appstream component, which it sometimes is. Fortunately we already ignore any components that don't have flatpak <bundle> elements, so we can unambiguously get the ID there. Fixes flatpak#4535
smcv
pushed a commit
to smcv/flatpak
that referenced
this issue
Jan 4, 2022
This commit changes the search command to properly output the app ID for IDs that end in .desktop, e.g. to print org.telegram.desktop rather than org.telegram. Fixes flatpak#4535 (cherry picked from commit 62e09b4)
smcv
pushed a commit
to smcv/flatpak
that referenced
this issue
Jan 4, 2022
This commit changes the search command to properly output the app ID for IDs that end in .desktop, e.g. to print org.telegram.desktop rather than org.telegram. Fixes flatpak#4535 (cherry picked from commit 62e09b4)
mwleeds
added a commit
to pwithnall/flatpak
that referenced
this issue
Jan 27, 2022
In flatpak#4535 it was brough to light that the search command strips the ".desktop" suffix from app IDs even if they genuinely end in .desktop. This commit fixes the reverse issue now that we've ported to libappstream: don't include the .desktop suffix even if it's present in the id of the appstream component, which it sometimes is. Fortunately we already ignore any components that don't have flatpak <bundle> elements, so we can unambiguously get the ID there. Fixes flatpak#4535
mwleeds
added a commit
that referenced
this issue
Feb 17, 2022
In #4535 it was brough to light that the search command strips the ".desktop" suffix from app IDs even if they genuinely end in .desktop. This commit fixes the reverse issue now that we've ported to libappstream: don't include the .desktop suffix even if it's present in the id of the appstream component, which it sometimes is. Fortunately we already ignore any components that don't have flatpak <bundle> elements, so we can unambiguously get the ID there. Fixes #4535
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Checklist
Flatpak version
1.12.2
What Linux distribution are you using?
Debian
Linux distribution version
bullseye
What architecture are you using?
x86_64
How to reproduce
When searching for flatpak applications using the commandline, some applications are listed with invalid app id. So far, all occurrences I have encountered are listed with app id consisting of 2 parts (1 separating period) which is illegal. In all occurrences I found, the actual app id is different, valid. So the listing shows incorrect information.
flatpak search telegram
org.telegram
but in actuality the app id isorg.telegram.desktop
.command:
flatpak remote-info flathub org.telegram
error: Invalid id org.telegram: Names must contain at least 2 periods
command:
flatpak remote-info flathub org.telegram.desktop
chat.delta
but in actuality the app id ischat.delta.desktop
.Expected Behavior
Search results of
flatpak search
should list actual app id, and preferably without arbitrary truncation in case of long app id. (truncated with...
)Actual Behavior
Include in reproduction recipe. Lists wrong app id. Should be correct app id.
Additional Information
No response
The text was updated successfully, but these errors were encountered: