GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Net::Trac(3) User Contributed Perl Documentation Net::Trac(3)

Net::Trac - Interact with a remote Trac instance

    use Net::Trac;

    my $trac = Net::Trac::Connection->new(
        url      => 'http://trac.someproject.org',
        user     => 'hiro',
        password => 'yatta'
    );

    my $ticket = Net::Trac::Ticket->new( connection => $trac );
    my $id = $ticket->create(summary => 'This product has only a moose, not a pony');

    my $other_ticket = Net::Trac::Ticket->new( connection => $trac );
    $other_ticket->load($id);
    print $other_ticket->summary, "\n";

    $ticket->update( summary => 'This project has no pony' );

Net::Trac is simple client library for a remote Trac instance. Because Trac doesn't provide a web services API, this module currently "fakes" an RPC interface around Trac's webforms and the feeds it exports. Because of this, it's somewhat more brittle than a true RPC client would be.

As of now, this module has been tested against Trac 10.4 and Trac 11.0.

The author's needs for this module are somewhat modest and its current featureset reflects this. Right now, only basic read/write functionality for Trac's tickets is provided. Patches would be gratefully appreciated.

This module currently only deals with Trac's bug tracking system.

This module is woefully incomplete.

This module's error handling isn't what it should be.

There are more.

Please send bug reports and patches to bug-net-trac@rt.cpan.org

Jesse Vincent <jesse@bestpractical.com>, Thomas Sibley <trs@bestpractical.com>

Copyright 2008-2009 Best Practical Solutions.

This package is licensed under the same terms as Perl 5.8.8.

2011-04-02 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.