Skip to content

Commit cd87d2c

Browse files
committed
Added release notes to documentation
1 parent 5adf44b commit cd87d2c

File tree

5 files changed

+97
-85
lines changed

5 files changed

+97
-85
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@
77
/coverage/
88
/venv/
99
/site/
10+
/public/
11+
/docs/release-notes.md

.gitlab-ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@ pages:
5353
- pip install mkdocs mkdocs-cinder
5454

5555
script:
56-
- mkdocs build
57-
- mv site public
56+
- bash build_docs.bash
5857
artifacts:
5958
paths:
6059
- public

CHANGELOG.md

Lines changed: 83 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
1-
# Changelog
1+
# Release Notes
22

3-
## Version 0.1.7
3+
## Release 0.1.7
44

55
- Add `--color` option to `odoo-helper addons list` command. At this time this option colors output by following rules:
6-
- green - addon is linked to *custom addons*
7-
- red - addons is not present in *custom addons*
8-
- yellow - addons is present in *custom addon*, but link point's to anouther place
6+
- green - addon is linked to *custom addons*
7+
- red - addons is not present in *custom addons*
8+
- yellow - addons is present in *custom addon*, but link point's to anouther place
99

10-
## Version 0.1.6 (2018-06-04)
10+
## Release 0.1.6 (2018-06-04)
1111

1212
- Improve `odoo-helper addons update-py-deps` command, now it aloso updates repository level dependencies
1313
(those, mentioned in repository's `requirements.txt`)
1414
- Added `odoo-helper doc-utils` command. Have following subcommands
15-
- `odoo-helper doc-utils addons-list` command to print info about addons in repo in [Markdown](https://en.wikipedia.org/wiki/Markdown) format
15+
- `odoo-helper doc-utils addons-list` command to print info about addons in repo in [Markdown](https://en.wikipedia.org/wiki/Markdown) format
1616
- Move linters to separate subcommand `odoo-helper lint`.
1717
Run `odoo-helper lint --help` for details
1818
- Added `odoo-helper lint style` commant.
1919
It is experimental integration with [stylelint](https://stylelint.io/)
2020
- `odoo-helper lint pylint` skip addons with `'installable': False`
2121
- `odoo-helper lint flake8` skip addons with `'installable': False`
2222
- `odoo-helper addons list` command now have extra options and can search for addons in multiple paths:
23-
- `--installable`
24-
- `--by-name` (used by default)
25-
- `--by-path`
26-
- `--recursive`
23+
- `--installable`
24+
- `--by-name` (used by default)
25+
- `--by-path`
26+
- `--recursive`
2727
- `odoo-helper addons (install|update|uninstall)` command now have
2828
extra options `--dir <addon path>` and `--dir-r <addon-path>` which can be used
2929
to install/update/uninstall all installable addons in specified directory
@@ -38,24 +38,24 @@
3838
- Added option `--dir-r|--directory-r` for `odoo-helper test` command,
3939
to recursively search for addons to be tested in specified directory
4040
- Added `--log` option for following commands:
41-
- `odoo-helper start --log`
42-
- `odoo-helper restart --log`
43-
- `odoo-helper addons install --log`
44-
- `odoo-helper addons update --log`
45-
- `odoo-helper addons uninstall --log`
41+
- `odoo-helper start --log`
42+
- `odoo-helper restart --log`
43+
- `odoo-helper addons install --log`
44+
- `odoo-helper addons update --log`
45+
- `odoo-helper addons uninstall --log`
4646
- Command `odoo-helper server log`: automatically move to end of log file after open (`+G` for `less` command)
4747
- Added command `odoo-helper postgres start-activity` to display running postgres connections
4848
- Added command `odoo-helper install reinstall-odoo` to easily spwitch betwen two installation modes:
49-
- `download` - download Odoo source as archive (faster)
50-
- `clone` - clone Odoo source as git repo (better handle updates, multiple remotes, multiple branches, etc).
49+
- `download` - download Odoo source as archive (faster)
50+
- `clone` - clone Odoo source as git repo (better handle updates, multiple remotes, multiple branches, etc).
5151
- Show if it is *Git Install* in output of `odoo-helper status` command
5252
- Show Odoo server url in output of following command:
53-
- `odoo-helper status`
54-
- `odoo-helper server status`
55-
- `odoo-helper server start`
53+
- `odoo-helper status`
54+
- `odoo-helper server status`
55+
- `odoo-helper server start`
5656

5757

58-
## Version 0.1.5 (2018-01-12)
58+
## Release 0.1.5 (2018-01-12)
5959

6060
- Use [nodeenv](https://pypi.python.org/pypi/nodeenv) together with
6161
[virtualenv](https://virtualenv.pypa.io/en/stable/) to be able to install
@@ -86,13 +86,13 @@
8686
`odoo-helper pip` command. For example:
8787
`odoo-helper --oca pip install odoo10-addon-mis-builder` will use [OCA simple](https://wheelhouse.odoo-community.org/) index.
8888
- `odoo-helper status`: print versions of following tools used in current project.
89-
- NodeJS
90-
- npm
91-
- Less.JS
92-
- Pylint
93-
- Flake8
94-
- ESLint
95-
- Pylint Odoo
89+
- NodeJS
90+
- npm
91+
- Less.JS
92+
- Pylint
93+
- Flake8
94+
- ESLint
95+
- Pylint Odoo
9696
- Do not require [erppeek](https://github.com/tinyerp/erppeek).
9797
This project seems to be abandoned.
9898
- Do not force install following python packages: *six*, *num2words*
@@ -105,7 +105,7 @@
105105
- Bugfix in processing OCA depenencies: handle cases, when file ends without newline
106106

107107

108-
## Version 0.1.4 (2017-11-13)
108+
## Release 0.1.4 (2017-11-13)
109109

110110
- Added command `odoo-helper odoo`
111111
- Added command `odoo-helper odoo recompute`, that allows to recompute stored fields.
@@ -115,7 +115,7 @@
115115
- Added command `odoo-helper postgres speedify`
116116

117117

118-
## Version 0.1.3 (2017-10-28)
118+
## Release 0.1.3 (2017-10-28)
119119

120120
- use [codecov](https://codecov.io) for code coverage
121121
- renamed command `odoo-helper print_config` to `odoo-helper print-config`
@@ -124,14 +124,14 @@
124124
- Added aliase `odoo-helper-log`
125125
- Added `odoo-helper postgres psql` command
126126
- Removed old unused options
127-
- `odoo-helper --addons-dir <addons_directory>`
128-
- `odoo-helper --downloads-dir <downloads_directory>`
129-
- `odoo-helper --virtual-env <virtual_env_dir>`
130-
- `odoo-helper test --tmp-dirs`
131-
- `odoo-helper test --no-rm-tmp-dirs`
127+
- `odoo-helper --addons-dir <addons_directory>`
128+
- `odoo-helper --downloads-dir <downloads_directory>`
129+
- `odoo-helper --virtual-env <virtual_env_dir>`
130+
- `odoo-helper test --tmp-dirs`
131+
- `odoo-helper test --no-rm-tmp-dirs`
132132

133133

134-
## Version 0.1.2 (2017-10-04)
134+
## Release 0.1.2 (2017-10-04)
135135

136136
- `odoo-install --python` option added. Now it is possible to install Odoo 11
137137
in python3 virtual environment
@@ -164,17 +164,17 @@
164164
So, when odoo-helper-scripts provides some new configuration params after update,
165165
user will be notified about them and asked to update project config file
166166
- `odoo-helper scaffold` have new features and subcommands:
167-
- `odoo-helper scaffold repo` create repository. place it in repo dir
168-
- `odoo-helper scaffold addon` create new addon. place it in repo and automaticaly link.
169-
- `odoo-helper scaffold model` create new model in addon. (Still work in progress)
167+
- `odoo-helper scaffold repo` create repository. place it in repo dir
168+
- `odoo-helper scaffold addon` create new addon. place it in repo and automaticaly link.
169+
- `odoo-helper scaffold model` create new model in addon. (Still work in progress)
170170

171171

172-
## Version 0.1.1 (2017-06-08)
172+
## Release 0.1.1 (2017-06-08)
173173

174174
- Support of Odoo 10.0
175175
- Support of [setuptools-odoo](https://pypi.python.org/pypi/setuptools-odoo)
176-
- Automaticaly install in env
177-
- Wrap pip with automaticaly set `PIP_EXTRA_INDEX_URL` environment variable with [OCA Wheelhouse](https://wheelhouse.odoo-community.org/)
176+
- Automaticaly install in env
177+
- Wrap pip with automaticaly set `PIP_EXTRA_INDEX_URL` environment variable with [OCA Wheelhouse](https://wheelhouse.odoo-community.org/)
178178
- Added shortcut script `odoo-helper-restart` to restart server.
179179
- Added `odoo-helper db rename` command
180180
- Added `odoo-helper install reinstall-venv` option
@@ -184,37 +184,37 @@
184184
- `odoo-helper fetch`: added experimental support of Mercurial
185185
- `odoo-helper test --coverage-html` option added.
186186
- `odoo-helper db create` new options added:
187-
- `--demo` load demo data (default: not load)
188-
- `--lang <lang` choose language of database
189-
- `--help` display help message
187+
- `--demo` load demo data (default: not load)
188+
- `--lang <lang` choose language of database
189+
- `--help` display help message
190190
- `odoo-install --single-branch` option added. This allow to disable `single-branch` clone.
191191
- Added `pychart` for install
192192
`pychart` package is broken on pypi, so replace it with Python-Chart
193193

194194

195-
## Version 0.1.0 (2017-03-06)
195+
## Release 0.1.0 (2017-03-06)
196196

197197
- Added ``odoo-helper addons pull_updates`` command
198198
- Added basic support of Odoo 10
199199
- Added ``odoo-helper --version`` command
200200
- Refactored ``odoo-install`` script:
201-
- Always install python extra utils
202-
- Removed following options (primery goal of this, is to simplify ``odoo-install`` script):
203-
- ``--extra-utils``: extrautils are installed by default
204-
- ``--install-sys-deps``: use instead separate command: ``odoo-helper install``
205-
- ``--install-and-conf-postgres``: use instead separate command: ``odoo-helper install`` or ``odoo-helper postgres``
206-
- ``--use-system-packages``: seems to be not useful
207-
- ``--use-shallow-clone``: seems to be not useful
208-
- ``--use-unbuffer``: seems to be not useful
209-
- Added following options:
210-
- ``--odoo-version``: this option is useful in case of using custom
211-
repository and custom branch with name different then odoo's version branches
212-
- Fixed bug with ``--conf-opt-*`` and ``--test-conf-opt-*`` options
201+
- Always install python extra utils
202+
- Removed following options (primery goal of this, is to simplify ``odoo-install`` script):
203+
- ``--extra-utils``: extrautils are installed by default
204+
- ``--install-sys-deps``: use instead separate command: ``odoo-helper install``
205+
- ``--install-and-conf-postgres``: use instead separate command: ``odoo-helper install`` or ``odoo-helper postgres``
206+
- ``--use-system-packages``: seems to be not useful
207+
- ``--use-shallow-clone``: seems to be not useful
208+
- ``--use-unbuffer``: seems to be not useful
209+
- Added following options:
210+
- ``--odoo-version``: this option is useful in case of using custom
211+
repository and custom branch with name different then odoo's version branches
212+
- Fixed bug with ``--conf-opt-*`` and ``--test-conf-opt-*`` options
213213
- Completely refactored ``odoo-helper test`` command
214-
- removed ``--reinit-base``
215-
- added ``--coverage`` options
216-
- Added subcommand ``odoo-helper test flake8``
217-
- Added subcommand ``odoo-helper test pylint``
214+
- removed ``--reinit-base``
215+
- added ``--coverage`` options
216+
- Added subcommand ``odoo-helper test flake8``
217+
- Added subcommand ``odoo-helper test pylint``
218218
- ``odoo-helper addons update-list`` command: ran for all databases if no db specified
219219
- suppress git feedback in ``odoo-helper system update``
220220
- improve system-wide install script: allow to choose odoo-helper branch or
@@ -224,31 +224,31 @@
224224
that directory
225225
- odoo-helper: added ``--no-colors`` option
226226
- ``odoo-helper tr`` command improved:
227-
- ``import`` and ``load`` subcommands can be ran on all databases
228-
- ``import`` subcommand: added ability to search addons in directory
229-
- bugfix in ``tr import``: import translations only for installed addons
227+
- ``import`` and ``load`` subcommands can be ran on all databases
228+
- ``import`` subcommand: added ability to search addons in directory
229+
- bugfix in ``tr import``: import translations only for installed addons
230230
- Added ``addons test-installed`` command
231231
This allows to find databases where this addon is installed
232232
- Bugfix: ``addons check_updates`` command: show repositories that caused errors when checking for updates
233233
- ``addons status`` command now shows repository's remores
234234
- ``odoo-helper fetch`` and ``odoo-helper link`` commands refactored:
235-
- Added recursion protection for both of therm, to avoid infinite recursion
236-
- ``odoo-helepr fetch`` filter-out uninstallable addons, on linking muti-addon repo
237-
- ``odoo-helper link`` now is recursive, thus it will look for odoo addons
235+
- Added recursion protection for both of therm, to avoid infinite recursion
236+
- ``odoo-helepr fetch`` filter-out uninstallable addons, on linking muti-addon repo
237+
- ``odoo-helper link`` now is recursive, thus it will look for odoo addons
238238
recursively in a specified directory and link them all.
239239
- Added ``odoo-helper install`` command, which allows to install
240240
system dependencies for specific odoo version without installing odoo itself
241241
- Added ``odoo-helper addons install --no-restart`` option
242242
- Added ``odoo-helper addons update --no-restart`` option
243243
- Added following shortcuts:
244-
- ``odoo-helper pip`` to run pip for current project
245-
- ``odoo-helper start`` for ``odoo-helper server start``
246-
- ``odoo-helper stop`` for ``odoo-helper server stop``
247-
- ``odoo-helper restart`` for ``odoo-helper server restart``
248-
- ``odoo-helper log`` for ``odoo-helper server log``
244+
- ``odoo-helper pip`` to run pip for current project
245+
- ``odoo-helper start`` for ``odoo-helper server start``
246+
- ``odoo-helper stop`` for ``odoo-helper server stop``
247+
- ``odoo-helper restart`` for ``odoo-helper server restart``
248+
- ``odoo-helper log`` for ``odoo-helper server log``
249249

250250

251-
## Version 0.0.10 (2016-09-08)
251+
## Release 0.0.10 (2016-09-08)
252252

253253
- Bugfixes in ``odoo-helper test`` command
254254
- Added ``odoo-helper addons check_updates`` command
@@ -261,7 +261,7 @@
261261
- Bugfixes and improvements in ``odoo-helper tr`` command
262262

263263

264-
## Version 0.0.9 (2016-08-17)
264+
## Release 0.0.9 (2016-08-17)
265265

266266
- Added ``odoo-helper scaffold <addon_name> [addon_path]`` shortcut command
267267
- Added ``odoo-helper tr`` subcommand that simplifies translation management
@@ -275,7 +275,7 @@
275275
- Refactored ``odoo-helper server auto-update`` and ``odoo-helper update_odoo``
276276

277277

278-
## Version 0.0.8 (2016-06-08)
278+
## Release 0.0.8 (2016-06-08)
279279

280280
- Bugfix in ``odoo-helper link .`` command
281281
- Added aditional extra_python depenencies:
@@ -286,41 +286,41 @@
286286
- Added experimental command ``odoo-helper db backup-all``.
287287

288288

289-
## Version 0.0.7 (2016-04-18)
289+
## Release 0.0.7 (2016-04-18)
290290

291291
- odoo-helper system lib-path command makes available to use some parts of this project from outside
292292
- Added new db commands: dump, restore, backup
293293
- odoo-helper addons status: bugfix in parsing git status
294294
- odoo-install related fixes
295295

296296

297-
## Version 0.0.6 (2016-03-19)
297+
## Release 0.0.6 (2016-03-19)
298298

299299
- Added 'odoo-helper exec <cmd> [args]' command
300300
- Added simple auto-update mechanism
301301
- odoo-helper addons: Added ability to list addons not under git
302302

303303

304-
## Version 0.0.5 (2016-02-29)
304+
## Release 0.0.5 (2016-02-29)
305305

306306
- Added support to manage server state via init script
307307
- Separate *repository* directory to store repositories fetched by this scripts
308308
- Added ability to install Odoo from non-standard repository
309309
- Added basic support of OCA dependency files (oca\_dependencies.txt)
310310

311311

312-
## Version 0.0.4 (2016-02-17)
312+
## Release 0.0.4 (2016-02-17)
313313

314314
- Added ability to specify config options on odoo-install
315315
- Added automatic processing of pip requirements file placed in repo.
316316
- Added better check if postgres installed on attempt to install it.
317317

318318

319-
## Version 0.0.3 (2015-12-16)
319+
## Release 0.0.3 (2015-12-16)
320320

321321
- Added `odoo-helper status` command
322322
- Added `odoo-helper db` command
323323

324-
## Version 0.0.2 (2015-12-01)
324+
## Release 0.0.2 (2015-12-01)
325325

326326
- Initial release

build_docs.bash

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/bash
2+
3+
SCRIPT=$0;
4+
SCRIPT_NAME=`basename $SCRIPT`;
5+
SCRIPT_DIR=$(readlink -f "$(dirname $SCRIPT)");
6+
WORK_DIR=`pwd`;
7+
8+
9+
cp -f $SCRIPT_DIR/CHANGELOG.md $SCRIPT_DIR/docs/release-notes.md;
10+
mkdocs build -d $SCRIPT_DIR/public

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ pages:
1616
- Configuration: odoo-helper-configuration.md
1717
- Project Directory Structure: project-directory-structure.md
1818
- odoo-requirements.txt format: odoo-requirements-txt.md
19+
- Relase Notes: release-notes.md
1920

0 commit comments

Comments
 (0)