Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
trac programming
#1
So I've been using trac for my latest project. (It's a wiki based ticket tracking system written in Python). It's written in Python, and there is a Python package named trac you can import if trac is installed. You can apparently use the trac package to automate creating tickets and other things. However, I cannot for the life of me find any documentation on how to actually use the package to do such things. The documentation in the package is incredibly obtuse, I can't find anything in the TracGuide about it, and web searches either come up with programming trac itself or an old programming language named trac.

Does anyone have any information on how to use the trac package to expand/modify a particular trac environment?
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply
#2
try https://trac.edgewall.org/wiki/TracGuide
Reply
#3
I can't find anything in the TracGuide about using the Python package. The closest it seems to get is the command line tool, but that's not the same thing.

Edit: I think I found some stuff under TracDev. I'll poke around there some more.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply
#4
Sorry I didn't look at it, just forwarded the link

Is this of any help: https://trac-hacks.org/wiki/TracDeveloperPlugin
or this
https://trac.edgewall.org/wiki/TracDev/C...chitecture
Reply
#5
(Jan-18-2017, 06:26 PM)Larz60+ Wrote: or this
https://trac.edgewall.org/wiki/TracDev/C...chitecture

Yeah, that's what I found on TracDev that looks useful. There was also an article on accessing the wiki, although the procedure seems odd: make an instance of the WikiPage class with the title of the page you want to load, and then use a method of that object to load the information from the page. But it looked like there was good information there that I could use to figure it out. I've got a long weekend this week, so I'll see if I can work on it then.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Manage user names in TRAC susja 3 5,983 Dec-06-2020, 09:34 PM
Last Post: susja
  Error building trac hacks plugin lapjunior 1 2,718 Apr-06-2018, 08:49 PM
Last Post: nilamo

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020