Unlike the log files, which after the suggested minor modification to /usr/local/etc/nginx/mime.types display nicely in the browser, the file is downloaded instead, despite also being plain text and despite it also being convenient to be able to view it in the same browser window.
Further, the file name confuses at least my Linux Mint desktop and makes it ever so slightly less convenient still to see the precious contents therein.
How to reproduce
Steps to reproduce the behavior:
Go to 'Logs->Dependency Graph'
Click on 'Dependency Graph'
See error oopisie
Expected behavior
Show me the log file! In a browser window. optimally a new one, just like logs do.
Screenshots
![image](https://github.com/freebsd/poudriere/assets/3670635/80250f8b-dd26-4eff-ac69-398a6bae8e60)
## Environment
- Host OS [e.g. 12.2 amd64]: 14.0R amd64
- Jail OS [e.g. 12.0 powerpc]: 14.0R amd64
- Browser: [e.g. chrome, safari]: brave
- Poudriere Version [e.g. 3.3.1 or git hash or port version]: 3.4.1_1
- Ports branch and revision [e.g. 2020Q3 r550754]: main
## Additional context
Changing the name of the log to something like "poudriere_pkg_deps.txt" would make it easy.
Prerequisites
Describe the bug
Choosing from the poudriere web interface (nginx), Logs->Dependency Graph, initiates a download of http://server/data/FBSD_14-0-R-default/2024-03-16_01h52m39s/.poudriere.pkg_deps%25
Unlike the log files, which after the suggested minor modification to /usr/local/etc/nginx/mime.types display nicely in the browser, the file is downloaded instead, despite also being plain text and despite it also being convenient to be able to view it in the same browser window.
Further, the file name confuses at least my Linux Mint desktop and makes it ever so slightly less convenient still to see the precious contents therein.
How to reproduce
Steps to reproduce the behavior:
Expected behavior
Show me the log file! In a browser window. optimally a new one, just like logs do.
Screenshots