From 474c415e4cfbb22bb66c85668846f844590b5dcd Mon Sep 17 00:00:00 2001 From: Mikko Nieminen Date: Mon, 9 Sep 2024 16:14:09 +0200 Subject: [PATCH] cleanup and prepare v1.0.2 release (#1469) --- CHANGELOG.rst | 6 +++--- README.rst | 2 +- codemeta.json | 4 ++-- docs/source/app_projectroles_integration.rst | 4 ++-- docs/source/conf.py | 2 +- docs/source/getting_started.rst | 7 ++++--- docs/source/major_changes.rst | 4 ++-- projectroles/remote_projects.py | 11 ++++------- 8 files changed, 19 insertions(+), 21 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 7e65b551..9424f223 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,14 +5,14 @@ Changelog for the **SODAR Core** Django app package. Loosely follows the `Keep a Changelog `_ guidelines. -Unreleased -========== +v1.0.2 (2024-09-09) +=================== Added ----- - **General** - - ``python3.*-gdbm`` dependency (#1491) + - ``python3.11-gdbm`` dependency (#1491) - **Projectroles** - ``get_user_by_uuid()`` common template tag (#1478) - ``ProjectInvite.get_url()`` helper (#1485) diff --git a/README.rst b/README.rst index 6f446330..66591ecb 100644 --- a/README.rst +++ b/README.rst @@ -117,7 +117,7 @@ and breaking changes are possible. .. code-block:: console - pip install django-sodar-core==1.0.1 + pip install django-sodar-core==1.0.2 For installing a development version you can point your dependency to a specific commit ID in GitHub. Note that these versions may not be stable. diff --git a/codemeta.json b/codemeta.json index 9a8934aa..2ee7f48b 100644 --- a/codemeta.json +++ b/codemeta.json @@ -42,10 +42,10 @@ "codeRepository": "https://github.com/bihealth/sodar-core", "datePublished": "2023-12-06", "dateModified": "2023-12-06", - "dateCreated": "2024-08-08", + "dateCreated": "2024-09-09", "description": "SODAR Core: A Django-based framework for scientific data management and analysis web apps", "keywords": "Python, Django, scientific data managmenent, software library", "license": "MIT", "title": "SODAR Core", - "version": "v1.0.1" + "version": "v1.0.2" } diff --git a/docs/source/app_projectroles_integration.rst b/docs/source/app_projectroles_integration.rst index 798f8a3f..34441788 100644 --- a/docs/source/app_projectroles_integration.rst +++ b/docs/source/app_projectroles_integration.rst @@ -81,11 +81,11 @@ chapter. First, add the ``django-sodar-core`` dependency into your ``requirements/base.txt`` file. Make sure you are pointing to the desired -release tag or commit ID. +release tag. .. code-block:: console - django-sodar-core==1.0.1 + django-sodar-core==x.y.z Install the requirements for development: diff --git a/docs/source/conf.py b/docs/source/conf.py index 75904be5..88fae263 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -29,7 +29,7 @@ # The short X.Y version version = '1.0' # The full version, including alpha/beta/rc tags -release = '1.0.2-WIP' +release = '1.0.2' # -- General configuration --------------------------------------------------- diff --git a/docs/source/getting_started.rst b/docs/source/getting_started.rst index 2d8d1a8a..542a51ce 100644 --- a/docs/source/getting_started.rst +++ b/docs/source/getting_started.rst @@ -12,12 +12,13 @@ Installation ============ The ``django-sodar-core`` package can be installed into your Django project -from PyPI as follows. It is strongly recommended to specify a version tag, as -the package is under active development and breaking changes are expected. +from PyPI as follows. It is strongly recommended to pin the import to a specific +version tag, as the package is under active development and breaking changes are +expected. .. code-block:: console - pip install django-sodar-core==1.0.1 + pip install django-sodar-core==x.y.z Please note that the django-sodar-core package only installs :term:`Django apps`, which you need to include in a diff --git a/docs/source/major_changes.rst b/docs/source/major_changes.rst index eafcc72c..8c14a719 100644 --- a/docs/source/major_changes.rst +++ b/docs/source/major_changes.rst @@ -10,8 +10,8 @@ older SODAR Core version. For a complete list of changes in current and previous releases, see the :ref:`full changelog`. -v1.0.2 (WIP) -************ +v1.0.2 (2024-09-09) +******************* Release Highlights ================== diff --git a/projectroles/remote_projects.py b/projectroles/remote_projects.py index f7bb1817..36f9f53a 100644 --- a/projectroles/remote_projects.py +++ b/projectroles/remote_projects.py @@ -17,10 +17,7 @@ from djangoplugins.models import Plugin -from projectroles.app_settings import ( - AppSettingAPI, - APP_SETTING_GLOBAL_DEFAULT, -) +from projectroles.app_settings import AppSettingAPI, APP_SETTING_GLOBAL_DEFAULT from projectroles.models import ( Project, Role, @@ -1275,7 +1272,7 @@ def sync_remote_data(self, site, remote_data, request=None): return self.remote_data # Peer Sites - logger.info('Synchronizing Peer Sites...') + logger.info('Synchronizing peer sites..') if self.remote_data.get('peer_sites', None): for remote_site_uuid, site_data in self.remote_data[ 'peer_sites' @@ -1288,9 +1285,9 @@ def sync_remote_data(self, site, remote_data, request=None): self._update_peer_site(remote_site_uuid, site_data) else: self._create_peer_site(remote_site_uuid, site_data) - logger.info('Peer Site Sync OK') + logger.info('Peer site sync OK') else: - logger.info('No new Peer Sites to sync') + logger.info('No peer sites to sync') # Users logger.info('Synchronizing users..')