[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#638720: Odoo packaging



(including the bug report this time, apologies for the repeat)

On 17-Apr-2015, Dmitry Smirnov wrote:

> On Tue, 13 Jan 2015 10:27:27 Aaron Bohy wrote:
> > I am part of the Odoo team working on packaging and we are
> > currently working on an Odoo 8.0 package for the Debian archive.
>
> Good to know that you guys are interested to bring Odoo to Debian.

Agreed, I'm glad to see work being done on Odoo packaging for Debian.

> > Many of them are due to the fact that Odoo embeds javascript
> > libraries, and those libraries are often minified. However, we
> > prefer to keep those libraries in the archive to have a better
> > control of those libraries updates.

Yes, Debian Policy §4.13 says Debian packages should not install these
“convenience copies” of third-party code. The third-party code should
instead be installed by a separate Debian package made from the source
for that code, and dependent packages should use it only from that
package.

> It is OK to keep 3rd party javascripts in the source tree as long as
> there are no pre-built (minified) files.

The installation of upstream-provided non-source form (compiled, e.g.
minified) library code is definitely a problem because it makes it
infeasible for a recipient to know what the source form of that work
is. A package with non-source works bundled needs that bug to be
reported and fixed.

The installation of upstream-provided source form library code is less
problematic (no DFSG violation), but it still violates Policy §4.13.
Many Debian packages today violate that section, but that doesn't make
it okay — it is tolerated in some cases as suboptimal, to be fixed by
better packaging.

> It should come without saying but Copyright, License and the Origins
> of all 3rd party files should be documented -- this is often not the
> case for 3rd party components bundled within Odoo sources.

Yes. Many conversations with various upstream persons will be needed
for that, I fear.

> I doubt we can maintain compatibility with dysfunctional upstream
> packaging. Hopefully when Debian package is finished you may be
> relieved from burden of maintaining it upstream. ;)

Hopefully the Odoo team and the Debian maintainers will develop a good
ongoing work relationship. Looking forward to it!

--
 \    學而不思則罔,思而不學則殆。 (To study and not think is a waste. |
  `\                             To think and not study is dangerous.) |
_o__)                            —孔夫子 Confucius (551 BCE – 479 BCE) |
Ben Finney

Attachment: signature.asc
Description: Digital signature


Reply to: