Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-ospd for openSUSE:Factory 
checked in at 2021-03-02 12:36:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ospd (Old)
 and      /work/SRC/openSUSE:Factory/.python-ospd.new.2378 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-ospd"

Tue Mar  2 12:36:26 2021 rev:2 rq:876141 version:20.8.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ospd/python-ospd.changes  2020-09-29 
19:05:38.150043686 +0200
+++ /work/SRC/openSUSE:Factory/.python-ospd.new.2378/python-ospd.changes        
2021-03-02 14:27:25.962018326 +0100
@@ -1,0 +2,23 @@
+Tue Mar  2 07:39:20 UTC 2021 - Martin Hauke <mar...@gmx.de>
+
+- Update to version 20.8.1
+  Added
+  * Add debug level log messages. #373
+  Changed
+  * Improve logging for unsatisfied vts dependencies.
+  * Do not use busy wait when waiting for the openvas scan process
+    to finish.
+  * The description field of the systemd ospd-openvas.service file
+    was updated.
+  * Improve logging for unexpected data in script_xref tags.
+  Fixed
+  * Fix nvticache name when for stable version from sources.
+  * Fix stop scan during preferences handling, before spawining
+    OpenVAS.
+  * Fix alive test preferences when a non default method is
+    selected.
+  * Check for empty vts preferences list.
+  * Fix progress calculation when the host count differs from the
+    target string count.
+
+-------------------------------------------------------------------

Old:
----
  ospd-20.8.0.tar.gz
  ospd-20.8.0.tar.gz.sig

New:
----
  ospd-20.8.1.tar.gz
  ospd-20.8.1.tar.gz.sig

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-ospd.spec ++++++
--- /var/tmp/diff_new_pack.NI9uoj/_old  2021-03-02 14:27:26.458018926 +0100
+++ /var/tmp/diff_new_pack.NI9uoj/_new  2021-03-02 14:27:26.458018926 +0100
@@ -1,8 +1,8 @@
 #
 # spec file for package python-ospd
 #
-# Copyright (c) 2020 SUSE LLC
-# Copyright (c) 2020, Martin Hauke <mar...@gmx.de>
+# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2020-2021, Martin Hauke <mar...@gmx.de>
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,10 +20,10 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define         skip_python2 1
 Name:           python-ospd
-Version:        20.8.0
+Version:        20.8.1
 Release:        0
 Summary:        A base class for the OSP (Open Scanner Protocol)
-License:        GPL-2.0-or-later
+License:        AGPL-3.0-or-later
 Group:          Development/Languages/Python
 URL:            https://www.openvas.org
 Source:         
https://github.com/greenbone/ospd/archive/v%{version}.tar.gz#/ospd-%{version}.tar.gz

++++++ ospd-20.8.0.tar.gz -> ospd-20.8.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ospd-20.8.0/.circleci/config.yml 
new/ospd-20.8.1/.circleci/config.yml
--- old/ospd-20.8.0/.circleci/config.yml        2020-08-11 13:57:05.000000000 
+0200
+++ new/ospd-20.8.1/.circleci/config.yml        2020-08-12 09:32:50.000000000 
+0200
@@ -93,7 +93,7 @@
           name: Create and upload distribution to pypi
           command: |
             rm -rf dist build ospd.egg-info
-            poetry run python setup.py sdist bdist_wheel
+            poetry build
             poetry run twine upload dist/*
 
 jobs:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ospd-20.8.0/CHANGELOG.md new/ospd-20.8.1/CHANGELOG.md
--- old/ospd-20.8.0/CHANGELOG.md        2020-08-11 13:57:05.000000000 +0200
+++ new/ospd-20.8.1/CHANGELOG.md        2020-08-12 09:32:50.000000000 +0200
@@ -4,6 +4,14 @@
 
 The format is based on [Keep a 
Changelog](https://keepachangelog.com/en/1.0.0/).
 
+## [20.8.1] (2020-08-12)
+
+### Fixed
+- Fix deploy and upload to pypi. 
[#312](https://github.com/greenbone/ospd/pull/312)
+- Fix metadata for Python wheel distributable 
[#313](https://github.com/greenbone/ospd/pull/313)
+
+[20.8.1]: https://github.com/greenbone/ospd/compare/v20.8.0...v20.8.1
+
 ## [20.8.0] (2020-08-11)
 
 ### Added
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ospd-20.8.0/RELEASE.md new/ospd-20.8.1/RELEASE.md
--- old/ospd-20.8.0/RELEASE.md  1970-01-01 01:00:00.000000000 +0100
+++ new/ospd-20.8.1/RELEASE.md  2020-08-12 09:32:50.000000000 +0200
@@ -0,0 +1,200 @@
+# Release Instructions
+
+Before creating a new release carefully consider the version number of the new
+release. We are following [Semantic Versioning](https://semver.org/) and
+[PEP440](https://www.python.org/dev/peps/pep-0440/).
+
+## Preparing the Required Python Packages
+
+* Install twine for pypi package uploads
+
+  ```sh
+  python3 -m pip install --user --upgrade twine
+  ```
+
+## Configuring the Access to the Python Package Index (PyPI)
+
+*Note:* This is only necessary for users performing the release process for the
+first time.
+
+* Create an account at [Test 
PyPI](https://packaging.python.org/guides/using-testpypi/).
+
+* Create an account at [PyPI](https://pypi.org/).
+
+* Create a pypi configuration file `~/.pypirc` with the following content 
(Note:
+  `<username>` must be replaced):
+
+  ```ini
+  [distutils]
+  index-servers =
+      pypi
+      testpypi
+
+  [pypi]
+  username = <username>
+
+  [testpypi]
+  repository = https://test.pypi.org/legacy/
+  username = <username>
+  ```
+
+## Prepare testing the Release
+
+* Fetch upstream changes and create a branch:
+
+  ```sh
+  git fetch upstream
+  git checkout -b create-new-release upstream/master
+  ```
+
+* Get the current version number
+
+  ```sh
+  poetry run python -m pontos.version show
+  ```
+
+* Update the version number to some alpha version e.g.
+
+  ```sh
+  poetry run python -m pontos.version update 1.2.3a1
+  ```
+
+## Uploading to the PyPI Test Instance
+
+* Create a source and wheel distribution:
+
+  ```sh
+  rm -rf dist build ospd.egg-info
+  poetry build
+  ```
+
+* Upload the archives in `dist` to [Test PyPI](https://test.pypi.org/):
+
+  ```sh
+  twine upload -r testpypi dist/*
+  ```
+
+* Check if the package is available at <https://test.pypi.org/project/ospd>.
+
+## Testing the Uploaded Package
+
+* Create a test directory:
+
+  ```sh
+  mkdir ospd-install-test
+  cd ospd-install-test
+  python3 -m venv test-env
+  source test-env/bin/activate
+  pip install -U pip  # ensure the environment uses a recent version of pip
+  pip install --pre -I --extra-index-url https://test.pypi.org/simple/ ospd
+  ```
+
+* Check install version with a Python script:
+
+  ```sh
+  python3 -c "from ospd import __version__; print(__version__)"
+  ```
+
+* Remove test environment:
+
+  ```sh
+  deactivate
+  cd ..
+  rm -rf ospd-install-test
+  ```
+
+## Prepare the Release
+
+* Determine new release version number
+
+  If the output is something like  `1.2.3.dev1` or `1.2.3a1`, the new version
+  should be `1.2.3`.
+
+* Update to new version number (`<new-version>` must be replaced by the version
+  from the last step)
+
+  ```sh
+  cd path/to/git/clone/of/ospd
+  poetry run python -m pontos.version update <new-version>
+  ```
+
+* Update the `CHANGELOG.md` file:
+  * Change `[unreleased]` to new release version.
+  * Add a release date.
+  * Update reference to Github diff.
+  * Remove empty sub sections like *Deprecated*.
+
+* Create a git commit:
+
+  ```sh
+  git add .
+  git commit -m "Prepare release <version>"
+  ```
+
+## Performing the Release on GitHub
+
+* Create a pull request (PR) for the earlier commit:
+
+  ```sh
+  git push origin
+  ```
+  Open GitHub and create a PR against <https://github.com/greenbone/ospd>.
+
+* Ask another developer/maintainer to review and merge the PR.
+
+* Once the PR is merged, update the local `master` branch:
+
+  ```sh
+  git fetch upstream
+  git rebase upstream/master master
+  ```
+
+* Create a git tag:
+
+  ```sh
+  git tag v<version>
+  ```
+
+  Or even a tag signed with a personal GPG key:
+
+  ```sh
+  git tag --sign --message "Tagging the <version> release" v<version>
+  ```
+
+* Push changes and tag to Github:
+
+  ```sh
+  git push --tags upstream
+  ```
+
+## Uploading to the 'real' PyPI
+
+* Uploading to PyPI is done automatically by pushing a git tag via CircleCI
+
+* Check if new version is available at <https://pypi.org/project/ospd>.
+
+## Bumping `master` Branch to the Next Version
+
+
+* Update to a Development Version
+
+  The next version should contain an incremented minor version and a dev suffix
+  e.g. 2.3.0.dev1
+
+  ```sh
+  poetry run python -m pontos.version update <next-dev-version>
+  ```
+
+* Create a commit for the version bump:
+
+  ```sh
+  git add .
+  git commit -m "Update version after <version> release"
+  git push upstream
+  ```
+
+## Announcing the Release
+
+* Create a Github release:
+
+  See https://help.github.com/articles/creating-releases/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ospd-20.8.0/ospd/__version__.py 
new/ospd-20.8.1/ospd/__version__.py
--- old/ospd-20.8.0/ospd/__version__.py 2020-08-11 13:57:05.000000000 +0200
+++ new/ospd-20.8.1/ospd/__version__.py 2020-08-12 09:32:50.000000000 +0200
@@ -2,4 +2,4 @@
 
 # THIS IS AN AUTOGENERATED FILE. DO NOT TOUCH!
 
-__version__ = "20.8.0"
+__version__ = "20.8.1"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ospd-20.8.0/pyproject.toml 
new/ospd-20.8.1/pyproject.toml
--- old/ospd-20.8.0/pyproject.toml      2020-08-11 13:57:05.000000000 +0200
+++ new/ospd-20.8.1/pyproject.toml      2020-08-12 09:32:50.000000000 +0200
@@ -3,9 +3,8 @@
 
 [tool.poetry]
 name = "ospd"
-version = "20.8.0"
-description = """OSPD is a base for scanner wrappers which share the same
-communication protocol: OSP (Open Scanner Protocol)"""
+version = "20.8.1"
+description = "OSPD is a base for scanner wrappers which share the same 
communication protocol: OSP (Open Scanner Protocol)"
 authors = ["Greenbone Networks GmbH <i...@greenbone.net>"]
 license = "AGPL-3.0-or-later"
 readme = "README.md"

Reply via email to