Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FW] 14 better scripts lul #2204

Closed
wants to merge 3 commits into from
Closed

Conversation

fw-bot
Copy link
Collaborator

@fw-bot fw-bot commented Mar 9, 2023

Description:

description of this task, what is implemented and why it is implemented that way.

Odoo task ID : TASK_ID

review checklist

  • feature is organized in plugin, or UI components
  • support of duplicate sheet (deep copy)
  • in model/core: ranges are Range object, and can be adapted (adaptRanges)
  • in model/UI: ranges are strings (to show the user)
  • undo-able commands (uses this.history.update)
  • multiuser-able commands (has inverse commands and transformations where needed)
  • new/updated/removed commands are documented
  • exportable in excel
  • translations (_lt("qmsdf %s", abc))
  • unit tested
  • clean commented code
  • track breaking changes
  • doc is rebuild (npm run doc)
  • status is correct in Odoo

Forward-Port-Of: #2202
Forward-Port-Of: #2191

LucasLefevre and others added 3 commits March 9, 2023 14:49
Add the task label before every log line in the console.
This helps to know what is logging what.

The current task \"build:* -- --watch\" is split into smaller
task without argument. Otherwise, the labels would also include
the argument, making it very long
[build:js -- --watch] => [watch:ts]

the "serve" task is also rename to better reflect what it does:
serving static files.
In v15, we also have a "server" task which could be confusing

X-original-commit: 6aede4d
In v15, a collaborative server was introduced.
This server can raise errors (let's say if it cannot start because the port
is already used).

In the current situation, errors are cleared by ts watch mode.
This makes it difficult to see and know what happened.

X-original-commit: 8746ea2
Exit events that are fired following an error of exectuion were silently
caught. This would hide the reason of failure and make it very difficult
to know what happened.

X-original-commit: 6550810
@robodoo
Copy link
Collaborator

robodoo commented Mar 9, 2023

@fw-bot
Copy link
Collaborator Author

fw-bot commented Mar 9, 2023

@LucasLefevre @rrahir this PR targets master and is the last of the forward-port chain containing:

To merge the full chain, say

@fw-bot r+

More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port

@rrahir
Copy link
Collaborator

rrahir commented Mar 9, 2023

@fw-bot r+

robodoo pushed a commit that referenced this pull request Mar 9, 2023
Add the task label before every log line in the console.
This helps to know what is logging what.

The current task \"build:* -- --watch\" is split into smaller
task without argument. Otherwise, the labels would also include
the argument, making it very long
[build:js -- --watch] => [watch:ts]

the "serve" task is also rename to better reflect what it does:
serving static files.
In v15, we also have a "server" task which could be confusing

X-original-commit: 6aede4d
Part-of: #2204
robodoo pushed a commit that referenced this pull request Mar 9, 2023
In v15, a collaborative server was introduced.
This server can raise errors (let's say if it cannot start because the port
is already used).

In the current situation, errors are cleared by ts watch mode.
This makes it difficult to see and know what happened.

X-original-commit: 8746ea2
Part-of: #2204
robodoo pushed a commit that referenced this pull request Mar 9, 2023
Exit events that are fired following an error of exectuion were silently
caught. This would hide the reason of failure and make it very difficult
to know what happened.

closes #2204

X-original-commit: 6550810
Signed-off-by: Rémi Rahir (rar) <[email protected]>
@robodoo robodoo temporarily deployed to merge March 9, 2023 14:34 Inactive
@robodoo robodoo closed this Mar 9, 2023
@robodoo robodoo added the 16.2 label Mar 9, 2023
@fw-bot fw-bot deleted the master-14-better-scripts-lul-N4WK-fw branch March 23, 2023 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants