Skip to content

Commit 29898a8

Browse files
authored
Changes in preparation for release of v4.3.0 (#250)
Changes in preparation for release of v4.3.0 * Use mariadb 10.6 (an LTS release) in CI builds as 10.8 is EOL * Updated HISTORY.md file * Tweaks to README.md * Update .sql to bump version of schema * Refreshed schema files
1 parent 09e78e5 commit 29898a8

File tree

7 files changed

+124
-77
lines changed

7 files changed

+124
-77
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
services:
1212
mariadb:
13-
image: mariadb:10.8
13+
image: mariadb:10.6
1414
env:
1515
MYSQL_USER: test
1616
MYSQL_PASSWORD: test
@@ -28,7 +28,7 @@ jobs:
2828
- uses: shogo82148/actions-setup-mysql@v1
2929
with:
3030
distribution: 'mariadb'
31-
mysql-version: '10.8'
31+
mysql-version: '10.6'
3232
auto-start: false
3333
- name: Build database
3434
run: |

HISTORY.rst

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,33 @@ History
55
Unreleased / master
66
-------------------
77

8+
4.3.0 (2024-12-05)
9+
-------------------
10+
11+
Note: The schema files now include a command in the first line to set the sanbox
12+
mode which is incompatible with older clients. For more info and to disable, see:
13+
https://mariadb.org/mariadb-dump-file-compatibility-change/
14+
15+
Admin: Changes to GitHub workflows as 'main' is now the default branch (previously 'master')
16+
17+
New or modified tables and columns:
18+
19+
- Add ``processingPipelineId`` column to the ``AutoProcProgram`` table
20+
- Add new boolean column ``deleted`` to the ``AutoProcProgramAttachment`` table
21+
- Add unique index on ``BLSample(containerId, location, subLocation)``
22+
- Update the ``ProcessedTomogram`` table comment
23+
24+
Roles and permissions:
25+
26+
- Add new grants for Expeye and combine grants into two roles instead of three
27+
- Add roles and grants for MaxScale
28+
- Add role with grants for fragment screening
29+
30+
Scripts and data changes:
31+
32+
- Trim trailing '1' in the ``SpaceGroup`` table's ``spaceGroupShortName`` column
33+
- Add scripts that can delete ``DataCollection`` and ``DataCollectionGroup`` rows and referenced rows in other tables
34+
835
4.2.1 (2024-08-19)
936
-------------------
1037

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22

33
# ispyb-database
44

5-
This package provides everything needed to create the Diamond flavour of the ISPyB database schema. As the schema evolves the update scripts will also be published here, so other users of the schema should be able to stay up-to-date.
5+
This repository provides everything needed to create the Diamond flavour of the ISPyB database schema. As the schema evolves the update scripts will also be published here, so other users of the schema should be able to stay up-to-date.
66

77
## Requirements
88

9-
* Server and a client packages of MariaDB 10.3 or later.
9+
* Server and a client packages of MariaDB 10.6 or later.
1010
* A Unix-like OS with `bash` shell.
1111
* The pandoc package (only required to build documentation at the end of the `build.sh` script.)
1212
* If binary logging is enabled in the DB system, then execute this before importing the test schema: `SET GLOBAL log_bin_trust_function_creators=ON;`
1313

1414
## Installation
1515

16-
1. Install MariaDB. See the Wiki for ideas on how to install in a particular environment.
17-
2. Copy `.my.example.cnf` to `.my.cnf` and then edit that file to set the `user` and `password`, e.g. `user = root` and use the `password` you set when securing. Optionally, you can also set e.g. `host` and `port`.
16+
1. Install MariaDB. Please see the Wiki for ideas on how to install in a particular environment.
17+
2. Copy `.my.example.cnf` to `.my.cnf` and then edit that file to set the `user` and `password`, e.g. `user = root` and correspond `password`. Optionally, you can also set e.g. `host` and `port`.
1818
3. In a test environment run the `build.sh` file. This creates the database schema and applies the grants as described in the "Schema" and "Grants" sections below.
1919

2020
### Schema

0 commit comments

Comments
 (0)