Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NodeClientSharedCode
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dojo Project (HES-SO)
Projects
Shared
NodeClientSharedCode
Compare revisions
e549c7f03955a2ac295a8b8486f921154af751ee to 530fe7459023f7fa11b14a9edf7a99629304cf8b
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
dojo_project/projects/shared/nodeclientsharedcode
Select target project
No results found
530fe7459023f7fa11b14a9edf7a99629304cf8b
Select Git revision
Branches
ask-user-to-delete-exercises-on-duplicates
jw_sonar
jw_sonar_backup
main
move-to-esm-only
open_tool_for_self_hosting
v5.0
v6.0
Tags
v4.1
v4.2
10 results
Swap
Target
dojo_project/projects/shared/nodeclientsharedcode
Select target project
dojo_project/projects/shared/nodeclientsharedcode
1 result
e549c7f03955a2ac295a8b8486f921154af751ee
Select Git revision
Branches
ask-user-to-delete-exercises-on-duplicates
jw_sonar
jw_sonar_backup
main
move-to-esm-only
open_tool_for_self_hosting
v5.0
v6.0
Tags
v4.1
v4.2
10 results
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
Config => Add max exercises per assignment information
· 10e7d949
michael.minelli
authored
3 months ago
10e7d949
Merge branch 'ask-user-to-delete-exercises-on-duplicates' into v6.0
· 530fe745
michael.minelli
authored
3 months ago
530fe745
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
config/ClientsSharedConfig.ts
+10
-1
10 additions, 1 deletion
config/ClientsSharedConfig.ts
with
10 additions
and
1 deletion
config/ClientsSharedConfig.ts
View file @
530fe745
...
...
@@ -7,7 +7,8 @@ interface ClientsConfig {
gitlabUrl
:
string
,
gitlabAccountId
:
number
,
gitlabAccountUsername
:
string
,
loginGitlabClientId
:
string
loginGitlabClientId
:
string
,
exerciseMaxPerAssignment
:
number
}
...
...
@@ -36,6 +37,10 @@ class ClientsSharedConfig {
filename
:
string
,
neededFiles
:
Array
<
string
>
};
public
exercise
!
:
{
maxPerAssignment
:
number
};
public
dockerCompose
!
:
{
projectName
:
string
};
...
...
@@ -97,6 +102,10 @@ class ClientsSharedConfig {
};
this
.
login
.
gitlab
.
client
.
id
=
downloadedConfig
.
loginGitlabClientId
;
this
.
exercise
=
{
maxPerAssignment
:
downloadedConfig
.
exerciseMaxPerAssignment
};
}
async
init
(
apiUrl
:
string
)
{
...
...
This diff is collapsed.
Click to expand it.