Skip to content

Commit 7ba634a

Browse files
committed
Release version 1.1.0
1 parent 65a6364 commit 7ba634a

File tree

3 files changed

+19
-24
lines changed

3 files changed

+19
-24
lines changed

CHANGELOG.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88

9-
## [Unreleased]
10-
11-
Remove this line after moving [Unreleased] to [1.1.0] - 202Y-MM-DD.
9+
## [1.1.0] - 2024-02-16
1210

1311
### Added
1412

Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ lint:
4949

5050
SRC_DB_DIR := dist/.db/caweb1_0_0
5151
.PHONY: src-db src-db-psql
52-
src-db: $(SRC_DB_DIR)/caweb.pass
52+
src-db: $(SRC_DB_DIR)/.pgpass
5353
podman start caweb1_0_0-pg16-dbms
5454

55-
$(SRC_DB_DIR)/caweb.pass:
55+
$(SRC_DB_DIR)/.pgpass:
5656
adminpass="$$(head -c16 /dev/random | sha1sum | cut -d' ' -f1)" && \
5757
cawebpass="$$(head -c16 /dev/random | sha1sum | cut -d' ' -f1)" && \
5858
mkdir -p $(SRC_DB_DIR)/data && \
@@ -70,15 +70,15 @@ $(SRC_DB_DIR)/caweb.pass:
7070
docker.io/postgres:16-bookworm
7171

7272
src-db-psql: src-db
73-
PGPASSFILE=$(SRC_DB_DIR)/caweb.pass \
73+
PGPASSFILE=$(SRC_DB_DIR)/.pgpass \
7474
psql -h 127.0.0.1 -p 5455 -U admin -d caweb1_0_0
7575

7676
DST_DB_DIR := dist/.db/caweb1_1_0
7777
.PHONY: dst-db dst-db-psql
78-
dst-db: $(DST_DB_DIR)/caweb.pass
78+
dst-db: $(DST_DB_DIR)/.pgpass
7979
podman start caweb1_1_0-pg16-dbms
8080

81-
$(DST_DB_DIR)/caweb.pass:
81+
$(DST_DB_DIR)/.pgpass:
8282
adminpass="$$(head -c16 /dev/random | sha1sum | cut -d' ' -f1)" && \
8383
cawebpass="$$(head -c16 /dev/random | sha1sum | cut -d' ' -f1)" && \
8484
mkdir -p $(DST_DB_DIR)/data && \
@@ -96,7 +96,7 @@ $(DST_DB_DIR)/caweb.pass:
9696
docker.io/postgres:16-bookworm
9797

9898
dst-db-psql: dst-db
99-
PGPASSFILE=$(DST_DB_DIR)/caweb.pass \
99+
PGPASSFILE=$(DST_DB_DIR)/.pgpass \
100100
psql -h 127.0.0.1 -p 5456 -U admin -d caweb1_1_0
101101

102102
.PHONY: grep

configs/sample-config.yaml

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
1-
# Copyright (c) 2023-2024 Behnam Momeni
2-
# This Source Code Form is subject to the terms of the Mozilla Public
3-
# License, v. 2.0. If a copy of the MPL was not distributed with this
4-
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
5-
6-
---
71
database:
8-
host: 127.0.0.1
9-
port: 5432
10-
name: caweb1_0_0
11-
role: caweb
12-
pass-file: dist/.db/caweb1_0_0/caweb.pass
2+
host: 127.0.0.1
3+
port: 5456
4+
name: caweb1_1_0
5+
pass-dir: dist/.db/caweb1_1_0
6+
auth-method: scram-sha-256
137
gin:
14-
logger: true
15-
recovery: true
8+
logger: true
9+
recovery: true
1610
usecases:
17-
cars:
18-
old-parking-method-delay: 15s
11+
cars:
12+
delay-of-old-parking-method: 15s
13+
versions:
14+
database: 1.1.0
15+
config: 2.0.0

0 commit comments

Comments
 (0)