Re: Docker container added for Roundup

SCHLEMMER Norbert <[email protected]>
Newsgroups gmane.comp.bug-tracking.roundup.user
Message-ID <[email protected]>
Hi John

Please find below my comments:

How is the valid command to create/install a tracker ?
roundup-admin -i /usr/src/app/tracker install ...

do you have an example for the "install" command (classic, mysql, ..) ?

thanks
Norbert


1) copied https://sourceforge.net/p/roundup/code/ci/default/tarball?path= to docker-roundup

2) built image

docker build -f scripts/Dockerfile -t roundup-app --build-arg="source=pypi" --rm .

3) mkdir myTracker


noschvie@steinebrunn:~/docker-roundup$ docker run -it -v $(pwd)/myTracker:/usr/src/app/tracker --entrypoint sh roundup-app:latest
~ $ roundup-admin -i /usr/src/app/tracker install
Templates::
Select template [classic]: classic
Select template [classic]:
Back ends:: anydbm, mysql, sqlite, postgresql
Select backend [anydbm]: sqlite
Traceback (most recent call last):
  File "/usr/local/bin/roundup-admin", line 8, in <module>
    sys.exit(run())
  File "/usr/local/lib/python3.10/site-packages/roundup/scripts/roundup_admin.py", line 50, in run
    sys.exit(tool.main())
  File "/usr/local/lib/python3.10/site-packages/roundup/admin.py", line 1807, in main
    ret = self.run_command(args)
  File "/usr/local/lib/python3.10/site-packages/roundup/admin.py", line 1676, in run_command
    return self.do_install(self.tracker_home, args)
  File "/usr/local/lib/python3.10/site-packages/roundup/admin.py", line 437, in do_install
    template_config = UserConfig(templates[template]['path'] +
KeyError: 'classic'
~ $
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.