lab icon indicating copy to clipboard operation
lab copied to clipboard

Suggestion: configurable project id

Open SYip opened this issue 5 years ago • 2 comments

Hello, I come across the project not found issue, however, I am not able to config the apache server to resolve it.

Hitting the source code, I found that the error came from the FindProject function. However, I know the project id and I think I can just set it via lab.hcl in the project root directory.

Can it be fixed by allowing project id to be set in lab.hcl? Lab will also run a bit faster without this FindProject request.

SYip avatar Nov 25 '19 11:11 SYip

@SYip are you saying that you do not have access to configure the apache server? If so, you're correct we may need to figure something out, the feature could be adding and you could use the ability to load lab.hcl files from your project directory to manually set the project id in theory. I'm not sure that there wouldn't be more issues, but I'd be open to reviewing a pull request if someone put it up.

If you can configure the apache server or request modification from the sysadmin, I'd take a look at the other issues around this which were able to find solutions. https://github.com/zaquestion/lab/issues?q=label%3Aapache+is%3Aclosed

Namely https://github.com/zaquestion/lab/issues/130 which contains the first issues solution and sheds light on a separate unique issue.

zaquestion avatar Nov 26 '19 22:11 zaquestion

@zaquestion , yes I had read the #130 issue.

Sometime it would be easier to set the project id in directory root than to make the sysadmin do the work for you. XDD

SYip avatar Jan 10 '20 08:01 SYip