The assumption back then was indeed that an organization would not _publish_ two revisions on the same date. Note the choice of the verb 'publish', which is not to be confused with edits made during development, at least back then we made this distinction between module development and module publication.
/js On Tue, Jun 01, 2021 at 01:36:09PM +0000, Sterne, Jason (Nokia - CA/Ottawa) wrote: > Hi all, > > In our YANG versioning work we are proposing that a revision-label is unique > and the revision history of a module must not contain the same revision-label > twice. > > We're debating whether we should state the same rule for revision *date* as > well. > > RFC7950 doesn't seem to explicitly say that revision date must not be > duplicated in the revision history. > > This issue came up recently in an OpenConfig discussion here: > Updates to OpenConfig types modules. * openconfig/public@f20ed84 > (github.com)<https://github.com/openconfig/public/commit/f20ed8411a6fc1f55c9debed55c852ea4ffef5bb#commitcomment-51076470> > > Was it the intention of RFC7950 that a revision history should never have the > same revision date twice ? > > I think it is somewhat inferred from various drafts that describe how a > module name + revision date uniquely identifies a module revision. But it > doesn't seem to be explicitly stated in RFC7950. > > If we disallow duplicate revision dates, that makes the module-name+date > tuple unique, but it does mean that authors can't produce 2 versions of a > module in the same day. In theory we *could* do something like this: > - require unique revision-labels > - allow duplicate revision dates > > But in that case, only the module-name+revision-label can be the unique > identifier for a revision. > > Jason > > _______________________________________________ > netmod mailing list > [email protected] > https://www.ietf.org/mailman/listinfo/netmod -- Juergen Schoenwaelder Jacobs University Bremen gGmbH Phone: +49 421 200 3587 Campus Ring 1 | 28759 Bremen | Germany Fax: +49 421 200 3103 <https://www.jacobs-university.de/> _______________________________________________ netmod mailing list [email protected] https://www.ietf.org/mailman/listinfo/netmod
