Skip to content
Snippets Groups Projects
Commit 924d9134 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Add version check for doc/design-draft.rst


This is similar to README or “doc/security.rst”. Having a comment that
needs updating for a new version is more likely going to trigger a check
of the lists of design drafts.

Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent a5b0694f
No related branches found
No related tags found
No related merge requests found
......@@ -1508,6 +1508,11 @@ check-local: check-dirs $(GENERATED_FILES)
echo "File $(top_srcdir)/doc/design-$$expver.rst not found" >&2; \
error=1; \
fi; \
if test "`sed -ne '5 p' $(top_srcdir)/doc/design-draft.rst`" != \
".. Last updated for Ganeti $$expver"; then \
echo "doc/design-draft.rst was not updated for version $$expver" >&2; \
error=1; \
fi; \
for file in configure.ac $(HS_LIBTEST_SRCS) $(HS_PROG_SRCS); do \
if test $$(wc --max-line-length < $(top_srcdir)/$$file) -gt 80; then \
echo "Longest line in $$file is longer than 80 characters" >&2; \
......
......@@ -2,6 +2,8 @@
Design document drafts
======================
.. Last updated for Ganeti 2.6
.. toctree::
:maxdepth: 2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment