Skip to content

Commit

Permalink
5.4.0 Release
Browse files Browse the repository at this point in the history
Signed-off-by: Slavomir Mazur <[email protected]>
  • Loading branch information
SlavomirMazurPantheon committed Jul 8, 2022
1 parent 42dc0ef commit 99f8f09
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@

* ##### vm.m.p - 2022-MM-DD

* ##### v5.4.0 - 2022-07-08

* lxml package version bumped
* Using SchemaParts dataclass for storing schema URL parts [#529](https://github.com/YangCatalog/backend/issues/529)
* Various code improvements to the ietfYangDraftPull module
* Impact analysis API endpoint source code optimized
* Search for import files in openconfig/public repo [#528](https://github.com/YangCatalog/backend/issues/528)
* Using IP versus domain name when composing URLs [deployment #141](https://github.com/YangCatalog/deployment/issues/141)
* Bugfix: Use correct parsed yang object if yang file already parsed [#521](https://github.com/YangCatalog/backend/issues/521)
* Bugfix: Loading Redis from backup
* GET api/problematic-drafts API endpoint added [#517](https://github.com/YangCatalog/backend/issues/517)
* Bugfix: Trying to hash file content if file does not exist

* ##### v5.3.0 - 2022-06-06

* Fixed user reminder webex message [#517](https://github.com/YangCatalog/backend/issues/517)
Expand Down
4 changes: 3 additions & 1 deletion documentation/source/index.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -2768,13 +2768,15 @@ curl -X GET -H "Accept: application/json" "https://yangcatalog.org/api/admin/scr
"populate",
"runCapabilities",
"draftPull",
"ianaPull",
"draftPullLocal",
"openconfigPullLocal",
"statistics",
"recovery",
"elk_recovery",
"elk_fill",
"resolveExpiration"
"resolveExpiration",
"reviseSemver"
],
"info":"Success"
}
Expand Down
1 change: 1 addition & 0 deletions parseAndPopulate/fileHasher.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ def should_parse_openconfig_module(self, path: str) -> bool:
hash_changed = False

path_splitted = path.split('/')
# Path has following structure: /var/yang/tmp/<number>/openconfig/public/release/<rest_of_path>
del path_splitted[4] # remove directory set by number from path
openconfig_tmp_path = '/'.join(path_splitted)

Expand Down
4 changes: 2 additions & 2 deletions statistic/statistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def list_yang_modules_recursive(srcdir: str) -> t.List[str]:
def get_total_and_passed(directory: str) -> t.Tuple[int, int]:
"""Get the number of yang files in a specified directory and the
number that passed compilation.
Argument:
:param path_dir: (str) path to the directory where to search for
yang files
Expand Down Expand Up @@ -484,7 +484,7 @@ def process_sdo_dir(directory: str, name: str):
process_sdo_dir('standard/mef/src/model/standard', 'MEF standard')
process_sdo_dir('standard/mef/src/model/draft', 'MEF draft')

# Openconfig is from different repo that s why we need models in github zero
# Openconfig is from different repository so we need yang models in Github equal to zero
LOGGER.info('Cloning the repo')
repo = repoutil.ModifiableRepoUtil(
os.path.join(github_url, 'openconfig/public'),
Expand Down

0 comments on commit 99f8f09

Please sign in to comment.