Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
deadlock-desktop
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container 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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
deadlock-public
deadlock-desktop
Merge requests
!37
feat: GitLens added to inspect student's executions history
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
feat: GitLens added to inspect student's executions history
feat-add_gitLen_to_inspect_history
into
master
Overview
1
Commits
2
Pipelines
0
Changes
3
Merged
Djamel ALI
requested to merge
feat-add_gitLen_to_inspect_history
into
master
3 years ago
Overview
1
Commits
2
Pipelines
0
Changes
1
0
0
Merge request reports
Compare
version 1
version 2
7634efb8
3 years ago
version 1
249570e8
3 years ago
master (base)
and
version 2
latest version
a1561463
2 commits,
3 years ago
version 2
7634efb8
2 commits,
3 years ago
version 1
249570e8
1 commit,
3 years ago
Show latest version
1 file
+
13
−
13
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
deadlock-plugins/deadlock-extension/src/recorder/recorder.ts
+
13
−
13
View file @ 7634efb8
Edit in single-file editor
Open in Web IDE
Show full file
@@ -33,19 +33,19 @@ export default class Recorder {
}
async
setupProject
(
gitMission
:
GitMission
)
{
if
(
this
.
userMission
.
isReviewing
())
{
await
copyProjectSources
(
GITEA_PATH_IC
,
MISSION_PATH_IC
,
`user-git-
${(
await
this
.
userMission
.
getGiteaUser
()).
username
}
`
,
);
}
else
{
await
copyProjectSources
(
GITEA
_PATH_IC
,
MISSION_PATH_IC
,
'
.git
'
,
`user-git-
${(
await
this
.
userMission
.
getGiteaUser
()).
username
}
`
,
);
const
argsArray
:
string
[]
=
[
`user-git-
${(
await
this
.
userMission
.
getGiteaUser
()).
username
}
`
];
if
(
!
this
.
userMission
.
isReviewing
())
{
argsArray
.
push
(
'
.git
'
);
}
await
copyProjectSources
(
GITEA_PATH_IC
,
MISSION
_PATH_IC
,
...
argsArray
);
if
(
!
this
.
userMission
.
isReviewing
())
{
renameTempToUserGitFiles
(
MISSION_PATH_IC
,
await
gitMission
.
getAuthor
());
}
}
Loading