Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GraphDeployer
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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Coscine
backend
scripts
GraphDeployer
Commits
52aa7088
Commit
52aa7088
authored
Dec 16, 2020
by
Benedikt Heinrichs
Browse files
Options
Downloads
Patches
Plain Diff
Fix: Directory dependency is now C: for /voc
parent
d9162882
No related branches found
No related tags found
1 merge request
!6
Fix: Directory dependency is now C: for /voc
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/GraphDeployer/Program.cs
+2
-2
2 additions, 2 deletions
src/GraphDeployer/Program.cs
src/GraphDeployer/getRepository.ps1
+3
-3
3 additions, 3 deletions
src/GraphDeployer/getRepository.ps1
with
5 additions
and
5 deletions
src/GraphDeployer/Program.cs
+
2
−
2
View file @
52aa7088
using
Coscine.Configuration
;
using
Coscine.Configuration
;
using
Coscine.Metadata
;
using
System
;
using
System.Collections.Generic
;
...
...
@@ -24,7 +24,7 @@ namespace Coscine.GraphDeployer
VirtuosoManager
virtuosoManager
=
new
VirtuosoManager
(
$"Server=
{
virtuosoHost
}
;Uid=
{
virtuosoUser
}
;pwd=
{
virtuosoPassword
}
"
);
var
_rdfStoreConnector
=
new
RdfStoreConnector
(
virtuosoServer
);
var
folder
=
"/voc"
;
var
folder
=
"
C:
/voc"
;
var
virtuosoISQLLocation
=
configuration
.
GetString
(
"coscine/local/virtuoso/isql"
,
"C:/Programs/Virtuoso/bin/isql.exe"
...
...
...
...
This diff is collapsed.
Click to expand it.
src/GraphDeployer/getRepository.ps1
+
3
−
3
View file @
52aa7088
param
(
param
(
[
Parameter
(
Mandatory
=
$true
,
Position
=
0
)]
[
string
]
$repositoryUrl
,
[
Parameter
(
Mandatory
=
$true
,
Position
=
1
)]
...
...
@@ -30,7 +30,7 @@ if ($branch -And $branch -ne 'master' ) {
cd
..
$path
=
'/voc'
$path
=
'
C:
/voc'
# Twice remove, because of: https://stackoverflow.com/questions/7909167/how-to-quietly-remove-a-directory-with-content-in-powershell#comment10316056_7909195
If
(
Test-Path
$path
)
{
Remove-Item
-LiteralPath
$path
-Force
-Recurse
}
...
...
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment