Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-hatch_nodejs_version for openSUSE:Factory checked in at 2022-12-04 14:58:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-hatch_nodejs_version (Old) and /work/SRC/openSUSE:Factory/.python-hatch_nodejs_version.new.1835 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-hatch_nodejs_version" Sun Dec 4 14:58:53 2022 rev:2 rq:1039912 version:0.3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-hatch_nodejs_version/python-hatch_nodejs_version.changes 2022-09-23 14:16:26.010150490 +0200 +++ /work/SRC/openSUSE:Factory/.python-hatch_nodejs_version.new.1835/python-hatch_nodejs_version.changes 2022-12-04 14:59:22.680624115 +0100 @@ -1,0 +2,19 @@ +Sat Dec 3 17:37:49 UTC 2022 - Yogalakshmi Arunachalam <yarunacha...@suse.com> + +- Update to version 0.3.1 + * Add a trailing newline to package.json when appropriate by @blink1073 in #17 + +- Update to version 0.3.0 + * Update version to match distribution by @bollwyvl in #2 + * Add official Hatch badge by @ofek in #3 + * Refactor: don't store path in version_data by @agoose77 in #4 + * feat: add support for metadata hook by @agoose77 in #5 + * ci: test with pytest by @agoose77 in #6 + * Add Python version classifiers by @ofek in #7 + * Add urls for this package by @fcollonval in #8 + * feat: add label configuration options to modify URLs table keys by @agoose77 in #9 + * docs: explain fields fallback by @agoose77 in #10 + * docs: replace NodeJS with Node.js by @agoose77 in #11 + * Feat: support build metadata by @agoose77 in #13 + +------------------------------------------------------------------- Old: ---- hatch_nodejs_version-0.3.0.tar.gz New: ---- hatch_nodejs_version-0.3.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-hatch_nodejs_version.spec ++++++ --- /var/tmp/diff_new_pack.CurSOw/_old 2022-12-04 14:59:23.104626557 +0100 +++ /var/tmp/diff_new_pack.CurSOw/_new 2022-12-04 14:59:23.108626580 +0100 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-hatch_nodejs_version -Version: 0.3.0 +Version: 0.3.1 Release: 0 Summary: This package provides two Hatch plugins for nodejs License: MIT ++++++ hatch_nodejs_version-0.3.0.tar.gz -> hatch_nodejs_version-0.3.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatch_nodejs_version-0.3.0/.github/workflows/tests.yml new/hatch_nodejs_version-0.3.1/.github/workflows/tests.yml --- old/hatch_nodejs_version-0.3.0/.github/workflows/tests.yml 2020-02-02 01:00:00.000000000 +0100 +++ new/hatch_nodejs_version-0.3.1/.github/workflows/tests.yml 2020-02-02 01:00:00.000000000 +0100 @@ -1,6 +1,12 @@ name: Tests -on: [push] +on: + push: + branches: ["master"] + pull_request: + # Run once a day. + schedule: + - cron: "0 8 * * *" concurrency: group: 'tests-${{ github.head_ref || github.run_id }}' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatch_nodejs_version-0.3.0/PKG-INFO new/hatch_nodejs_version-0.3.1/PKG-INFO --- old/hatch_nodejs_version-0.3.0/PKG-INFO 2020-02-02 01:00:00.000000000 +0100 +++ new/hatch_nodejs_version-0.3.1/PKG-INFO 2020-02-02 01:00:00.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: hatch-nodejs-version -Version: 0.3.0 +Version: 0.3.1 Summary: Hatch plugin for versioning from a package.json file Project-URL: Homepage, https://github.com/agoose77/hatch-nodejs-version Project-URL: Issue Tracker, https://github.com/agoose77/hatch-nodejs-version/issues diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatch_nodejs_version-0.3.0/hatch-nodejs-version-9ee3546c1288b1f063220757.sublime-project new/hatch_nodejs_version-0.3.1/hatch-nodejs-version-9ee3546c1288b1f063220757.sublime-project --- old/hatch_nodejs_version-0.3.0/hatch-nodejs-version-9ee3546c1288b1f063220757.sublime-project 1970-01-01 01:00:00.000000000 +0100 +++ new/hatch_nodejs_version-0.3.1/hatch-nodejs-version-9ee3546c1288b1f063220757.sublime-project 2020-02-02 01:00:00.000000000 +0100 @@ -0,0 +1 @@ +{"folders":[{"path": "."}]} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatch_nodejs_version-0.3.0/hatch-nodejs-version-9ee3546c1288b1f063220757.sublime-workspace new/hatch_nodejs_version-0.3.1/hatch-nodejs-version-9ee3546c1288b1f063220757.sublime-workspace --- old/hatch_nodejs_version-0.3.0/hatch-nodejs-version-9ee3546c1288b1f063220757.sublime-workspace 1970-01-01 01:00:00.000000000 +0100 +++ new/hatch_nodejs_version-0.3.1/hatch-nodejs-version-9ee3546c1288b1f063220757.sublime-workspace 2020-02-02 01:00:00.000000000 +0100 @@ -0,0 +1 @@ +{} \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatch_nodejs_version-0.3.0/hatch_nodejs_version/_version.py new/hatch_nodejs_version-0.3.1/hatch_nodejs_version/_version.py --- old/hatch_nodejs_version-0.3.0/hatch_nodejs_version/_version.py 2020-02-02 01:00:00.000000000 +0100 +++ new/hatch_nodejs_version-0.3.1/hatch_nodejs_version/_version.py 2020-02-02 01:00:00.000000000 +0100 @@ -1,4 +1,4 @@ # SPDX-FileCopyrightText: 2022-present Angus Hollands <goose...@gmail.com> # # SPDX-License-Identifier: MIT -__version__ = "0.3.0" +__version__ = "0.3.1" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatch_nodejs_version-0.3.0/hatch_nodejs_version/version_source.py new/hatch_nodejs_version-0.3.1/hatch_nodejs_version/version_source.py --- old/hatch_nodejs_version-0.3.0/hatch_nodejs_version/version_source.py 2020-02-02 01:00:00.000000000 +0100 +++ new/hatch_nodejs_version-0.3.1/hatch_nodejs_version/version_source.py 2020-02-02 01:00:00.000000000 +0100 @@ -156,9 +156,15 @@ if not os.path.isfile(path): raise OSError(f"file does not exist: {self.path}") + # Read the original file so we can see if it has a trailing + # newline character. with open(path, "r") as f: - data = json.load(f) + raw_data = f.read() + + data = json.loads(raw_data) data["version"] = self.python_version_to_node(version) with open(path, "w") as f: json.dump(data, f, indent=4) + if raw_data.endswith('\n'): + f.write('\n') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatch_nodejs_version-0.3.0/pyrightconfig.json new/hatch_nodejs_version-0.3.1/pyrightconfig.json --- old/hatch_nodejs_version-0.3.0/pyrightconfig.json 1970-01-01 01:00:00.000000000 +0100 +++ new/hatch_nodejs_version-0.3.1/pyrightconfig.json 2020-02-02 01:00:00.000000000 +0100 @@ -0,0 +1 @@ +{"venvPath":"/Users/steve.silvester/workspace/.venvs","venv": "hatch-nodejs-version-9ee3546c1288b1f063220757"}