graysky2 / anything-sync-daemon

Symlinks and syncs user specified dirs to RAM thus reducing HDD/SDD calls and speeding-up the system.
https://wiki.archlinux.org/index.php/Anything-sync-daemon
MIT License
345 stars 45 forks source link

Packaging for debian #30

Closed johnarnold closed 8 years ago

johnarnold commented 8 years ago

Hi,

Can you package for Debian (specifically Jessie has systemd support)? I see you packaged profile-sync-daemon.

Thanks, John

graysky2 commented 8 years ago

Sorry, but since I do not run Debian, it would be a task to do this and properly test it. My Makefile is good so you are just fine to build it on your own as detailed in https://github.com/graysky2/anything-sync-daemon/blob/master/INSTALL

SemenMartynov commented 8 years ago

But you made .deb for profile-sync-daemon (https://launchpad.net/~graysky/+ppa-packages). Do the PSD and the ASD have such big differences?..

graysky2 commented 8 years ago

The debian build system is needlessly complex in my opinion and since it is not my native packing format, I would need to spend to some time in order to maintain it. Particularly the post/pre install scriptlets. Move on over to Arch Linux and enjoy my packages if you want :grin:

SemenMartynov commented 8 years ago

I'm enjoying your packages on Arch more then 3 years, thanks!)) But my fiancée prefers Linux Mint..

johnarnold commented 8 years ago

I did the changes for packaging in Debian. Would you consider a pull request?

I kept all the debian-specific stuff in a separate branch, so you just merge the 'debian' branch on top of upstream.

graysky2 commented 8 years ago

My problem is supporting changes down the road. For example, if core changes to the script are ever needed, the package manager should stop asd before the update. I am not savvy enough with the debian packager to do this. With Arch, it is trivial.

johnarnold commented 8 years ago

I handled that case in the preinst file. Do you want to link to my repo and I'll maintain the debian packaging?

graysky2 commented 8 years ago

I can. Send me the info.

johnarnold commented 8 years ago

See: https://github.com/johnarnold/anything-sync-daemon/tree/debian

graysky2 commented 8 years ago

I am happy to link your repo but the changes debian/* stuff really has no place for me since I cannot test nor maintain.

johnarnold commented 8 years ago

Sure that is fine. Do you want a pull request to update the README, how about a link in the Wiki? Just want to save other debian/Ubuntu users the trouble in the future, and maybe they'll find some bugs too :)

graysky2 commented 8 years ago

Sure thanks.