Closed kfjahnke closed 1 year ago
Hi @kfjahnke, good idea. Would you be willing to put in the work?
I don't think I'm good at that kind of thing. I speak C++ and some Python plus a smattering of bash and my speciality is numerics (b-splines) and graphics. What sort of code are we talking about?
Looks doable. But I don't have time right now. I'll be offline for a good two weeks. I'll post again when I'm back. given BITBUCKET_USER (extracted like GH_USER etc), should be sth. like
BITBUCKET_DOWNLOADS_LINK=$(grep "^http.*://bitbucket.org.$BITBUCKET_USER.$INPUTBASENAME.*AppImage$" data/$INPUTBASENAME | sed -e 's|http://d|https://d|g')
if [ x"$BITBUCKET_DOWNLOADS_LINK" != x"" ] ; then
echo " - type: Download" >> apps/$INPUTBASENAME.md
echo " url: $BITBUCKET_DOWNLOADS_LINK" >> apps/$INPUTBASENAME.md
fi
just the grep may come up with several matches...
Merged.
Hi! In the packaging guide, it says about acceptable AppImages:
I'd like to suggest accepting AppImages from the download section of bitbucket-hosted git repos. bitbucket kindly offers this space to developers to upload artifacts they have created. I, for example, distribute my Windows, macOS and Linux installers/bundles from the lux project's download section. If you look at that page, it has several AppImages - both versioned releases and also one which has 'master' in it's name which is the most recent Appimage to be had. AppImages are easily recognized by their extension, so it should be enough to communicate the URL of the download page, and if only versioned releases are wanted, a regular expression can narrow it down to AppImages following the usual naming scheme.
With this addition, a 'Download' button could be added to the catalog listing. In my case, where I only passed a single URL (the 'master' one) there was no Download button in the catalog, and none of the other links actually referred to my work, which isn't really my idea of what a catalog should do for me.