Issue 2638

Title
Allow updating `modules list` without updating modules
Priority
feature
Status
resolved
Nosy list
ced, coogor, jesteve, pokoli, reviewbot, roundup-bot, sharoon, vbastos, xcodinas
Assigned to
xcodinas
Keywords
review

Created on 2012-06-02.13:22:07 by sharoon, last changed 52 months ago by roundup-bot.

Messages

New changeset 2ec548fc4fbb by Xavier Codinas in branch 'default':
Add option to update modules list
http://hg.tryton.org/trytond/rev/2ec548fc4fbb
Author: [hidden] (xcodinas) Tryton committer
Date: 2016-06-29.11:25:32
Add issue26431002 that implements it
Author: [hidden] (coogor)
Date: 2013-07-12.13:49:23
ah, sorry, this issue is now over a year old...
It probably makes sense to open a new issue for my question

Sorry for this
Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2013-07-12.13:47:18
@axxite Please don't change the assignation of issue!
Author: [hidden] (coogor)
Date: 2013-07-12.13:41:26
looks i stepped into this as well. when running 
trytond -d db_name -u all
I get the error message
linux-qpe9:/home/test # trytond -d test -u all
[Fri Jul 12 13:40:07 2013] INFO:server:using /etc/trytond.conf as configuration file
[Fri Jul 12 13:40:07 2013] INFO:server:initialising distributed objects services
[Fri Jul 12 13:40:07 2013] INFO:database:connect to "test"
Traceback (most recent call last):
  File "/usr/bin/trytond", line 109, in <module>
    trytond.server.TrytonServer(options).run()
  File "/usr/lib/python2.7/site-packages/trytond/server.py", line 102, in run
    database = Database(db_name).connect()
  File
"/usr/lib/python2.7/site-packages/trytond/backend/postgresql/database.py", line
61, in connect
    self._connpool = ThreadedConnectionPool(minconn, maxconn, dsn)
  File "/usr/lib/python2.7/site-packages/psycopg2/pool.py", line 156, in __init__
    self, minconn, maxconn, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/psycopg2/pool.py", line 58, in __init__
    self._connect()
  File "/usr/lib/python2.7/site-packages/psycopg2/pool.py", line 62, in _connect
    conn = psycopg2.connect(*self._args, **self._kwargs)
  File "/usr/lib/python2.7/site-packages/psycopg2/__init__.py", line 164, in connect
    conn = _connect(dsn, connection_factory=connection_factory, async=async)
psycopg2.OperationalError: FATAL:  Rolle »root« existiert nicht

-> it assumes that the server runs under user 'root'?
Of course ist does not, but user 'tryton', under which the server runs, is
no-login by default
Author: [hidden] (sharoon)
Date: 2012-06-28.08:53:58
A patch has been uploaded for review:

http://codereview.tryton.org/415001
Author: [hidden] (sharoon)
Date: 2012-06-02.13:22:06
At the moment it is not possible to update the modules list in a database without 
upgrading at-least one module using `-u` / `--update` on the command line.

This is a proposal to have one more command line option `-m` / `--update-modules-
list` which updates the module graph without upgrading/installing any modules.
History
Date User Action Args
2016-07-07 09:44:35roundup-botsetstatus: in-progress -> resolved
nosy: + roundup-bot
messages: + msg26873
2016-07-05 11:00:19reviewbotsetmessages: + msg26749
2016-07-01 09:31:43reviewbotsetmessages: + msg26671
2016-06-29 18:02:36xcodinassetassignedto: sharoon -> xcodinas
2016-06-29 17:00:30reviewbotsetmessages: + msg26617
2016-06-29 11:30:17reviewbotsetnosy: + reviewbot
messages: + msg26602
2016-06-29 11:30:13reviewbotsetreviews: 26431002
keyword: + review
2016-06-29 11:25:32xcodinassetnosy: + xcodinas
messages: + msg26601
2016-01-18 12:07:50vbastossetnosy: + vbastos
2015-01-08 11:34:35pokolisetnosy: + pokoli

Showing 10 items. Show all history (warning: this could be VERY long)