RE: [Trac] Trac Environment as a Template
> -Original Message- > From: trac-users@googlegroups.com On Behalf Of Gnomo567 > Sent: 30 November 2010 16:47 > To: Trac Users > Subject: [Trac] Trac Environment as a Template > > Hi all! > > It's possible to use a configured Trac Environment as a template for > creating new projects environments? > > Every time I use trac-admin initenv, I have to manually > configure "Submit Policy", "Priorities", "Resolutions", etc. > I'm not sure exactly what you are asking for ~ do you want specific wiki pages etc or just the settings? If it is the settings, have you checked out the `[inherit]` section of trac.ini [1]? You can also pass some of this info to trac-admin [2] to simplify repo creation. Regards, ~ mark c [1] http://trac.edgewall.org/wiki/TracIni [2] http://trac.edgewall.org/wiki/TracAdmin#initenv -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-us...@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
RE: [Trac] Add comment/edit message in the changeset page
> On Tue, Nov 30, 2010 at 7:22 AM, Cooke, Mark > wrote: > >> -Original Message- > >> From: trac-users@googlegroups.com On Behalf Of RicardoPHP > >> Sent: 29 November 2010 18:11 > >> To: Trac Users > >> Subject: [Trac] Add comment/edit message in the changeset page > >> > >> Hi there, is there a way to edit the changeset message or add some > >> comments over it? > >> > > That comment comes from your source code backend ~ so it > would help to > > know if you are using subversion or one of the other > options. In any > > case, this is not really a function of Trac. > > > >> here we use one todo software over the enterprise and the trac to > >> document and develop the systems, for that one thing > required to the > >> developer is to add the task code of the todo software in the > >> changeset of the svn to link one another together, and > sometimes the > >> developer forget to do so, therefore it would be nice if > we could edit > >> the svn message or even add comments in the message of the > changeset > >> in the trac. > >> > > Allowing people to edit what is in the repository is > something that in > > general should not happen ~ the purpose of these tools is > to maintain a > > true and faitful history of what happened. However, updating these > > messages is common enough that subversion does provide a > way to do it. > > Have a look at the subversion FAQ: > > > > http://subversion.apache.org/faq.html > > > > AFAIK there is no way to do this from Trac... > > > > ~ mark c > > -Original Message- > From: trac-users@googlegroups.com On Behalf Of Ricardo > Striquer Soares > Sent: 30 November 2010 15:32 > To: trac-users@googlegroups.com > Subject: Re: [Trac] Add comment/edit message in the changeset page > > I was thinking more like a plugin for aggregating comments over the > original log (if needed so), not change it. > > Is there any plugin or something? > Hmm, no, not that I know of. My feeling is that such comments should be stored in the repository as otherwise someone accessing the repository using standard svn tools may miss out on something you consider important enough to log. If you just want to be able to comment on specific revisions, perhaps you could use a specific wiki page hierarchy but it would not appear in the changeset view. The place to look for plugins is http://trac-hacks.org/ have you had a look there? ~ mark c -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-us...@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
[Trac] Re: Trac Environment as a Template
Thanks! I've forgotten the "KISS Principle". :-( On Nov 30, 9:59 pm, "bas.hop...@gmail.com" wrote: > You could setup a TRAC environment and store it somewhere. When needed, make > a copy to the desired location, adjust the Trac.ini to the new environments > settings and SVN repository. Resync it and you're done. > > This assumes you are using an sqlite database and that you have your > environments in a Trac parent folder. > > Bas > > - Reply message - > Van: "Gnomo567" > Datum: di, nov. 30, 2010 17:47 > Onderwerp: [Trac] Trac Environment as a Template > Aan: "Trac Users" > > Hi all! > > It's possible to use a configured Trac Environment as a template for > creating new projects environments? > > Every time I use trac-admin initenv, I have to manually > configure "Submit Policy", "Priorities", "Resolutions", etc. > > Thanks! > > -- > You received this message because you are subscribed to the Google Groups > "Trac Users" group. > To post to this group, send email to trac-us...@googlegroups.com. > To unsubscribe from this group, send email to > trac-users+unsubscr...@googlegroups.com. > For more options, visit this group > athttp://groups.google.com/group/trac-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-us...@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Trac Environment as a Template
You could setup a TRAC environment and store it somewhere. When needed, make a copy to the desired location, adjust the Trac.ini to the new environments settings and SVN repository. Resync it and you're done. This assumes you are using an sqlite database and that you have your environments in a Trac parent folder. Bas - Reply message - Van: "Gnomo567" Datum: di, nov. 30, 2010 17:47 Onderwerp: [Trac] Trac Environment as a Template Aan: "Trac Users" Hi all! It's possible to use a configured Trac Environment as a template for creating new projects environments? Every time I use trac-admin initenv, I have to manually configure "Submit Policy", "Priorities", "Resolutions", etc. Thanks! -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-us...@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-us...@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Re: Upgrade trac environment failed
Not sure what you are using for a database, but if you are with the stock sqllite3, it's pretty easy to rsync the whole pile over to a test machine, and experiment and tweak in a low-stress environment. I test upgrades to our site on a Mac laptop, using Trac, Apache, and all the other bits installed using MacPorts (with Apache on port 8080, so as to avoid the built-in web server). I use this script: --- echo "Uses sudo to stop server, tweak permissions for the backup, and then to restore original state" sudo /opt/local/apache2/bin/apachectl stop sudo chown -R dr2chase nobody rsync -avz -e ssh some...@somewhere:/somepath/nobody/ nobody \ --rsync-path=/opt/csw/bin/rsync --exclude="/EggCache" --exclude="*.pyc" sudo chown -R _www nobody sudo /opt/local/apache2/bin/apachectl start --- where "nobody" has subdirectories including "Trac", "Svn", and "EggCache" David On 2010-11-30, at 2:07 PM, Tim Kuo wrote: > I downgraded to Trac0.11 to get Trac back up for now, will try it again later > to see what the issue was. > > On Nov 30, 2010, at 8:47 AM, tim wrote: > >> Hi, >> >> I was trying to upgrade from trac0.11 to trac0.12 after upgrading >> tracgit plugin, and it's complaining to me Trac Error >> >> TracError: The Trac Environment needs to be upgraded. >> >> Run "trac-admin /some/project upgrade" >> >> So I followed the instruction and ran the command and it shows up >> OperationalError: (1050, "Table 'cache' already exists") >> >> Now trac is down, any suggestion what may have gone wrong? -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-us...@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
[Trac] Re: Upgrade trac environment failed
I downgraded to Trac0.11 to get Trac back up for now, will try it again later to see what the issue was. On Nov 30, 2010, at 8:47 AM, tim wrote: > Hi, > > I was trying to upgrade from trac0.11 to trac0.12 after upgrading > tracgit plugin, and it's complaining to me Trac Error > > TracError: The Trac Environment needs to be upgraded. > > Run "trac-admin /some/project upgrade" > > So I followed the instruction and ran the command and it shows up > OperationalError: (1050, "Table 'cache' already exists") > > Now trac is down, any suggestion what may have gone wrong? > > Thanks, > -Tim -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-us...@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
[Trac] Upgrade trac environment failed
Hi, I was trying to upgrade from trac0.11 to trac0.12 after upgrading tracgit plugin, and it's complaining to me Trac Error TracError: The Trac Environment needs to be upgraded. Run "trac-admin /some/project upgrade" So I followed the instruction and ran the command and it shows up OperationalError: (1050, "Table 'cache' already exists") Now trac is down, any suggestion what may have gone wrong? Thanks, -Tim -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-us...@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
[Trac] Trac Environment as a Template
Hi all! It's possible to use a configured Trac Environment as a template for creating new projects environments? Every time I use trac-admin initenv, I have to manually configure "Submit Policy", "Priorities", "Resolutions", etc. Thanks! -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-us...@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Add comment/edit message in the changeset page
I was thinking more like a plugin for aggregating comments over the original log (if needed so), not change it. Is there any plugin or something? On Tue, Nov 30, 2010 at 7:22 AM, Cooke, Mark wrote: >> -Original Message- >> From: trac-users@googlegroups.com On Behalf Of RicardoPHP >> Sent: 29 November 2010 18:11 >> To: Trac Users >> Subject: [Trac] Add comment/edit message in the changeset page >> >> Hi there, is there a way to edit the changeset message or add some >> comments over it? >> > That comment comes from your source code backend ~ so it would help to > know if you are using subversion or one of the other options. In any > case, this is not really a function of Trac. > >> here we use one todo software over the enterprise and the trac to >> document and develop the systems, for that one thing required to the >> developer is to add the task code of the todo software in the >> changeset of the svn to link one another together, and sometimes the >> developer forget to do so, therefore it would be nice if we could edit >> the svn message or even add comments in the message of the changeset >> in the trac. >> > Allowing people to edit what is in the repository is something that in > general should not happen ~ the purpose of these tools is to maintain a > true and faitful history of what happened. However, updating these > messages is common enough that subversion does provide a way to do it. > Have a look at the subversion FAQ: > > http://subversion.apache.org/faq.html > > AFAIK there is no way to do this from Trac... > > ~ mark c > > -- > You received this message because you are subscribed to the Google Groups > "Trac Users" group. > To post to this group, send email to trac-us...@googlegroups.com. > To unsubscribe from this group, send email to > trac-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/trac-users?hl=en. > > -- /** * @analist Ricardo Striquer (ricardophp yahoocombr) * @var Técnico em PDD * @see http://www.programabrasil.org * @see http://twitter.com/rstriquer */ -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-us...@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
RE: [Trac] Add comment/edit message in the changeset page
> -Original Message- > From: trac-users@googlegroups.com On Behalf Of RicardoPHP > Sent: 29 November 2010 18:11 > To: Trac Users > Subject: [Trac] Add comment/edit message in the changeset page > > Hi there, is there a way to edit the changeset message or add some > comments over it? > That comment comes from your source code backend ~ so it would help to know if you are using subversion or one of the other options. In any case, this is not really a function of Trac. > here we use one todo software over the enterprise and the trac to > document and develop the systems, for that one thing required to the > developer is to add the task code of the todo software in the > changeset of the svn to link one another together, and sometimes the > developer forget to do so, therefore it would be nice if we could edit > the svn message or even add comments in the message of the changeset > in the trac. > Allowing people to edit what is in the repository is something that in general should not happen ~ the purpose of these tools is to maintain a true and faitful history of what happened. However, updating these messages is common enough that subversion does provide a way to do it. Have a look at the subversion FAQ: http://subversion.apache.org/faq.html AFAIK there is no way to do this from Trac... ~ mark c -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-us...@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.