Running "drush make-generate test.make" on Drupal 7.18, test.make contains
projects[drupal][version] = "7.x"
instead of
projects[drupal][version] = "7.18"

If I then run "drush make ../test.make", Drupal 7.19-dev is installed (of course) in stead of 7.18.

I would have understood this if Drush treated modules the same way, but it doesn't. Is this intended behavior? It's not what I expected. (I though make-generate would create a make file that I could use to recreate an identical site.)

I can probably write a patch, if we agree that this is a bug (and not a feature).

CommentFileSizeAuthor
#3 drush-make-generate-core-1884670-3.patch574 byteshansfn

Comments

hansfn’s picture

Title: Genearted make file doesn't preserve core version » Generated makefile doesn't preserve core version

Fixing typos in issue title.

greg.1.anderson’s picture

drush make-generate should behave as you describe if --exclude-versions is specified, and should behave as you expect if it is not. If it's not working like that right now, that's a bug, and a patch would be welcome.

hansfn’s picture

StatusFileSize
new574 bytes

Thx for confirming my understanding. Trivial patch attached.

jonhattan’s picture

Status: Active » Fixed

Committed to 6.x and 5.x. Thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.