When I do:

drush make --working-copy build-commons-dev.make ../commons-7.x-3.x-dev

no commons-7.x-3.x-dev folder is created, but goes through all of the steps (downloads, clones, patches, etc) successfully.

When I go to either:
http://ftp.drupal.org/files/projects/commons-7.x-3.x-dev-core.tar.gz
http://ftp.drupal.org/files/projects/commons-7.x-3.x-dev-core.zip

I get 404s. Are these issues related perhaps?

Any way to get the latest dev build?

Comments

jpontani’s picture

See #1908812-24: Provide a -dev version of the Commons make file, stopgap for nightly development snapshot. The issue is a patch that no longer no applies to the dev makefile.

RobKoberg’s picture

Version: » 7.x-3.2

This is for latest dev version, but that has been removed from the Version drop down??

dev make file is not creating the build. Errors:

File og-7.x-2.x-dev.tar.gz is corrupt (wrong md5 checksum).                                                                                                                                       [error]
>> sh: line 0: cd: /tmp/make_tmp_1370623724_51b20eec29813/__build__/profiles/commons/modules/contrib/og: No such file or directory
 >> sh: line 0: cd: /tmp/make_tmp_1370623724_51b20eec29813/__build__/profiles/commons/modules/contrib/og: No such file or directoryUnable to patch og with 1902086-og-ref-respect-og-user-access-3.patch.                                                                                                                            [error]
 >> sh: line 0: cd: /tmp/make_tmp_1370623724_51b20eec29813/__build__/profiles/commons/modules/contrib/og: No such file or directory
 >> sh: line 0: cd: /tmp/make_tmp_1370623724_51b20eec29813/__build__/profiles/commons/modules/contrib/og: No such file or directory
Unable to patch og with og_ui-group_node_add_theme-1800208-5.patch.  

And there are a ton of:

date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those  [warning]
methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead pm.drush.inc:1794
japerry’s picture

Status: Active » Needs review

I suggest we remove build-commons-dev -- it was a intermediary solution, but its not sustainable.

The current way I build a dev install is via the process used within the build_distro.sh script:

1a) Make a root directory for Commons. This will contain commons_profile, docroot, and the commons modules and theme repositories.
mkdir ~/Sites/commons
1b) 'cd' into the directory and checkout Commons from the drupal.org repository and into a new commons_profile subdirectory.

    cd ~/Sites/commons
    git clone --branch 7.x-3.x http://git.drupal.org/project/commons.git commons_profile (Add commons_profile to the end of the 'git clone' command).

1c) Build the distro:
commons_profile/build_distro.sh build ~/Sites/commons (where "~/Sites/commons" equals the location of directory in 1a.
1e) You'll now have three directories:

   drwxr-xr-x  commons_profile  => the commons profile you checked out from git
   drwxr-xr-x  publish => the drupal docroot you should point Apache to so that you can view your local site
   drwxr-xr-x  repos => the commons-specific projects that have been checked out from git

1f) You can now proceed to installing Commons, by going to the corresponding url that points to your docroot.

ezra-g’s picture

Category: bug » support
Status: Needs review » Fixed

This is for latest dev version, but that has been removed from the Version drop down??

This is pending #2014709: Dev release node mysteriously deleted (Commons 7.x-3.x).

>> sh: line 0: cd: /tmp/make_tmp_1370623724_51b20eec29813/__build__/profiles/commons/modules/contrib/og: No such file or directory

Try running drush make with the --no-cache flag as well as after doing an rm -rf on /tmp/drush*.

It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function

See https://drupal.org/node/691648.

Let's keep discussion around a dev version make file at #1908812: Provide a -dev version of the Commons make file, stopgap for nightly development snapshot.

I believe all the major points of this issue have been addressed, so marking as fixed.

RobKoberg’s picture

Category: support » bug
Status: Fixed » Needs review

japerry, when I use the script, it recursively keeps building (I Ctrl+c to stop it) so a directory structure like this gets created:

commons-7.x-3.x-dev (my target for the build)
-- commons_profile
-- repos
  -- commons-7.x-3.x-dev
      -- commons_profile
      -- repos (then this keeps repeating the pattern)
  -- modules (all the commons modules)

running the dev make with the --no-cache now

ezra-g’s picture

Category: bug » support
Status: Needs review » Fixed

Feel free to re-open if you have issues packaging with drush make build-commons-dev.make.

RobKoberg’s picture

The make file worked for me.

Status: Fixed » Closed (fixed)

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