Improve the logs #1217

Open
opened 2023-12-14 18:42:01 +01:00 by rohaquinlop · 0 comments
rohaquinlop commented 2023-12-14 18:42:01 +01:00 (Migrated from github.com)

Reduce the logs information when building with makes.

For example:

trying https://registry.npmjs.org/babel-loader/-/babel-loader-9.1.3.tgz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 13376  100 13376    0     0   265k      0 --:--:-- --:--:-- --:--:--  266k
building '/nix/store/ppn1hwqrmj8h5svwwbd9s0qnnp6wv8w3-babel-loader.json.drv'...
building '/nix/store/qf9d6im4pfmyz2240m8fd19lxzc15zmz-babel-plugin-polyfill-corejs2-0.4.6.tgz.drv'...

...

resources' -> '/nix/store/c7827n1gpwzn414pkiqj6f4n1h1dszbx-cypress-13.2.0/opt/cypress/resources'
'resources/app' -> '/nix/store/c7827n1gpwzn414pkiqj6f4n1h1dszbx-cypress-13.2.0/opt/cypress/resources/app'
'resources/app/index.js' -> '/nix/store/c7827n1gpwzn414pkiqj6f4n1h1dszbx-cypress-13.2.0/opt/cypress/resources/app/index.js'
'resources/app/node_modules' -> '/nix/store/c7827n1gpwzn414pkiqj6f4n1h1dszbx-cypress-13.2.0/opt/cypress/resources/app/node_modules'
'resources/app/node_modules/.yarn-integrity' -> '/nix/store/c7827n1gpwzn414pkiqj6f4n1h1dszbx-cypress-13.2.0/opt/cypress/resources/app/node_modules/.yarn-integrity'

This is an example building universe/integrates/web/e2e/cypress

Reduce the logs information when building with makes. For example: ``` trying https://registry.npmjs.org/babel-loader/-/babel-loader-9.1.3.tgz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 13376 100 13376 0 0 265k 0 --:--:-- --:--:-- --:--:-- 266k building '/nix/store/ppn1hwqrmj8h5svwwbd9s0qnnp6wv8w3-babel-loader.json.drv'... building '/nix/store/qf9d6im4pfmyz2240m8fd19lxzc15zmz-babel-plugin-polyfill-corejs2-0.4.6.tgz.drv'... ... resources' -> '/nix/store/c7827n1gpwzn414pkiqj6f4n1h1dszbx-cypress-13.2.0/opt/cypress/resources' 'resources/app' -> '/nix/store/c7827n1gpwzn414pkiqj6f4n1h1dszbx-cypress-13.2.0/opt/cypress/resources/app' 'resources/app/index.js' -> '/nix/store/c7827n1gpwzn414pkiqj6f4n1h1dszbx-cypress-13.2.0/opt/cypress/resources/app/index.js' 'resources/app/node_modules' -> '/nix/store/c7827n1gpwzn414pkiqj6f4n1h1dszbx-cypress-13.2.0/opt/cypress/resources/app/node_modules' 'resources/app/node_modules/.yarn-integrity' -> '/nix/store/c7827n1gpwzn414pkiqj6f4n1h1dszbx-cypress-13.2.0/opt/cypress/resources/app/node_modules/.yarn-integrity' ``` This is an example building [universe/integrates/web/e2e/cypress](https://gitlab.com/fluidattacks/universe/-/blob/trunk/integrates/web/e2e/cypress/main.nix?ref_type=heads)
This discussion has been locked. Commenting is limited to contributors.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
justin/makes#1217
No description provided.