On 17/03/2021 19.21, Andy Bierman wrote:
On Wed, Mar 17, 2021 at 8:36 AM Vladimir Vassilev
<[email protected]
<mailto:[email protected]>> wrote:
On 16/03/2021 13.36, Vladimir Vassilev wrote:
> Hei,
>
> Many drafts and RFCs are flagged with warnings by the tracker
> validation tools:
>
> ...
> yanglint SO 1.6.7: yanglint --verbose -p {tmplib} -p {rfclib} -p
> {draftlib} -p {ianalib} -p {cataloglib} {model} -i:
> warn: Module's revisions are not unique (2018-06-28).
>
> ...
>
> Does anyone know what causes this warning?
Seems the warning is issued when [email protected] is
processed. It contains 2 revision (history) statements with identical
dates 2018-06-28.
IMO Multiple revision statements with the same date are valid so the
tool reporting the warning has to be fixed.
I disagree. Our compiler has a similar warning.
The YANG Library treats entries with the exact same module name and
revision-date as
the same module. The protocols that currently advertise YANG module
capabilities
all use module name and revision-date to identify a unique module
revision.
A compiler warning simply means "Are you sure you meant to do this?"
This is usually a cut-and-paste error.
If the tools could some how indicate that the warning is for an imported
module and not the one validated it would be easier to differentiate
between that case and the case the warning is caused by an imported
standard module like iana-if-type.
Vladimir
Vladimir
Andy
_______________________________________________
netmod mailing list
[email protected] <mailto:[email protected]>
https://www.ietf.org/mailman/listinfo/netmod
_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod