public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH v2 0/3] make linting threaded
@ 2021-07-19 10:31 Dominik Csapak
  2021-07-19 10:31 ` [pve-devel] [PATCH v2 1/3] ship proper nodejs module 'pve-eslint' Dominik Csapak
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Dominik Csapak @ 2021-07-19 10:31 UTC (permalink / raw)
  To: pve-devel

NOTE: this series will not build until a 'make buildupstream' is
executed (and 'src/lib/eslint.js' should be committed as well). I
did not send it because it would be too big.

this series convert the package into a proper nodejs module
'pve-eslint', and adds threading to the linting binary

changes from v1:
* convert to nodejs module
* split worker code to own file
* drop hacky self-loading script, and use the 'pve-eslint' module instead

Dominik Csapak (3):
  ship proper nodejs module 'pve-eslint'
  remove unnecessary eslint.js
  use worker_threads for linting

 Makefile                                |      2 +-
 debian/control                          |      7 +-
 debian/dirs                             |      1 +
 debian/links                            |      1 +
 debian/rules                            |      5 +-
 patches/0001-adapt-webpack-config.patch |     19 +-
 src/Makefile                            |     15 -
 src/{ => bin}/app.js                    |     40 +-
 src/eslint.js                           | 138871 ---------------------
 src/index.js                            |      5 +
 src/lib/worker.js                       |     27 +
 src/package.json                        |     10 +
 12 files changed, 92 insertions(+), 138911 deletions(-)
 create mode 100644 debian/dirs
 create mode 100644 debian/links
 delete mode 100644 src/Makefile
 rename src/{ => bin}/app.js (92%)
 delete mode 100755 src/eslint.js
 create mode 100644 src/index.js
 create mode 100644 src/lib/worker.js
 create mode 100644 src/package.json

-- 
2.30.2





^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-08-30 11:04 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-19 10:31 [pve-devel] [PATCH v2 0/3] make linting threaded Dominik Csapak
2021-07-19 10:31 ` [pve-devel] [PATCH v2 1/3] ship proper nodejs module 'pve-eslint' Dominik Csapak
2021-08-25 16:38   ` Thomas Lamprecht
2021-08-30  9:17     ` Dominik Csapak
2021-08-30  9:25       ` Thomas Lamprecht
2021-08-30 10:06         ` Dominik Csapak
2021-08-30 10:36           ` [pve-devel] applied: " Thomas Lamprecht
2021-08-30 10:43             ` Dominik Csapak
2021-08-30 11:03               ` Thomas Lamprecht
2021-07-19 10:31 ` [pve-devel] [PATCH v2 2/3] remove unnecessary eslint.js Dominik Csapak
2021-07-19 10:31 ` [pve-devel] [PATCH v2 3/3] use worker_threads for linting Dominik Csapak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal