Hello Pmario,

Thanks for your answer.


> Why. The environment variables have to be different anyway. In linux you 
> must use ":" as seperator and in windows it's ";" ... I'm using both 
> systems and have absolutely no problem. 
> I'm using different paths in both systems. The environment variables are 
> local to your system and not pushed to git .. So I don't see why it should 
> cause problems. 
>

I disagree. There are differences between environments, but there are also 
solutions to them. That's why I use things like cross-env and npm scripts 
for being able to use the same set of scripts on both environments.
In my case, the paths will be relative to the project, and they will be the 
same. The only difference will be the path separator. I strongly trust on 
building cross-os scripts. TW does the opposite and that is something I 
really dislike.
 

> My setup looks like this: 
>
> Windows: 
> TW source: D:\git\tiddly\tiddlywiki\TiddlyWiki5
>
> TIDDLYWIKI_PLUGIN_PATH: D:\git\tiddly\wikilabs\plugins
> TIDDLYWIKI_EDITION_PATH: D:\git\tiddly\wikilabs\editions
>
> eg: 
> uni-link plugin : D:\git\tiddly\wikilabs\plugins\wikilabs\uni-link
>                             plugin.info
>                             \tiddlers
>
>
> tiddlywiki.info for an edition that should use uni-link plugin see: 
> https://github.com/wikilabs/editions/blob/master/uni-link/tiddlywiki.info
>
> I also use a second edition for development: 
> https://github.com/wikilabs/editions/blob/master/uni-link-server/tiddlywiki.info
>   
> which uses some TW and some more of my own plugins. 
>

Thanks for sharing your folder structure and links to your projects. That's 
always enricher and I'll check them out for sure. 
 

>
> I do have all my editions in one repo
> I do have all my plugins in a different repo 
>

I will probably end with something similar. Having one repo per plugin is 
definitely non sustainable. Maybe I'll group some plugins, but that setup 
makes a lot of sense. Specially for sharing tools, styles and build 
pipelines.
 

TiddlyWiki reads environment variables from left to right and uses the 
> first path, where it finds the plugin or edition. Since you don't want to 
> have duplicated soruces, that's the right way to go. .... 
>

I suspected that behavior, but thanks for confirming. 

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/7eee42e1-756e-4fd4-adac-f6e75a3d5b65%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to