Hello!

El mar, 28 jul 2026 a la(s) 3:01 p.m., Cyrille Bollu ([email protected])
escribió:

> Hi,
>
> I don't understand, I believe the source files are in the source packages:
> I'm pretty sure glances/outputs/static/public/glances.js is generated using
> webpack, see file glances/outputs/static/webpackg.config.js
>
> So, I believe the correct solution should be to rebuild those .js files
> rather than deleting them.
>
> Building those .js files should probably be as simple as something along
> this line:
>
> 1. delete the content of the glances/outputs/static/public folder
>
> 2. build the webui with webpack (see
> https://github.com/nicolargo/glances/issues/2021#issuecomment-2752545679)
>
> Could you investigate please?
>
>
>
You're right, glances.js is generated from that source via webpack. the
problem is building it requires npm install to fetch the whole toolchain
from the internet, and Debian Policy doesn't allow network access during
the build[1]. Most of those build dependencies aren't packaged in Debian
either, so there's no way to build it offline right now.

Regards!

[1]:
https://www.debian.org/doc/debian-policy/ch-source.html#main-building-script-debian-rules

-- 
Daniel Echeverri
Debian Developer
Linux user: #477840
GPG Fingerprint:
D0D0 85B1 69C3 BFD9 4048  58FA 21FC 2950 4B52 30DB
9F16 8C34 7A2F 57BA BFCC  18DD 3F7B DC71 2C61 410B

Reply via email to