Skip to content

Commit

Permalink
cleanup and prepare v1.0.2 release (#1469)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkonie committed Sep 9, 2024
1 parent c56a958 commit 474c415
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 21 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ Changelog for the **SODAR Core** Django app package. Loosely follows the
`Keep a Changelog <http://keepachangelog.com/en/1.0.0/>`_ 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)
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
4 changes: 2 additions & 2 deletions docs/source/app_projectroles_integration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ---------------------------------------------------
Expand Down
7 changes: 4 additions & 3 deletions docs/source/getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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<Django App>`, which you need to include in a
Expand Down
4 changes: 2 additions & 2 deletions docs/source/major_changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ older SODAR Core version. For a complete list of changes in current and previous
releases, see the :ref:`full changelog<changelog>`.


v1.0.2 (WIP)
************
v1.0.2 (2024-09-09)
*******************

Release Highlights
==================
Expand Down
11 changes: 4 additions & 7 deletions projectroles/remote_projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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'
Expand All @@ -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..')
Expand Down

0 comments on commit 474c415

Please sign in to comment.