[xwiki-devs] [VOTE] Move debian package to platform
Hi devs, I started with Guillaume Fenollar last week to do an experiment on an XWiki debian package. We got something pretty nice and I cleaned it up and added some features today. You can see it on https://github.com/xwiki-contrib/xwiki-debian. With my latest commit I think it's now clean enough to be moved on https://github.com/xwiki/xwiki-platform. WDYT ? Here is my +1 -- Thomas Mortagne
On Wed, Aug 10, 2011 at 2:40 PM, Thomas Mortagne <thomas.mortagne@xwiki.com> wrote:
Hi devs,
I started with Guillaume Fenollar last week to do an experiment on an XWiki debian package.
We got something pretty nice and I cleaned it up and added some features today. You can see it on https://github.com/xwiki-contrib/xwiki-debian.
Forgot to give some more details about it: the idea is to provide a production oriented debian package which mean it's not a simple repackaging of the jetty/hsqldb ready to use package but a tomcat and mysql based package. It install XWiki on tomcat and create the proper MySQL database.
With my latest commit I think it's now clean enough to be moved on https://github.com/xwiki/xwiki-platform.
WDYT ?
Here is my +1
-- Thomas Mortagne
-- Thomas Mortagne
Can you make it dependent on PostgreSQL as well instead? How long till it becomes standardly distributed in debians? paul Le 10 août 2011 à 14:43, Thomas Mortagne a écrit :
On Wed, Aug 10, 2011 at 2:40 PM, Thomas Mortagne <thomas.mortagne@xwiki.com> wrote:
Hi devs,
I started with Guillaume Fenollar last week to do an experiment on an XWiki debian package.
We got something pretty nice and I cleaned it up and added some features today. You can see it on https://github.com/xwiki-contrib/xwiki-debian.
Forgot to give some more details about it: the idea is to provide a production oriented debian package which mean it's not a simple repackaging of the jetty/hsqldb ready to use package but a tomcat and mysql based package. It install XWiki on tomcat and create the proper MySQL database.
With my latest commit I think it's now clean enough to be moved on https://github.com/xwiki/xwiki-platform.
WDYT ?
Here is my +1
-- Thomas Mortagne
-- Thomas Mortagne _______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
On Wed, Aug 10, 2011 at 2:44 PM, Paul Libbrecht <paul@hoplahup.net> wrote:
Can you make it dependent on PostgreSQL as well instead?
Yes should be pretty easy to do.
How long till it becomes standardly distributed in debians?
A very long time (if not never) I think: the blocker here is that to be in the standard debian repository all our dependency should have their own debian package on which xwiki debian package depends. That's petty much why you don't find much java soft in debian package.
paul
Le 10 août 2011 à 14:43, Thomas Mortagne a écrit :
On Wed, Aug 10, 2011 at 2:40 PM, Thomas Mortagne <thomas.mortagne@xwiki.com> wrote:
Hi devs,
I started with Guillaume Fenollar last week to do an experiment on an XWiki debian package.
We got something pretty nice and I cleaned it up and added some features today. You can see it on https://github.com/xwiki-contrib/xwiki-debian.
Forgot to give some more details about it: the idea is to provide a production oriented debian package which mean it's not a simple repackaging of the jetty/hsqldb ready to use package but a tomcat and mysql based package. It install XWiki on tomcat and create the proper MySQL database.
With my latest commit I think it's now clean enough to be moved on https://github.com/xwiki/xwiki-platform.
WDYT ?
Here is my +1
-- Thomas Mortagne
-- Thomas Mortagne _______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
On Wed, Aug 10, 2011 at 2:53 PM, Thomas Mortagne <thomas.mortagne@xwiki.com> wrote:
On Wed, Aug 10, 2011 at 2:44 PM, Paul Libbrecht <paul@hoplahup.net> wrote:
Can you make it dependent on PostgreSQL as well instead?
Yes should be pretty easy to do.
Actually lets do it now :)
How long till it becomes standardly distributed in debians?
A very long time (if not never) I think: the blocker here is that to be in the standard debian repository all our dependency should have their own debian package on which xwiki debian package depends. That's petty much why you don't find much java soft in debian package.
paul
Le 10 août 2011 à 14:43, Thomas Mortagne a écrit :
On Wed, Aug 10, 2011 at 2:40 PM, Thomas Mortagne <thomas.mortagne@xwiki.com> wrote:
Hi devs,
I started with Guillaume Fenollar last week to do an experiment on an XWiki debian package.
We got something pretty nice and I cleaned it up and added some features today. You can see it on https://github.com/xwiki-contrib/xwiki-debian.
Forgot to give some more details about it: the idea is to provide a production oriented debian package which mean it's not a simple repackaging of the jetty/hsqldb ready to use package but a tomcat and mysql based package. It install XWiki on tomcat and create the proper MySQL database.
With my latest commit I think it's now clean enough to be moved on https://github.com/xwiki/xwiki-platform.
WDYT ?
Here is my +1
-- Thomas Mortagne
-- Thomas Mortagne _______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
-- Thomas Mortagne
On Wed, Aug 10, 2011 at 3:06 PM, Thomas Mortagne <thomas.mortagne@xwiki.com> wrote:
On Wed, Aug 10, 2011 at 2:53 PM, Thomas Mortagne <thomas.mortagne@xwiki.com> wrote:
On Wed, Aug 10, 2011 at 2:44 PM, Paul Libbrecht <paul@hoplahup.net> wrote:
Can you make it dependent on PostgreSQL as well instead?
Yes should be pretty easy to do.
Actually lets do it now :)
Done (ok did not take the time to test it but should be ok unless I did not copy/pasting mistake or typo ;)).
How long till it becomes standardly distributed in debians?
A very long time (if not never) I think: the blocker here is that to be in the standard debian repository all our dependency should have their own debian package on which xwiki debian package depends. That's petty much why you don't find much java soft in debian package.
paul
Le 10 août 2011 à 14:43, Thomas Mortagne a écrit :
On Wed, Aug 10, 2011 at 2:40 PM, Thomas Mortagne <thomas.mortagne@xwiki.com> wrote:
Hi devs,
I started with Guillaume Fenollar last week to do an experiment on an XWiki debian package.
We got something pretty nice and I cleaned it up and added some features today. You can see it on https://github.com/xwiki-contrib/xwiki-debian.
Forgot to give some more details about it: the idea is to provide a production oriented debian package which mean it's not a simple repackaging of the jetty/hsqldb ready to use package but a tomcat and mysql based package. It install XWiki on tomcat and create the proper MySQL database.
With my latest commit I think it's now clean enough to be moved on https://github.com/xwiki/xwiki-platform.
WDYT ?
Here is my +1
-- Thomas Mortagne
-- Thomas Mortagne _______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
-- Thomas Mortagne
-- Thomas Mortagne
On Wed, Aug 10, 2011 at 14:53, Thomas Mortagne <thomas.mortagne@xwiki.com>wrote:
On Wed, Aug 10, 2011 at 2:44 PM, Paul Libbrecht <paul@hoplahup.net> wrote:
Can you make it dependent on PostgreSQL as well instead?
Yes should be pretty easy to do.
How long till it becomes standardly distributed in debians?
A very long time (if not never) I think: the blocker here is that to be in the standard debian repository all our dependency should have their own debian package on which xwiki debian package depends. That's petty much why you don't find much java soft in debian package.
There is not only the main debian distrib, see http://www.debian.org/doc/packaging-manuals/java-policy/x169.html for the rules, and more largely http://www.debian.org/doc/packaging-manuals/java-policy/index.html. If you follow these rules, and IMO you should, there is no reason not to submit the package to debian at least in contrib... or if not, could you tell what is precisely blocking ? If there is some real blocker have you check if ubuntu (which more relaxed) is a better option ? I really see an opportunity here if the package goes in, many debian/ubuntu users only adopt official packages. Denis
paul
Le 10 août 2011 à 14:43, Thomas Mortagne a écrit :
On Wed, Aug 10, 2011 at 2:40 PM, Thomas Mortagne <thomas.mortagne@xwiki.com> wrote:
Hi devs,
I started with Guillaume Fenollar last week to do an experiment on an XWiki debian package.
We got something pretty nice and I cleaned it up and added some features today. You can see it on https://github.com/xwiki-contrib/xwiki-debian.
Forgot to give some more details about it: the idea is to provide a production oriented debian package which mean it's not a simple repackaging of the jetty/hsqldb ready to use package but a tomcat and mysql based package. It install XWiki on tomcat and create the proper MySQL database.
With my latest commit I think it's now clean enough to be moved on https://github.com/xwiki/xwiki-platform.
WDYT ?
Here is my +1
-- Thomas Mortagne
-- Thomas Mortagne _______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne _______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
-- Denis Gervalle SOFTEC sa - CEO eGuilde sarl - CTO
On Thu, Aug 11, 2011 at 11:01 AM, Denis Gervalle <dgl@softec.lu> wrote:
On Wed, Aug 10, 2011 at 14:53, Thomas Mortagne <thomas.mortagne@xwiki.com>wrote:
On Wed, Aug 10, 2011 at 2:44 PM, Paul Libbrecht <paul@hoplahup.net> wrote:
Can you make it dependent on PostgreSQL as well instead?
Yes should be pretty easy to do.
How long till it becomes standardly distributed in debians?
A very long time (if not never) I think: the blocker here is that to be in the standard debian repository all our dependency should have their own debian package on which xwiki debian package depends. That's petty much why you don't find much java soft in debian package.
There is not only the main debian distrib, see http://www.debian.org/doc/packaging-manuals/java-policy/x169.html for the rules, and more largely http://www.debian.org/doc/packaging-manuals/java-policy/index.html. If you follow these rules, and IMO you should, there is no reason not to submit the package to debian at least in contrib... or if not, could you tell what is precisely blocking ? If there is some real blocker have you check if ubuntu (which more relaxed) is a better option ? I really see an opportunity here if the package goes in, many debian/ubuntu users only adopt official packages.
I never said I was against it, again the rule I described is for the offical main debian repository and of course there is more relaxed repositories staring with our own.
Denis
paul
Le 10 août 2011 à 14:43, Thomas Mortagne a écrit :
On Wed, Aug 10, 2011 at 2:40 PM, Thomas Mortagne <thomas.mortagne@xwiki.com> wrote:
Hi devs,
I started with Guillaume Fenollar last week to do an experiment on an XWiki debian package.
We got something pretty nice and I cleaned it up and added some features today. You can see it on https://github.com/xwiki-contrib/xwiki-debian.
Forgot to give some more details about it: the idea is to provide a production oriented debian package which mean it's not a simple repackaging of the jetty/hsqldb ready to use package but a tomcat and mysql based package. It install XWiki on tomcat and create the proper MySQL database.
With my latest commit I think it's now clean enough to be moved on https://github.com/xwiki/xwiki-platform.
WDYT ?
Here is my +1
-- Thomas Mortagne
-- Thomas Mortagne _______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne _______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
-- Denis Gervalle SOFTEC sa - CEO eGuilde sarl - CTO _______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
On Fri, Aug 12, 2011 at 1:29 PM, Thomas Mortagne <thomas.mortagne@xwiki.com> wrote:
On Thu, Aug 11, 2011 at 11:01 AM, Denis Gervalle <dgl@softec.lu> wrote:
On Wed, Aug 10, 2011 at 14:53, Thomas Mortagne <thomas.mortagne@xwiki.com>wrote:
On Wed, Aug 10, 2011 at 2:44 PM, Paul Libbrecht <paul@hoplahup.net> wrote:
Can you make it dependent on PostgreSQL as well instead?
Yes should be pretty easy to do.
How long till it becomes standardly distributed in debians?
A very long time (if not never) I think: the blocker here is that to be in the standard debian repository all our dependency should have their own debian package on which xwiki debian package depends. That's petty much why you don't find much java soft in debian package.
There is not only the main debian distrib, see http://www.debian.org/doc/packaging-manuals/java-policy/x169.html for the rules, and more largely http://www.debian.org/doc/packaging-manuals/java-policy/index.html. If you follow these rules, and IMO you should, there is no reason not to submit the package to debian at least in contrib... or if not, could you tell what is precisely blocking ? If there is some real blocker have you check if ubuntu (which more relaxed) is a better option ? I really see an opportunity here if the package goes in, many debian/ubuntu users only adopt official packages.
I never said I was against it, again the rule I described is for the offical main debian repository and of course there is more relaxed repositories staring with our own.
Also please that's not the subject of the mail, before choosing which repository XWiki will goes in we should start by actually have a debian package...
Denis
paul
Le 10 août 2011 à 14:43, Thomas Mortagne a écrit :
On Wed, Aug 10, 2011 at 2:40 PM, Thomas Mortagne <thomas.mortagne@xwiki.com> wrote:
Hi devs,
I started with Guillaume Fenollar last week to do an experiment on an XWiki debian package.
We got something pretty nice and I cleaned it up and added some features today. You can see it on https://github.com/xwiki-contrib/xwiki-debian.
Forgot to give some more details about it: the idea is to provide a production oriented debian package which mean it's not a simple repackaging of the jetty/hsqldb ready to use package but a tomcat and mysql based package. It install XWiki on tomcat and create the proper MySQL database.
With my latest commit I think it's now clean enough to be moved on https://github.com/xwiki/xwiki-platform.
WDYT ?
Here is my +1
-- Thomas Mortagne
-- Thomas Mortagne _______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne _______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
-- Denis Gervalle SOFTEC sa - CEO eGuilde sarl - CTO _______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
-- Thomas Mortagne
Can you justify how it helps to have such a package? On which JVM would you rely when doing so? paul Le 10 août 2011 à 14:40, Thomas Mortagne a écrit :
Hi devs,
I started with Guillaume Fenollar last week to do an experiment on an XWiki debian package.
We got something pretty nice and I cleaned it up and added some features today. You can see it on https://github.com/xwiki-contrib/xwiki-debian.
With my latest commit I think it's now clean enough to be moved on https://github.com/xwiki/xwiki-platform.
WDYT ?
Here is my +1
-- Thomas Mortagne _______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
On Wed, Aug 10, 2011 at 2:43 PM, Paul Libbrecht <paul@hoplahup.net> wrote:
Can you justify how it helps to have such a package?
With that package installing XWiki/tomcat/MySQL on debian/ubuntu just mean executing one command.
On which JVM would you rely when doing so?
Any JVM providing java6-runtime package. But that part is more tomcat job, from XWiki point of view we depends on tomcat.
paul
Le 10 août 2011 à 14:40, Thomas Mortagne a écrit :
Hi devs,
I started with Guillaume Fenollar last week to do an experiment on an XWiki debian package.
We got something pretty nice and I cleaned it up and added some features today. You can see it on https://github.com/xwiki-contrib/xwiki-debian.
With my latest commit I think it's now clean enough to be moved on https://github.com/xwiki/xwiki-platform.
WDYT ?
Here is my +1
-- Thomas Mortagne _______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
On Wed, Aug 10, 2011 at 3:01 PM, Thomas Mortagne <thomas.mortagne@xwiki.com> wrote:
On Wed, Aug 10, 2011 at 2:43 PM, Paul Libbrecht <paul@hoplahup.net> wrote:
Can you justify how it helps to have such a package?
With that package installing XWiki/tomcat/MySQL on debian/ubuntu just mean executing one command.
It also mean it's way easier to upgrade since dpkg provide conflict resolution UI for configuration files. I forgot to say that the plan is to provide a debian repository on debian.xwiki.org or something like that.
On which JVM would you rely when doing so?
Any JVM providing java6-runtime package. But that part is more tomcat job, from XWiki point of view we depends on tomcat.
paul
Le 10 août 2011 à 14:40, Thomas Mortagne a écrit :
Hi devs,
I started with Guillaume Fenollar last week to do an experiment on an XWiki debian package.
We got something pretty nice and I cleaned it up and added some features today. You can see it on https://github.com/xwiki-contrib/xwiki-debian.
With my latest commit I think it's now clean enough to be moved on https://github.com/xwiki/xwiki-platform.
WDYT ?
Here is my +1
-- Thomas Mortagne _______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
-- Thomas Mortagne
On Aug 10, 2011, at 2:40 PM, Thomas Mortagne wrote:
Hi devs,
I started with Guillaume Fenollar last week to do an experiment on an XWiki debian package.
We got something pretty nice and I cleaned it up and added some features today. You can see it on https://github.com/xwiki-contrib/xwiki-debian.
The README at https://github.com/xwiki-contrib/xwiki-debian/blob/master/README says: "Debian/Ubuntu Package(s) of XWiki built using maven." Shouldn't it say "XWiki Enterprise" instead? Also shouldn't it mention that it's packaging Tomcat and MySQL too?
With my latest commit I think it's now clean enough to be moved on https://github.com/xwiki/xwiki-platform.
I don't understand why you're proposing to move it to the platform. It seems to me it's an XE packaging and not a Platform packaging. More generally we need to decide what packages we want to officially support as a dev team. Should we support them all: RPM, DMG, etc? should we only support some? Personally I think it's ok to add support for as many platforms as we want provided 1) that the quality is good enough (otherwise it generates lots of questions on the lists and doesn't give a good image of the XWiki project) and 2) that we have an active committer willing to support it. In case this committers goes away or becomes inactive on this distribution we shouldn't hesitate to move it to xwiki-contrib. Regarding the work you started I think it could be ok to start making it part of our official sources provided you agree to maintain it and make it to a high quality standard. WDYT? Thanks -Vincent
WDYT ?
Here is my +1
-- Thomas Mortagne
On Sat, Aug 13, 2011 at 10:02 PM, Vincent Massol <vincent@massol.net> wrote:
On Aug 10, 2011, at 2:40 PM, Thomas Mortagne wrote:
Hi devs,
I started with Guillaume Fenollar last week to do an experiment on an XWiki debian package.
We got something pretty nice and I cleaned it up and added some features today. You can see it on https://github.com/xwiki-contrib/xwiki-debian.
The README at https://github.com/xwiki-contrib/xwiki-debian/blob/master/README says: "Debian/Ubuntu Package(s) of XWiki built using maven."
Shouldn't it say "XWiki Enterprise" instead? Also shouldn't it mention that it's packaging Tomcat and MySQL too?
Yes it should say "XWiki Enterprise". It's not packaging anything, it has a dependency on it. And anyway at this level it's only about XWiki Enterprise as debian package, there is potentially not only Tomcat and there is not only MySQL (there is already a PotgreSQL package as I said already).
With my latest commit I think it's now clean enough to be moved on https://github.com/xwiki/xwiki-platform.
I don't understand why you're proposing to move it to the platform. It seems to me it's an XE packaging and not a Platform packaging.
I meant moving it in standard, so yes XE just wrote it too quickly.
More generally we need to decide what packages we want to officially support as a dev team. Should we support them all: RPM, DMG, etc? should we only support some?
Personally I think it's ok to add support for as many platforms as we want provided 1) that the quality is good enough (otherwise it generates lots of questions on the lists and doesn't give a good image of the XWiki project) and 2) that we have an active committer willing to support it. In case this committers goes away or becomes inactive on this distribution we shouldn't hesitate to move it to xwiki-contrib.
Regarding the work you started I think it could be ok to start making it part of our official sources provided you agree to maintain it and make it to a high quality standard.
Of course. Also note that Debian package is not just one package among others in this case since we always use Debian internally ourself. It would be harder to maintain any other package I guess.
WDYT?
Thanks -Vincent
WDYT ?
Here is my +1
-- Thomas Mortagne
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
On Aug 14, 2011, at 11:16 AM, Thomas Mortagne wrote:
On Sat, Aug 13, 2011 at 10:02 PM, Vincent Massol <vincent@massol.net> wrote:
On Aug 10, 2011, at 2:40 PM, Thomas Mortagne wrote:
Hi devs,
I started with Guillaume Fenollar last week to do an experiment on an XWiki debian package.
We got something pretty nice and I cleaned it up and added some features today. You can see it on https://github.com/xwiki-contrib/xwiki-debian.
The README at https://github.com/xwiki-contrib/xwiki-debian/blob/master/README says: "Debian/Ubuntu Package(s) of XWiki built using maven."
Shouldn't it say "XWiki Enterprise" instead? Also shouldn't it mention that it's packaging Tomcat and MySQL too?
Yes it should say "XWiki Enterprise".
It's not packaging anything, it has a dependency on it. And anyway at this level it's only about XWiki Enterprise as debian package, there is potentially not only Tomcat and there is not only MySQL (there is already a PotgreSQL package as I said already).
hmm I think I don't understand something then. I thought it was like defining a pom.xml but using the Debian DEB dependency syntax. Thus I thought that you'd have to explicitly put a dependency on MySQL or Tomcat inside the file where you define the dependencies. Isn't that so? Is it possible to define several dependencies (like PostGreSQL and MySQL) in the same file and then have the user choose which one to install when resolving the file at runtime? In any case I think it means we're going to support only some dependencies and not all that exist and thus we should document somewhere which one we support. Maybe I misunderstood something? Thanks -Vincent
With my latest commit I think it's now clean enough to be moved on https://github.com/xwiki/xwiki-platform.
I don't understand why you're proposing to move it to the platform. It seems to me it's an XE packaging and not a Platform packaging.
I meant moving it in standard, so yes XE just wrote it too quickly.
More generally we need to decide what packages we want to officially support as a dev team. Should we support them all: RPM, DMG, etc? should we only support some?
Personally I think it's ok to add support for as many platforms as we want provided 1) that the quality is good enough (otherwise it generates lots of questions on the lists and doesn't give a good image of the XWiki project) and 2) that we have an active committer willing to support it. In case this committers goes away or becomes inactive on this distribution we shouldn't hesitate to move it to xwiki-contrib.
Regarding the work you started I think it could be ok to start making it part of our official sources provided you agree to maintain it and make it to a high quality standard.
Of course. Also note that Debian package is not just one package among others in this case since we always use Debian internally ourself. It would be harder to maintain any other package I guess.
WDYT?
Thanks -Vincent
WDYT ?
Here is my +1
-- Thomas Mortagne
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne _______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
On Sun, Aug 14, 2011 at 11:27 AM, Vincent Massol <vincent@massol.net> wrote:
On Aug 14, 2011, at 11:16 AM, Thomas Mortagne wrote:
On Sat, Aug 13, 2011 at 10:02 PM, Vincent Massol <vincent@massol.net> wrote:
On Aug 10, 2011, at 2:40 PM, Thomas Mortagne wrote:
Hi devs,
I started with Guillaume Fenollar last week to do an experiment on an XWiki debian package.
We got something pretty nice and I cleaned it up and added some features today. You can see it on https://github.com/xwiki-contrib/xwiki-debian.
The README at https://github.com/xwiki-contrib/xwiki-debian/blob/master/README says: "Debian/Ubuntu Package(s) of XWiki built using maven."
Shouldn't it say "XWiki Enterprise" instead? Also shouldn't it mention that it's packaging Tomcat and MySQL too?
Yes it should say "XWiki Enterprise".
It's not packaging anything, it has a dependency on it. And anyway at this level it's only about XWiki Enterprise as debian package, there is potentially not only Tomcat and there is not only MySQL (there is already a PotgreSQL package as I said already).
hmm I think I don't understand something then. I thought it was like defining a pom.xml but using the Debian DEB dependency syntax. Thus I thought that you'd have to explicitly put a dependency on MySQL or Tomcat inside the file where you define the dependencies. Isn't that so?
Nop it's not that simple unfortunately, you can find an example on https://github.com/xwiki-contrib/xwiki-debian/blob/master/xwiki-enterprise-d.... That could not work as you expect anyway I think since I doubt it would be possible to know the right debian package id by looking at the maven package since it's usually not exactly the same.
Is it possible to define several dependencies (like PostGreSQL and MySQL) in the same file and then have the user choose which one to install when resolving the file at runtime?
I don't think so since dependencies are downloaded before your install script is executed in Debian. That's the reason why I did several packages actually since letting the user choose the database to use is pretty easy.
In any case I think it means we're going to support only some dependencies and not all that exist and thus we should document somewhere which one we support.
Not sure what you mean here. We currently provide Tomcat/MySQL and Tomcat/PostgreSQL based packages, there will maybe be more later, maybe not but apart from listing them I don't see what you want to document more.
Maybe I misunderstood something?
Thanks -Vincent
With my latest commit I think it's now clean enough to be moved on https://github.com/xwiki/xwiki-platform.
I don't understand why you're proposing to move it to the platform. It seems to me it's an XE packaging and not a Platform packaging.
I meant moving it in standard, so yes XE just wrote it too quickly.
More generally we need to decide what packages we want to officially support as a dev team. Should we support them all: RPM, DMG, etc? should we only support some?
Personally I think it's ok to add support for as many platforms as we want provided 1) that the quality is good enough (otherwise it generates lots of questions on the lists and doesn't give a good image of the XWiki project) and 2) that we have an active committer willing to support it. In case this committers goes away or becomes inactive on this distribution we shouldn't hesitate to move it to xwiki-contrib.
Regarding the work you started I think it could be ok to start making it part of our official sources provided you agree to maintain it and make it to a high quality standard.
Of course. Also note that Debian package is not just one package among others in this case since we always use Debian internally ourself. It would be harder to maintain any other package I guess.
WDYT?
Thanks -Vincent
WDYT ?
Here is my +1
-- Thomas Mortagne
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne _______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
On Sun, Aug 14, 2011 at 11:44 AM, Thomas Mortagne <thomas.mortagne@xwiki.com> wrote:
On Sun, Aug 14, 2011 at 11:27 AM, Vincent Massol <vincent@massol.net> wrote:
On Aug 14, 2011, at 11:16 AM, Thomas Mortagne wrote:
On Sat, Aug 13, 2011 at 10:02 PM, Vincent Massol <vincent@massol.net> wrote:
On Aug 10, 2011, at 2:40 PM, Thomas Mortagne wrote:
Hi devs,
I started with Guillaume Fenollar last week to do an experiment on an XWiki debian package.
We got something pretty nice and I cleaned it up and added some features today. You can see it on https://github.com/xwiki-contrib/xwiki-debian.
The README at https://github.com/xwiki-contrib/xwiki-debian/blob/master/README says: "Debian/Ubuntu Package(s) of XWiki built using maven."
Shouldn't it say "XWiki Enterprise" instead? Also shouldn't it mention that it's packaging Tomcat and MySQL too?
Yes it should say "XWiki Enterprise".
It's not packaging anything, it has a dependency on it. And anyway at this level it's only about XWiki Enterprise as debian package, there is potentially not only Tomcat and there is not only MySQL (there is already a PotgreSQL package as I said already).
hmm I think I don't understand something then. I thought it was like defining a pom.xml but using the Debian DEB dependency syntax. Thus I thought that you'd have to explicitly put a dependency on MySQL or Tomcat inside the file where you define the dependencies. Isn't that so?
Nop it's not that simple unfortunately, you can find an example on https://github.com/xwiki-contrib/xwiki-debian/blob/master/xwiki-enterprise-d.... That could not work as you expect anyway I think since I doubt it would be possible to know the right debian package id by looking at the maven package since it's usually not exactly the same.
Is it possible to define several dependencies (like PostGreSQL and MySQL) in the same file and then have the user choose which one to install when resolving the file at runtime?
I don't think so since dependencies are downloaded before your install script is executed in Debian. That's the reason why I did several packages actually since letting the user choose the database to use is pretty easy.
In any case I think it means we're going to support only some dependencies and not all that exist and thus we should document somewhere which one we support.
Not sure what you mean here. We currently provide Tomcat/MySQL and Tomcat/PostgreSQL based packages, there will maybe be more later, maybe not but apart from listing them I don't see what you want to document more.
BTW there is also another package with no dependency on Tomcat or any database which is a dependency of the others which are just handling specifically the link to tomcat and the database stuff. So it's also possible to use that and take care yourself about theses aspects.
Maybe I misunderstood something?
Thanks -Vincent
With my latest commit I think it's now clean enough to be moved on https://github.com/xwiki/xwiki-platform.
I don't understand why you're proposing to move it to the platform. It seems to me it's an XE packaging and not a Platform packaging.
I meant moving it in standard, so yes XE just wrote it too quickly.
More generally we need to decide what packages we want to officially support as a dev team. Should we support them all: RPM, DMG, etc? should we only support some?
Personally I think it's ok to add support for as many platforms as we want provided 1) that the quality is good enough (otherwise it generates lots of questions on the lists and doesn't give a good image of the XWiki project) and 2) that we have an active committer willing to support it. In case this committers goes away or becomes inactive on this distribution we shouldn't hesitate to move it to xwiki-contrib.
Regarding the work you started I think it could be ok to start making it part of our official sources provided you agree to maintain it and make it to a high quality standard.
Of course. Also note that Debian package is not just one package among others in this case since we always use Debian internally ourself. It would be harder to maintain any other package I guess.
WDYT?
Thanks -Vincent
WDYT ?
Here is my +1
-- Thomas Mortagne
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne _______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
-- Thomas Mortagne
participants (4)
-
Denis Gervalle -
Paul Libbrecht -
Thomas Mortagne -
Vincent Massol