-
Notifications
You must be signed in to change notification settings - Fork 3.8k
ddns-scripts: add namesilo.com #28095
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
base: master
Are you sure you want to change the base?
Conversation
|
You need to add a commit message, and use your real name both for author and sign-off, which is missing as per the contributing guidelines. |
GeorgeSapkin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And you need to bump the PKG_RELEASE in the Makefile.
net/ddns-scripts/Makefile
Outdated
|
|
||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
net/ddns-scripts/Makefile
Outdated
|
|
||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| @@ -0,0 +1,28 @@ | |||
| # | |||
| #.Distributed under the terms of the GNU General Public License (GPL) version 2.0 | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider using a SPDX license identifier instead.
| } | ||
|
|
||
| # update subdomain record | ||
| rrid=`call_api dnsListRecords "domain=$domain" | get_rrid` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| rrid=`call_api dnsListRecords "domain=$domain" | get_rrid` | |
| rrid=$(call_api dnsListRecords "domain=$domain" | get_rrid) |
| call_api dnsUpdateRecord "domain=$domain&rrid=$rrid&rrhost=$username&rrvalue=$__IP&rrttl=$__TTL" | grep success && { | ||
| return 0 | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you mean:
| call_api dnsUpdateRecord "domain=$domain&rrid=$rrid&rrhost=$username&rrvalue=$__IP&rrttl=$__TTL" | grep success && { | |
| return 0 | |
| } | |
| call_api dnsUpdateRecord "domain=$domain&rrid=$rrid&rrhost=$username&rrvalue=$__IP&rrttl=$__TTL" | grep success && true |
|
Updated with all suggestions. |
|
You still need to add a commit message with a description of the changes, besides the subject. |
530a7ff to
b142d07
Compare
| @@ -0,0 +1,24 @@ | |||
| # | |||
| # SPDX-License-Identifier: GPL-2.0 | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's no such identifier. Did you mean GPL-2.0-only?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, should I update the file and re-commit?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, please.
new service provider namesilo.com config guide: * set [domain] to apex domain * set [username] to subdomain (without apex domain) * set [password] to api key Signed-off-by: Lin Fan <[email protected]>
📦 Package Details
Maintainer: @
Description:
Add namesilo.com API to ddns-scripts package.
🧪 Run Testing Details
✅ Formalities