Closed (works as designed)
Project:
Spark
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Nov 2012 at 01:43 UTC
Updated:
4 Feb 2013 at 19:04 UTC
With included .git folder the download is 59,7 MiB. Is this intentional?
Comments
Comment #1
sylvain lecoy commented> ping
Comment #2
webchickHm. I'm not seeing this? http://drupalcode.org/project/spark.git/tree/refs/heads/8.x-1.x
Comment #3
mahfiaz commentedThanks for taking a look.
I suppose it's packaging script. Take a look at the download sizes at https://drupal.org/project/spark
7.x release is 5.7 MB, 8.x release is over 60 MB. If you downloaded these files you would see that the difference is the .git folder, which is 60 MB (unarchived).
Comment #4
webchickHm. :( I'm not sure why that would be. :(
Moving to the infrastructure queue for some hopeful insight.
Comment #5
webchickOh, wait. Duh. I figured this out on my own.
So the reason this is happening is because there are no core unstable/alpha releases that I can peg the distribution to; I need to peg it against a specific git commit hash. This of course will grab core from Git, rather than a tarball, which means the .git folder for core will be included.
So basically, this is "by design" until Drupal 8 core tagged releases start coming out.
Comment #6
mahfiaz commentedOkay, thanks for the explanation, it makes sense.
Comment #7
moshe weitzman commentedI think drush is supposed to remove the .git after the clone. Fixed in next version of drush. No idea when d.o. will upgrade. See #1875510: Drush Make does not remove .git directories for core and libraries
Comment #8
mahfiaz commentedThats nice :)