[owncloud-devel] Developing against multiple versions of core?

Leonhardt, Matthew mleonhardt at mpr.com
Fri Mar 18 16:40:35 GMT 2016

Thank you (and Olivier) for your feedback.  I was not familiar with Vagrant, but I see that PhpStorm—which I’m also in the process of learning—has pretty slick Vagrant integration.  I will definitely investigate further and choose one of these two methods.

From: devel-bounces at owncloud.org [mailto:devel-bounces at owncloud.org] On Behalf Of Stephen Partington
Sent: Thursday, March 17, 2016 6:06 PM
To: List for Developers of ownCloud
Subject: Re: [owncloud-devel] Developing against multiple versions of core?

Virtualbox and Vagrant can help with this a great deal. it will allow you to build and clone things very quickly and script changes.

On Thu, Mar 17, 2016 at 2:40 PM, Leonhardt, Matthew <mleonhardt at mpr.com<mailto:mleonhardt at mpr.com>> wrote:
Hello all,

I'm new to the list and ownCloud development, so please direct me to the proper resource if this is already documented somewhere.  I couldn't find the answer in the ocdev manual or searching the mailing list.

I am facing the prospect of developing a series of ownCloud apps to incorporate functionality required by my company.  I will almost certainly need to develop and test against multiple oC releases.  (For example, we currently have 8.2.2 in production, 8.2.3 in test, and I'm developing against 9.1).  Not to mention if anyone else would ever care to use any of these.

So, what's the best practice for setting up a development environment for multiple versions?  Obviously, you cannot downgrade an instance, so multiple instances seem like the right answer.  But setting values in .ocdevrc seems to accommodate one instance (unless I use multiple users, which I would rather not do).

My best guess is to set up something that looks like this:

ocdev setup core --branch stable8.2 ~/owncloud/8.2
ocdev setup core --branch stable9 ~/owncloud/9
ocdev setup core ~/owncloud/master

And of course separate vhosts and database schema for each.

I'm fairly convinced this will work, but I wanted to check with the community in case there was a more common method that I'm overlooking.

Many thanks,

Matt Leonhardt, Application Systems Architect
mleonhardt at mpr.com<mailto:mleonhardt at mpr.com> | +1 (703) 519-0499<tel:%2B1%20%28703%29%20519-0499>

320 King Street, Suite 400
Alexandria, VA  22314

Devel mailing list
Devel at owncloud.org<mailto:Devel at owncloud.org>

A mouse trap, placed on top of your alarm clock, will prevent you from rolling over and going back to sleep after you hit the snooze button.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.owncloud.org/pipermail/devel/attachments/20160318/4d6d3fbd/attachment.html>

More information about the Devel mailing list