Repository navigation
CVar for code source info - #6749
metalgearsloth merged 6 commits into
Conversation
|
After merge we will just going to need to add after
And ideally add display of this data somewhere in client UI :> |
|
This should be handled by RobustCDN. build.json is also currently made by RobustCDN. |
|
@Simyon264 okay i found related code in CDN and changed it, changed RT code to only get more variables from build.json Can you point me to GHA that is posting to RobustCDN so i can add new arguments there? |
|
It's publish.yml and publish-testing.yml iirc. |
| /// or original game repository. | ||
| /// </summary> | ||
| public static readonly CVarDef<string> SourceUrl = | ||
| CVarDef.Create("build.source_url", string.Empty); |
There was a problem hiding this comment.
MyFork is an actual repo so probably better to use space-wizards
There was a problem hiding this comment.
Actually hilarious ;3 yeah i am not a fan of promoting MyFork, lets stay with space-wizards as safe defaults here ;D
Bug report feature would need full info on sources that were used to run current instance of application, at least server side.
Added CVar for engine and content source version data (commit SHA, url of repo, branch used) so it can be passed to bug report stuff or displayed in UI.
Data should be filled by RobustCDN, implanted on publish (already done - space-wizards/Robust.Cdn#11 merged and service updated for wizden), real values should be provided by publish script (will be separate PR, very soon).