oknozor / toml-bombadil

A dotfile manager with templating
MIT License
221 stars 24 forks source link

Distro packaging #4

Open oknozor opened 4 years ago

oknozor commented 4 years ago
lucas-dclrcq commented 4 years ago

Bombadil should also support the popular deb format.

oknozor commented 3 years ago

A homebrew repo is available here : oknozor/homebrew-tap

dannysauer commented 3 years ago

The OpenSUSE Open Build Service can generate RPMs and Debs (and Arch packages) upon webhook events from GitHub, and then provides a repository the end-user can add to their system for update, so it'd be pretty hands-off once configured. It'd be searchable at https://software.opensuse.org/ - here's an example I set up recently. I can help set that up if that'd be of interest.

oknozor commented 3 years ago

Hey @dannysauer go ahead this would be nice. There is also cargo-deb. That might be useful. If it is possible I'd rather have the deb package generated by cargo.

Also you might want to take a look at #53 implemented by @DSpeckhals. Once this is merged we might be able to package toml-bombadil with completion files, that would be nice.

oknozor commented 3 years ago

Hello @dannysauer are you still working on this ?

dannysauer commented 3 years ago

Hello @dannysauer are you still working on this ?

Sorry @oknozor - I unexpectedly left SUSE about two days after that (acquisition and surprise firings of a few whole teams; the "open open source company" has a CEO who's not very open internally) and subsequently completely forgot about this as I wasn't using it.

However, I can still help. I'll add it to my to do list and follow up shortly. Thanks for the reminder. :)

ghost commented 3 years ago

I know its not on the list but Im working on a nix package, but I have on issue I would like it to run test, before install but a hand full of test dont like what nix does to the environment $HOME

---- settings::tests::should_merge_import stdout ----
thread 'settings::tests::should_merge_import' panicked at 'called `Result::unwrap()` on an `Err` value: Unable to symlink "/tmp/import_test/bombadil.toml" to "/homeless-shelter/.config/bombadil.toml" : No such file or directory (os error 2)', src/settings.rs:215:69

---- tests::self_link_works stdout ----
thread 'tests::self_link_works' panicked at 'called `Result::unwrap()` on an `Err` value: Unable to symlink "/build/source/tests/dotfiles_simple/bombadil.toml" to "/homeless-shelter/.config/bombadil.toml" : No such file or directory (os error 2)', src/lib.rs:442:55

---- tests::meta_var_works stdout ----
thread 'tests::meta_var_works' panicked at 'called `Result::unwrap()` on an `Err` value: Unable to symlink "/tmp/bombadil_tests/bombadil.toml" to "/homeless-shelter/.config/bombadil.toml" : No such file or directory (os error 2)', src/lib.rs:705:63

---- tests::should_print_metadata stdout ----
thread 'tests::should_print_metadata' panicked at 'called `Result::unwrap()` on an `Err` value: Unable to symlink "/tmp/bombadil_tests.1/bombadil.toml" to "/homeless-shelter/.config/bombadil.toml" : No such file or directory (os error 2)', src/lib.rs:738:63
oknozor commented 3 years ago

@TravisDavis-ops It would be great to have a nix package ! I've broken a thing or two on the main branch today, I shall fix that asap but the tests you mentioned passes on my OS. I have never used nix before so I probably will not be able to help you on this.

@dannysauer glad to here you still want to work on this, no hurry though.

Witcher01 commented 11 months ago

I'm packaging toml-bombadil for Alpine Linux and have run into trouble using version 3.1.0 as the watchexec and speculoos dependencies are essentially too old. Could you release a new version for toml-bombadil to be able to release the package for Alpine Linux @oknozor?

Some background information on this: the transitive dependency getrandom needs to be at least on version 0.2.10 to build with musl 1. With the outdated watchexec and speculoos dependencies on toml-bombadil 3.1.0 I can't bump getrandom to 0.2.10 with a patch because they rely on older versions of it. Bumping those dependencies, too, is a non-trivial task so it's out-of-scope for packaging for Alpine, especially considering a new version fixes this anyway.

oknozor commented 11 months ago

Hey @Witcher01 I will try to make a release next week, thanks for the alpine package :)