Page MenuHomePhorge

Config page runs git commands that should have an HOME to open gitconfig correctly
Open, NormalPublic

Description

I noticed that the Config page runs git commands on the fly from the webserver user.

The problem is, these commands have not any HOME environment variable.

So, these git commands cannot open any .gitconfig.

So, these git commands do not benefit from global configurations set for the webserver user.

This is a problem for example in:

Event Timeline

valerio.bozzolan triaged this task as Normal priority.
valerio.bozzolan created this object in space S1 Public.
valerio.bozzolan renamed this task from Config page runs git commands that must have an HOME to open gitconfig correctly to Config page runs git commands that should have an HOME to open gitconfig correctly.May 8 2023, 12:58
valerio.bozzolan updated the task description. (Show Details)

Lol. I don't know what we should do here. Feel free to wontfix. Probably this is the solution to an unclear issue.