Skip to content

Commit

Permalink
prepare v0.13.1 release (#1231)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkonie committed Aug 30, 2023
1 parent 42dac37 commit e4acf54
Show file tree
Hide file tree
Showing 11 changed files with 26 additions and 31 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ Changelog for the **SODAR Core** Django app package. Loosely follows the
`Keep a Changelog <http://keepachangelog.com/en/1.0.0/>`_ guidelines.


Unreleased
==========
v0.13.1 (2023-08-30)
====================

Added
-----
Expand Down
12 changes: 6 additions & 6 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ and breaking changes are possible.

.. code-block:: console
pip install django-sodar-core==0.13.0
pip install django-sodar-core==0.13.1
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 All @@ -135,12 +135,12 @@ Repository

The branches of the SODAR Core repository are organized as follows:

- ``main``: The latest stable release.
- ``dev``: The current development branch. Most recent features go here, but
stability is not guaranteed.
``main``
The latest stable release.
``dev``
The current development branch. Most recent features go here, but stability
is not guaranteed. Pull requests should always be based on this branch.

When including SODAR Core in your Django project, it is highly recommended to
freeze your dependency to a specific release tag or commit ID. The project is
under development and breaking changes may be introduced frequently.

Contributions should always be based on the ``dev`` branch.
4 changes: 2 additions & 2 deletions codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
],
"identifier": "https://doi.org/10.5281/zenodo.4269346",
"codeRepository": "https://github.com/bihealth/sodar-core",
"datePublished": "2023-06-01",
"dateModified": "2023-06-01",
"datePublished": "2023-08-30",
"dateModified": "2023-08-30",
"dateCreated": "2019-06-26",
"description": "SODAR Core: A Django-based framework for scientific data management and analysis web apps",
"keywords": "Python, Django, scientific data managmenent, software library",
Expand Down
2 changes: 1 addition & 1 deletion docs/source/app_projectroles_api_rest.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ expected version.

.. code-block:: console
Accept: application/vnd.bihealth.sodar-core+json; version=0.9.1
Accept: application/vnd.bihealth.sodar-core+json; version=0.13.1
.. note::

Expand Down
9 changes: 4 additions & 5 deletions docs/source/app_projectroles_integration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,13 @@ chapter.
`1.11 release of cookiecutter-django <https://github.com/pydanny/cookiecutter-django/releases/tag/1.11.10>`_.
Some details such as directory structures and settings variables may differ.

First, add the ``django-plugins`` and ``django-sodar-core`` package requirements
into your ``requirements/base.txt`` file. Make sure you are pointing to the
desired release tag or commit ID.
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.

.. code-block:: console
-e git+https://github.com/mikkonie/django-plugins.git@42e86e7904e5c09f1da32173862b26843eda5dd8#egg=django-plugins
django-sodar-core==0.13.0
django-sodar-core==0.13.1
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 = '0.13'
# The full version, including alpha/beta/rc tags
release = '0.13.1-WIP'
release = '0.13.1'


# -- General configuration ---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion docs/source/getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ the package is under active development and breaking changes are expected.

.. code-block:: console
pip install django-sodar-core==0.13.0
pip install django-sodar-core==0.13.1
Please note that the django-sodar-core package only installs
:term:`Django apps<Django App>`, which you need to include in a
Expand Down
6 changes: 3 additions & 3 deletions docs/source/major_changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ older SODAR Core version. For a complete list of changes in current and previous
releases, see the :ref:`full changelog<changelog>`.


v0.13.1 (WIP)
*************
v0.13.1 (2023-08-30)
********************

Release Highlights
==================

- Improve member invite view
- Improve member invite views
- Improve syncmodifyapi management command
- Revise tour help
- General bug fixes and minor updates
Expand Down
12 changes: 4 additions & 8 deletions projectroles/management/commands/syncmodifyapi.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""
Syncmodifyapi management command for synchronizing existing projects using the
project modify API
project modify API.
"""

import sys
Expand Down Expand Up @@ -39,7 +39,7 @@ def handle(self, *args, **options):
project_uuid = options.get('project')
if project_uuid:
logger.info(
'Synchronizing project with UUID "{}"..'.format(project_uuid)
'Limiting sync to project with UUID "{}"..'.format(project_uuid)
)
project = Project.objects.filter(sodar_uuid=project_uuid).first()
if not project:
Expand All @@ -56,16 +56,12 @@ def handle(self, *args, **options):
err_count = 0
for p in project_list:
p_title = p.get_log_title(full_title=True)
logger.debug('Synchronizing project: {}'.format(p_title))
logger.debug('Synchronizing project {}'.format(p_title))
try:
self.call_project_modify_api('perform_project_sync', None, [p])
sync_count += 1
except Exception as ex:
logger.error(
'Exception in project sync for project {}: {}'.format(
p_title, ex
)
)
logger.error('Exception for project {}: {}'.format(p_title, ex))
err_count += 1
logger.info(
'Project data synchronized ({} OK, {} error{})'.format(
Expand Down
2 changes: 1 addition & 1 deletion projectroles/views_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
CORE_API_DEFAULT_VERSION = re.match(
r'^([0-9.]+)(?:[+|\-][\S]+)?$', core_version
)[1]
CORE_API_ALLOWED_VERSIONS = ['0.13.0']
CORE_API_ALLOWED_VERSIONS = ['0.13.0', '0.13.1']

# Local constants
INVALID_PROJECT_TYPE_MSG = (
Expand Down
2 changes: 1 addition & 1 deletion timeline/templates/timeline/timeline_site.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ <h2>
{% else %}
<td class="bg-faded font-italic text-center" colspan="5">
No {% if timeline_mode == 'site' %}site-wide{% endif %} timeline
events found {% if timeline_mode == 'object' %}for this object{% endif %}.
events found{% if timeline_mode == 'object' %} for this object{% endif %}.
</td>
{% endif %}
</tbody>
Expand Down

0 comments on commit e4acf54

Please sign in to comment.