⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Foreman
All Projects
Overview
Activity
Roadmap
Issues
Wiki
Repository
Download (390 Bytes)
Statistics
| Branch:
develop
| Tag:
0.1
0.1-1
0.1-2
0.1-3
0.1-4
0.1-5
0.1-6
0.2
0.2rc1
0.3
0.4
0.4.1
0.4.2
0.4rc2
0.4rc3
0.4rc4
0.4rc5
1.0
1.0.1
1.0RC1
1.0RC2
1.0RC3
1.0RC4
1.0RC5
1.1
1.1-1
1.10.0
1.10.0-RC1
1.10.0-RC2
1.10.0-RC3
1.10.1
1.10.2
1.10.3
1.10.4
1.11.0
1.11.0-RC1
1.11.0-RC2
1.11.0-RC3
1.11.1
1.11.2
1.11.3
1.11.4
1.12.0
1.12.0-RC1
1.12.0-RC2
1.12.0-RC3
1.12.1
1.12.2
1.12.3
1.12.4
1.13.0
1.13.0-RC1
1.13.0-RC2
1.13.1
1.13.2
1.13.3
1.13.4
1.14.0
1.14.0-RC1
1.14.0-RC2
1.14.0-RC3
1.14.1
1.14.2
1.14.3
1.15.0
1.15.0-RC1
1.15.0-RC2
1.15.1
1.15.2
1.15.3
1.15.4
1.15.5
1.15.6
1.15.7
1.16.0
1.16.0-RC1
1.16.0-RC2
1.16.1
1.16.2
1.17.0
1.17.0-RC1
1.17.0-RC2
1.17.1
1.17.2
1.17.3
1.17.4
1.18.0
1.18.0-RC1
1.18.0-RC2
1.18.0-RC3
1.18.1
1.18.2
1.18.3
1.19.0
1.19.0-RC1
1.19.0-RC2
1.19.0-RC3
1.19.1
1.1RC1
1.1RC2
1.1RC3
1.1RC4
1.1RC5
1.2.0
1.2.0-RC1
1.2.0-RC2
1.2.0-RC3
1.2.1
1.2.2
1.2.3
1.20.0
1.20.0-RC1
1.20.0-RC2
1.20.1
1.20.2
1.20.3
1.21.0
1.21.0-RC1
1.21.0-RC2
1.21.0-RC3
1.21.0-RC4
1.21.0-RC5
1.21.1
1.21.2
1.21.3
1.21.4
1.22.0
1.22.0-RC1
1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
3.5.3
3.6.0
3.6.0-rc1
3.6.0-rc2
3.6.1
3.6.2
3.7.0
3.7.0-rc1
3.7.0-rc2
3.7.0-rc3
3.8.0-rc1
foreman-1.7.0-1
| Revision:
foreman
/
db
/
migrate
/
20100524080302_migrate_installation_medium_uri.rb
@ 90f0a0b0
View
History
Annotate
class
MigrateInstallationMediumUri
<
ActiveRecord
::
Migration
def
self
.
up
Medium
.
unscoped
.
all
.
each
{
|
medium
|
matches
=
/^([^:]+):(\/.+)/
.
match
(
medium
.
path
)
if
matches
.
size
==
3
and
!
[
'http'
,
'https'
,
'ftp'
,
'ftps'
,
'nfs'
].
include?
(
matches
[
1
])
medium
.
path
=
'nfs://'
+
matches
[
1
]
+
matches
[
2
]
medium
.
save
end
}
end
def
self
.
down
end
end
« Previous
1
…
35
36
37
38
39
…
204
Next »
(37-37/204)
Loading...