Skip to content

Commit

Permalink
Merge pull request #35 from DMTF/1.0.2-Tagging
Browse files Browse the repository at this point in the history
1.0.2 Versioning
  • Loading branch information
mraineri authored Nov 30, 2018
2 parents b9816dc + 3a97e49 commit fbd4b2f
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 10 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log

## [1.0.2] - 2018-11-30
- Updates to the tool based on feedback from test tools that verify schema format
- Moved repeated annotations into collections of annotations
- Added uses/groups support
- Added options for single file generation and avoiding cyclical imports
- Type resolution no longer dependent on exporting CSDL Type enums to RedfishYangExtensions, but to their responsible file

## [1.0.1] - 2018-04-03
- Restructured tool to leverage the pyang module

Expand Down
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Copyright 2017-2018 Distributed Management Task Force, Inc. All rights reserved.

# YANG to Redfish CSDL Converter tool

Copyright 2017-2018 DMTF. All rights reserved.

## Introduction

This pyang plugin converts a YANG model file to a set of corresponding Redfish OData CSDL files.
Expand Down Expand Up @@ -95,3 +95,11 @@ Execute the following command.
The remove_bom.py file is located in the directory **src**.

Note: the 'cmd' is needed in the command because "<" is not recognized by Powershell, but 'cmd' recognizes it.


## Release Process

1. Update `CHANGELOG.md` with the list of changes since the last release
2. TODO: Add version string in the tool somewhere
3. Push changes to Github
4. Create a new release in Github
3 changes: 1 addition & 2 deletions YANG-to-Redfish-Plugin/redfish.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

# Copyright Notice:
# Copyright 2017 Distributed Management Task Force, Inc. All rights reserved.
# Copyright 2017 DMTF. All rights reserved.
# License: BSD 3-Clause License. For full text see link: https://github.com/DMTF/YANG-to-Redfish-Converter/blob/master/LICENSE.md

"""
Expand Down
2 changes: 1 addition & 1 deletion YANG-to-Redfish-Plugin/rf/csdltree.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright Notice:
# Copyright 2017 Distributed Management Task Force, Inc. All rights reserved.
# Copyright 2017 DMTF. All rights reserved.
# License: BSD 3-Clause License. For full text see link: https://github.com/DMTF/YANG-to-Redfish-Converter/blob/master/LICENSE.md

import rf.redfishtypes as redfishtypes
Expand Down
2 changes: 1 addition & 1 deletion YANG-to-Redfish-Plugin/rf/redfishtypes.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright Notice:
# Copyright 2017 Distributed Management Task Force, Inc. All rights reserved.
# Copyright 2017 DMTF. All rights reserved.
# License: BSD 3-Clause License. For full text see link: https://github.com/DMTF/YANG-to-Redfish-Converter/blob/master/LICENSE.md

import string
Expand Down
2 changes: 1 addition & 1 deletion YANG-to-Redfish-Plugin/rf/statement_handlers.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright Notice:
# Copyright 2017 Distributed Management Task Force, Inc. All rights reserved.
# Copyright 2017 DMTF. All rights reserved.
# License: BSD 3-Clause License. For full text see link: https://github.com/DMTF/YANG-to-Redfish-Converter/blob/master/LICENSE.md

from xml.etree.ElementTree import Element, SubElement
Expand Down
2 changes: 1 addition & 1 deletion YANG-to-Redfish-Plugin/rf/xml_content.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright Notice:
# Copyright 2017 Distributed Management Task Force, Inc. All rights reserved.
# Copyright 2017 DMTF. All rights reserved.
# License: BSD 3-Clause License. For full text see link: https://github.com/DMTF/YANG-to-Redfish-Converter/blob/master/LICENSE.md

grammar_whitespace_mode = 'optional'
Expand Down
2 changes: 1 addition & 1 deletion YANG-to-Redfish-Plugin/rf/xml_convenience.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright Notice:
# Copyright 2017 Distributed Management Task Force, Inc. All rights reserved.
# Copyright 2017 DMTF. All rights reserved.
# License: BSD 3-Clause License. For full text see link: https://github.com/DMTF/YANG-to-Redfish-Converter/blob/master/LICENSE.md

from xml.etree.ElementTree import Element, SubElement, Comment, tostring
Expand Down
2 changes: 1 addition & 1 deletion src/remove_bom.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/python
# Copyright Notice:
# Copyright 2017 Distributed Management Task Force, Inc. All rights reserved.
# Copyright 2017 DMTF. All rights reserved.
# License: BSD 3-Clause License. For full text see link: https://github.com/DMTF/YANG-to-Redfish-Converter/blob/master/LICENSE.md

import codecs
Expand Down

0 comments on commit fbd4b2f

Please sign in to comment.