there is no download:

Not Found

The requested URL /files/projects/commons-7.x-3.x-dev-core.tar.gz was not found on this server.

Comments

blacklabel_tom’s picture

I can confirm that I can't download any of the dev versions of commons from the project page (no-core, etc)

ezra-g’s picture

Priority: Critical » Major
Status: Active » Postponed
drumm’s picture

Assigned: Unassigned » drumm
Status: Postponed » Fixed

I deployed the fix for #1916598: Whitelist download failed - replace file_get_contents with something that sends a User-Agent and repackaged commons. I think it is working.

blacklabel_tom’s picture

Status: Fixed » Active

Its not working for me this morning, I'm assuming the overnight build has re-broken it?

matt v.’s picture

When trying to do a fresh build last night and this morning, I've been seeing an error when running drush make that appears to be caused by the patch from #1915364: Remove unnecessary Features lines from message_subscribe_info file.

--php=/usr/bin/php  --backend=2 --reserve-margin=14  make-process
/tmp/make_tmp_1360947930_511e6ada6e8c7 2>&1
* [@self.31] Executing: patch -p0 --no-backup-if-mismatch -d /tmp/make_tmp_1360947930_511e6ada6e8c7/__build__/profiles/commons/modules/contrib/message_subscribe < /tmp/make_tmp_1360947930_511e6ada6e8c7/1915364-message-subcsribe-remove-features-info-2.patchpatching file b/message_subscribe_email/message_subscribe_email.info    [notice]
Hunk #1 FAILED at 1.
Hunk #2 FAILED at 8.
2 out of 2 hunks FAILED -- saving rejects to file
b/message_subscribe_email/message_subscribe_email.info.rej
Unable to patch message_subscribe with                               [error]
1915364-message-subcsribe-remove-features-info-2.patch.

If I try to manually apply the 1915364-message-subcsribe-remove-features-info-2.patch file against a git checkout using git apply, it applies just fine. However, if I instead try to apply the patch using the patch command that drush make is using above, I get the same two failed hunks as above.

It's not yet clear to me why patch is failing but git apply works.

matt v.’s picture

Using the patch command, I'm able to successfully apply the 1915364-message-subcsribe-remove-features-info-2.patch file if I switch to using the -p1 option. It appears that the problem might be the -p0 option that drush make is using.

I noticed at the top of the Making a Drupal patch with Git page that the old -p0 format was phased out in 2011, so it's surprising that drush make uses it. I did a quick search in the Drush issue queue and didn't immediately find anything related to this, but the issue queue doesn't allow searching for "-p0" or "p0", so I'm not 100% sure if an issue already exists.

For what it's worth, I'm using the latest drush version 5.8.

drumm’s picture

Assigned: drumm » Unassigned
ezra-g’s picture

Matt V. - Thanks for looking into this. The issue here is that the -dev version of Message_Subscribe comes with added linesin the info file that cause the patch to fail, since it also applies to the info file. I updated the commons-build-dev.make file to accomodate this but left drupal.org.make without the corresponding change.

Let's see if the patch is committed today. If not, I'll update drupal-org.make to switch to message_subscribe from git.

matt v.’s picture

Just a heads up, the development release download links are still returning a 404 error.

I just closed #1919568: Dev release is not available- 404 errors as a duplicate issue.

jpontani’s picture

Status: Active » Fixed

Per http://drupal.org/node/1915364#comment-7075816, this has been committed to dev on the module itself.

Committed the fix to Commons by removing the patch from the makefile.

http://drupalcode.org/project/commons.git/commitdiff/7275918

jlea9378’s picture

I'm still unable to download Commons.

Anonymous’s picture

Me too ! What is going here ?! May be the development has been stopped finally?!

ezra-g’s picture

Looks like the development snapshot tarball is back. Thanks, jpontani!

Status: Fixed » Closed (fixed)

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