Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
891325b
Add options to render relationships to choices and cases and suppress…
Jun 2, 2023
283ff13
Add support to suppress the footer
Jun 5, 2023
cda7c92
Add support for bits class
Jun 6, 2023
096cccb
Add support to hide the module prefix in the package representing the…
Jun 8, 2023
fa21c1e
Tweak help text for the option uml-hide-prefix-in-package-name
Jun 8, 2023
afbad21
Refactor option --uml-unbound-is-star to --uml-unbounded-multiplicity
Jun 13, 2023
d0040dc
Refactor support for changing the relationships for choices and cases
Jun 13, 2023
48c1580
Add support for changing how the uses statement is rendered when not …
Jun 14, 2023
10b7c60
Refactor new UML options
Jun 14, 2023
8a134ab
Refactor option to suppress the prefix in the package name to use --u…
Jun 19, 2023
e4ebf17
Minor refactoring
Jun 23, 2023
0d43f12
Refactor uml-no-title and uml-no-footer to use the uml-no option
Jun 23, 2023
1539458
Revert adding enumeration stereotype to enums, no included in a separ…
Jul 13, 2023
44a1d44
Correct unwanted formatting change
Jul 13, 2023
1a3c245
Remove warning regarding wrong type assignment
Jun 27, 2023
acc7f3b
Modify info text to report the grouping referenced
Jun 27, 2023
c84222d
Fix dots in identifiers not being converted to underscore in PlantUML…
Jul 19, 2023
f58d635
Minor correction to a comment
Jul 19, 2023
d5bbef9
Fix issues with the rendering of identities, identityrefs, typedefs a…
Jul 13, 2023
54c3916
Fix missing notifications defined in interior data nodes
Jul 21, 2023
ecf1bf1
Move emit_child_stmt() out of emit_notify()
Jul 28, 2023
9bc3d4b
converted man pages from docbook to markdown; use pandoc to create nroff
mbj4668 Nov 1, 2023
c5d89e3
added missing markdown files
mbj4668 Nov 1, 2023
1b1c3e0
fixed markdown
mbj4668 Nov 1, 2023
4ba83e7
Fixes #650 - bad expansion of multiple related augments
mbj4668 Nov 1, 2023
dc97553
Fixes #729, see #193, #836 - handle 1.1 scoping rules in XPath evalua…
mbj4668 Nov 3, 2023
987f59c
Updates for 2.6.0 release
mbj4668 Nov 1, 2023
495dda0
set i_main_module properly when a submodule is validated standalone
mbj4668 Nov 15, 2023
e3ff8ab
Replace sys.exit with return. (#887)
xorrkaz Jan 24, 2024
87d23b0
UML Plugin correct direction of the generalization and realization re…
Jan 30, 2024
3e2ca00
Fixed #884 - tree module header not printed
mbj4668 Mar 12, 2024
25f69e8
Fixes #886 - crash on deviation of config
mbj4668 Mar 12, 2024
4f271ff
Fix IEEE module name prefix expectation
esmasth May 11, 2024
283cfbf
fixed email address
mbj4668 May 12, 2024
d4159de
fixes #907 - check ordered-by updates
mbj4668 May 23, 2024
fc9a965
Updates for 2.6.1 release
mbj4668 May 23, 2024
76b7840
Add fd to Decimal64Value
ubaumann Jan 24, 2025
f8ff894
Replace deprecated pkg_resources with importlib for Python >=3.12
theYoursTruly Jan 10, 2025
259c2f2
Update plugin.py
theYoursTruly Jan 10, 2025
07cdc55
Updated python versions for tests
mbj4668 Feb 2, 2025
167bcda
use importlib.metadata in python >= 3.10
mbj4668 Feb 5, 2025
8cabfa9
Merge remote-tracking branch 'mb/master' into update-base
cabo Feb 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
name: tests
on: [push]
on:
push:
pull_request:
branches:
- main
jobs:
run-tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8.18", "3.9.21", "3.10.16", "3.11.11", "3.12.8", "3.13.1"]

steps:
- uses: actions/checkout@v3
Expand Down
37 changes: 37 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,40 @@
* 2.6.1 - 2024-05-23
```
fix IEEE module name prefix expectation
thanks to Siddharth Sharma

#884 - tree module header not printed
#886 - crash on deviation of config
#887 - replace call to sys.exit with return
#907 - --check-update now checks for changes in ordered-by
```

* 2.6.0 - 2023-11-03
```
lots of improvements to the UML plugin
thanks to Nick Hancock
lots of improvements to build and test
thanks to @ubaumann
fix invalid regular expression on Windows
thanks to Jan Kundrát
fix script issues on Windows
thanks to Jan Kundrát
fix validation of when expressions for 1.1 modules
thanks to Derek Ingrouville
fixes for revision-date in depend output
thanks to Slavomir Mazur

#845 - sid item status
#844 - tree max line length issue
#837 - test fixes
#821 - typo in jstree output
#818 - issue with decimal64 defaults in json2xml
#809 - revision-date parsed wrong if multiple "@" found in path
thanks to Michael Littlejohn
#729 - handle name scoping of 1.1 submodules in XPath expressions
#516 - crash in tree output
```

* 2.5.3 - 2022-03-30
```
added support for checking 'ancestor' and 'ancestor-or-self' XPATH axes
Expand Down
9 changes: 8 additions & 1 deletion CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,22 @@ Fred Gan
Joe Gladston
Pravin Gohite
Yan Gorelik
Nick Hancock
Giles Heron
Derek Ingrouville
Jozef Janitor
Robin Jarry
Mahesh Jethanandani
Denys Knertser
Mallikarjunarao Kosuri
Miroslav Kovac
Jan Kundrát
Balázs Lengyel
Michael Littlejohn
Miroslav Los
Ladislav Lhotka
William Lupton
Slavomir Mazur
Glenn Matthews
Paul Merlo
Ganesh Nalawade
Expand All @@ -31,6 +36,7 @@ Erik Rask
Michael Richardson
Ralph Schmieder
Juergen Schoenwaelder
Siddharth Sharma
Romanos Skiadas
Stefan Vallin
Norbert Varkonyi
Expand All @@ -40,6 +46,7 @@ Nick Weeds
Jonathan Yang
Quentin Young
Huaian Zhou
@cygnus2048
@gribok
@lemikev
@cygnus2048
@ubaumann
3 changes: 2 additions & 1 deletion dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
setuptools
coveralls
pycodestyle
pyflakes
flake8
pylint
virtualenv
virtualenv
31 changes: 6 additions & 25 deletions doc/Makefile
Original file line number Diff line number Diff line change
@@ -1,19 +1,6 @@
# ifeq ($(DBSS),)
# DBSS=$(wildcard /usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl)
# endif
# ifeq ($(DBSS),)
# DBSS=$(wildcard /usr/share/sgml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl)
# endif
# ifeq ($(DBSS),)
# $(error docbook stylesheet not found)
# endif
MANPAGES=$(patsubst %.1.md,../man/man1/%.1,$(wildcard *.1.md))

# NOTE: 1.79.1 generates bad man pages; they don't render properly
#DBURI=http://docbook.sourceforge.net/release/xsl/current
DBURI=http://docbook.sourceforge.net/release/xsl/1.78.1
MANPAGES=../man/man1/yang2dsdl.1 ../man/man1/pyang.1 ../man/man1/json2xml.1

PYANG_VERSION=$(shell grep __version__ ../pyang/__init__.py | \
VERSION=$(shell grep __version__ ../pyang/__init__.py | \
awk -F\' '{print $$2}')
DATE=$(shell grep __date__ ../pyang/__init__.py | \
awk -F\' '{print $$2}')
Expand All @@ -24,14 +11,8 @@ all: $(MANPAGES)
clean:
rm -f $(MANPAGES)

../man/man1/%.1: %.1.dbk
cat $< | \
sed -e 's/%PYANG_VERSION%/$(PYANG_VERSION)/g' \
-e 's/%DATE%/$(DATE)/g' | \
xsltproc -o $@ $(DBURI)/manpages/docbook.xsl -

%.1.html: %.1.dbk
../man/man1/%.1: %.1.md
cat $< | \
sed -e 's/%PYANG_VERSION%/$(PYANG_VERSION)/g' \
-e 's/%DATE%/$(DATE)/g' | \
xsltproc -o $@ $(DBURI)/xhtml/docbook.xsl -
sed -e 's/_VERSION_/$(VERSION)/g' \
-e 's/_DATE_/$(DATE)/g' | \
pandoc - -s -t man -o $@
170 changes: 0 additions & 170 deletions doc/json2xml.1.dbk

This file was deleted.

Loading
Loading