Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
provision
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
project
provision
Commits
02ec5093
Commit
02ec5093
authored
Mar 30, 2009
by
Adrian Rossouw
Committed by
adrian
Mar 30, 2009
Browse files
Options
Downloads
Patches
Plain Diff
#319270
- package dependency checking between platforms. some fixes to the site manifests
parent
b46237f4
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
platform/cvs_deploy.inc
+4
-0
4 additions, 0 deletions
platform/cvs_deploy.inc
platform/provision_drupal.drush.inc
+8
-0
8 additions, 0 deletions
platform/provision_drupal.drush.inc
with
12 additions
and
0 deletions
platform/cvs_deploy.inc
+
4
−
0
View file @
02ec5093
...
...
@@ -86,6 +86,10 @@ function _provision_cvs_deploy_version_from_tag($tag) {
if
(
!
$tag
||
$tag
==
'HEAD'
)
{
$version
=
'HEAD'
;
}
// See if it's a Drupal core release
elseif
(
preg_match
(
'@^DRUPAL-(\d+)-(\d+)$@'
,
$tag
,
$match
))
{
$version
=
$match
[
1
]
.
'.'
.
$match
[
2
];
}
// See if it's a full, official release from a tag:
elseif
(
preg_match
(
'@^DRUPAL-(\d+)--(\d+)-(\d+)(-.+)?@'
,
$tag
,
$match
))
{
$version
=
$match
[
1
]
.
'.x-'
.
$match
[
2
]
.
'.'
.
$match
[
3
];
...
...
This diff is collapsed.
Click to expand it.
platform/provision_drupal.drush.inc
+
8
−
0
View file @
02ec5093
...
...
@@ -435,6 +435,9 @@ function _provision_find_packages($scope, $key = '') {
* Map the system table to a packages multi-dimensional array component
*/
function
provision_drupal_system_map
()
{
// Load the version specific include files.
provision_platform_include
(
dirname
(
__FILE__
),
'packages'
);
$profile
=
drush_get_option
(
'profile'
);
$profiles
=
_provision_find_profiles
();
...
...
@@ -444,6 +447,9 @@ function provision_drupal_system_map() {
$result
=
db_query
(
"SELECT * FROM
{
system
}
WHERE type='module'"
);
while
(
$module
=
db_fetch_object
(
$result
))
{
$info_file
=
sprintf
(
"%s/%s.info"
,
dirname
(
$module
->
filename
),
$module
->
name
);
$module
->
info
=
provision_parse_info_file
(
$info_file
);
_provision_cvs_deploy
(
$module
);
$module
->
filename
=
realpath
(
$module
->
filename
);
$packages
[
'modules'
][
$module
->
name
]
=
$module
;
...
...
@@ -453,6 +459,8 @@ function provision_drupal_system_map() {
$result
=
db_query
(
"SELECT * FROM
{
system
}
WHERE type='theme'"
);
while
(
$theme
=
db_fetch_object
(
$result
))
{
$info_file
=
sprintf
(
"%s/%s.info"
,
dirname
(
$theme
->
filename
),
$theme
->
name
);
$theme
->
info
=
provision_parse_info_file
(
$info_file
);
_provision_cvs_deploy
(
$theme
);
$theme
->
filename
=
realpath
(
$theme
->
filename
);
$packages
[
'themes'
][
$theme
->
name
]
=
$theme
;
...
...
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
register
or
sign in
to comment