| ../irclogs/#mantishelp.2009-05-18.log | ||
| --- scribe started --- | 00:00 | |
| dhx_m | hey | 03:32 |
|---|---|---|
| dhx_m | lol @ wiki_enabled() function | 03:33 |
| dhx_m | is anyone using git trunk able to try disabling a user account via manage_user_update.php? | 04:18 |
| dhx_m | I receive: | 04:18 |
| dhx_m | APPLICATION ERROR #401 | 04:18 |
| dhx_m | Database query failed. Error received from database was #1054: Unknown column 'duplicate_realname' in 'field list' for the query: UPDATE mantis_user_table | 04:18 |
| dhx_m | SET duplicate_realname=? | 04:18 |
| dhx_m | WHERE id=?. | 04:18 |
| dhx_m | btw this isn't the latest git trunk... but one from a few weeks ago... I don't think anything has changed since to fix it | 04:19 |
| [KK]Kirill | dhx_m: morning | 04:24 |
| dhx_m | hey | 04:25 |
| [KK]Kirill | Where are you get 401 error? | 04:25 |
| dhx_m | when logged in as an administrator | 04:25 |
| dhx_m | updating a user account | 04:26 |
| [KK]Kirill | administrator? | 04:26 |
| dhx_m | (ie. clicking the "enabled" checkbox) | 04:26 |
| [KK]Kirill | *rofl* | 04:26 |
| dhx_m | Manage => Manage Users | 04:26 |
| [KK]Kirill | which user change enable? | 04:26 |
| dhx_m | pick any at random | 04:26 |
| dhx_m | (well... in your test installation :p) | 04:27 |
| [KK]Kirill | no.. I haven't this error | 04:27 |
| dhx_m | I find that you don't even need to change anything | 04:27 |
| dhx_m | hmm | 04:27 |
| dhx_m | are you using a late version of mantis? | 04:27 |
| [KK]Kirill | yes | 04:27 |
| dhx_m | ok I'll investigate :) | 04:27 |
| [KK]Kirill | but 2 weeks ago I have last git too | 04:27 |
| dhx_m | thanks | 04:27 |
| [KK]Kirill | but nothing | 04:27 |
| [KK]Kirill | check your test installation, or create new and try | 04:28 |
| dhx_m | yeah I was experiencing this problem with a heavily customised live installation | 04:30 |
| dhx_m | well actually... it is available at http://git.mantisforge.org/w/mantisbt/dhx.git?a=shortlog;h=refs/heads/fyp | 04:30 |
| dhx_m | git trunk from about a month ago plus some branches I've been working on merged in too | 04:31 |
| dhx_m | hmmm a grand total of 3 matches for duplicate_realname in latest master | 04:35 |
| dhx_m | also the same 3 matches in my 'fyp' branch from a month ago | 04:37 |
| dhx_m | hmm | 04:37 |
| dhx_m | duplicate_realname is not even a column in the schema! | 04:44 |
| dhx_m | I'm confused now | 04:44 |
| dhx_m | looks like voodoo magic territory to me... there is: | 04:49 |
| dhx_m | /** | 04:49 |
| dhx_m | * leave off for now | 04:49 |
| dhx_m | * @global int $g_differentiate_duplicates | 04:49 |
| dhx_m | */ | 04:49 |
| dhx_m | $g_differentiate_duplicates = OFF; | 04:49 |
| dhx_m | that sort of configuration setting is a big red warning sign that you're entering "magic code" functions :p | 04:50 |
| [KK]Kirill | ok.. I go work. At work I look it | 05:05 |
| dhx_m | no real problem... just thought it was a very odd error message to see when the db schema doesn't have the column... | 05:07 |
| dhx_m | :) | 05:07 |
| dhx_m | cya | 05:07 |
| [KK]Kirill | dhx_m: I try get your copy of mantisbt-source from git | 05:41 |
| dhx_m | yep let me try a vanilla copy of git master | 05:43 |
| dhx_m | (without my config) | 05:43 |
| [KK]Kirill | dhx_m: what branch use? master? | 05:49 |
| dhx_m | ep | 05:49 |
| dhx_m | yeah | 05:50 |
| dhx_m | I suspect it might only occur under certain config...? | 05:50 |
| dhx_m | not too sure though | 05:50 |
| [KK]Kirill | post your config without db and email settings to http://pastebin.mantisbt.org | 05:51 |
| [KK]Kirill | sorry, http://pastebin.mozilla.org/ | 05:52 |
| [KK]Kirill | for default config I haven't error | 05:57 |
| dhx_m | ok 1sec I'll see what I can do | 05:58 |
| dhx_m | hmm can't reproduce again on another install I have | 06:00 |
| dhx_m | function user_get_name( $p_user_id ) { | 06:09 |
| dhx_m | $row = user_cache_row( $p_user_id, false ); | 06:09 |
| dhx_m | if( false == $row ) { | 06:09 |
| dhx_m | return lang_get( 'prefix_for_deleted_users' ) . (int) $p_user_id; | 06:09 |
| dhx_m | } else { | 06:09 |
| dhx_m | if( ON == config_get( 'show_realname' ) ) { | 06:09 |
| dhx_m | if( is_blank( $row['realname'] ) ) { | 06:09 |
| dhx_m | return $row['username']; | 06:09 |
| dhx_m | } else { | 06:09 |
| dhx_m | if( isset( $row['duplicate_realname'] ) && ( ON == $row['duplicate_realname'] ) ) { | 06:09 |
| dhx_m | there is reference to what appears to be a 'duplicate_realname' column... although maybe this is just updated in cache | 06:10 |
| dhx_m | rather than being stored in the db? | 06:10 |
| [KK]Kirill | may be | 06:12 |
| dhx_m | user_is_realname_unique() seems to run a query to check if a real name is unique | 06:13 |
| dhx_m | if not, it'll user_set_field(userid, 'duplicate_realname', ON) | 06:13 |
| [KK]Kirill | may be you use old db scheme but source new? | 06:21 |
| dhx_m | yeah but the new source doesn't have any mention of the duplicate_realname column | 06:22 |
| dhx_m | which leads me to be believe this is a 'fake' column used internally within mantis | 06:22 |
| dhx_m | and somewhere... Mantis is going through the internal user array and trying to find those same columns in the db table | 06:23 |
| dhx_m | aha | 06:24 |
| dhx_m | if I comment out the lines: | 06:24 |
| dhx_m | # user_ensure_realname_valid( $f_realname ); | 06:24 |
| dhx_m | # user_ensure_realname_unique( $f_username, $f_realname ); | 06:24 |
| dhx_m | from within manage_user_update.php - the problem is fixed | 06:24 |
| dhx_m | more specifically the user_ensure_realname_unique call is failing | 06:25 |
| dhx_m | even though all my users have unique usernames and real names | 06:26 |
| giallu | hi all | 06:26 |
| dhx_m | aha | 06:26 |
| dhx_m | found the bug! | 06:26 |
| [KK]Kirill | giallu: Hi | 06:27 |
| dhx_m | [KK]Kirill: set a user's real name to two words, with a space in the middle | 06:27 |
| dhx_m | then go back and try to update it (maintaining the use of two words) | 06:27 |
| dhx_m | it will fail with that weird SQL error | 06:27 |
| dhx_m | why the error is an SQL message is beyond me... when no SQL is involved at all... | 06:27 |
| dhx_m | giallu: hi | 06:27 |
| dhx_m | I can reproduce on paul's date3 branch as well | 06:28 |
| [KK]Kirill | dhx_m: I can't reproduce this. can you post your config? | 06:29 |
| dhx_m | have you tried changing the real name of a user to "A B" | 06:30 |
| dhx_m | then going back and updating that real name to be "C D"? | 06:30 |
| dhx_m | (using the administration Manage => Manage Users screen) | 06:30 |
| [KK]Kirill | sorry, nothing | 06:31 |
| [KK]Kirill | may be wink? | 06:32 |
| dhx_m | are you using mysql? | 06:32 |
| [KK]Kirill | http://www.debugmode.com/wink/ | 06:32 |
| [KK]Kirill | yes | 06:32 |
| dhx_m | yeah I'm checking code now | 06:32 |
| dhx_m | to work out which line of code is the problem | 06:32 |
| dhx_m | oh | 06:36 |
| dhx_m | the problem is user_set_field | 06:38 |
| dhx_m | that is where the error is generated... as it tries to update the duplicate_realname column | 06:38 |
| dhx_m | that doesn't exist in the schema | 06:38 |
| [KK]Kirill | dhx_m: What's lines? | 06:38 |
| dhx_m | user_api.php:1209 for user_set_field | 06:39 |
| dhx_m | user_api.php:248 for user_set_field( $t_user_id, 'duplicate_realname', ON ); | 06:39 |
| dhx_m | user_api.php:592 for user_set_field( $t_user_id, 'duplicate_realname', OFF ); | 06:39 |
| dhx_m | also | 06:41 |
| dhx_m | quotation marks need to be put around the realname equality expression at user_api.php:583 | 06:42 |
| dhx_m | I'd be interested in seeing what the query actually is... | 06:43 |
| dhx_m | because for me, it shouldn't be returning more than 1 hit... yet it does | 06:43 |
| [KK]Kirill | yeap | 06:44 |
| [KK]Kirill | I reproduce this bug | 06:44 |
| dhx_m | :) | 06:44 |
| dhx_m | i'll jam this into a ticket on the tracker | 06:44 |
| dhx_m | did you have to force duplicate usernames though? | 06:47 |
| [KK]Kirill | In my work I haven't check duplicate | 06:49 |
| dhx_m | neither have I | 06:50 |
| dhx_m | this is actually 2 bugs | 06:50 |
| dhx_m | 1) referencing an invalid column | 06:50 |
| dhx_m | 2) not placing quotation marks around the realname string in a database query | 06:50 |
| mantisbot | New bug: Bug 10493 - dhx - open - new | 06:55 |
| mantisbot | New bug: Non-existent duplicate_realname column is updated by various functions in user_api.php - http://www.mantisbt.org/bugs/view.php?id=10493 | 06:55 |
| [KK]Kirill | I check original ado-db files in cvs, they haven't this line | 06:55 |
| [KK]Kirill | It's "mantisbt group"'s changes | 06:56 |
| dhx_m | well nothing is wrong with adodb it seems | 06:56 |
| dhx_m | at least for bug 10493 | 06:56 |
| mantisbot | Bug 10493 - dhx - open - new | 06:56 |
| mantisbot | Non-existent duplicate_realname column is updated by various functions in user_api.php - http://www.mantisbt.org/bugs/view.php?id=10493 | 06:56 |
| dhx_m | that is a problem with Mantis referencing a column that isn't within the schema | 06:56 |
| dhx_m | *however* there is another issue | 06:56 |
| dhx_m | where you can't update a real name from "A B" to "C D" without receiving the error mentioned above | 06:57 |
| dhx_m | wait | 06:57 |
| dhx_m | that works sometimes heh | 06:57 |
| dhx_m | oh I see | 06:58 |
| dhx_m | has nothing to do with spaces it seems | 06:58 |
| [KK]Kirill | http://www.mantisbt.org/bugs/view.php?id=10493#c21827 | 06:58 |
| dhx_m | I have differentiate_duplicates set to OFF | 07:00 |
| dhx_m | (or more precisely, I haven't defined it) | 07:00 |
| [KK]Kirill | Strange | 07:00 |
| [KK]Kirill | I haven't this error in switch OFF | 07:01 |
| dhx_m | but even if I did have it on... we'd still need that column added | 07:01 |
| [KK]Kirill | ok | 07:01 |
| dhx_m | ok I'll force it off to see what happens | 07:01 |
| dhx_m | even with it forced off I get the error | 07:03 |
| dhx_m | it seems that option doesn't do anything for me? | 07:03 |
| dhx_m | this part of the code makes no sense to me | 07:04 |
| dhx_m | the function is called user_is_realname_unique which implies it is read only | 07:05 |
| dhx_m | yet it updates the database on each call | 07:05 |
| [KK]Kirill | In OFF I haven't error | 07:05 |
| dhx_m | you're right now I look at it | 07:07 |
| dhx_m | except that it only worked when I placed that config option at the bottom of my config file | 07:08 |
| dhx_m | and not the top | 07:08 |
| dhx_m | so the placement mattered...? | 07:08 |
| dhx_m | ah CRAP | 07:08 |
| dhx_m | I must have had it set to ON by mistake :( | 07:08 |
| dhx_m | my bad | 07:08 |
| dhx_m | I can't believe I wasted that much time on finding the source of this bug... only to realise this is a broken/incomplete feature I had accidentally turned on :( | 07:14 |
| dhx_m | [KK]Kirill: thanks for your help :) | 07:20 |
| dhx_m | Australia | 07:23 |
| [KK]Kirill | dhx_m: Where are you from? | 07:23 |
| [KK]Kirill | Oh :( | 07:23 |
| [KK]Kirill | You default lang english? | 07:24 |
| dhx_m | yes :) | 07:24 |
| [KK]Kirill | :(. I have troubles with national characters in attachment | 07:25 |
| dhx_m | yeah PHP + UTF8 don't go well | 07:30 |
| paulr_ | . | 07:43 |
| [KK]Kirill | paulr_: lo | 07:43 |
| paulr_ | lo | 07:43 |
| [KK]Kirill | paulr: Did you have little time? | 07:43 |
| paulr_ | when? | 07:44 |
| [KK]Kirill | paulr: bug 10494 | 07:44 |
| mantisbot | Bug 10494 - Kirill - open - new | 07:44 |
| mantisbot | National characters in filename of attaches - http://www.mantisbt.org/bugs/view.php?id=10494 | 07:44 |
| mantisbot | New bug: Bug 10494 - Kirill - open - new | 07:45 |
| mantisbot | New bug: National characters in filename of attaches - http://www.mantisbt.org/bugs/view.php?id=10494 | 07:45 |
| [KK]Kirill | please delete screen4.png | 07:45 |
| paulr_ | 452 if ( config_get_global( 'differentiate_duplicates' ) ) { 453 $upgrades[] = new SQLUpgrade( | 07:46 |
| paulr_ | WOW | 07:46 |
| paulr_ | kirill: 4 deleted | 07:47 |
| [KK]Kirill | paulr_: thanks | 07:48 |
| [KK]Kirill | I forgot delete host-address | 07:48 |
| dhx_m | back | 07:56 |
| dhx_m | was admin/upgrades/0.18.inc.php removed in the latest git master? | 07:56 |
| dhx_m | I don't see it :) | 07:56 |
| paulr_ | yep | 07:56 |
| paulr_ | removed 6 months or so ago | 07:57 |
| dhx_m | ah ok... so the bug is really: | 07:57 |
| dhx_m | actually | 07:57 |
| dhx_m | was the aim to remove the duplicate feature | 07:57 |
| dhx_m | or leave it in place? | 07:57 |
| paulr_ | I think glenn likes it | 07:57 |
| paulr_ | so probably best asking him | 07:57 |
| dhx_m | ok | 07:57 |
| paulr_ | my personal view is | 07:58 |
| paulr_ | I have a name | 07:58 |
| dhx_m | it's a very ugly hack from the code I've seen | 07:58 |
| paulr_ | John Smith | 07:58 |
| paulr_ | if I can't use my name because someone else in the world is John Smith | 07:58 |
| paulr_ | then what do I do | 07:58 |
| paulr_ | Call myself Fred? | 07:58 |
| dhx_m | lol | 07:58 |
| paulr_ | in a sense, I added the 'user view page thing | 07:59 |
| paulr_ | so that you can distinguish between Fred1 and Fred2 | 07:59 |
| paulr_ | (Even if it's just by user id) | 07:59 |
| dhx_m | yep | 08:00 |
| paulr_ | you saw my warning that trunks probably broken in some way atm? | 08:02 |
| paulr_ | in fact, could you confirm something | 08:02 |
| paulr_ | strtotime() returns localised times | 08:02 |
| paulr_ | time() returns UTC/GMT | 08:03 |
| paulr_ | aka strtotime(date()) != time() | 08:03 |
| paulr_ | by a difference of timezone offset | 08:03 |
| paulr_ | in seconds | 08:03 |
| dhx_m | back | 08:14 |
| dhx_m | yeah I wasn't sure how many of my suggestions you added to dates3 before merging | 08:15 |
| dhx_m | so I figured a few things are still todo to iron out bugs | 08:15 |
| giallu | paulr, remind me how to activate the SOAP tests? | 08:17 |
| * giallu pushing | 08:25 | |
| CIA-31 | Mantisbt: giallu * r7066e6b44774 / (26 files in 2 dirs): Move nusoap to library/ | 08:27 |
| CIA-31 | Mantisbt: giallu * rd3290c627293 /api/soap/mantisconnect.php: Fix nusoap inclusion method | 08:27 |
| CIA-31 | Mantisbt: giallu * r10ffb96b7eb5 /tests/TestConfig.php: Fix warning | 08:27 |
| giallu | uhm. what's up with the commit mailing list? | 08:28 |
| paulr_ | dhx_m: i tried to fix the main ones | 09:03 |
| paulr_ | giallu: dunno :) | 09:03 |
| dhx_m | ok :) | 09:03 |
| paulr_ | giallu: I must say i'm surprised at you though | 09:03 |
| paulr_ | :) | 09:03 |
| paulr_ | in terms of config | 09:04 |
| paulr_ | giallu: you create a .xml file | 09:04 |
| paulr_ | http://www.phpunit.de/browser/phpunit/trunk/PHPUnit/Tests/phpunit.xml.dist | 09:04 |
| paulr_ | so I think I just did | 09:05 |
| paulr_ | </xml.. | 09:05 |
| paulr_ | <phpunit> | 09:05 |
| paulr_ | <php> | 09:05 |
| paulr_ | <var name="SOAP" value="foo" /. | 09:05 |
| paulr_ | </php></phpunit> | 09:05 |
| paulr_ | atm, i've added 'enabled' but we probably should add HOST+PORT too | 09:06 |
| giallu | uhm | 09:13 |
| giallu | $t_page = $t_plugin_path.$t_basename.DIRECTORY_SEPARATOR. | 09:13 |
| giallu | 'pages/.$t_action.'.php'; | 09:13 |
| giallu | missing a ' somewhere? | 09:13 |
| paulr_ | that's not me? | 09:13 |
| giallu | no | 09:13 |
| paulr_ | but yea looks it | 09:13 |
| giallu | just spotted | 09:13 |
| paulr_ | it should be 'pages' . DIRECTORY_SEPARATOR | 09:13 |
| giallu | no, read the ML... | 09:14 |
| paulr_ | well, some people are still advocating it's use | 09:42 |
| paulr_ | and finding in some circumstances it's required | 09:42 |
| paulr_ | I suspect your probably right that's it's required less now | 09:42 |
| paulr_ | at the same time, we currently consistantly use DIRECTORY_SEPARATOR over / | 09:43 |
| paulr_ | and for the most part, whether we do | 09:44 |
| paulr_ | $path . '/' . $bar | 09:44 |
| paulr_ | or | 09:44 |
| paulr_ | $path . DIRECTORY_SEPERATOR . $bar | 09:44 |
| paulr_ | ends up with the same result | 09:45 |
| paulr_ | at least by using DIRECTORY_SEPERATOR we don't end up with people going | 09:45 |
| paulr_ | I've put "c:\inetpub\wwwroot" in config, then we append / so we have c:\inetpub\wwwroot/index.php | 09:46 |
| paulr_ | and then try to explode on / to find the parts of the path and end up with something that does't work | 09:46 |
| [KK]Kirill | paulr: Can you write one test? | 11:00 |
| [KK]Kirill | I move mantisbt from win to linux | 11:00 |
| [KK]Kirill | I have bad attach filename and I don't move it on linux | 11:01 |
| [KK]Kirill | How I can see all issue with missed attaches? | 11:01 |
| paulr_ | [KK]Kirill: hmm ? | 11:31 |
| paulr_ | hm | 11:31 |
| [KK]Kirill | :) | 11:31 |
| [KK]Kirill | paulr_: forget.. I know, how I can fix. Use phpmysqmin and check filename with national character in diskfile field | 11:33 |
| mantisbot | New bug: Bug 10495 - tkaufmann - open - new | 13:26 |
| mantisbot | New bug: Attachements saved on DISK are not shown - http://www.mantisbt.org/bugs/view.php?id=10495 | 13:26 |
| [KK]Kirill | who know linux? | 15:25 |
| [KK]Kirill | paul john, you around? | 15:26 |
| [KK]Kirill | oh.. ok.. I go home | 15:28 |
| nuclear_eclipse | howdy | 15:36 |
| nuclear_eclipse | here now [KK]Kirill | 15:37 |
| dhx_m | hey | 15:37 |
| [KK]Kirill | Hi | 15:37 |
| nuclear_eclipse | <- knows Linux | 15:37 |
| dhx_m | <-- eats Linux | 15:37 |
| [KK]Kirill | I go home.. Can I ask you after 1 hour | 15:37 |
| nuclear_eclipse | :P | 15:37 |
| nuclear_eclipse | sure thing | 15:37 |
| phl4kx | hi all :) | 16:26 |
| paulr_ | . | 16:32 |
| paulr_ | nuclear_eclipse: so how much did we break trunk? :) | 16:32 |
| nuclear_eclipse | paulr_: I'm too afraid to find out... | 16:48 |
| paulr_ | cool | 16:49 |
| nuclear_eclipse | paulr_: just tried to update my test install with the new code, and hit 401 error | 16:55 |
| nuclear_eclipse | APPLICATION ERROR #401 | 16:55 |
| nuclear_eclipse | Database query failed. Error received from database was #1054: Unknown column 'date_submitted_int' in 'field list' for the query: UPDATE mantis_bug_table SET date_submitted_int=?,due_date_int=?,last_updated_int=? | 16:55 |
| nuclear_eclipse | WHERE id=?. | 16:55 |
| paulr_ | erm | 16:55 |
| paulr_ | wtf? | 16:55 |
| paulr_ | do you have the wrong schema version in your db? | 16:56 |
| nuclear_eclipse | not afaik.... | 16:56 |
| paulr_ | 438 #date conversion 439 440 $upgrade[] = Array( 'AddColumnSQL', Array( db_get_table( 'mantis_bug_table' ), " 441 date_submitted_int I UNSIGNED NOTNULL DEFAULT '1' " ) ); | 16:57 |
| paulr_ | well | 16:57 |
| paulr_ | adding date_submitted_int is the first revision after adding the indexes to mantis_Bug_Revision_Table | 16:57 |
| paulr_ | so? :) | 16:57 |
| nuclear_eclipse | so what should the proper schema vversion be? | 16:58 |
| nuclear_eclipse | mine is currently 89 | 16:58 |
| * paulr_ shrugs :) | 17:00 | |
| paulr_ | do a clean install to an empty db to check | 17:00 |
| nuclear_eclipse | paulr_: I do know that the upgrade process went perfectly fine on my test install at home; my test install at work is just probably borked somehow from how long I've had it in place... | 17:06 |
| paulr_ | brb | 17:08 |
| paulr_ | dirvingh10min | 17:08 |
| paulr | right back | 17:39 |
| paulr | nuclear_eclipse: lo | 17:58 |
| nuclear_eclipse | hi paulr | 18:00 |
| paulr | nuclear_eclipse: I think 86? | 18:00 |
| nuclear_eclipse | k | 18:00 |
| paulr | do we number from 0 or 1? | 18:00 |
| nuclear_eclipse | maybe it's from back when I was bugging around with revisions | 18:00 |
| paulr | I think i've broken my local git repo a bit | 18:00 |
| Erocksteady | Hi. How can I go about changing which directory attachments are saved to? | 18:06 |
| nuclear_eclipse | Erocksteady: manage project | 18:13 |
| paulr | nuclear_eclipse: how do i vew the history? | 18:15 |
| nuclear_eclipse | which history? | 18:15 |
| paulr | for the moved libraries | 18:15 |
| nuclear_eclipse | git log should do it | 18:16 |
| paulr | nope | 18:16 |
| nuclear_eclipse | let me check it out | 18:17 |
| paulr | basically | 18:17 |
| paulr | what i normally do is use gitweb | 18:17 |
| paulr | to port patches when updating libraries | 18:17 |
| nuclear_eclipse | btw, I got things to work in my db upgrade now | 18:17 |
| paulr | and to check we dont modify library | 18:18 |
| Erocksteady | I have to change every project's upload directory seperately? Is there not a way to change the default? (i'm trying to fix the remote application vulnerability) | 18:19 |
| nuclear_eclipse | paulr: add --follow to `git log` to make it follow file renames | 18:20 |
| nuclear_eclipse | Erocksteady: set $g_absolute_path_default_upload_folder in your config_inc | 18:20 |
| Erocksteady | k | 18:20 |
| nuclear_eclipse | Erocksteady: if you're moving where attachments are stored, I believe you'll need to manually update your database to modify existing attachment entries to point to the new paths | 18:21 |
| paulr | nuclear_eclipse: doesn't work | 18:22 |
| paulr | Paul@PAUL-VISTA /c/mantis/git/mantisbt/library/nusoap (master) | 18:22 |
| paulr | $ git log --follow . | 18:22 |
| paulr | commit 7066e6b4477477beaec3c2f3229330703571635e | 18:22 |
| paulr | Author: Gianluca Sforna <giallu@gmail.com> | 18:22 |
| paulr | Date: Sun May 17 17:42:18 2009 +0200 | 18:22 |
| paulr | Move nusoap to library/ | 18:22 |
| paulr | --- | 18:22 |
| nuclear_eclipse | git log --follow only works on files, for reasons I stated yesterday -- eg `git log <directory>` just gives you a history of the contents of that directory | 18:23 |
| paulr | how can one see the directory | 18:23 |
| paulr | i'm not going to do git log --follow on every file in adodb one at a time | 18:23 |
| nuclear_eclipse | try -M and -C as well | 18:23 |
| paulr | nope doesn't do dirs | 18:23 |
| nuclear_eclipse | then I'm not sure | 18:24 |
| paulr | can we tag a branch | 18:24 |
| paulr | before the renames | 18:24 |
| paulr | so we can see history easily? | 18:24 |
| nuclear_eclipse | sure, `git tag <name> <ref>` | 18:25 |
| paulr | what do we want to label them? | 18:25 |
| nuclear_eclipse | I dunno | 18:25 |
| nuclear_eclipse | honestly, I'm not sure what you're even trying to accomplish... | 18:26 |
| paulr | I want to be able to see the history of our commits against adodb | 18:26 |
| paulr | If i got to http://git.mantisbt.org/?p=mantisbt.git;a=history;f=core/adodb;hb=cd27a2d26c9b57c403c03ffd5a8d5b3f73594cbc | 18:27 |
| paulr | I see history for adodb | 18:27 |
| paulr | so we need to tag/branch at cd27a2d26c9b57c403c03ffd5a8d5b3f73594cbc | 18:28 |
| nuclear_eclipse | I think the problem here is just that Git only tracks implicit renames, so it makes some things computationly complex to handle across renames, hence the trouble you're having | 18:28 |
| nuclear_eclipse | so assuming you don't rename files a lot (99% of projects probably don't), it's generally not a problem | 18:29 |
| nuclear_eclipse | honestly, if your project *is* renaming files a lot, you're probably driving both developers and users insane... | 18:30 |
| paulr | so like | 18:31 |
| paulr | shall I just tag cd27a2d26c9b57c403c03ffd5a8d5b3f73594cbc as pre-library-renames | 18:31 |
| paulr | ? | 18:32 |
| paulr | git tag pre-library-renames cd27a2d26c9b57c403c03ffd5a8d5b3f73594cbc | 18:32 |
| nuclear_eclipse | use a name with the current version in it, so that we get some context, eg library-renames-1.2.x | 18:32 |
| nuclear_eclipse | or renamed-libraries-1.2.x | 18:33 |
| paulr | hmm does that tag not push? | 18:34 |
| nuclear_eclipse | you need to specifically `git push origin <tagname>` or `git push --tags` | 18:34 |
| paulr | cool | 18:35 |
| paulr | dinner | 18:35 |
| paulr | brb | 18:35 |
| paulr | bk | 18:50 |
| paulr | nuclear_eclipse: can you confirm that strtotime(date()) != time() ? | 18:51 |
| nuclear_eclipse | A[A[A[Ajreese@iowa[~] php < 14:52 | 18:52 |
| nuclear_eclipse | <?php var_dump( strtotime(date()) != time() ); | 18:52 |
| nuclear_eclipse | Warning: date() expects at least 1 parameter, 0 given in /home/jreese/- on line 1 | 18:52 |
| nuclear_eclipse | bool(true) | 18:52 |
| paulr | that's not quite what i meant is it :P | 18:53 |
| paulr | erm | 18:55 |
| paulr | is wiki api deprecated now? | 18:55 |
| nuclear_eclipse | no, not completely | 18:56 |
| paulr | we can cache objects right? | 19:01 |
| * paulr thinking of caching userpref object not db result | 19:01 | |
| nuclear_eclipse | we can technically cache anything we want; objects just take more memory than arrays | 19:02 |
| paulr | yea fine! | 19:05 |
| paulr | nuclear_eclipse: can you review the url tests | 19:06 |
| paulr | fix the failing ones? | 19:06 |
| nuclear_eclipse | perhaps | 19:06 |
| CIA-31 | Mantisbt: paul * rc83f93b42bda /core/user_pref_api.php: Store user preferences for the current user | 21:31 |
| DirtyAl | after installin ght plugin for SVN integration | 21:50 |
| DirtyAl | I amgettin g the message | 21:50 |
| DirtyAl | APPLICATION WARNING #2400: Event "EVENT_ACCOUNT_PREF_UPDATE_FORM" has not yet been declared.APPLICATION WARNING #2400: Event "EVENT_ACCOUNT_PREF_UPDATE" has not yet been declared. | 21:50 |
| DirtyAl | any help, tks. | 21:50 |
| mantisbot | New bug: Bug 10496 - Jenolan - open - new | 23:29 |
| mantisbot | New bug: Roadmap display for non-queued items - http://www.mantisbt.org/bugs/view.php?id=10496 | 23:29 |
Generated by irclog2html.py