[Trac] Import from one Trac to another?

2014-01-30 Thread Josh Santangelo
Hi there -- I am currently using Trac as a hosted service with a sqlite 
backend. I'm trying to set up my own install of Trac with a postgres 
backend, and want to import tickets from the old system to the new one. I 
see a number of solutions for importing tickets from other systems (or 
Excel) to Trac, but not from Trac to Trac. Am I missing something?

thanks,
-josh

-- 
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 http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.


[Trac] Relocation of Visual SVN and TRAC to new server

2014-01-30 Thread Anthony Green
Hi all,
 
I apologise in advance as I am VERY new to both Visual SVN and TRAC.
 
I have inherited an installation from staff who have long since left the 
company and we need to move our TRAC environment from one server to another.
 
What I am looking for is some sort of guide to follow as I have no idea how 
to go about it.
 
The following software is in the Add or Remove Programs list in Control 
Panel:
 - Python 2.5 Genshi-0.5.1
 - Python 2.5 setuptools-0.6c9
 - Python 2.5 svn-python-1.6.4
 - Python 2.5.4
 - VisualSVN Server 2.1.11
 
Existing Environment
Windows Server 2003 Standard R2 (32-bit)
 
New Environment
Windows Server 2008 Standard R2 (64-bit)
 
I'm not sure what other information is required, but happy to supply what 
is needed.
If we need to upgrade things before relocation, we can do so, but will need 
to know the procedure for doing so.
 
Thanks,
Anthony

-- 
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 http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Trac] mapping between git author/committer and trac user

2014-01-30 Thread Christophe Domas

I've used the mapping by email (trac_user_rlookup = true) with "trac-admin 
session set" to add emails to my users and it works perfectly.

Thanks a lot!


Le jeudi 30 janvier 2014 14:23:17 UTC+1, Ethan Jucovy a écrit :
>
> Hi Christophe,
>
> On Thu, Jan 30, 2014 at 4:43 AM, Christophe Domas 
> 
> > wrote:
>
>> I don't have user email in trac. I think I have to install the Account 
>> Manager Plugin, right?
>>
>
> You can set an email address for your own Trac account without Account 
> Manager.  Just look in /prefs.
>
> I think you can also set all users' email addresses from the command line 
> using `trac-admin` -- look for the `trac-admin session list` and 
> `trac-admin session set` commands.
>
> Account Manager is needed only if you want an admin panel for setting all 
> users' email addresses through the web.
>  
>
>> I was thinking to patch the _parse_user_time(s)in git_fs.py to return 
>> the git user.name without email. Is it a bad idea?
>>
>
> If you're comfortable patching your Trac installation, and prefer to patch 
> your site instead of using trac_user_rlookup + Trac session emails, I would 
> recommend the patch I posted earlier:
>
>   
> http://trac.edgewall.org/attachment/ticket/10640/changeset_user_mapper_component.diff
>
> It's much more flexible, since it lets you maintain a list of git->trac 
> names in your trac.ini file.
>
> -Ethan
>
>

-- 
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 http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Trac] mapping between git author/committer and trac user

2014-01-30 Thread Ethan Jucovy
Hi Christophe,

On Thu, Jan 30, 2014 at 4:43 AM, Christophe Domas <
christophe.do...@gmail.com> wrote:

> I don't have user email in trac. I think I have to install the Account
> Manager Plugin, right?
>

You can set an email address for your own Trac account without Account
Manager.  Just look in /prefs.

I think you can also set all users' email addresses from the command line
using `trac-admin` -- look for the `trac-admin session list` and
`trac-admin session set` commands.

Account Manager is needed only if you want an admin panel for setting all
users' email addresses through the web.


> I was thinking to patch the _parse_user_time(s)in git_fs.py to return the
> git user.name without email. Is it a bad idea?
>

If you're comfortable patching your Trac installation, and prefer to patch
your site instead of using trac_user_rlookup + Trac session emails, I would
recommend the patch I posted earlier:


http://trac.edgewall.org/attachment/ticket/10640/changeset_user_mapper_component.diff

It's much more flexible, since it lets you maintain a list of git->trac
names in your trac.ini file.

-Ethan

-- 
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 http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.


[Trac] Re: time estimation plugins - your recommendations

2014-01-30 Thread F@lk
 

Hi,

I’ve been using that plugin (0.12 with permissions) for a long time now 
(currently with 1.0.1) and my experience is:

   -  The addition of the 2 ticket fields “estimatedhours”, “hours” and 
   “totalhours” is very useful and works without problems. The permission 
   branch of the plugin allows to limit the field access to certain users 
   which is also very useful.
   - The adding of worked hours via Ticket input field is very handy.
   - The integration with 
TracJsGanttPlugin and 
EstimationToolsPlugin 
works very well
   - But the whole thing under main menu item “Time reports” is IMHO not 
   intuitive and also completely not usuable for me because fixed to 
   hard-wired billing-dates one even cannot delete anymore. For instance, I 
   cannot make queries for certain 
SMPPprojects or simply 
between two milestones, or between two versions, or 
   between two datetimes I could set per variable parameters to a query.
   - There is no demo site (although I wished trac-hacks.org has one)
   - The removal of the plugin is no problem
   - Hours or days do not matter since the plugin does not give you a unit. 
   It’s up to you how you interpret the numbers.
   - See http://trac-hacks.org/wiki/TimingAndEstimationPlugin#RecentChangesfor 
the development activities

 CU, F@lk

>

-- 
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 http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Trac] mapping between git author/committer and trac user

2014-01-30 Thread Christophe Domas
Hi,

I don't have user email in trac. I think I have to install the Account 
Manager Plugin, right?

I was thinking to patch the _parse_user_time(s)in git_fs.py to return the 
git user.name without email. Is it a bad idea?

Regards

Christophe


Le jeudi 30 janvier 2014 02:15:31 UTC+1, Ethan Jucovy a écrit :
>
>
> On Jan 29, 2014 7:43 PM, "Ethan Jucovy" > 
> wrote:
> >
> > Hi Christophe,
> >
> > On Wed, Jan 29, 2014 at 5:27 AM, Christophe Domas 
> > > 
> wrote:
> >>
> >> My trac user is "chdomas".
> >> When I push a commit, the autor/committer is "chdomas 
> " and trac cannot map the git author with trac 
> user:
> >
> >
> > I've been dealing with this problem too.  I have a patch applied against 
> my Trac installation:
>
> Actually you may not need the patch, if your git commits are authored with 
> the same email address that your trac user account is associated with.
>
> In that case, I think an existing configuration option would work:
>
> [git]
> trac_user_rlookup = true
>
> The patch is only needed if your git commits do not correspond with your 
> trac account's email address.
>
> -Ethan
>

-- 
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 http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.