-
-
Notifications
You must be signed in to change notification settings - Fork 146
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
Added porkbun support #473
Added porkbun support #473
Conversation
../../src/../plugins/porkbun.c: In function 'check_success': |
check_status function is missing too |
These are the commits that resolve the issues
|
Thank you for taking the time to review this! 😃👍 |
I've authorised the CI suite but it fails because |
Yes I have noticed that it fails when you try to access the help |
Do you have any idea why? Looks like it segfaults. How have you tested these changes? Also, I noticed you pushed another change to this branch. Do you want to change to a Draft PR? |
I could check to see what happens if I think you can move the PR to draft until you see what the reason for the error is. The last changes I added were examples for ipv4 and ipv6 |
My point: a PR is usually not made unless you're done with a change to a project. Your change does not pass a basic test (issuing help) and you keep pushing new changes. So it seems to me (the project maintainer) that you're not ready yet for review or merge. Yes, I see what your changes do. Do you plan to make more changes not related to fixing the problem I mentioned? If so, this should be converted to a draft, by you. |
Those are the latest changes related to porkbun support |
the code makes no sense. the check_success function is unused. so KEY_SUCCESS you now inserted into the code will never be used. for me the code looks broken and incomplete. please fix it |
i know the cause of the crash/segfault. see my first comment for Makefile.am. this is causing the crash in plugin_unregister. i know its curious. but i tested it. fixing this will avoid the crash |
I already fixed it, but noted that if you look at the Cloudflare plugin, the KEY_SUCCESS macro is used |
i never complained about the use of the macro. i complained that the whole function check_success which made use of this macro was never used. i see you corrected this now in the way i'm thinking its correct but that all makes me wonder how you ever tested it since the code was entirely broken before you fixed it and you did still not fix the Makefile.am issue in src/Makefile.am |
your last fixes are buggy too. the & must be removed. this cannot work. can you please test your code? ../../src/../plugins/porkbun.c:169:49: warning: passing argument 3 of 'check_success' makes integer from pointer without a cast [-Wint-conversion] |
Fixed errors with & operator in the call of check_success function |
if this code has been tested and is working fully. i vote for merging. so far i havent seen any testresult or at least a word about that. |
with the latest changes fixed it works completely |
It's been a while so hoping to bump this to get it merged. |
OK, merging. |
Hello, thanks for the support for porkbun.
It is notable, that https://porkbun.com/account/api is refering to API V3. Here, I see no permissions like Is there a change to the API? Best regards, |
@henfri this seems pretty bad, my gut reaction is to revert the porkbun support completely so other users don't experience the same issues. What do you think we should do? |
Lets wait for @stescobedo92 to comment... |
Please also see #483 |
There has been no response from @stescobedo92, I think this should be reverted? |
This pull request aims to adapt Inadyn's code so that it can use the PorkBun API, a dynamic DNS provider. To do this, the following functions have been modified:
and other functions
A new data structure has also been defined to store the information from PorkBun's dynamic DNS system, and corresponding values have been assigned to the structure's fields.