Edgewall Software
Modify

Opened 19 years ago

Closed 19 years ago

#1918 closed enhancement (fixed)

[PATCH] Make tracd autoreload upon source modification

Reported by: kmierle Owned by: Christopher Lenz
Priority: normal Milestone: 0.10
Component: web frontend/tracd Version: devel
Severity: normal Keywords:
Cc: keir@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

CherryPy and Django both have built in web servers that watch the files from which they are built upon, and restart themselves when any of said files are modified. It would be great if tracd could do the same.

Attachments (4)

PATCH-tracd-reload.diff (5.4 KB ) - added by kmierle 19 years ago.
PATCH add autoreloading to tracd
PATCH-tracd-reload.2.diff (5.3 KB ) - added by kmierle 19 years ago.
Add autoreloading to tracd
paste_autoreload.patch (3.0 KB ) - added by Christopher Lenz 19 years ago.
Paste based auto-reload feature
patch_tracd_autoreload.diff (3.0 KB ) - added by anonymous 19 years ago.
Tracd autoreloading, this time without adding autoreload.py

Download all attachments as: .zip

Change History (9)

by kmierle, 19 years ago

Attachment: PATCH-tracd-reload.diff added

PATCH add autoreloading to tracd

comment:1 by kmierle, 19 years ago

Summary: Make tracd autoreload upon source modification[PATCH] Make tracd autoreload upon source modification

What fun is a ticket without a patch to fix it :) Patch is against [2067] of trunk.

by kmierle, 19 years ago

Attachment: PATCH-tracd-reload.2.diff added

Add autoreloading to tracd

by Christopher Lenz, 19 years ago

Attachment: paste_autoreload.patch added

Paste based auto-reload feature

comment:2 by Christopher Lenz, 19 years ago

paste_autoreload.patch adds the same feature, but reuses the existing code in Python Paste.

This means that the auto-reload feature would depend on Paste being installed. As this is a developer feature, I don't think that's a real problem. The code could also delegate to CherryPy or Django, if those are available.

by anonymous, 19 years ago

Attachment: patch_tracd_autoreload.diff added

Tracd autoreloading, this time without adding autoreload.py

comment:3 by kmierle, 19 years ago

New patch integrates autoreload functionality directly into tracd, rather than adding autoreload.py. Also handles the case where files are deleted while tracd is running.

comment:4 by Christopher Lenz, 19 years ago

Milestone: 0.10
Owner: changed from Jonas Borgström to Christopher Lenz
Status: newassigned

comment:5 by Christopher Lenz, 19 years ago

Resolution: fixed
Status: assignedclosed

Implemented in [3042].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christopher Lenz.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christopher Lenz to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.