On Wednesday, July 18, 2018 at 7:40:51 AM UTC-7, figaro wrote:
>
> To perform some tests on Trac I would like to be able to populate a few 
> hundred wiki pages, a few hundred tickets and a handful of milestones with 
> mock (lorem-ipsum) data. Is there a plugin or script available that allows 
> me to do that?
>

It could be done with some shell scripting and TracAdmin (1). XmlRpcPlugin 
would be another option (2).

Bash example of creating 5 milestones:

for i in $(seq 1 5); do trac-admin ../tracenvs/proj-1.3 milestone add 
"milestone $i"; done

Tickets can't be created using trac-admin, however that's been requested 
(3).

(1) https://trac.edgewall.org/wiki/TracAdmin
(2) https://trac-hacks.org/wiki/XmlRpcPlugin
(3) https://trac.edgewall.org/ticket/10699

- Ryan

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to