Skip to content
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

Improved error output concerning org.freedesktop.Sdk #569

Open
2 tasks done
BeverlyCode opened this issue Nov 16, 2023 · 2 comments
Open
2 tasks done

Improved error output concerning org.freedesktop.Sdk #569

BeverlyCode opened this issue Nov 16, 2023 · 2 comments

Comments

@BeverlyCode
Copy link

BeverlyCode commented Nov 16, 2023

Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Suggestion

o@o:~/Desktop$ flatpak-builder build-dir com.voxdsp.Snowboarder.yaml
error: org.freedesktop.Sdk/x86_64/23.08 not installed
Failed to init: Unable to find sdk org.freedesktop.Sdk version 23.08

This is quite confusing to workout how to install org.freedesktop.Sdk/x86_64/23.08 I had to Google and find this page: https://gitlab.com/freedesktop-sdk/freedesktop-sdk

Where I discovered the solution was:
flatpak install flathub org.freedesktop.Sdk/x86_64/23.08

I would suggest just directly giving the user the solution in the program output, so just suggest to use flatpak install the more explicit the better.

Thanks!

(might seem obvious to existing flatpak nerds 🤓, but not nerdy me! :neckbeard:)

@TingPing
Copy link
Member

The nice way to do it is flatpak-builder --install-deps-from=flathub build-dir com.voxdsp.Snowboarder.yaml.

It could be possible that when missing we search enabled repos for it.

@BeverlyCode
Copy link
Author

The nice way to do it is flatpak-builder --install-deps-from=flathub build-dir com.voxdsp.Snowboarder.yaml.

It could be possible that when missing we search enabled repos for it.

Ah I see okay, thank you I will make note of this as I plan to write a tutorial for new flathub publishers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants