Commit 315f13b
committed
fix(workspace): allow adding repos by name for GitLab PAT workspaces
GitLab repos may not be synced yet when manually adding them to
monitor. Skip the DB existence check for GITLAB_PAT workspaces —
the monitor entry is created with nameWithOwner and the sync will
populate the repository entity later.1 parent 174df1c commit 315f13b
1 file changed
Lines changed: 11 additions & 8 deletions
File tree
- server/application-server/src/main/java/de/tum/in/www1/hephaestus/workspace
Lines changed: 11 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
158 | 161 | | |
159 | 162 | | |
160 | 163 | | |
| |||
0 commit comments