Skip to main content

Resource Reservation plugin for Trac

Project description

A Trac plugin and macro to allow for visually planning and reserving the use of resources in your environment, e.g. test machines, consumable test data, etc…, with just one click.

Take a look at the screenshot to have an idea:

http://trac-hacks.org/attachment/wiki/ResourceReservationPlugin/screen5.JPG

Installation of the plugin adds a new tab named Resource Reservation that leads to a pre-filled Wiki page with the macro already in place.

By default, the macro displays an empty calendar spanning three months in the future, including the current month. You can then:

  • Add a new resource, by entering the resource name in the edit box and click Add a Resource

  • See who owns a resource in any particular date: - A white cell indicates the resource is free at a certain date - A blue cell indicates the resource is reserved by the current user at a certain date - A red cell indicates some other user has reserved the resource at a certain date. The name of the user can be seen by hovering with the mouse on the cell.

  • Reserve the resource for any days in the calendar, by simply clicking on the corresponding table cell => the information is saved in the database on the fly, no need to save the page. The cell will become blue

  • Cancel a resource reservation, when it is reserved by you (blue cell), by simply clicking on it again => The cell becomes white again

  • Take on a resource reserved by something else (red cell), by simply clicking on the corresponding cell => The cell becomes blue and the resource is immediately assigned to the current user

You can edit the default page, changing the macro default parameters:
  • type: you can define any number of resource types by simply providing a different value for this parameter to any instance of the macro. This way, you can plan the use of different types of resources at the same time, with no conflict between them

  • period: the number of months, including the current one, to display in the calendar

  • title: the title, i.e. descriptive name of the resource type, to be used in the calendar as the header of the resource names column

Or you can add the following snippet in any of your Wiki pages, for example to keep track of multiple resource types in different places:

[[ResourceReservationList(type=resource,period=3,title=Resource)]]

Currently tested on Trac 0.11 and Python 2.5.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ResourceReservation-1.0.2.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ResourceReservation-1.0.2-py2.5.egg (22.9 kB view details)

Uploaded Egg

File details

Details for the file ResourceReservation-1.0.2.tar.gz.

File metadata

File hashes

Hashes for ResourceReservation-1.0.2.tar.gz
Algorithm Hash digest
SHA256 3c4d40993b0a3a95494951a3722c0385507fc4d10c3a6243227e114df4e1cf02
MD5 5e54bb205650bccea04b1478ffd74048
BLAKE2b-256 73668fc4fb3b2d0b185c6cbd2389dd0f347807fcebc6cff095e30a385911c380

See more details on using hashes here.

File details

Details for the file ResourceReservation-1.0.2-py2.5.egg.

File metadata

File hashes

Hashes for ResourceReservation-1.0.2-py2.5.egg
Algorithm Hash digest
SHA256 a2f8316e1021978b199470e5318c64531e717218dc29b802a297a2603d7a730a
MD5 e829a4fcb3c19dba6b95ac20164ee123
BLAKE2b-256 068c6ddbfc464e1375300b8f549767f4710f73746a8003d2fde07db57c5db744

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page