[xwiki-devs] [VOTE] Introduce Debian packages build in XE
Restarting the vote since the first one was a bit fuzzy, too late in 3.2 cycle and I made some required improvements since then. The idea is to make as easy as possible to install production ready XWiki Enterprise (and others later probably) on debian/ubuntu. Here is what is provided right now: * a "common" package which is a base package containing a XWiki with everything except the hibernate setup (but it provide some templates which are used by other packages) * a "tomcat-mysql" package which depends on xwiki commons, tomcat6, mysql-server, libmysql-java debian packages and make sure a MySQL database is created for XWiki and that it's properly added to tomcat applications * a "tomcat-pgsql" package which depends on xwiki commons, tomcat6, postgresql, libpg-java debian packages and make sure a PostgreSQL database is created for XWiki and that it's properly added to tomcat applications * I wrote a script to run in a cron which update a Debian repository descriptor (Packages.gz) in releases and snapshot maven repositories and also create a virtual "stable" Debian repository which contains only stable releases * it of course follow Debian standard path (configurations files in /etc/xwiki/ etc...) and you get nice conflict resolution tools when upgrading files thanks to dpkg Some links: * jira issue: http://jira.xwiki.org/browse/XE-985 * design page: http://dev.xwiki.org/xwiki/bin/view/Design/DebianPackage * code: https://github.com/xwiki-contrib/xwiki-debian * the script: /home/maven/xwiki_scanpackages.sh WDYT ? Here is my +1 -- Thomas Mortagne
Huge +1 for me. It's a great way to provide production environment with a single package. I'll gladly help to improve it. Guillaume 2011/10/15 Thomas Mortagne <[email protected]>
Restarting the vote since the first one was a bit fuzzy, too late in 3.2 cycle and I made some required improvements since then.
The idea is to make as easy as possible to install production ready XWiki Enterprise (and others later probably) on debian/ubuntu.
Here is what is provided right now:
* a "common" package which is a base package containing a XWiki with everything except the hibernate setup (but it provide some templates which are used by other packages) * a "tomcat-mysql" package which depends on xwiki commons, tomcat6, mysql-server, libmysql-java debian packages and make sure a MySQL database is created for XWiki and that it's properly added to tomcat applications * a "tomcat-pgsql" package which depends on xwiki commons, tomcat6, postgresql, libpg-java debian packages and make sure a PostgreSQL database is created for XWiki and that it's properly added to tomcat applications * I wrote a script to run in a cron which update a Debian repository descriptor (Packages.gz) in releases and snapshot maven repositories and also create a virtual "stable" Debian repository which contains only stable releases * it of course follow Debian standard path (configurations files in /etc/xwiki/ etc...) and you get nice conflict resolution tools when upgrading files thanks to dpkg
Some links: * jira issue: http://jira.xwiki.org/browse/XE-985 * design page: http://dev.xwiki.org/xwiki/bin/view/Design/DebianPackage * code: https://github.com/xwiki-contrib/xwiki-debian * the script: /home/maven/xwiki_scanpackages.sh
WDYT ?
Here is my +1
-- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Guillaume Fenollar XWiki SysAdmin Tel : 01.83.62.65.97
+1 Thanks, Marius On Sat, Oct 15, 2011 at 5:05 PM, Thomas Mortagne <[email protected]> wrote:
Restarting the vote since the first one was a bit fuzzy, too late in 3.2 cycle and I made some required improvements since then.
The idea is to make as easy as possible to install production ready XWiki Enterprise (and others later probably) on debian/ubuntu.
Here is what is provided right now:
* a "common" package which is a base package containing a XWiki with everything except the hibernate setup (but it provide some templates which are used by other packages) * a "tomcat-mysql" package which depends on xwiki commons, tomcat6, mysql-server, libmysql-java debian packages and make sure a MySQL database is created for XWiki and that it's properly added to tomcat applications * a "tomcat-pgsql" package which depends on xwiki commons, tomcat6, postgresql, libpg-java debian packages and make sure a PostgreSQL database is created for XWiki and that it's properly added to tomcat applications * I wrote a script to run in a cron which update a Debian repository descriptor (Packages.gz) in releases and snapshot maven repositories and also create a virtual "stable" Debian repository which contains only stable releases * it of course follow Debian standard path (configurations files in /etc/xwiki/ etc...) and you get nice conflict resolution tools when upgrading files thanks to dpkg
Some links: * jira issue: http://jira.xwiki.org/browse/XE-985 * design page: http://dev.xwiki.org/xwiki/bin/view/Design/DebianPackage * code: https://github.com/xwiki-contrib/xwiki-debian * the script: /home/maven/xwiki_scanpackages.sh
WDYT ?
Here is my +1
-- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
On 10/15/2011 10:05 AM, Thomas Mortagne wrote:
Restarting the vote since the first one was a bit fuzzy, too late in 3.2 cycle and I made some required improvements since then.
The idea is to make as easy as possible to install production ready XWiki Enterprise (and others later probably) on debian/ubuntu.
Here is what is provided right now:
* a "common" package which is a base package containing a XWiki with everything except the hibernate setup (but it provide some templates which are used by other packages) * a "tomcat-mysql" package which depends on xwiki commons, tomcat6, mysql-server, libmysql-java debian packages and make sure a MySQL database is created for XWiki and that it's properly added to tomcat applications * a "tomcat-pgsql" package which depends on xwiki commons, tomcat6, postgresql, libpg-java debian packages and make sure a PostgreSQL database is created for XWiki and that it's properly added to tomcat applications * I wrote a script to run in a cron which update a Debian repository descriptor (Packages.gz) in releases and snapshot maven repositories and also create a virtual "stable" Debian repository which contains only stable releases * it of course follow Debian standard path (configurations files in /etc/xwiki/ etc...) and you get nice conflict resolution tools when upgrading files thanks to dpkg
+1. Internally, the resulting package looks good (as far as I can understand from a .deb). I don't like the artifactId xwiki-enterprise-common. Shouldn't it be xwiki-enterprise-debian-common, at least in the current place? After moving it inside xwiki-enterprise, we'll probably have to change all the IDs into something like xwiki-enterprise-distribution-debian-common. WDYT about an (optional?) Apache HTTPD front-end configuration, as in also provide and enable the perfect way of proxying XWiki?
Some links: * jira issue: http://jira.xwiki.org/browse/XE-985 * design page: http://dev.xwiki.org/xwiki/bin/view/Design/DebianPackage * code: https://github.com/xwiki-contrib/xwiki-debian * the script: /home/maven/xwiki_scanpackages.sh
WDYT ?
Here is my +1
-- Sergiu Dumitriu http://purl.org/net/sergiu/
On Mon, Oct 17, 2011 at 6:08 AM, Sergiu Dumitriu <[email protected]> wrote:
On 10/15/2011 10:05 AM, Thomas Mortagne wrote:
Restarting the vote since the first one was a bit fuzzy, too late in 3.2 cycle and I made some required improvements since then.
The idea is to make as easy as possible to install production ready XWiki Enterprise (and others later probably) on debian/ubuntu.
Here is what is provided right now:
* a "common" package which is a base package containing a XWiki with everything except the hibernate setup (but it provide some templates which are used by other packages) * a "tomcat-mysql" package which depends on xwiki commons, tomcat6, mysql-server, libmysql-java debian packages and make sure a MySQL database is created for XWiki and that it's properly added to tomcat applications * a "tomcat-pgsql" package which depends on xwiki commons, tomcat6, postgresql, libpg-java debian packages and make sure a PostgreSQL database is created for XWiki and that it's properly added to tomcat applications * I wrote a script to run in a cron which update a Debian repository descriptor (Packages.gz) in releases and snapshot maven repositories and also create a virtual "stable" Debian repository which contains only stable releases * it of course follow Debian standard path (configurations files in /etc/xwiki/ etc...) and you get nice conflict resolution tools when upgrading files thanks to dpkg
+1.
Internally, the resulting package looks good (as far as I can understand from a .deb).
I don't like the artifactId xwiki-enterprise-common. Shouldn't it be xwiki-enterprise-debian-common, at least in the current place?
If you are talking about maven artifact ID yes it's a mistake, they will probably all change anyway in the move.
After moving it inside xwiki-enterprise, we'll probably have to change all the IDs into something like xwiki-enterprise-distribution-debian-common.
WDYT about an (optional?) Apache HTTPD front-end configuration, as in also provide and enable the perfect way of proxying XWiki?
That's the first thing listed in http://dev.xwiki.org/xwiki/bin/view/Design/DebianPackage#HTODO ;)
Some links: * jira issue: http://jira.xwiki.org/browse/XE-985 * design page: http://dev.xwiki.org/xwiki/bin/view/Design/DebianPackage * code: https://github.com/xwiki-contrib/xwiki-debian * the script: /home/maven/xwiki_scanpackages.sh
WDYT ?
Here is my +1
-- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
On Sat, Oct 15, 2011 at 4:05 PM, Thomas Mortagne <[email protected]> wrote:
Restarting the vote since the first one was a bit fuzzy, too late in 3.2 cycle and I made some required improvements since then.
The idea is to make as easy as possible to install production ready XWiki Enterprise (and others later probably) on debian/ubuntu.
Here is what is provided right now:
* a "common" package which is a base package containing a XWiki with everything except the hibernate setup (but it provide some templates which are used by other packages) * a "tomcat-mysql" package which depends on xwiki commons, tomcat6, mysql-server, libmysql-java debian packages and make sure a MySQL database is created for XWiki and that it's properly added to tomcat applications * a "tomcat-pgsql" package which depends on xwiki commons, tomcat6, postgresql, libpg-java debian packages and make sure a PostgreSQL database is created for XWiki and that it's properly added to tomcat applications * I wrote a script to run in a cron which update a Debian repository descriptor (Packages.gz) in releases and snapshot maven repositories and also create a virtual "stable" Debian repository which contains only stable releases * it of course follow Debian standard path (configurations files in /etc/xwiki/ etc...) and you get nice conflict resolution tools when upgrading files thanks to dpkg
* forgot to mention that you can build it from anywhere, no need to be on Debian
Some links: * jira issue: http://jira.xwiki.org/browse/XE-985 * design page: http://dev.xwiki.org/xwiki/bin/view/Design/DebianPackage * code: https://github.com/xwiki-contrib/xwiki-debian * the script: /home/maven/xwiki_scanpackages.sh
WDYT ?
Here is my +1
-- Thomas Mortagne
-- Thomas Mortagne
+2 (since you don't have to be on debian to build it) :) 2011/10/17 Thomas Mortagne <[email protected]>
On Sat, Oct 15, 2011 at 4:05 PM, Thomas Mortagne <[email protected]> wrote:
Restarting the vote since the first one was a bit fuzzy, too late in 3.2 cycle and I made some required improvements since then.
The idea is to make as easy as possible to install production ready XWiki Enterprise (and others later probably) on debian/ubuntu.
Here is what is provided right now:
* a "common" package which is a base package containing a XWiki with everything except the hibernate setup (but it provide some templates which are used by other packages) * a "tomcat-mysql" package which depends on xwiki commons, tomcat6, mysql-server, libmysql-java debian packages and make sure a MySQL database is created for XWiki and that it's properly added to tomcat applications * a "tomcat-pgsql" package which depends on xwiki commons, tomcat6, postgresql, libpg-java debian packages and make sure a PostgreSQL database is created for XWiki and that it's properly added to tomcat applications * I wrote a script to run in a cron which update a Debian repository descriptor (Packages.gz) in releases and snapshot maven repositories and also create a virtual "stable" Debian repository which contains only stable releases * it of course follow Debian standard path (configurations files in /etc/xwiki/ etc...) and you get nice conflict resolution tools when upgrading files thanks to dpkg
* forgot to mention that you can build it from anywhere, no need to be on Debian
Some links: * jira issue: http://jira.xwiki.org/browse/XE-985 * design page: http://dev.xwiki.org/xwiki/bin/view/Design/DebianPackage * code: https://github.com/xwiki-contrib/xwiki-debian * the script: /home/maven/xwiki_scanpackages.sh
WDYT ?
Here is my +1
-- Thomas Mortagne
-- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Ludovic Dubost Founder and CEO Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost
Merged in XE. There is a lot of possible improvements I'm sure but it's a good start ;) On Sat, Oct 15, 2011 at 4:05 PM, Thomas Mortagne <[email protected]> wrote:
Restarting the vote since the first one was a bit fuzzy, too late in 3.2 cycle and I made some required improvements since then.
The idea is to make as easy as possible to install production ready XWiki Enterprise (and others later probably) on debian/ubuntu.
Here is what is provided right now:
* a "common" package which is a base package containing a XWiki with everything except the hibernate setup (but it provide some templates which are used by other packages) * a "tomcat-mysql" package which depends on xwiki commons, tomcat6, mysql-server, libmysql-java debian packages and make sure a MySQL database is created for XWiki and that it's properly added to tomcat applications * a "tomcat-pgsql" package which depends on xwiki commons, tomcat6, postgresql, libpg-java debian packages and make sure a PostgreSQL database is created for XWiki and that it's properly added to tomcat applications * I wrote a script to run in a cron which update a Debian repository descriptor (Packages.gz) in releases and snapshot maven repositories and also create a virtual "stable" Debian repository which contains only stable releases * it of course follow Debian standard path (configurations files in /etc/xwiki/ etc...) and you get nice conflict resolution tools when upgrading files thanks to dpkg
Some links: * jira issue: http://jira.xwiki.org/browse/XE-985 * design page: http://dev.xwiki.org/xwiki/bin/view/Design/DebianPackage * code: https://github.com/xwiki-contrib/xwiki-debian * the script: /home/maven/xwiki_scanpackages.sh
WDYT ?
Here is my +1
-- Thomas Mortagne
-- Thomas Mortagne
participants (5)
-
Guillaume Fenollar -
Ludovic Dubost -
Marius Dumitru Florea -
Sergiu Dumitriu -
Thomas Mortagne