← Back to team overview

openerp-india team mailing list archive

[Bug 993414] Re: Bad file permissions and EOL encodings

 

On 05/04/2012 02:16 PM, Amit Parik (OpenERP) wrote:
> Hello Alec,
>
> As you said on lp:994216, you have used on Fedora OS.
> So this issue is generated on Fedora?
>
>   I was trying to install OpenERP but did't get the success due to some packages problem.
> So If you can provide the  whole packages list or step, then would you please provide it.
>
> Thanks in advance!
>

Hi,

The package list is one thing. Other thing is that due to Fedora 
policies OE sources need to be patched, mostly because of bundling 
issues. Long story short: My problems are more political than technical..

You can follow  the server packaging attempt at 
https://bugzilla.redhat.com/show_bug.cgi?id=817271 For the moment, I'm 
busy packaging dependencies.  You can find them all from that URL. The 
client is at https://bugzilla.redhat.com/show_bug.cgi?id=818805.  You 
can see the dependencies in the spec files.

So, in the end there might be working RPM packages. But I really doubt 
it will be possible to install it 'as-is'. Might be worong, for sure.

cheers,

--alec


** Bug watch added: Red Hat Bugzilla #817271
   https://bugzilla.redhat.com/show_bug.cgi?id=817271

** Bug watch added: Red Hat Bugzilla #818805
   https://bugzilla.redhat.com/show_bug.cgi?id=818805

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/993414

Title:
  Bad file permissions and EOL encodings

Status in OpenERP Server:
  New

Bug description:
  A lot of the files in the overall project  has random file
  permissions. In a packaging context, something like this is needed to
  rectify:

  find . -name \*.py -a -perm 644 | \
      xargs sed -i -e '\;/usr/bin/env;d' -e '\;/usr/bin/python;d'
  find . -name \*.html -o -name \*yml -o -name \*.js -o -name \*.po  \
      -o -name \*.css -o -iname readme* -o -name \*.csv \
      -o -name account_asset_change_duration.py \
      -o -name base_quality_interrogation.py |
          xargs chmod 644
  chmod 644 $( find openerp/addons/account_asset -name \*.py )
  chmod 644       openerp/addons/l10n_ch/test/test*.v11

  Also, some files have DOS eol encodings, as opposed to the overall
  Unix/Linus conventions. To fix:

  find . -name \*.html | xargs sed -i 's/\r//'
  sed -i 's/\r//' openerp/addons/l10n_ch/test/test*.v11
  sed -i 's/\r//' openerp/addons/account_asset/security/ir.model.access.csv

  Packaging would be simpler something like these command were applied
  to the source

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/993414/+subscriptions


References