Roundup Tracker - Issues

Issue 685275

classification
show retired/unretired items in roundup-admin
Type: rfe Severity: normal
Components: Database Versions: 1.4
process
Status: fixed fixed
:
: rouilj : ajaksu2, jkew, richard, rouilj
Priority: normal : StarterTicket

Created on 2003-02-12 12:25 by jkew, last changed 2023-07-15 02:11 by rouilj.

Messages
msg3165 Author: [hidden] (jkew) Date: 2003-02-12 12:25
Retiring nodes can have implications down the 
line -- see SF bug 685273.

Could roundup-admin be enhanced to make 
dealing with retired items easier? Three 
suggestions:

a) display <designator> shows the node, retired or 
active: would be useful if the display distinguised 
retired nodes from active nodes. Possibly a header 
on the displayed information:

roundup> display user7
user7 [retired]
-----
username: XX
etc

b) table <class> shows only active nodes of the 
class: would be useful to also see retired nodes 
and/or see the active/retired status of each.

c) new command unretire <designator> to move a 
retired node back into active service.
msg5514 Author: [hidden] (rouilj) Date: 2016-04-10 23:48
The unretire command already exists as restore.

Would reporting the retired status of the displayed item:

realname: None
retired: yes/no
roles: Admin, Repair

be sufficient?

It looks like internally a retired item has a flag:

__hyperdb_retired

maybe just exposing this would be helpful?

Also searching/find for retired items should be added as well.
msg7273 Author: [hidden] (rouilj) Date: 2021-06-10 01:47
Consider implementing a command like "option showretired=True"
possible values true/false.

If True all command that would ignore retired items show them with
some indication they are retired. This would affect case b in the
original request and possible find/filter.

See also issue2551103 for another possible use for options command.
msg7756 Author: [hidden] (rouilj) Date: 2023-04-13 01:09
changeset:   7252:9c067ed4568b
added pragma command to roundup-admin with basic settings.
Fixing this issue using pragma (formerly options) is TBD.
msg7800 Author: [hidden] (rouilj) Date: 2023-07-15 00:49
changeset:   7547:c8c4514f4c3e

adds pragma show_retired to roundup-admin. Values:

   no - do not show retired
 only - only show retired
 both - show retired and unretired (active) items

affects list and table commands.

Marking item as retired/unretired when using display still not addressed.
msg7801 Author: [hidden] (rouilj) Date: 2023-07-15 02:11
changeset:   7549:73dfa9df9fb0

added pragma display_header=False or True.

  roundup-admin -i ... -P display_header=yes display status2,status10

outputs:

[status2 (active)]
 abbreviation: O
 help: Ticket is being worked.
 name: open
 order: 2
 requiredpermissions: None
 transitions: ['1', '3', '4', '6', '7', '8', '9']

[status10 (retired)]
 abbreviation: Z
 help: example status created via rest. Do not use.
 name: zoid
 order: 11
 requiredpermissions: None
 transitions: []
History
Date User Action Args
2023-07-15 02:11:06rouiljsetstatus: open -> fixed
assignee: richard -> rouilj
resolution: fixed
messages: + msg7801
2023-07-15 00:49:37rouiljsetmessages: + msg7800
title: show retired/unretire commands -> show retired/unretired items in roundup-admin
2023-04-13 01:09:07rouiljsetmessages: + msg7756
2021-06-10 01:47:39rouiljsetkeywords: + StarterTicket
messages: + msg7273
2016-04-10 23:48:44rouiljsetnosy: + rouilj
messages: + msg5514
2009-03-17 15:04:37ajaksu2setnosy: + ajaksu2
versions: + 1.4
2003-02-12 12:25:35jkewcreate