Gandi / gandi.cli

⚠ ARCHIVED - Command line interface to Gandi.net products using the public API
http://cli.gandi.net/
GNU General Public License v3.0
347 stars 62 forks source link

Migrate to v5 #310

Closed JulienPalard closed 2 years ago

JulienPalard commented 3 years ago

I was willing to only migrate the part interesting me, to keep it simple: domains. It went a bit further.

I presumed the dns.api.gandi.net was equivalent to api.gandi.net by not rewriting all the tests, just copying them, so this will probably need a good proofreading, or migrate the test to VCR to avoid having big JSONs in the code, and prooving they're right at the same time.

What I tested in my account, and works:

The last one was the one I was whishing to run in the first place when I searched for gandi on pypi. It works now, and my Gandi LiveDNS migration is 100% complète ♥

coveralls commented 3 years ago

Coverage Status

Coverage decreased (-0.8%) to 89.956% when pulling 814dd9e0a308e481cef8bedbada716194ef42a53 on JulienPalard:mdk/domain-v5 into bfe2e6f44135b7fbac50f9f44b5e58577583d07d on Gandi:master.

JulienPalard commented 3 years ago

I think it can be reviewed now. If I'm willing to do more, it'll probably be in another PR.

yanndinendal commented 3 years ago

@JulienPalard: Thank you for this, we really appreciate it but unfortunately we won't be able to maintain this as we have deprecated this CLI in its current form (see #313). We still plan to work on giving our API users a CLI but it won't be based on this repository. In the mean time, you are welcome to fork this project with your PR if you want. :) Thanks again!

JulienPalard commented 3 years ago

We still plan to work on giving our API users a CLI but it won't be based on this repository.

On which one? If still open-source?

mardiros commented 3 years ago

Hello @JulienPalard

No decision made currently, so there is no code that exists yet.

But Yes, when it will be done, there is no reason to have a closed source CLI for our public API.

drzraf commented 2 years ago

Can't this be merged?