GermanBread / declarative-flatpak

127 stars 4 forks source link

Ability to not specify branch #31

Closed imoBooze closed 1 week ago

imoBooze commented 2 weeks ago

An app from a repo I tried to use did not have a stable branch, so I was stuck trying to find if I had made a typo in the package name. Eventually, I changed the branch from "stable" to "master," which fixed things. Is it possible to use this module without specifying a branch? An error is returned if I omit the branch from the package name.

GermanBread commented 2 weeks ago

Is it possible to use this module without specifying a branch?

Unfortunately, no. You need to specify the branch.

It used to be in stable-v1 where there was no required format for specifying the refs. It caused issues. After v1 I went ahead and enforced a format to prevent errors down the line.

imoBooze commented 1 week ago

Ah, I see. I found out it was also more of an issue on my end as I figured out the available branches can simply be listed by typing flatpak install <remote> <package>/ in the terminal and then pressing tab for autocomplete.