Hi I followed #1334942: Drupal 7 OpenChurch Port for your port to 7. I love using makefiles. I especially want to be able to use your makefile so I can keep it up to date or add my own modules. I typical use a makefile that specifies a tag. like this.

includes[] = http://github.com/xforty/xforty-drupal/raw/7.x/xforty-com.make
projects[xforty][type] = profile
projects[xforty][download][type] = git
projects[xforty][download][url] = git://github.com/xforty/xforty-drupal.git
projects[xforty][download][tag] = {TAG}

Which isn't to dissimilar from what you have. I look at your tag.

http://drupalcode.org/project/openchurch.git/commit/8d2f47c0e38aac611591...

It seems older than your current receive. What is your tagging strategy? Or how quickly do you intent to respond to security fixes with bundling your zip file.

Comments

pearcec’s picture

I also wanted to point out the fact you don't pin version in your makefile. So if someone goes to build it they are getting different versions that might be incompatible with the features you supply. Have you given thought to pinning the versions? If you don't you get results like below as well. Here is a good example of a pinned base makefile

drush make  --prepare-install /vagrant/distro.make openchurch
There is no recommended release for project captcha.
Choose one of the available releases for captcha:
 [0]  :  Cancel                                        
 [1]  :  7.x-1.x-dev    -  2012-Jan-02  -  Development 
 [2]  :  7.x-1.0-beta2  -  2012-Jan-02  -  Supported   

2
There is no recommended release for project cck.
Choose one of the available releases for cck:
 [0]  :  Cancel                                                 
 [1]  :  7.x-2.x-dev  -  2011-Aug-23  -  Supported, Development 

1
There is no recommended release for project features_extra.
Choose one of the available releases for features_extra:
 [0]  :  Cancel                                                 
 [1]  :  7.x-1.x-dev  -  2011-Jun-19  -  Supported, Development 

1
There is no recommended release for project media_vimeo.
Choose one of the available releases for media_vimeo:
 [0]  :  Cancel                                        
 [1]  :  7.x-1.x-dev    -  2011-Dec-08  -  Development 
 [2]  :  7.x-1.0-beta4  -  2011-Dec-07  -  Supported   

1

This is the makefile I used to try and build it.

api = 2
core = 7.0
projects[drupal][type] = core
projects[openchurch][type] = profile
projects[openchurch][download][type] = git
projects[openchurch][download][url] = http://git.drupal.org/project/openchurch.git
projects[openchurch][download][branch] = 7.x-1.x
drupalninja99’s picture

Ya right now for convenience I build downloads from HEAD and then I will test snapshots from time to time and tag them as stable on the download page:
http://openchurchsite.com/openchurch-download

Ideally I would like to move towards adding the make file directly to the d.o. project page, I just need to confirm that I can add my 3rd party libraries there. For sometime the inability to add 3rd party libraries has made distro maintainers host them on their own site.

drupalninja99’s picture

Status: Active » Closed (won't fix)

Going to close for now but this is on my radar.

pearcec’s picture

I found a really descent way to keep up to date with your zip file, and include my own modules. I don't know if we can add this to some documentation. But I thought I would at least get it into a support request for others. This only works for Drupal 7. All the modules, themes, and libraries included with this distribution are located under profiles/openchurch. It is possible to add module to sites/all and have it override the defaults in profiles/openchurch. If a security update comes out or you want to include your own modules you can create the following make file.

core = 7.x
api = 2
projects[openchurch][type] = core
projects[openchurch][download][type] = file
projects[openchurch][download][url] = http://openchurchsite.com/download/140/214/openchurch_d7-03-04-12-01.zip

projects[date][version] = 2.3
projects[date][subdir] = contrib

projects[google_analytics][version] = 1.2
projects[google_analytics][subdir] = contrib

You can leave off the subdir if you want. It will simply go into the modules directory. It is convention to use contrib for drupal contributed modules and custom for your own.

Hope this helps someone.

drupalninja99’s picture

Ya I figured that adding modules to sites/all did override the platform. Most of my audience is not using make files though.

Good news on the version front is that it looks like the superfish js library is getting whitelisted now which is the last library I need whitelisted to try out a full make file. Once I can bring the packaging back to d.o. I think things will be a lot smoother bc I will have specific versions all catalogued and available for download. It will help the issue queue as people will be able to select specific versions.

drupalninja99’s picture

Version: 7.x-1.x-dev » 7.x-1.7-alpha1
Status: Closed (won't fix) » Fixed

OK good news, the make file is finally cleaned up with pinned versions and whitelisted libraries so now you can download openchurch direct from the project page.

Status: Fixed » Closed (fixed)

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