Issue 2550997
Created on 2018-09-02 16:51 by austin, last changed 2019-06-02 02:54 by rouilj.
msg6224 |
Author: [hidden] (austin) |
Date: 2018-09-02 16:51 |
|
I try to use responsive template during tracker creating.
however, the config.ini generated was outdated(2006), and many features are
mssing in the generated config.ini.
If I choose classic template, I get the normal config.ini.
Not sure it's a bug or not.
[austin@support resp]$ roundup-admin install
Enter tracker home: /opt/roundup/resp2
Templates:: classic, devel, jinja2, responsive, responsive-ticket-resp, minimal
Select template [classic]: responsive
Back ends:: anydbm, sqlite
Select backend [anydbm]:
---------------------------------------------------------------------------
You should now edit the tracker configuration file:
/opt/roundup/resp2/config.ini
If you wish to modify the database schema,
you should also edit the schema file:
/opt/roundup/resp2/schema.py
You may also change the database initialisation file:
/opt/roundup/resp2/initial_data.py
... see the documentation on customizing for more information.
You MUST run the "roundup-admin initialise" command once you've performed
the above steps.
---------------------------------------------------------------------------
[austin@support resp]$ cd..
-bash: cd..: command not found
[austin@support resp]$ cd ..
[austin@support roundup]$ ls
resp resp2 test ticket ticket_backup
[austin@support roundup]$ cd resp2
[austin@support resp2]$ ls
TEMPLATE-INFO.txt config.ini detectors extensions html initial_data.py
schema.py static
[austin@support resp2]$ more config.ini
# Roundup issue tracker configuration file
# Autogenerated at Fri Nov 17 16:59:49 2006
# WARNING! Following options need adjustments:
# [mail]: domain, host
# [tracker]: web
|
msg6229 |
Author: [hidden] (rouilj) |
Date: 2018-09-02 22:38 |
|
In message <1535907110.44.0.56676864532.issue2550997@psf.upfronthosting.co.za>,
austin writes:
>I try to use responsive template during tracker creating.
>however, the config.ini generated was outdated(2006), and many features are
>mssing in the generated config.ini.
>
>If I choose classic template, I get the normal config.ini.
>
>Not sure it's a bug or not.
Yeah I think it is a bug. The classic and minimal templates don't have
a config.ini. There is an email chain on roundup-users that addresses
this.
I was expecting roundup-admin install would overwrite any config.ini
installed as part of the config. If that's not the case, we should
remove config.ini from all template directories. AFAIK there is
nothing in config.ini that is dependent on the template.
|
msg6234 |
Author: [hidden] (austin) |
Date: 2018-09-03 02:59 |
|
Hi John,
I see. Thanks for clarification.
You meant the outdated config.ini in the extension directory overwrite the generated
one.
So we shouldnt keep that.
BR,Austin
|
msg6235 |
Author: [hidden] (austin) |
Date: 2018-09-03 03:41 |
|
Checking the source code, init.install is checking if there is a config.ini before
generating the Config.
So we should not include the config.ini file in the template unless intentionally.
|
msg6501 |
Author: [hidden] (rouilj) |
Date: 2019-06-02 02:54 |
|
issue2551029 is the same problem. config.ini removed from templates.
This was fixed by the changes to fix that. Closing.
|
|
Date |
User |
Action |
Args |
2019-06-02 02:54:24 | rouilj | set | status: new -> fixed priority: normal type: crash superseder: Jinja2 template install error assignee: rouilj components:
+ Web interface versions:
+ devel, 1.6 messages:
+ msg6501 resolution: fixed |
2018-09-03 03:41:48 | austin | set | messages:
+ msg6235 |
2018-09-03 02:59:44 | austin | set | messages:
+ msg6234 |
2018-09-02 22:38:29 | rouilj | set | nosy:
+ rouilj messages:
+ msg6229 |
2018-09-02 16:51:50 | austin | create | |
|