I currently cannot run the TW build process on my Win8 machine.
Although desireable, figuring out how to set this up and using any test tools involves a bit too much effort out of the blue.What I know is...
- there is an old build process (cook, ginsu, ruby)
- there is a new build process (node.js)
- there are some tests
- there is TinyTiddlyWiki
What I don't know is...
- is the old build process still relevant and why
- how to set up the old build process
- how to run tests using the old build process and how to verify the results
- how to set up the new build process on node.js
- is the new build process complete
- are the tests complete
- how to run tests using the new build process and how to verify the results
- how to build a TinyTiddlyWiki (old? / new? / tests?)
I would appreciate if we could get all of the above documented in the @TiddlyWikiDev space.
I'll also gladly put it there if someone would post it here...Cheers, Tobias.
--
You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywikide...@googlegroups.com.
To post to this group, send email to tiddly...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywikidev?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywikidev+unsubscribe@googlegroups.com.
To post to this group, send email to tiddly...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/44bd4148-caf3-44b4-b552-1f82d641bf86%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I'm happy to get things fixed up again,
or should I wait to see how you get on with cook/ginsu?
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywikide...@googlegroups.com.
To post to this group, send email to tiddly...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/44bd4148-caf3-44b4-b552-1f82d641bf86%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
what version of the core can be used to build TWC?
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/31de5d30-70bb-484a-a94e-6990e04ea447%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywikidev+unsubscribe@googlegroups.com.
To post to this group, send email to tiddly...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/c236d854-798c-4297-992f-7055a1af371a%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/c236d854-798c-4297-992f-7055a1af371a%40googlegroups.com.
my bad, I thought that the update you were talking about was some time ago and haven't checked the repo. Now I've updated my forks and tried bld.bat and got much nicer results but still somewhat incomplete.
So what's nice is that in somedir\tiddlywiki.com_and_builders\test I now got cooked index.2.9.1.html which is classic.tiddlywiki.com file with the new core. Same file is inside the somedir\tiddlywiki.com_and_builders\cooked\2.9.1\ folder (named index.html; I've compared them, texts are identical).
What's not that nice:
- empty.2.9.1.html is not cooked (no present in both cooked/2.9.1/ and test/ subfolders of somedir\tiddlywiki.com_and_builders\
It enables the batch file to invoke TiddlyWiki itself to generate the empty file and the RSS index file.
The script suggests that you'll need to set the environment variable BROWSER to point to the phantomjs executable.
- bld.bat output still contains an error; it's another one, though: now in the 4th block, see the log below. Looks like the tiddlywiki_externaljs_tiddlyspace.html.recipe was deleted but the building tools still try to use it (I've made git fetch origin master and have checked git status for them, looks like I'm up-to-date).
I've removed the obsolete build steps I missed before:
https://github.com/TiddlyWiki/tiddlywiki.com/commit/60d32efadec15fb13ef5ede4b201e3fbd874fed1
- there are many errors in tests.html. I've tried to build both current TWc core and my updated core, I've got only one new test failed and over 10 others are failed with the current core. There's definitely a number of tests which should be rewritten (for instance, slice names no longer can't have space in their name), they are located (defined) in TiddlyWiki/test/ , right?
That certainly makes sense, do feel free to adjust the tests as required.
Best regards,
- when I run building, still phantom_driver.js is opened in browser instead of anything helpful. Any ideas?
Yakov.
See above.
Good luck, and let me know how you get on,
Best wishes
Jeremy
The full output:
BUILD: clearing target folder: "cooked/2.9.1"
- - - - - - - - - - - - - - -
BUILD: assembling INDEX.HTML (v2.9.1)
Boot log:
Startup task: load-modules
Startup task: info after: load-modules before: startup
Startup task: startup after: load-modules
Startup task: story after: startup
Startup task: commands platforms: node after: story
Executing command: load ./index.html.recipe
Executing command: rendertiddler $:/core/templates/tiddlywiki2.template.html D:\data\based_here\code\tiddlywiki.com_and_builders\cooked\2.9.1/index.html text/plain
- - - - - - - - - - - - - - -
BUILD: assembling TESTS.HTML (v2.9.1)
Boot log:
Startup task: load-modules
Startup task: info after: load-modules before: startup
Startup task: startup after: load-modules
Startup task: story after: startup
Startup task: commands platforms: node after: story
Executing command: load ../tiddlywiki/test/recipes/tests.html.recipe
Executing command: rendertiddler $:/core/templates/tiddlywiki2.template.html D:\data\based_here\code\tiddlywiki.com_and_builders\cooked\2.9.1/tests.html text/plain
- - - - - - - - - - - - - - -
BUILD: creating TIDDLYWIKI_EXTERNALJS.HTML (v2.9.1)
Boot log:
Startup task: load-modules
Startup task: info after: load-modules before: startup
Startup task: startup after: load-modules
Startup task: story after: startup
Startup task: commands platforms: node after: story
Executing command: load ../tiddlywiki/tiddlywiki_externaljs.html.recipe
Executing command: rendertiddler $:/core/templates/tiddlywiki2.template.html D:\data\based_here\code\tiddlywiki.com_and_builders\cooked\2.9.1/tiddlywiki_externaljs.html text/plain
- - - - - - - - - - - - - - -
BUILD: creating TIDDLYWIKI_EXTERNALJS_TIDDLYSPACE.HTML (v2.9.1)
Boot log:
Startup task: load-modules
Startup task: info after: load-modules before: startup
Startup task: startup after: load-modules
Startup task: story after: startup
Startup task: commands platforms: node after: story
Executing command: load ../tiddlywiki/tiddlywiki_externaljs_tiddlyspace.html.recipe
Error: No tiddlers found in file "../tiddlywiki/tiddlywiki_externaljs_tiddlyspace.html.recipe"
- - - - - - - - - - - - - - -
BUILD: creating TWCORE.JS (v2.9.1)
Boot log:
Startup task: load-modules
Startup task: info after: load-modules before: startup
Startup task: startup after: load-modules
Startup task: story after: startup
Startup task: commands platforms: node after: story
Executing command: load ../tiddlywiki/tiddlywikinosaver.html.recipe
Executing command: rendertiddler $:/core/templates/tiddlywiki2.externaljs.template.html D:\data\based_here\code\tiddlywiki.com_and_builders\cooked\2.9.1/twcore.js text/plain
- - - - - - - - - - - - - - -
BUILD: copying TIDDLYSAVER.JAR
- - - - - - - - - - - - - - -
BUILD: copying JQUERY.JS
- - - - - - - - - - - - - - -
BUILD: copying JQUERY.TWSTYLESHEET.JS
- - - - - - - - - - - - - - -
BUILD: creating EMPTY.HTML and INDEX.XML from INDEX.HTML
- - - - - - - - - - - - - - -
BUILD: copying INDEX.HTML to TEST/INDEX.2.9.1.HTML
BUILD: copying EMPTY.HTML to TEST/EMPTY.2.9.1.HTML
- - - - - - - - - - - - - - -
BUILD: done
суббота, 11 ноября 2017 г., 21:12:18 UTC+3 пользователь Yakov написал:
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywikidev+unsubscribe@googlegroups.com.
To post to this group, send email to tiddly...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/892b3b5c-5845-4b4c-8c0a-7eceb550c775%40googlegroups.com.
Was there a particular necessity why the TWC build process involves recipes and also phantom.js?
Especially the former appear to complicate things a lot and make it somewhat less intuitive to build custom wikis.best -tb
--
You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywikide...@googlegroups.com.
To post to this group, send email to tiddly...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/d48692bc-a6d1-4fd2-b5d1-9fbef95657ef%40googlegroups.com.
? TiddlyWiki/test/README says there are JSSpec tests, but I don't see them. Were they removed? Should README be updated?
? what is a .recipe file? How they are ~concatenated? Some of them contain only tiddler or recipe commands (sounds like "include one recipe into another) while others various commands like
template, copyright, style, noscript, jsext (TiddlyWiki/html/split.recipe)
prehead, shadow (TiddlyWiki/shadows/split.recipe)
version, js (TiddlyWiki/js/split.recipe)
jsdeprecated (TiddlyWiki/deprecated/split.recipe)
jslib, jquery (TiddlyWiki/jquery/split.recipe, TiddlyWiki/jquery/plugins/split.recipe)
a whole zoo of them. Is there some docs/group threads with their description?
? (for now, just out of curiosity) does TW5 use some unit-tests system? Which one?
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/60b68cac-b958-4162-abe7-296b616209a8%40googlegroups.com.
Along with fixing tests and issues I'll probably be learning using git rebase: looks like it is an exact tool to deal with this mess. If there are any suggestions regarding this, let me know (as well as suggestions of how to merge on GitHub in a proper way or other things regarding git/github workflow).
PS is that correct that the upstream name is purely a convention and git doesn't do anything different with regard to it, technically?
What I still don't understand is how do I get those .tid files updated (except for editing them as plain text) from the tiddlywiki.github.com repo (and shouldn't we move the content files to that repo instead of the repo of TW2 core?). It would be nice to edit a TW (tiddlywiki.github.com repo/index.html) and get those files updated..
Any suggestions? Jeremy, where did you get those .tid files from (and how?) for making this commit: https://github.com/TiddlyWiki/TiddlyWiki/commit/c5d5c85eb7337a4f052f0d0151de0679be72e0ed ?
Best regards,
Yakov.
четверг, 25 января 2018 г., 1:31:16 UTC+3 пользователь Yakov написал:So, regarding classic.tiddlywiki.com..
Is it correct that editing it can be done by just (forking and) cloning the [1] repo and editing TW in a browser? (and pushing back to fork and merging) I mean are recipes at [2] outdated since TiddlySpace is down (so [2] now has nothing to do with [1] and classic.tiddlywiki.com)?
No, wait, this can't be. First, TW version won't be updated this way (as well as the download package). Second, which is more surprising, for now I have only cloned [2] and still got cooked/2.9.1/index.html with classic.tiddlywiki.com's content in it once I've cooked TW.. is content from [1] accounted at all?
Any suggestions? What's the correct workflow? Yeah, the last change was done back in 2013, so it won't surprise me if nobody remembers...
Best regards,
Yakov.
[1] https://github.com/TiddlyWiki/tiddlywiki.github.com
[2] https://github.com/TiddlyWiki/tiddlywiki.com/
среда, 24 января 2018 г., 17:56:27 UTC+3 пользователь PMario написал:On Wednesday, January 24, 2018 at 2:09:11 PM UTC+1, Yakov wrote:PS is that correct that the upstream name is purely a convention and git doesn't do anything different with regard to it, technically?Yes ... All aliases are just a convention. ... If you use the same schema for all your local repos, it helps to minify "user errors"
For me "push origin" means ... I can savely write to it.
"push upstream" means ... Be really carefull ... Messing it up, will cause a lot of work to fix it!
-m
--
You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywikide...@googlegroups.com.
To post to this group, send email to tiddly...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/6f29491c-ab84-4b9e-8e89-2058cd6a93b9%40googlegroups.com.
Terrific progress, well done!
The tiddlywiki.github.com repo is for storing the output of the build process; the files within it are exposed to the web as https://classic.tiddlywiki.com. There shouldn't be anything in that repo that was not generated by the build process.
[...]
Those .tid files were obtained from a backup of tiddlywiki.tiddlyspace.com that I took before it shut down.
To make further content changes you'd manually edit those .tid files, recommit them to the TiddlyWiki/TiddlyWiki repo, and then re-run the build process to regenerate tiddlywiki.github.com.
| 125 content=content.replace(/<div id="saveTest">savetest<\/div>/,'<div id="saveTest"></div>'); |
| 126 //# clear <applet> following </script>, please use < / script > |
|
|
| To get started with this blank [[TiddlyWiki]], you'll need to modify the following tiddlers: |
| * [[SiteTitle]] & [[SiteSubtitle]]: The title and subtitle of the site, as shown above (after saving, they will also appear in the browser title bar) |
| * [[MainMenu]]: The menu (usually on the left) |
| * [[DefaultTiddlers]]: Contains the names of the tiddlers that you want to appear when the TiddlyWiki is opened |
|
As you can see the macro changed from <<option txtUserName>> to <<option txtUserName>> this is no problem as it executes properly. The issue is that when I build from the code that contains << and >> I need to replace the << >> by << >> etc else it renders incorrect, it becomes <<option txtusername="">>;\n</option>. It only is happening with the shadow tiddlers. |
By the way, does anybody know how to build TiddlySaver from its source? I can't see any docs besides the sign.readme and verify.readme which are for later stages of the process. Also I wonder if there's a way to get TiddlySaver version (if there's any versioning at all) since I'm not even sure whether the latest version is packed in the download archive on classic.tiddlywiki.com Any ideas?
--
You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywikide...@googlegroups.com.
To post to this group, send email to tiddly...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/ab5b29b3-53c4-46f1-80a3-1e318ae6d912%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Tue, Jul 3, 2018 at 11:26 AM Yakov <yakov.litv...@gmail.com> wrote:By the way, does anybody know how to build TiddlySaver from its source? I can't see any docs besides the sign.readme and verify.readme which are for later stages of the process. Also I wonder if there's a way to get TiddlySaver version (if there's any versioning at all) since I'm not even sure whether the latest version is packed in the download archive on classic.tiddlywiki.com Any ideas?I think it's just a matter of compiling the source at https://github.com/TiddlyWiki/TiddlyWiki/blob/master/java/src/TiddlySaver.java into TiddlySaver.jar, and then signing it as described in the file.Back in the day, BiDiX used to do the builds on UnaMesa's behalf, and had the necessary signing keys. I can try to put you in touch?