Re: [Apache Bloodhound] #756: Unhelpful errors from product-scoped commands in console admin
#756: Unhelpful errors from product-scoped commands in console admin ---+--- Reporter: rjollos | Owner: rjollos Type: enhancement | Status: closed Priority: major | Milestone: Release 8 Component: multiproduct |Version: Resolution: fixed | Keywords: console admin ---+--- Changes (by rjollos): * status: review = closed * resolution: = fixed Comment: (In [1572374]) 0.8dev: Added tests for output of help when `trac-admin` is called at product-scope with improper arguments. Refs #756. (In [1572376]) 0.8dev: Fix for help not being output when `trac-admin` commands are called at product scope with incorrect arguments. Refs #756. Patch by Olemis Lang. -- Ticket URL: https://issues.apache.org/bloodhound/ticket/756#comment:7 Apache Bloodhound https://issues.apache.org/bloodhound/ The Apache Bloodhound issue tracker
Re: [Apache Bloodhound] #756: Unhelpful errors from product-scoped commands in console admin
#756: Unhelpful errors from product-scoped commands in console admin ---+--- Reporter: rjollos | Owner: olemis Type: enhancement | Status: closed Priority: major | Milestone: Release 8 Component: multiproduct |Version: Resolution: fixed | Keywords: console admin ---+--- Changes (by rjollos): * owner: rjollos = olemis -- Ticket URL: https://issues.apache.org/bloodhound/ticket/756#comment:8 Apache Bloodhound https://issues.apache.org/bloodhound/ The Apache Bloodhound issue tracker
Re: [Apache Bloodhound] #756: Unhelpful errors from product-scoped commands in console admin
#756: Unhelpful errors from product-scoped commands in console admin ---+--- Reporter: rjollos | Owner: olemis Type: enhancement | Status: closed Priority: major | Milestone: Release 8 Component: multiproduct |Version: Resolution: fixed | Keywords: console admin ---+--- Comment (by rjollos): Replying to [comment:3 olemis]: Open question : - Should suggested command be «product admin prefix sub-command» ? We may want to consider this in #764. -- Ticket URL: https://issues.apache.org/bloodhound/ticket/756#comment:9 Apache Bloodhound https://issues.apache.org/bloodhound/ The Apache Bloodhound issue tracker
Re: [Apache Bloodhound] #756: Unhelpful errors from product-scoped commands in console admin
#756: Unhelpful errors from product-scoped commands in console admin ---+--- Reporter: rjollos | Owner: olemis Type: enhancement | Status: accepted Priority: major | Milestone: Release 9 Component: multiproduct |Version: Resolution:| Keywords: console admin ---+--- Changes (by olemis): * owner: nobody = olemis * status: new = accepted * type: defect = enhancement * milestone: = Release 9 Comment: I'll start working on this with an initial schedule for [milestone:Release 9] but maybe ready sooner than that ... depending on scheduled release deadline for [milestone:Release 8] . -- Ticket URL: https://issues.apache.org/bloodhound/ticket/756#comment:1 Apache Bloodhound https://issues.apache.org/bloodhound/ The Apache Bloodhound issue tracker
Re: [Apache Bloodhound] #756: Unhelpful errors from product-scoped commands in console admin
#756: Unhelpful errors from product-scoped commands in console admin ---+--- Reporter: rjollos | Owner: olemis Type: enhancement | Status: accepted Priority: major | Milestone: Release 9 Component: multiproduct |Version: Resolution:| Keywords: console admin ---+--- Comment (by olemis): Replying to [ticket:756 rjollos]: For example, omitting the //owner// argument (which is currently required, but not after trac:#11344): The updates in the trac-admin command itself are beyond the scope of this ticket and will be merged into /trunk once the corresponding Trac branch will be updated in our vendor branch . -- Ticket URL: https://issues.apache.org/bloodhound/ticket/756#comment:2 Apache Bloodhound https://issues.apache.org/bloodhound/ The Apache Bloodhound issue tracker
Re: [Apache Bloodhound] #756: Unhelpful errors from product-scoped commands in console admin
#756: Unhelpful errors from product-scoped commands in console admin ---+--- Reporter: rjollos | Owner: olemis Type: enhancement | Status: accepted Priority: major | Milestone: Release 9 Component: multiproduct |Version: Resolution:| Keywords: console admin ---+--- Comment (by olemis): Attached patch is aimed at improving error messages when product admin commands are executed . This is a typical trac-admin session in product context {{{#!sh $ trac-admin /path/to/trac/env/ Welcome to trac-admin 1.0.1 Interactive Trac administration console. Copyright (C) 2003-2013 Edgewall Software Type: '?' or 'help' for help on commands. Trac [/path/to/trac/env] product admin default component add c3 Error: Invalid arguments Admin command failed in product : default component add name owner Add a new component }}} Details : {{{#!sh $ hg qapplied t756/t756_r1567795_product_admin_failmsg.diff $ hg log -r qparent --template={svnrev}\n 1567795 }}} Open question : - Should suggested command be «product admin prefix sub-command» ? -- Ticket URL: https://issues.apache.org/bloodhound/ticket/756#comment:3 Apache Bloodhound https://issues.apache.org/bloodhound/ The Apache Bloodhound issue tracker
[Apache Bloodhound] #756: Unhelpful errors from product-scoped commands in console admin
#756: Unhelpful errors from product-scoped commands in console admin ---+ Reporter: rjollos| Owner: nobody Type: defect | Status: new Priority: major | Milestone: Component: multiproduct |Version: Keywords: console admin | ---+ For example, omitting the //owner// argument (which is currently required, but not after trac:#11344): {{{#!sh $ trac-admin $env product admin prod5 component add component5 Error: Invalid arguments product admin PREFIX admin command Execute admin (sub-)command upon product resources }}} -- Ticket URL: https://issues.apache.org/bloodhound/ticket/756 Apache Bloodhound https://issues.apache.org/bloodhound/ The Apache Bloodhound issue tracker