[taskjuggler] Reports for individual resources?

From: Holger Karl (karl_at_ee.tu-berlin.de)
Date: Mon May 19 2003 - 20:05:41 CEST


From: Holger Karl <karl@ee.tu-berlin.de>
Date: Mon, 19 May 2003 20:05:41 +0200
Message-Id: <200305192005.42258.karl@ee.tu-berlin.de>
Subject: [taskjuggler] Reports for individual resources?

Hello,

I am trying to find a nice and simple way to get resource reports for
individual resources or groups of resources.

Using the accounting software example, I think it would be natural to write:

htmlresourcereport "paul.html" {
        columns no, name, weekly, effort
        hideresource ~dev1
        loadunit days
        headline "paul resources"
}

htmlresourcereport "sebastian.html" {
        columns no, name, weekly, effort
        hideresource ~dev2
        loadunit days
        headline "sebastian resources"
}
htmlresourcereport "developers.html" {
        columns no, name, weekly, effort
        hideresource ~dev
        loadunit days
        headline "developers resources"
}

to get reports for paul, sebastian, or all developers. But this does not work,
since the resource names themselves are not flags.

Adding flags simply as

resource dev "Developers" {
  flags paul resource dev1 "Paul Smith" { rate 330.0 }
  flags sebastian resource dev2 "Sébastien Bono"

(and then asking for hideresource ~paul etc.) also does not work since flags
apply to all folowing reosource with { }

So, the only alternative seems to be to write:

resource dev "Developers" {
  resource dev1Virtual "Paul Smith only for scoping purposes" {
    flags paul
    resource dev1 "Paul Smith" { rate 330.0 }
  }
  resource dev2Virtual "Sebastian only for scoping purposes" {
     flags sebastian
     resource dev2 "Sébastien Bono"
  }
  resource dev3 "Klaus Müller" { vacation 2002-02-01 - 2002-02-05 }

        flags team
}

which really is cumbersome and adds a needless wrapper around a resource.

While then

htmlresourcereport "paul.html" {
        columns no, name, weekly, effort
        hideresource ~paul
        loadunit days
        headline "paul resources"
}

sort of gives the output I was looking for (see attachement if that works out
via the mailing list), it still contains two lines for the enclosing
resources (dev and the virtual paul).

I did not manage to get rid of these enclosing lines!

Summary: It would be really useful to be able to produce resource reports just
by stating a resource name (as an "implicit flag"), optionally with
rollupresources to hide contained resources - say, if I just want to know
about developpers, but not in detail, and nothing about "The Others", and
nothing about the entire project either.

If there is any simple way to do that, this would help me a lot!

Thanks and best regards

Holger



-- 
To unsubscribe, email the address listed in the List-Unsubscribe header
For additional commands, email: taskjuggler-help@suse.com


This archive was generated by hypermail 2.1.7 : Mon May 19 2003 - 19:58:54 CEST