Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
SAREF
saref-pipeline
Commits
46a3e8eb
Unverified
Commit
46a3e8eb
authored
Jul 26, 2021
by
Maxime Lefrançois
Browse files
migrating to labs.etsi.org/rep
parent
04bc8eff
Pipeline
#311
passed with stage
in 27 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/fr/mines_stetienne/ci/saref/SAREF.java
View file @
46a3e8eb
...
...
@@ -62,7 +62,7 @@ public class SAREF {
public
final
static
String
LICENSE
=
"https://forge.etsi.org/etsi-software-license"
;
public
final
static
String
PUBLISHER
=
"https://www.etsi.org/"
;
public
static
final
String
SAREF_PORTAL_STATIC_GIT
=
"https://
forge
.etsi.org/rep/
SAREF
/saref-portal.git"
;
public
static
final
String
SAREF_PORTAL_STATIC_GIT
=
"https://
labs
.etsi.org/rep/
saref
/saref-portal.git"
;
public
static
final
String
LOGGER_BASE
=
"SAREF Pipeline: "
;
public
static
final
String
NAME_SITE
=
"site"
;
...
...
src/main/java/fr/mines_stetienne/ci/saref/managers/SiteManager.java
View file @
46a3e8eb
...
...
@@ -202,7 +202,7 @@ public class SiteManager extends SAREFErrorLogger {
public
void
generateHtaccess
()
{
File
htaccess
=
new
File
(
siteDir
,
".htaccess"
);
try
(
FileWriter
writer
=
new
FileWriter
(
htaccess
))
{
writer
.
write
(
"RewriteRule ^sources/(.*)$ https://
forge
.etsi.org/rep/
SAREF
/$1 [R=302]\n\n"
);
writer
.
write
(
"RewriteRule ^sources/(.*)$ https://
labs
.etsi.org/rep/
saref
/$1 [R=302]\n\n"
);
writer
.
write
(
"Header set Content-disposition \"expr=attachement; filename=%{resp:Content-Location}\" \"expr=%{resp:Content-Location} =~ /.(rdf|nt|n3)$/\"\n"
);
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment