-
-
Notifications
You must be signed in to change notification settings - Fork 431
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
[ephemeris] Upgrade/replace Jollyday #3544
Comments
Perhaps a first step could be to add support for bundling holiday configurations as resources that would then override those provided by Jollyday. The obvious disadvantage is that we would then take over the maintenance. But on the other hand, they are not maintained anymore upstream, so at least it would improve the user experience. Additionally, it would not change the API, so upgrading to I would rather update the Danish holidays once in this repository for everyone's benefit, rather than update it in my own installation for my own benefit (and hassle remembering to reference it from all rules calling Ephemeris actions). WDYT? |
It's not an OSGi bundle because the code got removed for adding bundle manifest headers, see focus-shift/jollyday#254. |
focus-shift/jollyday#253 was just merged, so perhaps this gives us a chance to upgrade. |
Also saw that. 🙂 I can give it another try and see how well it works. I tried using the JAX-B implementation some time ago but couldn't easily get it to work. |
That would be awesome - many thanks in advance. I guess we just have to await a new release first. |
Upgrades Jollyday 0.5.10 (de.jollyday) to 0.23.0 of a more actively maintained fork (de.focus-shift). This adds many missing holidays. For release notes, see: https://github.com/focus-shift/jollyday/releases Fixes openhab#3544 Signed-off-by: Wouter Born <github@maindrain.net>
It seems to work well after adding some missing bundle headers with focus-shift/jollyday#417. 😄 |
Upgrades Jollyday 0.5.10 (de.jollyday) to 0.23.0 of a more actively maintained fork (de.focus-shift). * This add many missing holidays. * Also removes the workaround for the Danish Great Prayer Day introduced by openhab#3573. For release notes, see: https://github.com/focus-shift/jollyday/releases Fixes openhab#3544 Signed-off-by: Wouter Born <github@maindrain.net>
Upgrades Jollyday 0.5.10 (de.jollyday) to 0.23.0 of a more actively maintained fork (de.focus-shift). * This adds many missing holidays. * Also removes the workaround for the Danish Great Prayer Day introduced by openhab#3573. For release notes, see: https://github.com/focus-shift/jollyday/releases Fixes openhab#3544 Signed-off-by: Wouter Born <github@maindrain.net>
Upgrades Jollyday 0.5.10 (de.jollyday) to 0.23.0 of a more actively maintained fork (de.focus-shift). * This adds many missing holidays. * Also removes the workaround for the Danish Great Prayer Day introduced by openhab#3573. For release notes, see: https://github.com/focus-shift/jollyday/releases Fixes openhab#3544 Signed-off-by: Wouter Born <github@maindrain.net>
Upgrades Jollyday 0.5.10 (de.jollyday) to 0.23.1 of a more actively maintained fork (de.focus-shift). * This adds many missing holidays. * Also removes the workaround for the Danish Great Prayer Day introduced by openhab#3573. For release notes, see: https://github.com/focus-shift/jollyday/releases Fixes openhab#3544 Signed-off-by: Wouter Born <github@maindrain.net>
Upgrades Jollyday 0.5.10 (de.jollyday) to 0.23.2 of a more actively maintained fork (de.focus-shift). * This adds many missing holidays. * Also removes the workaround for the Danish Great Prayer Day introduced by openhab#3573. For release notes, see: https://github.com/focus-shift/jollyday/releases Fixes openhab#3544 Signed-off-by: Wouter Born <github@maindrain.net>
Upgrades Jollyday 0.5.10 (de.jollyday) to 0.23.2 of a more actively maintained fork (de.focus-shift). * This adds many missing holidays. * Also removes the workaround for the Danish Great Prayer Day introduced by #3573. For release notes, see: https://github.com/focus-shift/jollyday/releases Fixes #3544 Signed-off-by: Wouter Born <github@maindrain.net>
Upgrades Jollyday 0.5.10 (de.jollyday) to 0.23.2 of a more actively maintained fork (de.focus-shift). * This adds many missing holidays. * Also removes the workaround for the Danish Great Prayer Day introduced by openhab#3573. For release notes, see: https://github.com/focus-shift/jollyday/releases Fixes openhab#3544 Signed-off-by: Wouter Born <github@maindrain.net> Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
Jollyday used by Ephemeris seems abandoned years ago:
https://github.com/svendiedrichsen/jollyday
Fortunately the project was picked up and continued here:
https://github.com/focus-shift/jollyday
See svendiedrichsen/jollyday#72
This seems almost like a drop-in replacement.
Replacing the library would give several benefits, for example updated holidays for 70 countries that would be bundled with the distribution. The current situation is that users need to maintain national holidays by themselves. As an example, one of the Danish holidays has been eliminated, starting next year (GENERAL_PRAYER_DAY in the XML below). So if I understand this correctly, I must now create my own file:
/etc/openhab/services/Holidays_dk.xml:
and directly reference this file in all rules:
The text was updated successfully, but these errors were encountered: