bakpakin/Fennel

Request for Pacstall Support

wizard-28 opened this issue · 6 comments

Pacstall is a community-driven AUR-like package manager for Ubuntu. We have an ongoing pull request to add fennel-bin to our repository.

We have a few questions for you:

  • Would you like to maintain the pacscript (similar to a PKGBUILD) yourself? We can maintain it for you if you decide not to.
  • Could you include a section in your documentation showing Pacstall as a valid method of installation for fennel for Debian/Ubuntu users? We could make a pull request for that if you want.

Cool.

  1. It's probably best to keep packaging out of this repo and in a downstream location.
  2. The documentation about package managers is kept on the wiki, so it's free for anyone to update when new package managers add Fennel: https://github.com/bakpakin/Fennel/wiki/Packaging However, the linked pull request doesn't look right. It's just downloading the x86_64 binary regardless of the architecture of the user. If you want to make a single package that works for everyone, it's better to just get the script version and add a dependency on Lua. If you really want a binary for some reason, you'll need to offer one for each supported architecture, but in the context of a package manager there's really not any benefit to the binary version.

It's probably best to keep packaging out of this repo and in a downstream location.

Okay!


However, the linked pull request doesn't look right. It's just downloading the x86_64 binary regardless of the architecture of the user. If you want to make a single package that works for everyone, it's better to just get the script version and add a dependency on Lua

We only support x86_64 at the moment, We have plans for other architectures in the next version. I would just add the -bin pacscript for now, and update it with multi architecture support in the future.

I'm making a variant package with the fennel script, which one do you want us to add to the wiki? I guess the latter for now.

I've added the script variant: pacstall/pacstall-programs#763

OK cool; sounds good.

Oh, I also noticed that the packaging doesn't seem to do any verification of the checksum or signature; that looks like a pretty major oversight too.

Oh, I also noticed that the packaging doesn't seem to do any verification of the checksum or signature; that looks like a pretty major oversight too.

We do checksum verification, and we'll take signature verification into consideration for our python rewrite.