From: Martin Krieger <makrie@posteo.de>
To: development@lists.ipfire.org
Subject: Re: [PATCH] ddns: Add provider Feste-IP.Net
Date: Wed, 19 May 2021 13:44:03 +0000 [thread overview]
Message-ID: <8dcf65d8-5f8d-5b8c-f6b4-861c32d645ab@posteo.de> (raw)
In-Reply-To: <37323352-007d-f1a6-5ce9-0d614c3ca9e3@ipfire.org>
[-- Attachment #1: Type: text/plain, Size: 5465 bytes --]
Hello Peter,
I marked the obsolete patches as "superseded".
Regards,
Martin Krieger
Peter Müller:
> Hi,
>
> thanks for your reply.
>
> First, please do not forget to keep the mailing list CC'ed. For transparency reasons, we have a policy here
> stating to keep public conversations public (please refer to https://wiki.ipfire.org/devel/contact for details).
>
> Second, your patches _did_ made it into patchwork. They can be found in
the "ipfire" section - for your convenience,
> here is a list of all active patches submitted by you patchwork currently knows about:
> https://patchwork.ipfire.org/project/ipfire/list/?submitter=93
>
> Once having logged in, you can mark patches as being "superseded", so they won't appear as being active anymore.
>
> Third, I have seen your updated patch and will comment on it separately
the other day.
>
> Thanks, and best regards,
> Peter Müller
>
>
>> Hello Peter,
>>
>> thanks for your reply. Sorry for confusion about the patch. I tried to
fullfill the requirements, but due to my low experience on the git process it went accidantely wrong.
>>
>> I will improve & resubmit my patch according to your comments.
>>
>> What ist the right way to mark patches as obsolete or remove them? My patches doesn‘t seem to enter https://patchwork.ipfire.org.
>>
>> Regards,
>>
>> Martin Krieger
>>
>> Von meinem iPad gesendet
>>
>>> Am 17.05.2021 um 21:31 schrieb Peter Müller <peter.mueller(a)ipfire.org>:
>>> Hi,
>>>
>>> thank you for providing this.
>>>
>>> I regret to inform you that
>>>
>>> (a) both this patch and it's precursor violate the syntax of patches applicable to git,
>>> having parts of the description and various tags mangled into the
RFC 5322 / MIME
>>> "Subject" header.
>>>
>>> You do not need to use "git send-email" as such (personally, I do
not use it either,
>>> because my development environment cannot establish SMTP connections due to firewall
>>> policies). However, IPFire's development heavily relies on Git, so please figure out
>>> how to run the most basic commands such as "git commit" and "git format-patch" in
>>> order to properly submit your patches.
>>>
>>> (b) these patches each success each other, however missing appropriate version tags
>>> (such as [PATCH v2], [PATCH v3], etc.) in the RFC 5322 "Subject" header of their
>>> mails.
>>>
>>> Since you did not mark the obsoleted patches as being superseded in https://patchwork.ipfire.org/,
>>> either, this makes it hard to keep track of the latest version of
your patch. Eventually,
>>> we might apply, commend or reject based on the wrong one, because
of simply having
>>> overlooked there is a new, fixed version of it available.
>>>
>>> Apart from that, it would be good to see this patch tested with IPv6 and dual-stack scenarios
>>> as well - please see also my remark(s) on this below. If I understood
the documentation of
>>> that DDNS provider correctly, you do not really need to supply two IP
addresses having distinct
>>> families. Could you at least try executing this snippet with two different IPv4 addresses?
>>>
>>>> ---
>>>> README | 1 +
>>>> src/ddns/providers.py | 27 +++++++++++++++++++++++++++
>>>> 2 files changed, 28 insertions(+)
>>>>
>>>> diff --git a/README b/README
>>>> index b6decb35c338..fa6ce5e598b8 100644
>>>> --- a/README
>>>> +++ b/README
>>>> @@ -68,6 +68,7 @@ SUPPORTED PROVIDERS:
>>>> easydns.com
>>>> enom.com
>>>> entrydns.net
>>>> + feste-ip.net
>>>> freedns.afraid.org
>>>> inwx.com|de|at|ch|es
>>>> itsdns.de
>>>> diff --git a/src/ddns/providers.py b/src/ddns/providers.py
>>>> index 56e6620c78ab..009e2c9e337d 100644
>>>> --- a/src/ddns/providers.py
>>>> +++ b/src/ddns/providers.py
>>>> @@ -1179,6 +1179,33 @@ class DDNSProviderEntryDNS(DDNSProvider):
>>>> raise DDNSUpdateError
>>>>
>>>>
>>>> +class DDNSProviderFesteIPNet(DDNSProtocolDynDNS2, DDNSProvider):
>>>> + handle = "feste-ip.net"
>>>> + name = "Feste-IP.Net"
>>>> + website = "https://www.feste-ip.net/"
>>>> +
>>>> + # Information about the format of the request is to be found
>>>> + # https://forum.feste-ip.net/viewtopic.php?f=13&t=469
>>>> +
>>>> + myips = ("myip","myip2")
>>>
>>> Personal comment: Kinda ugly, but given the documentation of that provider, there is no
>>> other choice to do this here...
>>>
>>>> +
>>>> + url = "https://members.feste-ip.net/nic/update/"
>>>> +
>>>> + def update(self):
>>>> + data = {
>>>> + "hostname" : self.hostname
>>>> + }
>>>> +
>>>> + for proto in DDNSProvider.protocols:
>>>> + idx = 0
>>>> + tmpip = self.get_address(proto)
>>>> + if tmpip:
>>>> + data[self.myips[idx]] = tmpip
>>>> + idx += 1
>>>> +
>>>> + self.send_request(data)
>>>
>>> What is happening here if $tmpip equals a Boolean False?
>>>
>>>> +
>>>> +
>>>> class DDNSProviderFreeDNSAfraidOrg(DDNSProvider):
>>>> handle = "freedns.afraid.org"
>>>> name = "freedns.afraid.org"
>>>
>>> Thanks, and best regards,
>>> Peter Müller
>>
[-- Attachment #2: OpenPGP_signature.sig --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2021-05-19 13:44 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <569B3659-E76C-484C-8A05-98A3A41AF2A2@posteo.de>
2021-05-18 21:39 ` [PATCH] ddns: Add provider Feste-IP.Net Signed-off-by: Martin Krieger <makrie@posteo.de> --- *IPv6 support included based on API description but not tested. *Test system is connected by VDSL with pure IPv4 (No IPv6 or dual stack). *Setup can handle IPv4, IPv6 or dual stack updates Peter Müller
2021-05-19 13:44 ` Martin Krieger [this message]
2021-05-20 11:21 [PATCH v6 1/1] ddns: Add provider Feste-IP.Net Michael Tremer
2021-05-20 16:51 ` [PATCH] " Martin Krieger
2021-05-21 8:47 ` Michael Tremer
2021-05-28 15:09 ` Martin Krieger
-- strict thread matches above, loose matches on Subject: below --
2021-05-05 22:28 ddns add provider Feste-IP.NET Michael Tremer
2021-05-06 10:21 ` [PATCH] ddns: Add provider Feste-IP.Net Martin Krieger
2021-05-06 15:08 ` Michael Tremer
2021-05-08 12:20 ` Martin Krieger
2021-05-11 9:44 ` Michael Tremer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8dcf65d8-5f8d-5b8c-f6b4-861c32d645ab@posteo.de \
--to=makrie@posteo.de \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox