←Prev date Next date→ Show only urls(Click on time to select a line by its url)

WhoWhatWhen
amette__left #tikiwiki
joined #tikiwiki
[00:13]
............... (idle for 1h10mn)
left #tikiwiki [01:23]
...... (idle for 29mn)
Tiki-KGB03lindonb r62297 04trunk/templates/access/include_ticket.tpl
[KIL] Delete include_ticket.tpl file as it's function has been replaced by the smarty ticket function. Redo of r62266 now that all uses have apparently been deleted.
[01:52]
........... (idle for 50mn)
03lindonb r62298 10trunk/tiki-setup_base.php * Remove assign of smarty variable no longer needed [02:42]
........................................................ (idle for 4h36mn)
fabriciusjoined #tikiwiki [07:18]
................................................................ (idle for 5h16mn)
Telesightjoined #tikiwiki [12:34]
....... (idle for 31mn)
jonnybjoined #tikiwiki [13:05]
................... (idle for 1h30mn)
nelsonkojoined #tikiwiki
left #tikiwiki
[14:35]
.... (idle for 18mn)
jonnybpolom
rescue script about half done, going to commit it as it is so far (into trunk)
[14:53]
Tiki-KGB03jonnybradley r62299 03trunk/doc/devtools/rescue_wiki_changes_from_elastic.php
Part one of a script to rescue wiki page updates from an elastic search index - for data recovery for doc.tiki.org
Here we get all the activity stream wiki page events over a period of time (novemeber to april) - thanks to amette, luciash and others
TODO: The actual page updates next
[15:02]
............ (idle for 59mn)
jonnybso amette_ - are you about? i have a script ready for testing (nearly)...
oops, it just broke ;)
[16:01]
amette__joined #tikiwiki
plm
hi jonnyb - let me check out the code and check out what you did
[16:14]
jonnybhi amette__
it's sort of wokring but i haven't committed the actual page creation part yet
just trying to get the version numbers working properly
[16:15]
amette__ok, how does it work? Does it use the configured mysql and elastic? [16:16]
jonnybit uses the usual db defined in local, but gets the info from an elastic url you can specify (defaults to localhost:9200 though)
do 'php doc/devtools/rescue_wiki_changes_from_elastic.php help rescue' for the help
[16:19]
amette__alright, sounds cool. I'll check it out on the doc server then (as the database is there) and connect to the remote elastic as a cli parameter then. [16:20]
jonnybi thought i'd see if i could make a devtools script using the funky symfony console application stuf, so we get coloured output and progress pabrs etc - seems to work! :) [16:22]
amette__Getting a professional tool out of this - nice one! :) [16:24]
jonnybwell, i thought it would make it more fun! :) [16:25]
amette__;)
ok.... maybe I should actually do this on a completely different machine... and then later just dump, scp and replay the resulting database... *thinkingoutloud*
[16:25]
jonnybyes, i think would be wise [16:28]
amette__amette__ agrees [16:28]
jonnybi'm getting some indexing errors but i have es5 installed here (for extra pain) [16:28]
amette__right, had similar issues with feature regressions in elastic - decided to downgrade it then [16:30]
jonnybamette__: note that the version committed to trunk so far doesn't actually create or update any pages, so you should be fairly safe... :) [16:38]
amette__alright, cool! :) [16:38]
jonnybodd that some of the edits don't seem to have old version info indexed - but maybe that was added later (i think i might have added it for 16.x) - so for the missing ones i'll just guedd (version-1) [16:39]
amette__sounds reasonable... and good solution... or should one do (version-2) so it can be distinguished? or does that sound really dirty and consistency killing? [16:45]
jonnybyes, that's what i'm currently working out - i seem to get the current version duplicated... [16:45]
ok, here comes the dangerous bit! :D [16:57]
Tiki-KGB03jonnybradley r62300 10trunk/doc/devtools/rescue_wiki_changes_from_elastic.php
Part two of a script to rescue wiki page updates from an elastic search index - for data recovery for doc.tiki.org
Here we update (or create) the wiki pages - only lightly tested so far, not for use on "live" data yet :)
[17:00]
jonnybthere you go amette__ (feeling brave?) [17:00]
amette__hehe, sure... still setting up the test environment... hang on a bit [17:00]
jonnybif you get jip from the indexing turning off incremental indexing should help (and run quicker, actually)
making t now... brb
[17:01]
amette__alright, enjoy! [17:02]
...... (idle for 25mn)
jonnybi'm getting errors from aliasses being duplicated in structures, but don't seem to be able to do anything about it... [17:27]
amette__amette__ is fighting with getting MySQL into shape [17:27]
.... (idle for 15mn)
fabriciusjoined #tikiwiki [17:42]
......... (idle for 43mn)
amette__ok, I think I'm getting there... currently importing the DB dump from November and so far no errors. [18:25]
jonnybjoined #tikiwiki [18:28]
amette__jonnyb : there's no --dry-run or such? Something that would tell me what will happen, but not do anything? That would be handy, cause replaying the database takes ages.
amette__ should probably just revert to the previous svn revision
[18:37]
jonnybhmmm
ok, let me add a dry-run option, shoudln't take long
[18:38]
amette__cool, thanks [18:39]
jonnybactually i'll add a confirm option and do dry run by default [18:39]
amette__superb! [18:39]
.... (idle for 19mn)
jonnybok, there you go [18:58]
amette__w00t, nice one, bro! :) [18:59]
Tiki-KGB03jonnybradley r62301 10trunk/doc/devtools/rescue_wiki_changes_from_elastic.php
Part three of a script to rescue wiki page updates from an elastic search index
Add confirm option and use dry run mode by default, no changes to pages saved without the -c option (thanks scaredy-cat amette ;)
[19:00]
jonnybah, there it is amette__
i was guessding jusdt an edit or create summary is ok, youi don't want a full diff i hope ;)
[19:00]
amette__yep, very nice output, well done! (if you wanna be ultra-diff-fancy, add it in with -v ;) ) [19:01]
I have multiple times:
Page: “PhantomJS and CasperJS” (version 11) “Page created by rescue script 2017-04-22T17:07:34+00:00”
just with different version (12, 13, 14...) - shouldn't those be edits instead of creations then?
[19:08]
Tiki-KGB03jonnybradley r62302 10trunk/doc/devtools/rescue_wiki_changes_from_elastic.php
Script to rescue wiki page updates from an elastic search index
Make the dry run output less noisy
[19:20]
jonnybamette__: no, the pages don't get created in dry run mode [19:21]
amette__aah, so it doesn't realise that the second action is a modification intead of a creation!? [19:21]
jonnybif the page exists it updates it, if not it creates it (so i could test it on an empty database) [19:34]
fabriciusjoined #tikiwiki [19:46]
amette__Great work, jonnyb! This starts looking really good! :) [19:46]
.... (idle for 15mn)
jonnybthink i'm done for now, need food, mbbl or tomorrow... [20:01]
fabriciusHey guys, I have seen a rising number of doc.tiki.org edits ... whats happening? A community wide documentation saving session?
“Page created by rescue script 2017-04-22T17:07:34+00:00”
This is more than awsome.
You are so cool guys. THX!
[20:14]
.... (idle for 15mn)
amette__fabricius : that's a test run on nextdoc. Did you get notification e-mails from that? [20:30]
.... (idle for 17mn)
Dekthrojoined #tikiwiki [20:47]
....... (idle for 31mn)
fabriciusamette__: not sure .. what I postest was a citation from the IRC above ... I got this type of notivicatons: "wiki page “Wiki Plugin de” changed by luciash d' being wiki page noreply@tiki.org"
amette_ amete__ ^
[21:18]
amette__I was referring to: ‎"[20:14:39] ‎fabricius‎: Hey guys, I have seen a rising number of doc.tiki.org edits" [21:19]
fabriciusI did *NOT* get a notification like that: “Page created by rescue script 2017-04-22T17:07:34+00:00” [21:19]
amette__yes, that's from the script
but where did you get the rising number from?
[21:20]
fabriciusThis I did read at 19:12:56 - amette__: I have multiple times ... [21:20]
amette__aha
thanks for the confusion
[21:20]
fabriciussry, did not want to confuse you
:)
[21:20]
amette__well, we got it cleared up [21:21]
.............. (idle for 1h6mn)
fabriciusjoined #tikiwiki [22:27]
................ (idle for 1h17mn)
joined #tikiwiki [23:44]

←Prev date Next date→ Show only urls(Click on time to select a line by its url)