orbital-sync icon indicating copy to clipboard operation
orbital-sync copied to clipboard

Pihole V6

Open modem7 opened this issue 2 years ago • 10 comments

What feature would you like added?

PiHole v6 has just been announced at the start of the month with quite a few changes, including the API and consolidated settings files as two notable (probably breaking) changes.

https://pi-hole.net/blog/2023/10/09/pi-hole-v6-beta-testing/

https://deploy-preview-338--pihole-docs.netlify.app/api/

May be worthwhile to have a look in case you haven't and use this issue as a staging ground to prepare or any questions that may be raised.

modem7 avatar Oct 31 '23 02:10 modem7

How is the progress looking for V6?

FurkanVG avatar Aug 02 '24 23:08 FurkanVG

Gravity sync has been archived - given the different implementations ("acting on their admin interface" vs copying the databases / config files) this one does seem much easier to migrate.

In fact, given the move away from PHP to a new REST API, this project may become even simpler!

I'm planning to do some testing on this project soon :)

timtjtim avatar Aug 04 '24 20:08 timtjtim

Putting my comments on this discussion to avoid spamming notifications

https://github.com/mattwebbio/orbital-sync/discussions/391

timtjtim avatar Aug 04 '24 22:08 timtjtim

@mattwebbio It would be good to add a development-v6 branch we can use as a target I think.

timtjtim avatar Aug 06 '24 12:08 timtjtim

@timtjtim Done! https://github.com/mattwebbio/orbital-sync/tree/development-v6

Also: thanks for taking the time to look at this. I'm in the process of moving, so my time is (temporarily) extremely limited. It's a huge help :)

mattwebbio avatar Aug 06 '24 15:08 mattwebbio

Gravity sync has been archived - given the different implementations ("acting on their admin interface" vs copying the databases / config files) this one does seem much easier to migrate.

In fact, given the move away from PHP to a new REST API, this project may become even easier!

I'm planning to do some testing on this project soon :)

Already done the migraton and it works. Just now waiting for v6-support and v6 release of Pihole :)

laitco avatar Aug 20 '24 16:08 laitco

I'm going to split this into two PRs - the first will just change more into a factory pattern, but still only support v5. If we're happy with the approach, I'll add in the V6 stuff. In the meantime - in case I have to go AWOL for some reason - I've also added the basic v6 work I've done to another branch.

PR with factory pattern for comment: https://github.com/mattwebbio/orbital-sync/pull/406 Extra branch for safe-keeping: https://github.com/timtjtim/orbital-sync/blob/timtjtim/development-v6/v6-client-code/src/client/v6/index.ts

timtjtim avatar Aug 21 '24 22:08 timtjtim