Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command or Instructions for Migrating Install Profile to Kraftwagen #9

Open
winmillwill opened this issue Mar 12, 2013 · 1 comment

Comments

@winmillwill
Copy link

I tried the following:

cd /tmp;
drush kw-np panopoly;
cd ~/code;
mkdir panopoly;
cd panopoly;
git clone --branch 7.x-1.x http://git.drupal.org/project/panopoly.git src;
cp -r /tmp/panopoly/src/cnf ~/code/panopoly/src/;
cp -r /tmp/panopoly/src/tools ~/code/panopoly/src/;
drush kw-s;
drush kw-b;

Is this the idea? It does seem to build everything....

Also, when I do

cd ~/code/panopoly
drush kw-um src/drupal-org.make

I get these changes:

diff --git a/drupal-org.make b/drupal-org.make
index e21a02c..6c2b3d8 100644
--- a/drupal-org.make
+++ b/drupal-org.make
@@ -1,66 +1,72 @@
 api = 2
 core = 7.x

-; The Panopoly Foundation
-
-projects[panopoly_core][version] = 1.x-dev
+projects[panopoly_core][version] = 7.x-1.0-rc3
 projects[panopoly_core][subdir] = panopoly
+
 projects[panopoly_core][download][type] = git
 projects[panopoly_core][download][revision] = 3bcd157
 projects[panopoly_core][download][branch] = 7.x-1.x

-projects[panopoly_images][version] = 1.x-dev
+projects[panopoly_images][version] = 7.x-1.0-rc3
 projects[panopoly_images][subdir] = panopoly
+
 projects[panopoly_images][download][type] = git
 projects[panopoly_images][download][revision] = 98eb0f5
 projects[panopoly_images][download][branch] = 7.x-1.x

-projects[panopoly_theme][version] = 1.x-dev
+projects[panopoly_theme][version] = 7.x-1.0-rc3
 projects[panopoly_theme][subdir] = panopoly
+
 projects[panopoly_theme][download][type] = git
 projects[panopoly_theme][download][revision] = 372aeb0
 projects[panopoly_theme][download][branch] = 7.x-1.x

-projects[panopoly_magic][version] = 1.x-dev
+projects[panopoly_magic][version] = 7.x-1.0-rc3
 projects[panopoly_magic][subdir] = panopoly
+
 projects[panopoly_magic][download][type] = git
 projects[panopoly_magic][download][revision] = 64d984e
 projects[panopoly_magic][download][branch] = 7.x-1.x

-projects[panopoly_widgets][version] = 1.x-dev
+projects[panopoly_widgets][version] = 7.x-1.0-rc3
 projects[panopoly_widgets][subdir] = panopoly
+
 projects[panopoly_widgets][download][type] = git
 projects[panopoly_widgets][download][revision] = 2a98c9e
 projects[panopoly_widgets][download][branch] = 7.x-1.x

-projects[panopoly_admin][version] = 1.x-dev
+projects[panopoly_admin][version] = 7.x-1.0-rc3
 projects[panopoly_admin][subdir] = panopoly
+
 projects[panopoly_admin][download][type] = git
 projects[panopoly_admin][download][revision] = 165fafb
 projects[panopoly_admin][download][branch] = 7.x-1.x

-projects[panopoly_users][version] = 1.x-dev
+projects[panopoly_users][version] = 7.x-1.0-rc3
 projects[panopoly_users][subdir] = panopoly
+
 projects[panopoly_users][download][type] = git
 projects[panopoly_users][download][revision] = cb4ca09
 projects[panopoly_users][download][branch] = 7.x-1.x

-; The Panopoly Toolset
-
-projects[panopoly_pages][version] = 1.x-dev
+projects[panopoly_pages][version] = 7.x-1.0-rc3
 projects[panopoly_pages][subdir] = panopoly
+
 projects[panopoly_pages][download][type] = git
 projects[panopoly_pages][download][revision] = 9a30d63
 projects[panopoly_pages][download][branch] = 7.x-1.x

-projects[panopoly_wysiwyg][version] = 1.x-dev
+projects[panopoly_wysiwyg][version] = 7.x-1.0-rc3
 projects[panopoly_wysiwyg][subdir] = panopoly
+
 projects[panopoly_wysiwyg][download][type] = git
 projects[panopoly_wysiwyg][download][revision] = c745f0f
 projects[panopoly_wysiwyg][download][branch] = 7.x-1.x

-projects[panopoly_search][version] = 1.x-dev
+projects[panopoly_search][version] = 7.x-1.0-rc3
 projects[panopoly_search][subdir] = panopoly
+
 projects[panopoly_search][download][type] = git
 projects[panopoly_search][download][revision] = 39aeea8
-projects[panopoly_search][download][branch] = 7.x-1.x
+projects[panopoly_search][download][branch] = 7.x-1.x
\ No newline at end of file

...which seems strange since there's still an explicit git revision in each case. Are *.make files with git revisions explicitly unsupported?

@rolfvandekrol
Copy link
Member

The update-makefile command is very limited. It works in most cases, but ignores comments. It ignores git revisions ids too.

The reason it doesn't build out of the box, is that Kraftwagen has some expectations about names and locations of the make files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants