Team Chat Logs

February 16, 2010

2010 1
Mo Tu We Th Fr Sa Su
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28

[00:15:34.379902]<otaku42>moin
[02:19:36.582171]<gozerbot>trac: Changeset [9188]: trac-svn-hook: made the calls to trac-admin asynchronous, as otherwise an ... - <http://trac.edgewall.org/changeset/9188> || TracDev/Proposals/Announcer edited - <http://trac.edgewall.org/wiki/TracDev/Proposals/Announcer?version=4>
[02:23:58.049598]<thm>is there some script or plugin that allows forwarding bugs to a completely different Trac instance?
[02:46:52.534688]<bionoid>thm: http://trac-hacks.org/wiki/TicketMoverPlugin
[02:47:31.660512]<thm>bionoid: nope. "...in the same environment directory"
[02:48:41.375043]<bionoid>Yeah you have to hack it though, like mount it with sshfs
[02:49:17.633030]<bionoid>or cifs or nfs or whatever you have at your disposal. Otherwise you'd probably have to install XMLRPC in both and script it yourself
[03:02:11.388451]<thm>bionoid: the latter would be the cleanest solution imho.
[03:49:35.336381]<gozerbot>trac: Ticket #9060 ("no results to fetch" after a ''changeset modified'') created - <http://trac.edgewall.org/ticket/9060>
[05:12:41.113697]<Thorn>hello
[05:13:09.255658]<Thorn>I've installed trac into a virtualenv and connected it to apache using fastcgi
[05:13:40.874874]<Thorn>it seems to work right now but I wonder if additional configuration is required due to the fact I'm using virtualenv
[06:11:22.457544]<maxo>hi, just wondering if it's possible to integrate trac with windows integrated authentication (NTLM)?
[06:19:37.819399]<gozerbot>trac: Ticket #9060 ("no results to fetch" after a ''changeset modified'') closed - <http://trac.edgewall.org/ticket/9060#comment:5> || Changeset [9191]: versioncontrol: added a test for `CachedRepository.sync_changeset`, which ... - <http://trac.edgewall.org/changeset/9191> || Changeset [9190]: versioncontrol: added a test for `CachedRepository.sync(clean=True)` - <http://trac.edgewall.org/changeset/9190>
[06:19:42.668118]<gozerbot> || Changeset [9189]: versioncontrol: refactor cache tests, hopefully a bit clearer now. - <http://trac.edgewall.org/changeset/9189> || TracFineGrainedPermissions edited - <http://trac.edgewall.org/wiki/TracFineGrainedPermissions?version=16>
[07:00:38.801990]<KRav-Wrk>hello
[07:01:15.593972]<KRav-Wrk>was wondering if there was a setting to add a custom field to the milestones
[07:01:34.424025]<KRav-Wrk>I need to add a priority field for milestones
[07:02:34.862992]<KRav-Wrk>I figured out how to add a custom field to a ticket but we don't need the priority on tickets but on the entire milestone
[07:19:37.537264]<gozerbot>trac: SeaChange/WhatUsersWant edited - <http://trac.edgewall.org/wiki/SeaChange/WhatUsersWant?version=108>
[07:49:37.371338]<gozerbot>trac: Ticket #9061 (New Help System) created - <http://trac.edgewall.org/ticket/9061>
[08:19:38.223729]<gozerbot>trac: MissingTranslations edited - <http://trac.edgewall.org/wiki/MissingTranslations?version=11> || Changeset [9193]: #8751: most of the changes did happen on trunk recently, removing the ... - <http://trac.edgewall.org/changeset/9193> || Changeset [9192]: l10/he: remove .mo file added by mistake - <http://trac.edgewall.org/changeset/9192> || SeaChange/WhatUsersWant
[08:19:43.344869]<gozerbot> edited - <http://trac.edgewall.org/wiki/SeaChange/WhatUsersWant?version=109>
[08:52:26.439363]<mydog2>afternoon..
[08:52:35.631490]<mydog2>hello??
[08:53:01.077066]<cmc>hello!!!!
[08:58:11.392697]<mydog2>hey cmc!!
[08:58:26.817531]<mydog2>got a question abot trac... i'm hearing/seeing different things...
[08:59:11.117061]<mydog2>regarding multiple projects/users.. can trac be setup to handle multiple projects at the same time.. with user/access control being able to restrict users accessing different projects..
[08:59:41.766819]<cmc>yes, set up a different env for each project and grant user access as needed
[09:00:31.807393]<mydog2>so i only need one instance of trac... and i suppose the "env" is essentially a separate dir/folder?
[09:00:56.228783]<cmc>env being environment, one moment
[09:01:50.861830]<cmc>search for TracEnvParentDir
[09:49:37.668729]<gozerbot>trac: Ticket #8204 (Unify wiki processors and macros) reopened - <http://trac.edgewall.org/ticket/8204#comment:8>
[10:50:02.509488]<muri_one>I just upgraded trac and there is a big list of wiki changes in the timeline that trac made
[10:50:13.967991]<muri_one>Is there a way to hide just these changes?
[11:01:01.153025]<cmc>you could delete the original revision from the wiki table
[11:01:14.959044]<cmc>hm, no that wouldn't work
[11:01:32.744949]<cmc>you could modify the "time" value of the wiki updates to be several months ago
[11:04:45.779454]<muri_one>time is a mysterious integer field.
[11:04:58.092847]<cmc>unix time
[11:08:25.949076]<muri_one>of course
[11:11:33.973175]<muri_one>cmc: thank you, that worked perfectly
[11:12:00.143503]<cmc>splendid
[12:25:57.251620]<rbrunhuber>Hello.
[12:26:29.404389]<rbrunhuber>Hi, I'd like to start developing (with) trac and I'd like to know if it is better to develop under windows or linux (in my case Kubuntu 10.4 "Lucid").
[12:27:19.614788]<cmc>Linux would probably be easier
[12:27:45.043723]<cmc>won't have to worry about weird paths for python, apache, etc.
[12:29:06.235935]<rbrunhuber>cmc : Lucid has python 2.6.4 is this ok?
[12:29:34.891960]<cmc>Ubuntu has trac in it's repos
[12:29:44.459263]<cmc>so, I'd assume so
[12:30:06.239139]<rbrunhuber>cmc: The question is what dirty tricks they made to get it running.
[12:30:52.363072]<cmc>I don't think any. I've made successful installs on debian with apache and ubuntu with lighttpd
[12:31:28.841365]<CareBear\>is it a known bug that 0.11.6 claims description has been updated whenever changes are made to a ticket whose description contains [] ?
[12:33:10.340229]<rbrunhuber>I'm running a few trac instances at my company which are based on ubuntu and apache. It's just the question if anybody out there is developing on ubuntu.
[12:33:34.283553]<jhammel>rbrunhuber: i think several people are
[12:34:14.880993]<jhammel>rbrunhuber: i'd recommend not using the system package, but that's because i like to have control wrt to environment setup
[12:35:22.820804]<rbrunhuber>jhammel : What system package do you mean? The trac package from the repository?
[12:35:40.100883]<jhammel>rbrunhuber: no, the one that is installable via ubuntu
[12:37:10.339181]<rbrunhuber>jhammel : my bad, sorry. We both mean the same package. It's quite confusing because both the svn repo of trac and the deb repo of ubuntu are commonly referred to as repositories.
[12:38:02.431395]<jhammel>rbrunhuber: yeah; it does work out of the box, last i checked, if you aren't looking to deploy it in a specific way; but i always use the edgewall.org repository
[12:38:57.589191]<cmc>assuming you won't be hacking core or multiple versions of Trac, it works fine
[12:39:05.679486]<cmc>or keeping multiple*
[12:39:18.442460]<jhammel>cmc: or don't want it in a virtualenv, etc, yeah
[12:39:35.493129]<jhammel>if you just want it up + running it works fine
[12:39:43.676201]<cmc>good point about virtual envs
[12:39:48.103877]<CareBear\>where do I look for description change detection?
[12:39:59.894439]<rbrunhuber>My plan was to have a development environment with a trac trunk in my home directory (something like ~/trac/) opposed to the ubuntu track which hides deep down in /usr/...
[12:41:24.885867]<cmc>CareBear: search through trac/ticket/model for instances of "_old"
[12:42:03.823519]<jhammel>rbrunhuber: yeah, if you care about that i wouldn't install the ubuntu trac
[12:42:18.353837]<CareBear\>cmc : thanks!
[12:43:23.459899]<rbrunhuber>jhammel : I don't need the ubuntu trac on this machine. they are running on a dedicated machine and are productive. So don't touch.
[12:45:42.218604]<rbrunhuber>What is this "virtualenv" package good for wrt developing trac? (see http://trac.edgewall.org/wiki/TracDev/DevelopmentEnvironmentSetup)
[12:46:28.198060]<jhammel>rbrunhuber: virtualenv is a virtual python environment; so you can install python packages into it without having them touch system python
[12:49:44.347625]<rbrunhuber>Sounds like a good thing. Have to see if i can use it to create an environment in /home/
[13:27:42.097514]<CareBear\>cmc : any idea about the problem? in model.py I find mostly generic stuff. I guess the problem is related to WikiFormatting
[13:29:26.867157]<cmc>I thought there was something in there which checked whether the _old value was equal to the new, inserting into ticket_change if so
[13:29:58.746712]<cmc>I'd check for the field in question how the _old value was different than the new
[13:30:55.422484]<rbrunhuber>cmc jhammel: thank you for your help my trac develop environment is up and running.
[13:31:03.006729]<cmc>congrats
[13:31:48.332815]<rbrunhuber>And I think I have already something to contribute ;-).
[13:31:50.395669]<CareBear\>there's Ticket.save_changes, which does the update-song-and-dance for each field in _old
[13:32:09.876412]<CareBear\>cmc : so the question becomes where/how _old['description'] is set
[13:32:52.769461]<CareBear\>grep -r _old.*description .. returns nothing
[13:33:05.626659]<cmc>'description' is just one field name
[13:33:16.941033]<cmc>it probably wouldn't be explicitly used in the code
[13:33:26.702397]<CareBear\>yeah, but I guess it's the only one supporting WikiFormatting, so I would expect it to be special cased
[13:33:48.249175]<cmc>I thought custom fields could support wikiformatting
[13:34:02.116061]<CareBear\>aha, ok
[13:34:59.573717]<CareBear\> self._populate(req, ticket) # Apply changes made by the user
[13:35:02.787602]<CareBear\>let's see
[13:35:08.541189]<cmc>CareBear: try trac/ticket/web_ui.py: _aplly_ticket_changes()
[13:35:12.702232]<cmc>apply*
[13:35:23.341160]<rbrunhuber>cmc : Have you write access to this wiki page? http://trac.edgewall.org/wiki/TracDev/DevelopmentEnvironmentSetup
[13:35:36.838173]<cmc>I do not
[13:35:38.459052]<CareBear\>cmc : maybe even get_ticket_changes
[13:36:09.152229]<cmc>rbrunhuber: can you not edit it?
[13:36:48.819285]<rbrunhuber>cmc No I do not have a login.
[13:36:57.910527]<cmc>Click the edit button at the bottom
[13:37:18.640777]<rbrunhuber>cmc : It's on the bottom you are write takes some getting used to.
[13:38:50.974351]<rbrunhuber>cmc: /write/right/
[13:43:26.390089]<CareBear\>cmc : lots is really generic also in web_ui.py
[13:46:12.508953]<cmc>right, you'll probably want to cause an error when updating 'description'. If you do that and your user has TRAC_ADMIN, you'll get a backtrace and current variables
[13:46:27.600310]<cmc>not the easiest to debug, but no web app is :)
[13:48:03.810187]<jhammel>...unless you put pdb middleware in .oO(muahaha)
[13:49:42.846952]*cmc is not familiar with pdb, so you should not listen to him
[13:49:44.302297]<CareBear\>oh I intensely hate the web for apps and anything else, but it is what everyf-ingone uses..
[13:51:59.072170]<CareBear\>_validate_ticket is too late
[13:52:25.930854]<CareBear\>there it checks if _old['description'] is set
[13:52:43.978858]<CareBear\>_apply_ticket_changes just copies stuff
[13:53:56.862948]<CareBear\>get_ticket_changes is the sweet spot:
[13:54:08.072215]<CareBear\> # Detect non-changes
[13:55:34.291431]<rbrunhuber>cmc : Just updated the wiki. I don't know if this is ubuntu specific but virtualenv there copies a old version of setup tools in the environment so you have to upgrade the setuptools before you can setup genshi and trac.
[13:58:45.585881]<CareBear\>okey.. getting closer to the problem
[14:14:32.564148]<CareBear\>aha!
[14:14:51.301896]<CareBear\>old: 74 68 65 20 6c 69 6e 65 73 20 6f 66 20 0a 0a 73 the.lines.of...s
[14:14:58.195152]<CareBear\>new: 74 68 65 20 6c 69 6e 65 73 20 6f 66 20 0d 0a 0d the.lines.of....
[14:17:27.942888]<CareBear\>so what to do about this?
[14:17:30.263629]<CareBear\>CRLF vs LF
[14:18:15.540341]<cmc>mass-update the db to use lf
[14:18:23.320722]<CareBear\>look again
[14:18:28.629176]<CareBear\>web input is crlf
[14:18:41.690604]<cmc>then the other way around ;)
[14:18:45.789982]<CareBear\>really?
[14:19:13.951302]<cmc>well, where did the tickets come from?
[14:19:19.609850]<CareBear\>yeah, imported
[14:19:23.098554]<CareBear\>but still..
[14:19:38.013726]<gozerbot>trac: TracDev/DevelopmentEnvironmentSetup edited - <http://trac.edgewall.org/wiki/TracDev/DevelopmentEnvironmentSetup?version=23> || TracDev/DevelopmentEnvironmentSetup edited - <http://trac.edgewall.org/wiki/TracDev/DevelopmentEnvironmentSetup?version=22>
[14:20:27.648302]<cmc>I think that'd be the simplest solution
[14:20:33.945114]<CareBear\>agree
[14:21:06.962842]<CareBear\>I'm surprised that CRLF gets stored though
[14:22:04.401475]<CareBear\>http://trac.edgewall.org/ticket/2709
[14:22:32.907342]<CareBear\>I guess CRLF is what it should be
[14:22:46.911813]<cmc>definitely needs to store the line breaks somehow
[14:23:02.914613]<CareBear\>absolutely, but was expecting only LF
[14:23:19.170748]<CareBear\>but okey - crlf is the "web native" line ending
[14:25:30.008313]<CareBear\>so yucky
[14:25:37.980313]<CareBear\>well ok. thanks for the help!
[14:25:56.329970]<CareBear\>and thanks for your efforts with trac! :)
[14:26:00.697600]<CareBear\>later
[14:39:53.113603]<brightsites>Hi, Im running centos on VPS, have easy_installed trac and set up environment, and also deployed to a folder in my apache www folder. All I see when I go to the address is the folders for cgi-bin and htdocs. What do I need to do to get trac working?
[14:42:15.135121]<brightsites>I've also checked mod_python is loaded in my conf file
[14:49:39.342311]<gozerbot>trac: Ticket #9059 (Error in trac-admin env upgrade - AttributeError: 'Environment' object has ...) closed - <http://trac.edgewall.org/ticket/9059#comment:4> || Changeset [9194]: db: Mostly cosmetic fixes related to #8751, and fixed #9059 as suggested ... - <http://trac.edgewall.org/changeset/9194>
[15:19:40.041321]<gozerbot>trac: Changeset [9196]: db: Added a missing space in an SQL statement. Related to #8751. - <http://trac.edgewall.org/changeset/9196> || Changeset [9195]: TracBrowser: improve keyboard navigation - uses 'L' for log shortcut (so ... - <http://trac.edgewall.org/changeset/9195>
[15:49:39.624857]<gozerbot>trac: Changeset [9198]: versioncontrol: Cosmetic (indentation) fixes. - <http://trac.edgewall.org/changeset/9198> || Changeset [9197]: versioncontrol: Follow-up to [9189], made `preset_cache()` slightly more ... - <http://trac.edgewall.org/changeset/9197>
[16:19:40.206810]<gozerbot>trac: Ticket #9061 (New Help System) closed - <http://trac.edgewall.org/ticket/9061#comment:2>
[17:44:27.683095]<Xeon06>Hey all, I have a quick question about the wiki macro [[TitleIndex]]
[17:44:44.857777]<Xeon06>on the documentation it says that there is an optional prefix that will only list pages with this prefix
[17:44:48.863063]<Xeon06>Where do I put that prefix?
[17:55:10.975617]<retracile>Xeon06: without having read the docs, should be something like [[TitleIndex(blah)]]
[17:55:55.685247]<Xeon06>retracile: Sure enough, thanks!
[17:56:12.610528]<retracile>np
[22:34:52.759463]<ghosTM55>hi all , i got the error message "GitError: GIT control files not found, maybe wrong directory?" after I finished configuring my trac-git , any help ?