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

Packaging #1

Open
4 of 6 tasks
kaiphat opened this issue Feb 14, 2022 · 18 comments
Open
4 of 6 tasks

Packaging #1

kaiphat opened this issue Feb 14, 2022 · 18 comments
Assignees
Labels
enhancement New feature or request

Comments

@kaiphat
Copy link

kaiphat commented Feb 14, 2022

Tracking

  • Debian
  • Mac (homebrew)
  • Mac (macports)
  • Arch Linux
  • Nixpkgs
  • Binaries for Linux and macOS (x86 and arm)
@natecraddock
Copy link
Owner

Just to check, you are requesting packaging support for debian/ubuntu and derivatives? I've never done it before, but I expect adding a PPA shouldn't be too difficult

@kaiphat
Copy link
Author

kaiphat commented Feb 14, 2022

Yes, for ubuntu. Thank you!

@natecraddock
Copy link
Owner

Okay I'll look into this. I plan to release version 0.3 this week, and one of my goals for that release is to provide binaries in the release which should make it easier for those without a Zig compiler.

@natecraddock natecraddock self-assigned this Feb 14, 2022
@mathjiajia
Copy link

If can, please consider homebrew also.
Thanks so much.

@natecraddock
Copy link
Owner

@mathjiajia homebrew is a great idea! I develop on Arch Linux, but I know a few people who I can test zf on macs with.

Currently to my knowledge zf does not work properly on macs. The interface does not draw properly. I plan to fix this this week, it shouldn't be more than fixing a few syscalls.

I'm going to update this issue to be tracking support for various package managers

@natecraddock natecraddock changed the title Feature: Available with apt-get manager Packaging Feb 24, 2022
@natecraddock natecraddock added the enhancement New feature or request label Feb 24, 2022
@mathjiajia
Copy link

@mathjiajia homebrew is a great idea! I develop on Arch Linux, but I know a few people who I can test zf on macs with.

Currently to my knowledge zf does not work properly on macs. The interface does not draw properly. I plan to fix this this week, it shouldn't be more than fixing a few syscalls.

I'm going to update this issue to be tracking support for various package managers

I see. Thank you.
I have tried zf-native.nvim with telescope, and it is great. Matching filename (with higher priority) is what I need exactly.

@natecraddock
Copy link
Owner

@mathjiajia I have looked a bit into homebrew now. From their docs

We will reject formulae that seem too obscure, partly because they won’t get maintained and partly because we have to draw the line somewhere.

We frown on authors submitting their own work unless it is very popular.

I fear that zf might be a bit too young for homebrew to accept, and it sounds like they would prefer someone other than me make the package.

It seems that I could maintain my own tap. I'm not a user of homebrew, but I could imagine some people would prefer a package in the official core repo.

I do plan to make macos binaries available soon with future releases, but I'm not sure how to go forward with zf and homebrew. (Maybe spread the word to anyone you think might enjoy it? 😄 ) Perhaps someone with more experience with homebrew could give some advice too.

@natecraddock natecraddock pinned this issue Feb 26, 2022
@mathjiajia
Copy link

I fear that zf might be a bit too young for homebrew to accept, and it sounds like they would prefer someone other than me make the package.

I think so.

It seems that I could maintain my own tap. I'm not a user of homebrew, but I could imagine some people would prefer a package in the official core repo.

Thanks. Maintaining your tap is a good choice. When zf becoming popular, it will be easy to add into homebrew core.

I do plan to make macos binaries available soon with future releases, but I'm not sure how to go forward with zf and homebrew. (Maybe spread the word to anyone you think might enjoy it? 😄 ) Perhaps someone with more experience with homebrew could give some advice too.

Anyway, thanks so much for your efforts @natecraddock 👏

@hwittenborn
Copy link

hwittenborn commented Apr 24, 2022

@natecraddock: I saw that you said you develop on Arch Linux. I'm assuming that you're familiar with the PKGBUILD format, in which case I think makedeb would work great for creating Debian packages (prenote, it's a personal project).

@natecraddock
Copy link
Owner

@hwittenborn sorry for taking so long to reply! I think makedeb looks wonderful. I'll take a closer look soon, but from what I can tell it just takes PKGBUILD files and outputs a .deb file?

@hwittenborn
Copy link

Not a problem @natecraddock :)

it just takes PKGBUILD files and outputs a .deb file?

That's correct, yes.

@natecraddock
Copy link
Owner

If can, please consider homebrew also. Thanks so much.

Not sure if you are still interested @mathjiajia, but I have just added instructions to the readme for brew installation instructions! I have tested myself and everything seems to work. I'm still new to homebrew, so let me know if things don't work

@mathjiajia
Copy link

@natecraddock Thank you for reminding me about this news.
I would like to try it now.

@dufferzafar
Copy link

@natecraddock Please also consider having pre-built binaries uploaded with new releases directly on GitHub. This will allow downloading zf directly off GitHub via something like: https://github.com/zyedidia/eget

@natecraddock
Copy link
Owner

@dufferzafar thanks for the reminder! I have been intending to do this for a while now, I'll try to get that done soon

@natecraddock
Copy link
Owner

natecraddock commented Jul 19, 2022

@dufferzafar I cross-compiled some testing binaries and attached to the latest release. I tested the cross-complied macos x86 binary with eget, but I can't verify if others work. If all works well, I'll look into adding some GitHub actions to automate these builds. Let me know if it works!

@dit7ya
Copy link

dit7ya commented Aug 19, 2022

I have opened a PR for packaging this to nixpkgs - NixOS/nixpkgs#187403

@natecraddock
Copy link
Owner

@dit7ya Thanks for doing that! I subscribed to the PR and I'll update the zf readme when it is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants