crohr / pkgr

Package any app into deb or rpm packages, using heroku buildpacks
http://crohr.me/pkgr/
MIT License
590 stars 66 forks source link

Packager allows URL manipulation #172

Closed MrGeneration closed 2 years ago

MrGeneration commented 3 years ago

Even if a package is not part of the build process, as long as packager at least partly, knows the distribution and it's release version, you can do this:

https://dl.packager.io/srv/zammad/zammad/stable/installer/debian/11.repo

According to a user this also somewhat works (but shouldn't).

crohr commented 2 years ago

@MrGeneration what is the issue here? Yes the underlying storage can provide dynamically generated repository URLs, but there won't be any packages in there. Or am I not understanding your point?

MrGeneration commented 2 years ago

The issue on this behavior is that a user assumes that the distribution is already supported. Then adds it to the system and tries to install it.

Then those clever people land on my door and complain that installation of things is not possible "no install candidate". In my opinion it's bad user experience. If something does not exist, it should not be available.

You can actually see the result of this behaviour here: https://github.com/zammad/zammad-documentation/pull/200#issuecomment-934318190

But that's my opinion.

crohr commented 2 years ago

I'm going to close this for now