odoo-dev 0.4.0__tar.gz → 1.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- odoo_dev-1.0.0/.release-please-manifest.json +3 -0
- odoo_dev-1.0.0/CHANGELOG.md +19 -0
- {odoo_dev-0.4.0 → odoo_dev-1.0.0}/PKG-INFO +11 -10
- {odoo_dev-0.4.0 → odoo_dev-1.0.0}/README.md +10 -9
- {odoo_dev-0.4.0 → odoo_dev-1.0.0}/pyproject.toml +1 -1
- odoo_dev-1.0.0/src/odoo_dev/__init__.py +3 -0
- {odoo_dev-0.4.0 → odoo_dev-1.0.0}/src/odoo_dev/commands/setup.py +4 -1
- odoo_dev-0.4.0/.release-please-manifest.json +0 -3
- odoo_dev-0.4.0/CHANGELOG.md +0 -8
- odoo_dev-0.4.0/src/odoo_dev/__init__.py +0 -3
- {odoo_dev-0.4.0 → odoo_dev-1.0.0}/.github/workflows/release-please.yml +0 -0
- {odoo_dev-0.4.0 → odoo_dev-1.0.0}/.gitignore +0 -0
- {odoo_dev-0.4.0 → odoo_dev-1.0.0}/.gitmodules +0 -0
- {odoo_dev-0.4.0 → odoo_dev-1.0.0}/.python-version +0 -0
- {odoo_dev-0.4.0 → odoo_dev-1.0.0}/release-please-config.json +0 -0
- {odoo_dev-0.4.0 → odoo_dev-1.0.0}/src/odoo_dev/cli.py +0 -0
- {odoo_dev-0.4.0 → odoo_dev-1.0.0}/src/odoo_dev/commands/__init__.py +0 -0
- {odoo_dev-0.4.0 → odoo_dev-1.0.0}/src/odoo_dev/commands/db.py +0 -0
- {odoo_dev-0.4.0 → odoo_dev-1.0.0}/src/odoo_dev/commands/docker.py +0 -0
- {odoo_dev-0.4.0 → odoo_dev-1.0.0}/src/odoo_dev/commands/run.py +0 -0
- {odoo_dev-0.4.0 → odoo_dev-1.0.0}/src/odoo_dev/config.py +0 -0
- {odoo_dev-0.4.0 → odoo_dev-1.0.0}/src/odoo_dev/preflight.py +0 -0
- {odoo_dev-0.4.0 → odoo_dev-1.0.0}/src/odoo_dev/templates/__init__.py +0 -0
- {odoo_dev-0.4.0 → odoo_dev-1.0.0}/src/odoo_dev/templates/docker/Dockerfile +0 -0
- {odoo_dev-0.4.0 → odoo_dev-1.0.0}/src/odoo_dev/templates/docker/__init__.py +0 -0
- {odoo_dev-0.4.0 → odoo_dev-1.0.0}/src/odoo_dev/templates/docker/docker-entrypoint.sh +0 -0
- {odoo_dev-0.4.0 → odoo_dev-1.0.0}/src/odoo_dev/templates/vscode/__init__.py +0 -0
- {odoo_dev-0.4.0 → odoo_dev-1.0.0}/src/odoo_dev/templates/vscode/launch.json +0 -0
- {odoo_dev-0.4.0 → odoo_dev-1.0.0}/src/odoo_dev/templates/vscode/settings.json +0 -0
- {odoo_dev-0.4.0 → odoo_dev-1.0.0}/src/odoo_dev/templates/vscode/tasks.json +0 -0
- {odoo_dev-0.4.0 → odoo_dev-1.0.0}/src/odoo_dev/utils/__init__.py +0 -0
- {odoo_dev-0.4.0 → odoo_dev-1.0.0}/src/odoo_dev/utils/console.py +0 -0
- {odoo_dev-0.4.0 → odoo_dev-1.0.0}/tests/__init__.py +0 -0
- {odoo_dev-0.4.0 → odoo_dev-1.0.0}/tests/fixtures/__init__.py +0 -0
- {odoo_dev-0.4.0 → odoo_dev-1.0.0}/tests/test_cli.py +0 -0
- {odoo_dev-0.4.0 → odoo_dev-1.0.0}/tests/test_config.py +0 -0
- {odoo_dev-0.4.0 → odoo_dev-1.0.0}/tests/test_db.py +0 -0
- {odoo_dev-0.4.0 → odoo_dev-1.0.0}/tests/test_db_config.py +0 -0
- {odoo_dev-0.4.0 → odoo_dev-1.0.0}/tests/test_drop_database.py +0 -0
- {odoo_dev-0.4.0 → odoo_dev-1.0.0}/tests/test_integration.py +0 -0
- {odoo_dev-0.4.0 → odoo_dev-1.0.0}/tests/test_preflight.py +0 -0
- {odoo_dev-0.4.0 → odoo_dev-1.0.0}/tests/test_run.py +0 -0
- {odoo_dev-0.4.0 → odoo_dev-1.0.0}/tests/test_setup.py +0 -0
- {odoo_dev-0.4.0 → odoo_dev-1.0.0}/tests/test_setup_db.py +0 -0
- {odoo_dev-0.4.0 → odoo_dev-1.0.0}/uv.lock +0 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [1.0.0](https://github.com/bemade/odoo-dev/compare/v0.4.0...v1.0.0) (2026-06-11)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### ⚠ BREAKING CHANGES
|
|
7
|
+
|
|
8
|
+
* macOS `setup` no longer installs PostgreSQL. Fresh macOS setups must install a server themselves (or point DB_HOST/DB_PORT at a remote/Docker server).
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* treat PostgreSQL as an external prerequisite on all platforms ([#5](https://github.com/bemade/odoo-dev/issues/5)) ([e817107](https://github.com/bemade/odoo-dev/commit/e817107ac434a5b23dd2675d59a95d1a6f8d1e71))
|
|
13
|
+
|
|
14
|
+
## [0.4.0](https://github.com/bemade/odoo-dev/compare/v0.3.3...v0.4.0) (2026-06-11)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* configurable DB connection + connectivity preflight ([#3](https://github.com/bemade/odoo-dev/issues/3)) ([632738e](https://github.com/bemade/odoo-dev/commit/632738e37c1d22d79ec4a03cba72a28ca580f7c8))
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: odoo-dev
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 1.0.0
|
|
4
4
|
Summary: Odoo Development Environment Helper
|
|
5
5
|
Project-URL: Homepage, https://git.bemade.org/bemade/odoo-dev
|
|
6
6
|
Project-URL: Repository, https://git.bemade.org/bemade/odoo-dev
|
|
@@ -55,25 +55,26 @@ Docker at the end — answer "no" if you only want the local venv workflow.
|
|
|
55
55
|
## Database setup (read this before your first `run`/`test`)
|
|
56
56
|
|
|
57
57
|
The generated `conf/odoo.conf` connects as PostgreSQL user **`odoo`** over the local
|
|
58
|
-
socket.
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
58
|
+
socket. **A running PostgreSQL server is a prerequisite you provide yourself** — on
|
|
59
|
+
every platform. `setup` installs only the PostgreSQL *client* and build dependencies
|
|
60
|
+
(macOS: `libpq`; Linux: `postgresql-client` + `libpq-dev`); it never installs, starts,
|
|
61
|
+
or configures a server, and never creates the `odoo` role. So on a fresh machine,
|
|
62
|
+
install a server, start it, and create the role once:
|
|
62
63
|
|
|
63
64
|
**macOS (Homebrew):**
|
|
64
65
|
|
|
65
66
|
```bash
|
|
66
|
-
brew
|
|
67
|
-
|
|
67
|
+
brew install postgresql@18 # install a server (pick your version)
|
|
68
|
+
brew services start postgresql@18 # start it
|
|
69
|
+
createuser -s odoo # create the role odoo.conf expects
|
|
68
70
|
# Homebrew's versioned postgres is keg-only; add its bin to PATH if psql/createuser aren't found:
|
|
69
71
|
# export PATH="$(brew --prefix postgresql@18)/bin:$PATH"
|
|
70
72
|
```
|
|
71
73
|
|
|
72
|
-
**Debian/Ubuntu:**
|
|
73
|
-
`conf/odoo.conf` at an existing / remote / Docker PostgreSQL):
|
|
74
|
+
**Debian/Ubuntu:**
|
|
74
75
|
|
|
75
76
|
```bash
|
|
76
|
-
sudo apt-get install postgresql # if you don't already have
|
|
77
|
+
sudo apt-get install postgresql # install a server if you don't already have one
|
|
77
78
|
sudo systemctl start postgresql
|
|
78
79
|
sudo -u postgres createuser -s odoo
|
|
79
80
|
```
|
|
@@ -41,25 +41,26 @@ Docker at the end — answer "no" if you only want the local venv workflow.
|
|
|
41
41
|
## Database setup (read this before your first `run`/`test`)
|
|
42
42
|
|
|
43
43
|
The generated `conf/odoo.conf` connects as PostgreSQL user **`odoo`** over the local
|
|
44
|
-
socket.
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
44
|
+
socket. **A running PostgreSQL server is a prerequisite you provide yourself** — on
|
|
45
|
+
every platform. `setup` installs only the PostgreSQL *client* and build dependencies
|
|
46
|
+
(macOS: `libpq`; Linux: `postgresql-client` + `libpq-dev`); it never installs, starts,
|
|
47
|
+
or configures a server, and never creates the `odoo` role. So on a fresh machine,
|
|
48
|
+
install a server, start it, and create the role once:
|
|
48
49
|
|
|
49
50
|
**macOS (Homebrew):**
|
|
50
51
|
|
|
51
52
|
```bash
|
|
52
|
-
brew
|
|
53
|
-
|
|
53
|
+
brew install postgresql@18 # install a server (pick your version)
|
|
54
|
+
brew services start postgresql@18 # start it
|
|
55
|
+
createuser -s odoo # create the role odoo.conf expects
|
|
54
56
|
# Homebrew's versioned postgres is keg-only; add its bin to PATH if psql/createuser aren't found:
|
|
55
57
|
# export PATH="$(brew --prefix postgresql@18)/bin:$PATH"
|
|
56
58
|
```
|
|
57
59
|
|
|
58
|
-
**Debian/Ubuntu:**
|
|
59
|
-
`conf/odoo.conf` at an existing / remote / Docker PostgreSQL):
|
|
60
|
+
**Debian/Ubuntu:**
|
|
60
61
|
|
|
61
62
|
```bash
|
|
62
|
-
sudo apt-get install postgresql # if you don't already have
|
|
63
|
+
sudo apt-get install postgresql # install a server if you don't already have one
|
|
63
64
|
sudo systemctl start postgresql
|
|
64
65
|
sudo -u postgres createuser -s odoo
|
|
65
66
|
```
|
|
@@ -493,11 +493,14 @@ def _install_system_dependencies() -> None:
|
|
|
493
493
|
|
|
494
494
|
if system == "Darwin":
|
|
495
495
|
success("Installing dependencies for macOS...")
|
|
496
|
+
# PostgreSQL is a prerequisite you provide yourself (see the README's
|
|
497
|
+
# "Database setup" section) — we install only the client library and
|
|
498
|
+
# build deps, never the server. `libpq` is keg-only but ships psql /
|
|
499
|
+
# createuser, which is all the client side needs.
|
|
496
500
|
subprocess.run(
|
|
497
501
|
[
|
|
498
502
|
"brew",
|
|
499
503
|
"install",
|
|
500
|
-
"postgresql",
|
|
501
504
|
"libpq",
|
|
502
505
|
"openssl",
|
|
503
506
|
"libxml2",
|
odoo_dev-0.4.0/CHANGELOG.md
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
## [0.4.0](https://github.com/bemade/odoo-dev/compare/v0.3.3...v0.4.0) (2026-06-11)
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
### Features
|
|
7
|
-
|
|
8
|
-
* configurable DB connection + connectivity preflight ([#3](https://github.com/bemade/odoo-dev/issues/3)) ([632738e](https://github.com/bemade/odoo-dev/commit/632738e37c1d22d79ec4a03cba72a28ca580f7c8))
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|