You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bloodhound.apache.org by Han Wang <wa...@rpi.edu> on 2014/02/13 01:49:11 UTC

"component" and "version" editing

I was wondering how we can edit the “component” and “version”? I tried the trac-admin tool “component list”, and didn’t see the default “component1” and “component2”, and therefore couldn’t delete them. I added a new component using “component add” with trac-admin, but couldn’t see it in the web interface. The same thing happened with “version”. Could anyone give me some pointers for this problem?

Thanks,
-- Han




Re: "component" and "version" editing

Posted by Olemis Lang <ol...@gmail.com>.
On Thu, Feb 13, 2014 at 3:35 PM, Olemis Lang <ol...@gmail.com> wrote:

>
>
>
> On Wed, Feb 12, 2014 at 10:22 PM, Ryan Ollos <ry...@wandisco.com>wrote:
>
>> On Feb 12, 2014 6:12 PM, "Han Wang" <wa...@rpi.edu> wrote:
>> >
>> > Thanks, Ryan. I should've found those.
>> > -- Han
>>
>> You certainly aren't the first to ask, so we need to look at how this can
>> be made more intuitive. The Console admin commands need better command
>> line
>> help and wiki documentation as well.
>>
>>
> AFAICT , there's something going wrong here ...
>

see #757

-- 
Regards,

Olemis - @olemislc

Re: "component" and "version" editing

Posted by Olemis Lang <ol...@gmail.com>.
On Wed, Feb 12, 2014 at 10:22 PM, Ryan Ollos <ry...@wandisco.com>wrote:

> On Feb 12, 2014 6:12 PM, "Han Wang" <wa...@rpi.edu> wrote:
> >
> > Thanks, Ryan. I should've found those.
> > -- Han
>
> You certainly aren't the first to ask, so we need to look at how this can
> be made more intuitive. The Console admin commands need better command line
> help and wiki documentation as well.
>
>
AFAICT , there's something going wrong here ... After checking out current
/trunk

{{{#!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 help
Error: help command not supported for products
Trac [/path/to/trac/env]>

$ hg log -r . --template="{svnrev}\n"
1567795
}}}

... but , considering comment:6:ticket:518 this feature (see
comment:3:ticket:518) was already available in /trunk since r1488070 ; so I
guess somewhere in between support for help command in products has been
lost ? I've tracked this back to r1522789 and the error still persists .
For older revisions I get

{{{
Error: Current db version (5) newer than supported by
this version of the Bloodhound multi product (4).
}}}

-- 
Regards,

Olemis - @olemislc

Re: "component" and "version" editing

Posted by Ryan Ollos <ry...@wandisco.com>.
On Feb 12, 2014 6:12 PM, "Han Wang" <wa...@rpi.edu> wrote:
>
> Thanks, Ryan. I should've found those.
> -- Han

You certainly aren't the first to ask, so we need to look at how this can
be made more intuitive. The Console admin commands need better command line
help and wiki documentation as well.

>
>
> On Feb 12, 2014, at 8:05 PM, Ryan Ollos <ry...@wandisco.com> wrote:
>
> > On Wed, Feb 12, 2014 at 4:49 PM, Han Wang <wa...@rpi.edu> wrote:
> >
> >> I was wondering how we can edit the "component" and "version"? I tried
the
> >> trac-admin tool "component list", and didn't see the default
"component1"
> >> and "component2", and therefore couldn't delete them. I added a new
> >> component using "component add" with trac-admin, but couldn't see it
in the
> >> web interface. The same thing happened with "version". Could anyone
give me
> >> some pointers for this problem?
> >>
> >> Thanks,
> >> -- Han
> >>
> >
> > Component and Version are scoped to products. If you are using
trac-admin,
> >
> > trac-admin $env product admin <prefix> component add component3 hwang
> >
> > You can also add a component through the product's admin
> > page: /products/<prefix>/admin/ticket/components
>

Re: "component" and "version" editing

Posted by Han Wang <wa...@rpi.edu>.
Thanks, Ryan. I should’ve found those.
-- Han



On Feb 12, 2014, at 8:05 PM, Ryan Ollos <ry...@wandisco.com> wrote:

> On Wed, Feb 12, 2014 at 4:49 PM, Han Wang <wa...@rpi.edu> wrote:
> 
>> I was wondering how we can edit the "component" and "version"? I tried the
>> trac-admin tool "component list", and didn't see the default "component1"
>> and "component2", and therefore couldn't delete them. I added a new
>> component using "component add" with trac-admin, but couldn't see it in the
>> web interface. The same thing happened with "version". Could anyone give me
>> some pointers for this problem?
>> 
>> Thanks,
>> -- Han
>> 
> 
> Component and Version are scoped to products. If you are using trac-admin,
> 
> trac-admin $env product admin <prefix> component add component3 hwang
> 
> You can also add a component through the product's admin
> page: /products/<prefix>/admin/ticket/components


Re: "component" and "version" editing

Posted by Ryan Ollos <ry...@wandisco.com>.
On Wed, Feb 12, 2014 at 4:49 PM, Han Wang <wa...@rpi.edu> wrote:

> I was wondering how we can edit the "component" and "version"? I tried the
> trac-admin tool "component list", and didn't see the default "component1"
> and "component2", and therefore couldn't delete them. I added a new
> component using "component add" with trac-admin, but couldn't see it in the
> web interface. The same thing happened with "version". Could anyone give me
> some pointers for this problem?
>
> Thanks,
> -- Han
>

Component and Version are scoped to products. If you are using trac-admin,

trac-admin $env product admin <prefix> component add component3 hwang

You can also add a component through the product's admin
page: /products/<prefix>/admin/ticket/components