Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ COMPOSE_UI = $(COMPOSE) --profile ui

MYSQL_SAMPLES_TMP_DIR := .tmp/mysql-samples
SAKILA_URL := https://downloads.mysql.com/docs/sakila-db.zip
SAKILA_SHA256 := 86c6e32c9b3f382fa709019a76c41cc1cd826368dd048f7b7323aaef5af968f4
POSTGRES_SAMPLES_TMP_DIR := .tmp/postgres-samples
PAGILA_REF := 5ba5a57aeb159f75f02aca2432d3c262186d13d3
PAGILA_BASE_URL := https://raw.githubusercontent.com/devrimgunduz/pagila/$(PAGILA_REF)
Expand Down Expand Up @@ -271,7 +270,6 @@ samples-mysql: check-env
@command -v curl >/dev/null || { echo "ERROR: требуется curl" >&2; exit 1; }
@command -v unzip >/dev/null || { echo "ERROR: требуется unzip" >&2; exit 1; }
@command -v git >/dev/null || { echo "ERROR: требуется git для проверки Git blob SHA" >&2; exit 1; }
@command -v sha256sum >/dev/null || { echo "ERROR: требуется sha256sum" >&2; exit 1; }
@set -Eeuo pipefail; $(LOAD_ENV) \
tmp_root="$(MYSQL_SAMPLES_TMP_DIR)"; \
download_dir="$${tmp_root}/download"; \
Expand Down Expand Up @@ -308,7 +306,6 @@ samples-mysql: check-env
"$(CHINOOK_MYSQL_URL)" -o "$${download_dir}/Chinook_MySql.sql"; \
curl --fail --location --retry 3 --retry-all-errors --connect-timeout 15 --max-time 180 \
"$(SAKILA_URL)" -o "$${download_dir}/sakila-db.zip"; \
echo "$(SAKILA_SHA256) $${download_dir}/sakila-db.zip" | sha256sum --check --status || { echo "ERROR: неожиданный SHA-256 sakila-db.zip" >&2; exit 1; }; \
test "$$(git hash-object --no-filters "$${download_dir}/LICENSE.md")" = "$(CHINOOK_LICENSE_BLOB)" || { echo "ERROR: неожиданный Git blob SHA LICENSE.md" >&2; exit 1; }; \
test "$$(git hash-object --no-filters "$${download_dir}/Chinook_MySql.sql")" = "$(CHINOOK_MYSQL_BLOB)" || { echo "ERROR: неожиданный Git blob SHA Chinook_MySql.sql" >&2; exit 1; }; \
test -s "$${download_dir}/LICENSE.md" || { echo "ERROR: LICENSE.md пуст" >&2; exit 1; }; \
Expand Down
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,7 @@
[![PostgreSQL Check](https://github.com/yaleksandr89/docker-sql-lab/actions/workflows/postgres-check.yml/badge.svg)](https://github.com/yaleksandr89/docker-sql-lab/actions/workflows/postgres-check.yml)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)

<p align="center">
<img
src="docs/assets/docker-sql-lab-cover.png"
alt="Docker SQL Lab — локальный стенд MySQL и PostgreSQL"
width="100%"
>
</p>
![Docker SQL Lab — локальный стенд MySQL и PostgreSQL](docs/assets/docker-sql-lab-cover.png)

## Выберите язык

Expand Down
8 changes: 4 additions & 4 deletions THIRD_PARTY_NOTICES.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,6 @@ SOFTWARE.

- Official archive:
`https://downloads.mysql.com/docs/sakila-db.zip`
- Verified archive SHA-256:
`86c6e32c9b3f382fa709019a76c41cc1cd826368dd048f7b7323aaef5af968f4`
- Files used:
- `sakila-schema.sql`
- `sakila-data.sql`
Expand All @@ -113,7 +111,9 @@ the New BSD license. Other materials in the distribution are not covered by
that open license.

SQL Lab extracts only those two SQL files. It does not publish the Sakila
documentation or `sakila.mwb`. Before extraction, the archive SHA-256 is
verified. Both SQL files must contain the expected New BSD notice and
documentation or `sakila.mwb`. The archive is downloaded over HTTPS from the
official MySQL URL. Its archive-level SHA-256 is intentionally not pinned
because the upstream URL is unversioned and its bytes may change independently
of this repository. Both SQL files must contain the expected New BSD notice and
disclaimer, and they are copied without modifying their embedded copyright and
license text.
8 changes: 1 addition & 7 deletions docs/langs/README_de.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,7 @@
[![PostgreSQL Check](https://github.com/yaleksandr89/docker-sql-lab/actions/workflows/postgres-check.yml/badge.svg)](https://github.com/yaleksandr89/docker-sql-lab/actions/workflows/postgres-check.yml)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](../../LICENSE.md)

<p align="center">
<img
src="../assets/docker-sql-lab-cover.png"
alt="Docker SQL Lab — lokale MySQL- und PostgreSQL-Umgebung"
width="100%"
>
</p>
![Docker SQL Lab — lokale MySQL- und PostgreSQL-Umgebung](../assets/docker-sql-lab-cover.png)

## Sprache auswählen

Expand Down
8 changes: 1 addition & 7 deletions docs/langs/README_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,7 @@
[![PostgreSQL Check](https://github.com/yaleksandr89/docker-sql-lab/actions/workflows/postgres-check.yml/badge.svg)](https://github.com/yaleksandr89/docker-sql-lab/actions/workflows/postgres-check.yml)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](../../LICENSE.md)

<p align="center">
<img
src="../assets/docker-sql-lab-cover.png"
alt="Docker SQL Lab"
width="100%"
>
</p>
![Docker SQL Lab](../assets/docker-sql-lab-cover.png)

## Choose a language

Expand Down
8 changes: 1 addition & 7 deletions docs/langs/README_es.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,7 @@
[![PostgreSQL Check](https://github.com/yaleksandr89/docker-sql-lab/actions/workflows/postgres-check.yml/badge.svg)](https://github.com/yaleksandr89/docker-sql-lab/actions/workflows/postgres-check.yml)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](../../LICENSE.md)

<p align="center">
<img
src="../assets/docker-sql-lab-cover.png"
alt="Docker SQL Lab — entorno local de MySQL y PostgreSQL"
width="100%"
>
</p>
![Docker SQL Lab — entorno local de MySQL y PostgreSQL](../assets/docker-sql-lab-cover.png)

## Elija un idioma

Expand Down
8 changes: 1 addition & 7 deletions docs/langs/README_fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,7 @@
[![PostgreSQL Check](https://github.com/yaleksandr89/docker-sql-lab/actions/workflows/postgres-check.yml/badge.svg)](https://github.com/yaleksandr89/docker-sql-lab/actions/workflows/postgres-check.yml)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](../../LICENSE.md)

<p align="center">
<img
src="../assets/docker-sql-lab-cover.png"
alt="Docker SQL Lab — environnement local MySQL et PostgreSQL"
width="100%"
>
</p>
![Docker SQL Lab — environnement local MySQL et PostgreSQL](../assets/docker-sql-lab-cover.png)

## Choisissez une langue

Expand Down
8 changes: 1 addition & 7 deletions docs/langs/README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,7 @@
[![PostgreSQL Check](https://github.com/yaleksandr89/docker-sql-lab/actions/workflows/postgres-check.yml/badge.svg)](https://github.com/yaleksandr89/docker-sql-lab/actions/workflows/postgres-check.yml)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](../../LICENSE.md)

<p align="center">
<img
src="../assets/docker-sql-lab-cover.png"
alt="Docker SQL Lab — 本地 MySQL 与 PostgreSQL 实验环境"
width="100%"
>
</p>
![Docker SQL Lab — 本地 MySQL 与 PostgreSQL 实验环境](../assets/docker-sql-lab-cover.png)

## 选择语言

Expand Down
Loading