rock-core / autoproj-daemon

An Autoproj daemon-plugin that watches github repositories
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Daemon should auto self update #24

Open g-arjones opened 4 years ago

doudou commented 4 years ago

Auto-update for Ruby packages is a bit tricky to get right. I had a bundler-based mechanism implemented, which worked but felt pretty fragile. I think there has been some other libraries to do this since.

g-arjones commented 4 years ago

Hmm.. I thought Autoproj updated its plugins on autoproj update --autoproj

doudou commented 4 years ago

Yes, and it also updates itself. And it's tricky.

g-arjones commented 4 years ago

Should be simple to use though (or am I missing something?)

g-arjones commented 4 years ago

(the url you sent is broken)

doudou commented 4 years ago

I didn't check it ... updated.

The challenge was to have a straightforward-enough installation method that could be self-updated. Check install.sh for the install, and lib/restic/service/auto_update.rb for the auto-update.