Roundup Tracker - Issues

Issue 2551233

classification
create new roundup-admin command "templates"
Type: behavior Severity: normal
Components: Documentation, Command-line interface, User Interface Versions: 2.3.0
process
Status: fixed fixed
:
: : rouilj
Priority: : Effort-Low, StarterTicket

Created on 2022-09-10 16:46 by rouilj, last changed 2022-09-12 22:31 by rouilj.

Messages
msg7645 Author: [hidden] (rouilj) Date: 2022-09-10 16:46
I am currently trying to help a user setup roundup.

He may be missing nosyreactor.py from his installation and I am trying
to figure out how to get him to find the default tracker template install location
so he can copy the nosyrector in.

I so far have a list of 5 directories with variations he needs to search.

Add a "trackers" command to roundup-admin that produces output like:

   name:
   location:
   about:

   name: ...

where name is classic, minimal etc.
location is the path to the tracker template directory
about is the info from TEMPLATE-INFO description and intended for
fields (we already print the name)

This would allow me to tell the user:

  run roundup-admin templates : grep location | head -1

and find detectors/nosyreactor.py under that directory.

This does have a small chance of returning a tracker template
from someplace other than the roundup installed templates, but
this is much better than the status quo. 

possible enhancement:

   templates dir

will also list every directory searched for template subdirs.
(I didn't use search because something like templates search classic or templates search 
first-time could be used to list the classic template or templates for first-time users.)
msg7646 Author: [hidden] (rouilj) Date: 2022-09-12 22:31
Name changed to templates from trackers. location changed to path, about changed to desc.
Use 'templates trace_search' for list of searched directories

sample output:

Name: classic
Path: /home/rouilj/develop/roundup.sysadmin/share/roundup/templates/classic
Desc: This is a generic issue tracker that may be used to track bugs,
      feature requests, project issues or any number of other types of
      issues. Most users of Roundup will find that this template suits
      them, with perhaps a few customisations.


Name: devel
Path: /home/rouilj/develop/roundup.sysadmin/share/roundup/templates/devel
Desc: This is a generic issue tracker that may be used to track bugs,
      feature requests, project issues or any number of other types of
      issues. Most users of Roundup will find that this template suits
      them, with perhaps a few customisations.
...


changeset:   6957:f924af12ef50
History
Date User Action Args
2022-09-12 22:31:23rouiljsetstatus: new -> fixed
resolution: remind -> fixed
messages: + msg7646
title: create new roundup-admin command "trackers" -> create new roundup-admin command "templates"
2022-09-12 21:12:08rouiljsetresolution: remind
2022-09-10 17:28:47rouiljsetkeywords: + Effort-Low, StarterTicket
2022-09-10 16:46:43rouiljcreate