Commit Graph
12 Commits
Author SHA1 Message Date
Simon Genin (ges) 8d57a5cde9 [ADD] web: prettier and eslint tooling
Provide an opt in js tooling system by adding a node env with prettier and eslint configured.
3 bash scripts are provided: enable.sh, disable.sh and reload.sh.

Enable.sh: add to the community root (and optionaly to the enterprise root) the env.
Disable.sh: remove the env.
Reload.sh: disable then enable.
2021-06-18 21:31:27 +02:00
Simon Genin (ges)andFrancois 396fec3929 [ADD] cli: add a command to generate tsconfig
With the new native JS module system, we have a lot of new features for
the developer: autocompletion, docstrings, ...

However, it does not work across modules: if a JS file in
/addons/stock/static/src/some_file.js want to import a file in web, say
/addons/web/static/src/blabla.js, we will need to use a statement like
this:

import { something } from '@web/blabla';

Obviously, there is no automatic way for IDEs to know that '@web' should
map to 'addons/web'.

This is why we propose to use a tsconfig.json that defines the mapping
between modules and their paths.  This is not mandatory, and only
affects those developers that work commonly in JS.

Part of PR 63177

Co-authored-by: Francois (fge) <fge@odoo.com>
2021-02-15 10:18:11 +01:00
Sébastien Theys f0a66d05e7 [ADD] .github: introduce CODEOWNERS
Code owners are automatically requested for review when someone opens a pull
request that modifies code that they own.

Code owners are not automatically requested to review draft pull requests.

https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners

closes odoo/odoo#47388

Signed-off-by: Olivier Dony (odo) <odo@openerp.com>
2020-04-20 11:41:39 +00:00
Christophe Monniez 6a66adf395 [IMP] setup: ignore external files needed for win32 build 2017-10-03 12:01:53 +02:00
Xavier Morel 4a878fa4dc [FIX] P3: metadata update
* gitignore pycache folders (apparently appear for some)
* update xlwt requirement: 1.1.2 does not work with Python 3.6, 1.2 should work, 1.3 officially supports it
2017-09-14 10:18:06 +02:00
Christophe Simonis 59d6876fec FIX] .gitignore: change references to openerp directory 2016-09-23 17:29:23 +02:00
Antony Lesuisse beb5c24adb [ADD] git mailmap and CLA stats
Try a "git blame" or "git shortlog -nse"

Still around 10 commit remaining to be indentified.
2015-02-08 23:00:10 +01:00
Denis Ledoux f7723037d6 [MERGE] forward port of branch saas-3 up to 8c4a7cb 2014-11-04 12:30:01 +01:00
Christophe Simonis 2b2ec07435 [IMP] .gitignore maintenance migration scripts 2014-10-29 19:49:26 +01:00
Christophe Simonis 65f68c1f65 [MERGE] forward port of branch saas-3 up to 7dd6954 2014-06-03 19:14:22 +02:00
Denis Ledoux 3f6f43214f [FIX] replace .bzrignore by .gitignore, as we are now working with git 2014-05-28 18:17:33 +02:00
--global 1b40b5b37a [IMP] [BACKPORT] Converto bzrignore to gitignore, like what has been done in master. 2014-05-21 16:52:24 +02:00