Skip to main content

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 0.12, and Python 2.5 and 2.6.

Release files for ResourceReservation 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ResourceReservation 1.0.4
File Size Uploaded
ResourceReservation-1.0.4-src.tar.gz 8.8 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for ResourceReservation 1.0.4
File Interpreter ABI Platform
ResourceReservation-1.0.4-py2.6.egg Legacy Egg format - - Details
ResourceReservation-1.0.4-py2.5.egg Legacy Egg format - - Details

Total release size: 55.0 kB

Release files / ResourceReservation-1.0.4-src.tar.gz

Download URL ResourceReservation-1.0.4-src.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
570bda32ce5ede51f12e92e171a75f572720d892501145c486d3960ca6db3a70
BLAKE2b-256 checksum
How to use checksums
d6e2aa30afab4af2df0f878feb9847c59cd292a32388b6754efa31d05b520647
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / ResourceReservation-1.0.4-py2.6.egg

Download URL ResourceReservation-1.0.4-py2.6.egg
Size 23.1 kB
Tags Egg
SHA-256 checksum
How to use checksums
3433ad2598237addae861b044e9bea742838967e1f81c52018792c8783231664
BLAKE2b-256 checksum
How to use checksums
cda7ca79ac5238a66ff276cfa7ba12bfab062729ad5038d84f771e47c3ae30e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / ResourceReservation-1.0.4-py2.5.egg

Download URL ResourceReservation-1.0.4-py2.5.egg
Size 23.1 kB
Tags Egg
SHA-256 checksum
How to use checksums
7decebeb7b1438b8963345b50d24c8fd9fb89cfeaa20a65085400792693f28b4
BLAKE2b-256 checksum
How to use checksums
b78dcbd77a11c4538b4dbafdf4620bb03ffa0d26955d7d817fff91ff3e174459
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.4 This release

3 release files

1.0.2

2 release files

1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page