some work for loading a workspace

This commit is contained in:
2024-09-06 16:55:04 +02:00
parent f0f63a1895
commit 5e678db077
7 changed files with 114 additions and 14 deletions

View File

@@ -21,6 +21,7 @@ internal class GitLabRepoWorkspace(GitLabRepoWorkspaceConfig config) : IWorkspac
{
InstallInfos = InstallInfos.Parse(await GetContent(ConfigX.FileLocationInstallJson));
UpdateInfos = UpdateInfos.Parse(await GetContent(ConfigX.FileLocationUpdateJson));
ConfigX.InstanceUrl = (await Gitlab.Projects.GetByIdAsync((int)ConfigX.RepoId, new())).NameWithNamespace;
return InstallInfos != null && UpdateInfos != null;
}