[issue2551233] create new roundup-admin command "trackers"

John Rouillard <[email protected]> Sat, 10 Sep 2022 16:46:43 +0000
Newsgroups gmane.comp.bug-tracking.roundup.devel
Message-ID <[email protected]>
New submission from John Rouillard:

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.)

----------
components: Command-line interface, Documentation, User Interface
messages: 7645
nosy: rouilj
severity: normal
status: new
title: create new roundup-admin command "trackers"
type: behavior
versions: 2.3.0

_________________________________________________
Roundup tracker <[email protected]>
<https://issues.roundup-tracker.org/issue2551233>
_________________________________________________