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

zap install krita / this app does not provide any candidate for installation #62

Open
Semnodime opened this issue Jan 20, 2022 · 4 comments

Comments

@Semnodime
Copy link

zap search krita

Krita by 
<p>Krita is the full-featured digital art studio.</p>
<p>It is perfect for sketching and painting, and presents an end–to–end solution for creating digital painting files from scratch by masters.</p>
<p>Krita is a great choice for creating concept art, comics, textures for rendering and matte paintings. Krita supports many colorspaces like RGB and CMYK
      at 8 and 16 bits integer channels, as well as 16 and 32 bits floating point channels.</p>
<p>Have fun painting with the advanced brush engines, amazing filters and many handy features that make Krita enormously productive.</p>

Install it by
zap install krita

zap install krita

[FATAL] 2022/01/20 19:54:47 main.main:main.go:163 this app does not provide any candidate for installation
@srevinsaju
Copy link
Owner

Agreed, unfortunately, the Krita appimage.github.io page has no Download button, and hence we are not able to access them: https://appimage.github.io/Krita/

@Semnodime
Copy link
Author

So, if I understand correctly, zap requires the Download-Button on the appimage.github.io page.
I want to kindly suggest printing some error message which clarifies why no candidate is available (maybe along the appimage.github.io link, so the user can download the appimage manually).

In the specific case of krita, the homepage under https://krita.org/en/download/krita-desktop/ provides the .appimage.
Also, krita's github page lists the sources for both the latest stable and the unstable release:

They can also be parsed from their respective zsync files, which appear to have a permanent link:

Is there some way to integrate it into zap?

@srevinsaju
Copy link
Owner

Yes, we should be able to do it if we are able to move to our own catalog of appimages. Currently, we depend on appimage.github.io, and appimage.github.io doesn't support these. Maybe we could support them, in a separate backend built separately by us. What do you think? I think this is a good idea on the long term 🤔

@Rabioli
Copy link

Rabioli commented Jan 4, 2023

Yes it would definitely be a good idea, I was just working in a shell script to hackily doing this, but if we can integrate this into a proper program that would be great.

We could have a parser for gitlab, github as mentioned in #77, and other sources outside of the ones the program already has.

I would be willing to help since I have some time now but I wouldn't know where to start

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

3 participants