Re: [rt-users] Debian package status

2013-03-24 Thread Dominic Hargreaves
On Sat, Mar 23, 2013 at 10:21:36PM +0800, Craig Ringer wrote:
 On 03/23/2013 09:16 PM, Dominic Hargreaves wrote:
  As for multiple concurrent versions, this isn't something the
  Debian packages are suited to.
 Agreed; it can work, but it's a pain. You can see this in the PostgreSQL
 packages for example - they handle concurrent versions reasonably well
 via the alternatives system and versioned config and data directories,
 but it does cause some confusion for users and admins. In the case of
 PostgreSQL it's absolutely necessary to enable low-pain upgrades so it's
 worth the price in complexity, but this probably isn't true for RT.

Yes, between major releases, but that doesn't let run any arbitrary
combinations of versions. We're doing much the same in Debian,
(request-tracker3.6, request-tracker3.8, request-tracker4) which I
should have mentioned, although I think we're hoping that the 4.x
series will be maintained all in one package namespace to make things
easier for users.

Cheers,
Dominic.

-- 
Dominic Hargreaves, Systems Development and Support Section
IT Services, University of Oxford


signature.asc
Description: Digital signature


Re: [rt-users] Custom status and page action menu?

2013-03-24 Thread Patrick G. Stoesser
Thanks everybody. Last night, I had to reboot the machine, and since 
then, it works.


Thomas, the return action is only wanted when tickets are new and open, 
that's right, and so I tested.


I don't have a clue why it didn't work an now works. A possoble answer 
could be that I could have forgotten to do an update-rt-siteconfig-4, 
but this is only an idea.


After all, one can say that custom statuses work as described in the 
wiki including menu.


Kind regards, Patrick


Am 22.03.2013 15:55, schrieb Patrick G. Stoesser:

Hello there,

I'm running RT4 on Debian Squeeze, everything fine so far.

I have set up a custom status, according to
http://requesttracker.wikia.com/wiki/CustomStatusesInRt4. Works fine
also.

I run two queues, Level1 and Level2. My Level2 users now have a custom
status returned. When chosing this status for a ticket, the ticket
will change the queue to Level1, will be set to unowned and escalations
will be reste to the beginning. This whole thing works fine.

What does not work: The action (set the ticket's status to returned)
does not show up at the page action menu (quicklinks depending on the
current ticket's status like Reply Comment Forward Stall Resolve Reject
Extract Article.

My cumstom section:

#Custom Status
Set(%Lifecycles,
 default = {
 initial = [ 'new' ],
 active  = [ 'open', 'stalled', 'returned' ],
 inactive= [ 'resolved', 'rejected', 'deleted' ],
 defaults = {
 on_create = 'new',
 on_merge  = 'resolved',
 approved  = 'open',
 denied= 'rejected',
 reminder_on_open = 'open',
 reminder_on_resolve  = 'resolved',
 },

 transitions = {
 ''   = [qw(new open resolved)],

 # from   = [ to list ],
 new  = [qw(open stalled returned resolved rejected
deleted)],
 open = [qw(new stalled returned resolved rejected
deleted)],
 stalled  = [qw(new open rejected returned resolved deleted)],
 returned = [qw(new open stalled rejected deleted)],
 resolved = [qw(new open stalled rejected deleted)],
 rejected = [qw(new open stalled returned resolved deleted)],
 deleted  = [qw(new open stalled rejected resolved)],
 },
 rights = {
 '* - deleted'  = 'DeleteTicket',
 '* - *'= 'ModifyTicket',
 },

 actions = [
 'new - open'  = {
 label  = 'Open It', # loc
 update = 'Respond',
 },
 'new - resolved'  = {
 label  = 'Resolve', # loc
 update = 'Comment',
 },
 'new - rejected'  = {
 label  = 'Reject', # loc
 update = 'Respond',
 },
 'new - deleted'   = {
 label  = 'Delete', # loc
 },
 'new - returned'   = {
 label  = 'Return', # loc
 },
 'open - stalled'  = {
 label  = 'Stall', # loc
 update = 'Comment',
 },
 'open - resolved' = {
 label  = 'Resolve', # loc
 update = 'Comment',
 },
 'open - rejected' = {
 label  = 'Reject', # loc
 update = 'Respond',
 },
 'open - returned'   = {
 label  = 'Return', # loc
 },
 'stalled - open'  = {
 label  = 'Open It', # loc
 },
 'resolved - open' = {
 label  = 'Re-open', # loc
 update = 'Comment',
 },
 'rejected - open' = {
 label  = 'Re-open', # loc
 update = 'Comment',
 },
 'deleted - open'  = {
 label  = 'Undelete', # loc
 },
 ],
 },


Any ideas anyone?

Thanks in advance and kind regards, Patrick