Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
grid5000
reference-repository
Commits
20b48e25
Commit
20b48e25
authored
Nov 10, 2015
by
PARISOT Clement
Browse files
[Rakefile] Adapt generator to new file hierarchy
parent
cbbbf42e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Rakefile
View file @
20b48e25
...
...
@@ -143,7 +143,7 @@ namespace :oar do
diff
.
split
(
"
\n
"
).
each
do
|
line
|
action
,
filename
=
line
.
split
(
"
\t
"
)
next
unless
filename
=~
%r{.+/nodes/.+}
next
unless
filename
=~
%r{.+/nodes/.+
json
}
node_uid
,
site_uid
,
grid_uid
=
filename
.
gsub
(
/\.json/
,
''
).
split
(
"/"
).
values_at
(
-
1
,
-
5
,
-
7
)
cluster_uid
=
node_uid
.
split
(
"-"
)[
0
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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