Re: Looking for mentor to package dolibarr erp/crm - ITP 634783

2011-07-31 Thread Laurent Destailleur (eldy)

Le 30/07/2011 20:38, Arno Töll a écrit :

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Laurent,

On 30.07.2011 19:32, Laurent Destailleur (eldy) wrote:


Now i use the dpkg-buildpackage to generate .dsc, source and binary
package at once.

Yes. This sounds much better. Thanks for doing this.


This seems to be fixed now.

Cool.


I was aware of documentation that recommand usage of dpkg-buildpackage
or debuild but I found also other documentation found on debian web site
that was speaking about using dpgk -b and dpkg-source. So i made a
choice, simply the wrong one. I try to find it again again on net but
fails. Sorry if this has wasted a part of your time.

Please note, these are orthogonal approaches. dpkg -b is not meant to
produce useful binary packages, but just to produce a package (the
physical package.deb archive that is) out of stuff you prepared by other
means. dpkg-buildpackage aggregates all those steps.


I removed this dependency. I added it because i found current package
using it and i wanted to do like others. Not always the good way to
work :-)

Which package is having firefox as dependency for a _web_ service?
That's serious policy violating bug. Please have a look to the Debian
policy which clearly explains when to declare which dependencies.

I used google some days ago to find examples but I can't remember which 
package it was.
I can remember it was a ubuntu package, but I supposed it's same as most 
of them comes from debian.
If i find it again, and if this is into control file of debian source, I 
promise to report a bug.

Moreover please note, I did not point out all issues with it. I can
remember, there were some more problems with your control file.


I imagine you speak about dependency with apache (you speak about that 
at bottom of email) ?
I will work soon to have package working even with lighttpd or other web 
server with php.

I let know on mentor ML (may be dev ML is more appropriate) ?


I read several times debian policies and i don't think I misunderstand
what is a debian package.
So let me explain my pooint of view: Dolibarr contains a web install
wizard that is required (for the moment) to setup Dolibarr completely.
The reason is we think debian package system can't do everything, or at
least can't do sophisticated tasks, moreover when it needs a lot of
conditionnal or crossed interactions with users or need sophisticated
error management on databases.

Please note, I don't argue against Dolibarr itself. It may be useful (or
not - I don't know). I argued about the location /where/ you install it.
The file hierarchy standard cleary states which files are allowed to be
installed where.

Moreover the policy forbids embedded code copies of libraries. Those
have to be packaged separately. Have a look to §4.13 of the Debian policy.
But what about if such copies are no more original copies and was used 
as source to be modified to build other libraries now specific to software.
All opensource software contains some part of other code that was cut 
and paste from other licence compatible opensource software. That's a 
force of opensource. Do we have to build packages each time some code 
was extracted from other project ?
Moreover some of thoses code come from project that does not exists 
anymore (ie artichow libraries). So code is now only maintained by the 
dolibarr team only, as part of dolibarr itself. Do we really have to 
build a secondary package for code that is used and will ever been used 
by dolibarr only (because contains change specific to Dolibarr) ?
PHP Libraries that are used as is and not modified by Dolibarr are 
already removed from last package I provide (ie php-mime).

The postinst - postrm
actually initialize the first part of config files into /etc/dolibarr,
the wizard ask missing things and do the rest . For example, the wizard
can detect database table lost, problems into permissions, duplicate
instances, migration process from version x to y that failed making data
corrupted, etc... and fix all of this. And there is a lot of other
things, like tracking installs date into software itself that is a
feature required for some business usage or country needs, etc...

Fair enough, but please notice it is not allowed by Debian policy to
touch other package's files and/or name space and/or domain.
Sure. Not a problem, Dolibarr package does not touch any file of any 
other package.



  Therefore
you have to be _REALLY_ careful when you try to install data base
schemes in a postinst script.
Yes, that why this part is done by an online wizard. Because all the 
care we need can't be put into a postinst script. We spent several years 
to have an install wizard able to install or upgrades thousands of 
tables and data whatever is start situation.

...


/etc/apache2/conf.d, or removing data or database when package is
purged. And the wizard do the rest.

Another note: Debian is meant as /universal/ operating system. We have,
I think, around 10 web 

Re: Looking for mentor to package dolibarr erp/crm - ITP 634783

2011-07-26 Thread Laurent Destailleur (eldy)
I made all changed suggested by all answers i recevied after my first 
mentor request

to upload Dolibarr ERP  CRM :

Package provided is now a source package built with dpkg-source :
DSC:http://www.dolibarr.org/files/debian/dolibarr_3.1.0-1.1.dsc
Source tgz: http://www.dolibarr.org/files/debian/dolibarr_3.1.0-1.1.tar.gz
I still provide binary built with dpkg if needed (but should not):
Binary: 
http://www.dolibarr.org/files/debian/dolibarr_3.1.0-dev_all.deb


I removed most Lintian warnings. There is still 3 kinds of warnings:
* W: embedded-javascript-libraryThis can't be avoid because package 
use embedded library that are different version than one provided by 
debian default packages and are modified specially for Dolibarr software.
* W: embedded-php-library This can't be avoid because 
package use embedded PHP library that are different version of one 
provided by debian default packages and are modified specially for 
Dolibarr software.
* W: extra-license-file  This can't be avoid without 
removing licence files of js and php embedded library (see 2 previous 
points). Licence of embedded libraries are reported also into the 
copyright file.


I tried to provide a complete copyright file, fix packages dependencies, 
removed not necessary embedded libraries (those remainings can't be 
removed and we can't use another version than the one embedded).



I am waiting next feedbacks with this second try to guide me if 
something must be changed/fixed again.




Le 21/07/2011 01:53, Arno Töll a écrit :

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Laurent,

On 20.07.2011 23:05, Laurent Destailleur (eldy) wrote:

The package can be found on URL:
http://www.dolibarr.org/files/dolibarr-3.1.0-dev.deb

and


Because Dolibarr is a PHP application, binary package is also source
package (no compiled binaries inside).

I'm afraid, but this is not true. For sponsoring, a source package is
required, not a binary (.deb) package, being architecture independent or
not. So please, re-upload your source package if you want to have it
reviewed.

However, before you do, please fix problems with it.


Lintian tests report no errors.

Please run
lintian --pedantic -E -I dolibarr-3.1.0-dev.deb
(or even better on your *.changes file)

and come back if you reduced Lintian warnings to something in a more
sane magnitude.

Moreover please read again the maintainer guide and the policy. You are
massively abusing most^W^Wsome standards, including but not limited to
package relationships, embedded code copies, purpose of maintainer
scripts, source code distributions and a massively too shallow copyright
file.

- -- 
with kind regards,

Arno Töll
IRC: daemonkeeper on Freenode/OFTC
GnuPG Key-ID: 0x9D80F36D
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOJ2pgAAoJEMcrUe6dgPNtWSIQALARqTr3dY4yBKiqcXVHw3+s
/CplriZKJVifQ5PjJNROLcr6G6tgLZTTvA4SPvQ5fWZVPXd47J3wm1XqUndrj+Ia
4Cm32TCpJvh+UY4ukBdtNRBb9whLVkNwp0KChBprINYoatB4e7jNYq8rdNejfoxX
RMy9gBrWaSTchQ+2sNrOWm/POpnPo+4dFCc7sTeUnYZaJTCZyFYm8YoTT2tTlscD
pyoigp5Ihxg6iY8gfyHR5yJw1Hp3NKmLlSlRdK5vkYU483CA4ZU7sA0epzkDQvix
KcaV/aGm1xmZfKR5OyR+Jhb8vSx3hs+mGlbpDyQxWDX7Cr8JBUs0krKmgAXmAzRy
ODSffhbQPLoJ1F5nd88C+9bhnFvWCPS7diEqA+zl+Wexz2iHoVxQQ42QTNDw4f4M
RYREkK7r1uSt3P3MAq9UnFQwQJm43opp53O4z7SwzUT4bpic0L8ycaXI+/qzAbLE
HTtqQK5XqSZHGAvpLBMh7PM6psFc46BtCduWAbOt41Y1/4TeHNKpykFov60nUDq6
HlgoE+IH8hGTGsJkmyoUOdxCA4VBheYy0FT44c21WU1IZ4PS+9wF2BdWIb3WZ7YG
SCGFUdxe3/p8D8x43BaAGRHn2TXR94F1xno8SEcpj3MZDGMbQPbK/o0DEM76rG5q
xPudhs47Q4wutKz8Q8M1
=h3gv
-END PGP SIGNATURE-





--
Eldy (Laurent Destailleur).
---
EMail: e...@destailleur.fr
Web: http://www.destailleur.fr

Dolibarr (Project leader): http://www.dolibarr.org
To make a donation for Dolibarr project via Paypal: cont...@destailleur.fr
AWStats (Author) : http://awstats.sourceforge.net
To make a donation for AWStats project via Paypal: cont...@destailleur.fr
AWBot (Author) : http://awbot.sourceforge.net
CVSChangeLogBuilder (Author) : http://cvschangelogb.sourceforge.net


--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e2f4598.1060...@destailleur.fr



Re: Looking for mentor to package dolibarr erp/crm - ITP 634783

2011-07-20 Thread Vincent Cheng
On Wed, Jul 20, 2011 at 2:05 PM, Laurent Destailleur (eldy)
e...@destailleur.fr wrote:

 Dear mentors,
  I am looking for a sponsor for new package dolibarr.
 I have already to others of my opensource project packaged (awstats and
 cvschangelogbuilder), but i was not the packager so i have yet no experience
 on debian process even if i can build .deb package myself.

 The new package i would like someone to uplod is :
 * Package name    : dolibarr
  Version         : 3.1.0
  Upstream Author : Laurent Destailleure...@destailleur.fr
 * URL             :http://www.dolibarr.org/
 * License         : GPL
  Programming Lang: PHP
  Description     : ERP and CRM to manage small companies, freelances or
 foundations

 Dolibarr ERP/CRM is a software built by modules addition (you enable only
 features you need), to manage small or medium companies, freelancers or
 foundations. We can say Dolibarr is an ERP or CRM (or both depending on
 activated modules).

 It's an OpenSource project base on a LAMP server (Apache, Mysql, PHP).
 Dolibarr was designed to provide a solution that is easy to install, easy to
 use and easy to develop.


 Dolibarr is a 10 years old project and one of the most popular Opensource
 ERP-CRM in France.

 I am looking to a mentor to close 634783 by uploading package.

 The package can be found on URL:
 http://www.dolibarr.org/files/dolibarr-3.1.0-dev.deb
 Lintian tests report no errors.
 Because Dolibarr is a PHP application, binary package is also source package
 (no compiled binaries inside).



 --

 Eldy (Laurent Destailleur).
 ---
 EMail: e...@destailleur.fr
 Web: http://www.destailleur.fr

 Dolibarr (Project leader): http://www.dolibarr.org
 To make a donation for Dolibarr project via Paypal: cont...@destailleur.fr
 AWStats (Author) : http://awstats.sourceforge.net
 To make a donation for AWStats project via Paypal: cont...@destailleur.fr
 AWBot (Author) : http://awbot.sourceforge.net
 CVSChangeLogBuilder (Author) : http://cvschangelogb.sourceforge.net


 --
 To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive: http://lists.debian.org/4e274310.1090...@destailleur.fr



Hi,

Instead of providing a binary .deb package, please consider providing
a link to a .dsc source control file. Thanks!

Kind regards,
- Vincent


--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/caczd_tbyfule9++dwpchwdl_zeb2ks+7r6n-7do+htmonka...@mail.gmail.com



Re: Looking for mentor to package dolibarr erp/crm - ITP 634783

2011-07-20 Thread Arno Töll
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Laurent,

On 20.07.2011 23:05, Laurent Destailleur (eldy) wrote:
 The package can be found on URL:
 http://www.dolibarr.org/files/dolibarr-3.1.0-dev.deb

and

 Because Dolibarr is a PHP application, binary package is also source
 package (no compiled binaries inside).

I'm afraid, but this is not true. For sponsoring, a source package is
required, not a binary (.deb) package, being architecture independent or
not. So please, re-upload your source package if you want to have it
reviewed.

However, before you do, please fix problems with it.

 Lintian tests report no errors.

Please run
lintian --pedantic -E -I dolibarr-3.1.0-dev.deb
(or even better on your *.changes file)

and come back if you reduced Lintian warnings to something in a more
sane magnitude.

Moreover please read again the maintainer guide and the policy. You are
massively abusing most^W^Wsome standards, including but not limited to
package relationships, embedded code copies, purpose of maintainer
scripts, source code distributions and a massively too shallow copyright
file.

- -- 
with kind regards,
Arno Töll
IRC: daemonkeeper on Freenode/OFTC
GnuPG Key-ID: 0x9D80F36D
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOJ2pgAAoJEMcrUe6dgPNtWSIQALARqTr3dY4yBKiqcXVHw3+s
/CplriZKJVifQ5PjJNROLcr6G6tgLZTTvA4SPvQ5fWZVPXd47J3wm1XqUndrj+Ia
4Cm32TCpJvh+UY4ukBdtNRBb9whLVkNwp0KChBprINYoatB4e7jNYq8rdNejfoxX
RMy9gBrWaSTchQ+2sNrOWm/POpnPo+4dFCc7sTeUnYZaJTCZyFYm8YoTT2tTlscD
pyoigp5Ihxg6iY8gfyHR5yJw1Hp3NKmLlSlRdK5vkYU483CA4ZU7sA0epzkDQvix
KcaV/aGm1xmZfKR5OyR+Jhb8vSx3hs+mGlbpDyQxWDX7Cr8JBUs0krKmgAXmAzRy
ODSffhbQPLoJ1F5nd88C+9bhnFvWCPS7diEqA+zl+Wexz2iHoVxQQ42QTNDw4f4M
RYREkK7r1uSt3P3MAq9UnFQwQJm43opp53O4z7SwzUT4bpic0L8ycaXI+/qzAbLE
HTtqQK5XqSZHGAvpLBMh7PM6psFc46BtCduWAbOt41Y1/4TeHNKpykFov60nUDq6
HlgoE+IH8hGTGsJkmyoUOdxCA4VBheYy0FT44c21WU1IZ4PS+9wF2BdWIb3WZ7YG
SCGFUdxe3/p8D8x43BaAGRHn2TXR94F1xno8SEcpj3MZDGMbQPbK/o0DEM76rG5q
xPudhs47Q4wutKz8Q8M1
=h3gv
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e276a61.6090...@toell.net



Re: Looking for mentor to package dolibarr erp/crm - ITP 634783

2011-07-20 Thread Laurent Destailleur (eldy)

Le 21/07/2011 01:53, Arno Töll a écrit :

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Laurent,

On 20.07.2011 23:05, Laurent Destailleur (eldy) wrote:

The package can be found on URL:
http://www.dolibarr.org/files/dolibarr-3.1.0-dev.deb

and


Because Dolibarr is a PHP application, binary package is also source
package (no compiled binaries inside).

I'm afraid, but this is not true. For sponsoring, a source package is
required, not a binary (.deb) package, being architecture independent or
not. So please, re-upload your source package if you want to have it
reviewed.

However, before you do, please fix problems with it.


Lintian tests report no errors.

Please run
lintian --pedantic -E -I dolibarr-3.1.0-dev.deb
(or even better on your *.changes file)

and come back if you reduced Lintian warnings to something in a more
sane magnitude.

Moreover please read again the maintainer guide and the policy. You are
massively abusing most^W^Wsome standards, including but not limited to
package relationships, embedded code copies, purpose of maintainer
scripts, source code distributions and a massively too shallow copyright
file.

Thanks for feedbacks.

I will works on all this and will send another mail request once all 
those things are corrected...


- -- 
with kind regards,

Arno Töll
IRC: daemonkeeper on Freenode/OFTC
GnuPG Key-ID: 0x9D80F36D
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOJ2pgAAoJEMcrUe6dgPNtWSIQALARqTr3dY4yBKiqcXVHw3+s
/CplriZKJVifQ5PjJNROLcr6G6tgLZTTvA4SPvQ5fWZVPXd47J3wm1XqUndrj+Ia
4Cm32TCpJvh+UY4ukBdtNRBb9whLVkNwp0KChBprINYoatB4e7jNYq8rdNejfoxX
RMy9gBrWaSTchQ+2sNrOWm/POpnPo+4dFCc7sTeUnYZaJTCZyFYm8YoTT2tTlscD
pyoigp5Ihxg6iY8gfyHR5yJw1Hp3NKmLlSlRdK5vkYU483CA4ZU7sA0epzkDQvix
KcaV/aGm1xmZfKR5OyR+Jhb8vSx3hs+mGlbpDyQxWDX7Cr8JBUs0krKmgAXmAzRy
ODSffhbQPLoJ1F5nd88C+9bhnFvWCPS7diEqA+zl+Wexz2iHoVxQQ42QTNDw4f4M
RYREkK7r1uSt3P3MAq9UnFQwQJm43opp53O4z7SwzUT4bpic0L8ycaXI+/qzAbLE
HTtqQK5XqSZHGAvpLBMh7PM6psFc46BtCduWAbOt41Y1/4TeHNKpykFov60nUDq6
HlgoE+IH8hGTGsJkmyoUOdxCA4VBheYy0FT44c21WU1IZ4PS+9wF2BdWIb3WZ7YG
SCGFUdxe3/p8D8x43BaAGRHn2TXR94F1xno8SEcpj3MZDGMbQPbK/o0DEM76rG5q
xPudhs47Q4wutKz8Q8M1
=h3gv
-END PGP SIGNATURE-





--
Eldy (Laurent Destailleur).
---
EMail: e...@destailleur.fr
Web: http://www.destailleur.fr

Dolibarr (Project leader): http://www.dolibarr.org
To make a donation for Dolibarr project via Paypal: cont...@destailleur.fr
AWStats (Author) : http://awstats.sourceforge.net
To make a donation for AWStats project via Paypal: cont...@destailleur.fr
AWBot (Author) : http://awbot.sourceforge.net
CVSChangeLogBuilder (Author) : http://cvschangelogb.sourceforge.net


--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e277595.6030...@destailleur.fr