Skip to content

Commit e4bc8d5

Browse files
committed
Basic repo files
1 parent 412fb93 commit e4bc8d5

8 files changed

Lines changed: 791 additions & 0 deletions

File tree

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
name: Bug report
3+
about: Something isn't working correctly
4+
labels: bug
5+
---
6+
7+
## What happened?
8+
9+
<!-- Describe the bug clearly. What did you see? What did you expect to see? -->
10+
11+
## Steps to reproduce
12+
13+
1.
14+
2.
15+
3.
16+
17+
## Environment
18+
19+
- Python version:
20+
- OS:
21+
- Browser (if relevant):
22+
- Version / commit:
23+
24+
## Additional context
25+
26+
<!-- Screenshots, logs, error messages, anything else relevant. -->
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
name: Feature request
3+
about: Suggest something new
4+
labels: feature
5+
---
6+
7+
## What's the problem or opportunity?
8+
9+
<!-- Describe the context. What are you trying to do, or what's missing? -->
10+
11+
## What would you like to happen?
12+
13+
<!-- Describe the feature. What should it do? -->
14+
15+
## Alternatives considered
16+
17+
<!-- Any other approaches you've thought about? Why is this better? -->
18+
19+
## Additional context
20+
21+
<!-- Mockups, examples, links, anything else. -->

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
## What does this do?
2+
3+
<!-- One or two sentences. What changed and why. -->
4+
5+
## How to test it
6+
7+
<!-- Steps to verify this works. Include edge cases worth checking. -->
8+
9+
1.
10+
2.
11+
3.
12+
13+
## Checklist
14+
15+
- [ ] Tests pass locally (`pytest`)
16+
- [ ] Pre-commit hooks pass (`pre-commit run --all-files`)
17+
- [ ] Type hints added or updated where relevant
18+
- [ ] CHANGELOG.md updated under `[Unreleased]` (user-facing changes only)
19+
- [ ] Linked to relevant issue(s) below
20+
21+
## Related
22+
23+
<!-- Use "Closes #123" to auto-close the issue when this merges. -->
24+
<!-- Use "Relates to #124" for issues this touches but doesn't close. -->

.github/workflows/ci.yml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- develop
8+
pull_request:
9+
branches:
10+
- main
11+
- develop
12+
13+
jobs:
14+
test:
15+
name: Tests (Python ${{ matrix.python-version }})
16+
runs-on: ubuntu-latest
17+
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
python-version: ["3.12", "3.13"]
22+
23+
steps:
24+
- uses: actions/checkout@v4
25+
26+
- name: Set up Python ${{ matrix.python-version }}
27+
uses: actions/setup-python@v5
28+
with:
29+
python-version: ${{ matrix.python-version }}
30+
cache: pip
31+
32+
- name: Install dependencies
33+
run: pip install -e ".[dev]"
34+
35+
- name: Run tests
36+
run: pytest --cov=src --cov-report=term-missing
37+
38+
lint:
39+
name: Lint & format
40+
runs-on: ubuntu-latest
41+
42+
steps:
43+
- uses: actions/checkout@v4
44+
45+
- name: Set up Python
46+
uses: actions/setup-python@v5
47+
with:
48+
python-version: "3.13"
49+
cache: pip
50+
51+
- name: Install dependencies
52+
run: pip install -e ".[dev]"
53+
54+
- name: black
55+
run: black --check .
56+
57+
- name: isort
58+
run: isort --check-only .
59+
60+
- name: flake8
61+
run: flake8 .
62+
63+
- name: mypy
64+
run: mypy src/

.github/workflows/release.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*"
7+
8+
jobs:
9+
release:
10+
name: Create GitHub Release
11+
runs-on: ubuntu-latest
12+
permissions:
13+
contents: write
14+
15+
steps:
16+
- uses: actions/checkout@v4
17+
with:
18+
fetch-depth: 0 # full history so changelog diff works
19+
20+
- name: Create release
21+
uses: softprops/action-gh-release@v2
22+
with:
23+
generate_release_notes: true # auto-generates from merged PRs
24+
draft: false
25+
prerelease: ${{ contains(github.ref_name, '-') }}
26+
# A tag like v1.0.0-beta.1 (contains a dash) is marked pre-release.
27+
# A tag like v1.0.0 is marked as a full release.

.gitignore

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
# Python
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
*.so
6+
*.pyo
7+
8+
# Virtual environments
9+
.env
10+
.venv
11+
env/
12+
venv/
13+
ENV/
14+
15+
# Distribution / packaging
16+
dist/
17+
build/
18+
*.egg-info/
19+
*.egg
20+
.eggs/
21+
22+
# Testing
23+
.pytest_cache/
24+
.coverage
25+
htmlcov/
26+
.tox/
27+
coverage.xml
28+
*.cover
29+
30+
# Type checking
31+
.mypy_cache/
32+
.dmypy.json
33+
dmypy.json
34+
35+
# Linting
36+
.ruff_cache/
37+
38+
# IDE
39+
.idea/
40+
.vscode/
41+
*.swp
42+
*.swo
43+
*~
44+
45+
# macOS
46+
.DS_Store
47+
.AppleDouble
48+
.LSOverride
49+
50+
# Environment variables — never commit secrets
51+
.env
52+
.env.local
53+
.env.*.local
54+
55+
# Logs
56+
*.log
57+
logs/
58+
59+
# Database
60+
*.db
61+
*.sqlite
62+
*.sqlite3
63+
64+
# Node (if you have any frontend tooling)
65+
node_modules/
66+
npm-debug.log*
67+
yarn-debug.log*
68+
yarn-error.log*
69+
70+
# Build outputs
71+
*.pyc
72+
*.pyd

CHANGELOG.md

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# Changelog
2+
3+
All notable changes to this project are documented here.
4+
5+
Format follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
6+
Versioning follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
---
9+
10+
## [Unreleased]
11+
12+
Changes on `develop` that haven't been released yet.
13+
14+
### Added
15+
16+
- (add entries here as features land on develop)
17+
18+
### Changed
19+
20+
-
21+
22+
### Fixed
23+
24+
-
25+
26+
---
27+
28+
## [0.2.0] — 2026-06-15
29+
30+
### Added
31+
32+
- Event registration form for Untasting events (#42)
33+
- Email confirmation on successful registration (#43)
34+
- Attendee list view in admin panel (#44)
35+
- Capacity limit enforcement on event registration (#46)
36+
37+
### Changed
38+
39+
- Improved mobile layout on the homepage (#39)
40+
- Updated product card design to match new brand guidelines (#40)
41+
42+
### Fixed
43+
44+
- Registration form submitted twice on slow connections (#45)
45+
- Email sender name showing raw address instead of display name (#47)
46+
47+
---
48+
49+
## [0.1.0] — 2026-05-01
50+
51+
Initial release.
52+
53+
### Added
54+
55+
- Product catalogue with no/low alcohol category
56+
- Basic storefront and product detail pages
57+
- Contact page
58+
- Initial brand and visual identity
59+
60+
---
61+
62+
<!-- Links — keep these at the bottom, update on every release -->
63+
[Unreleased]: https://github.com/sober-and-co/sober-and-co/compare/v0.2.0...HEAD
64+
[0.2.0]: https://github.com/sober-and-co/sober-and-co/compare/v0.1.0...v0.2.0
65+
[0.1.0]: https://github.com/sober-and-co/sober-and-co/releases/tag/v0.1.0

0 commit comments

Comments
 (0)