Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Database
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Coscine
backend
libraries
Database
Merge requests
!184
Update: Adding ToS checkbox for gitlab
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Update: Adding ToS checkbox for gitlab
Issue/2278-gitlabToS
into
dev
Overview
0
Commits
5
Pipelines
8
Changes
4
Merged
Hanna Führ
requested to merge
Issue/2278-gitlabToS
into
dev
2 years ago
Overview
0
Commits
5
Pipelines
8
Changes
4
Expand
coscine/issues#2278
0
0
Merge request reports
Compare
dev
version 6
4a9b2dc0
2 years ago
version 5
f258f026
2 years ago
version 4
15ee89aa
2 years ago
version 3
71d6f89c
2 years ago
version 2
786840e4
2 years ago
version 1
f62b1123
2 years ago
dev (base)
and
latest version
latest version
1efca681
5 commits,
2 years ago
version 6
4a9b2dc0
4 commits,
2 years ago
version 5
f258f026
3 commits,
2 years ago
version 4
15ee89aa
2 commits,
2 years ago
version 3
71d6f89c
4 commits,
2 years ago
version 2
786840e4
2 commits,
2 years ago
version 1
f62b1123
1 commit,
2 years ago
4 files
+
6
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
src/Database/Models/ResourceModel.cs
+
1
−
1
Options
@@ -383,7 +383,7 @@ namespace Coscine.Database.Models
{
GitlabResourceTypeModel
gitlabResourceTypeModel
=
new
GitlabResourceTypeModel
();
var
gitlabResourceType
=
gitlabResourceTypeModel
.
GetById
(
resource
.
ResourceTypeOptionId
.
Value
);
resourceTypeOptionObject
=
new
GitlabResourceTypeObject
(
gitlabResourceType
.
Id
,
gitlabResourceType
.
Branch
,
gitlabResourceType
.
GitlabProjectId
,
gitlabResourceType
.
RepoUrl
,
gitlabResourceType
.
ProjectAccessToken
);
resourceTypeOptionObject
=
new
GitlabResourceTypeObject
(
gitlabResourceType
.
Id
,
gitlabResourceType
.
Branch
,
gitlabResourceType
.
GitlabProjectId
,
gitlabResourceType
.
RepoUrl
,
gitlabResourceType
.
ProjectAccessToken
,
gitlabResourceType
.
TosAccepted
);
}
else
if
(
resource
.
Type
.
Type
==
"linked"
&&
resource
.
ResourceTypeOptionId
!=
null
)
{
Loading