https://www.dendron.so/ logo
#questions
Title
# questions
d

Daniel Silverstone

03/08/2022, 8:53 PM
Hi all, I apologise if this is a bad place to start, but I'm trying to find someone to talk with about switching my note taking from my current hodgepodge of local markdown and ikiwiki-based journals, to Dendron, but I'm struggling with the mechanisms of multi-vault, particularly when it comes to managing publishing because I have four distinct security domains which I need to consider, but I really like the idea of having dendron able to link between them (assuming I'm sensible and only link from more-constrained to less-constrained)
s

SeriousBug

03/08/2022, 9:05 PM
Hi kinnison! This is the right place to ask. You can definitely have this setup with Dendron, but it will take a bit of work to get started. (We are working on simplifying the process for multi-vault setups, but that work is not done yet). The non-published ones are relatively easy. How I would recommend doing it is: 1. On your work computer, initialize a Dendron workspace. This gets you a local vault, which will be your private work vault. 2. Create another local vault with the "Vault Add" command, then select local. This will be your personal private vault. 3. Create a git repository for the personal private vault, then use the "Vault Convert" command on your personal private vault to put it on git. Then, on your home computer, you can initialize a Dendron workspace, use "Vault Add" then pick "remote", and paste the git clone URL to add your personal private vault. Now your personal notes are available both at home and at work, and your work notes stay on your work computer.
d

Daniel Silverstone

03/08/2022, 9:06 PM
OK, so far I'm following along, though I do still want all my notes (private or otherwise) to be in git repos. I firmly believe that if something isn't in git and pushed, I will lose it 😄
s

SeriousBug

03/08/2022, 9:07 PM
Great! You can absolutely convert both vaults then, I just wasn't sure if you absolutely had to keep notes locally.
d

Daniel Silverstone

03/08/2022, 9:07 PM
Naah, I have private git services available for all cases 😄
(well, private github repo, and work has a gitlab of its own)
I can see therefore, how I can create four repos for the four vaults; but there's configuration in the workspace too - what "owns" that?
(I'm browsing the
dendron.yml
file which was made when I was experimenting)
And it looks like publishing is at that level, which feels odd.
s

SeriousBug

03/08/2022, 9:10 PM
You can handle the workspace configuration however you want. You can put it into a repository on its own, or you can just keep it locally. (It's also possible to skip converting the vaults, and add the whole workspace with the local vaults into a repository.)
Yeah agreed, that's one of the things we're working on. So you'll be able to publish (or open) any vault directly without having to worry about workspaces.
d

Daniel Silverstone

03/08/2022, 9:11 PM
That would be great, because I wouldn't want my personal-published stuff to end up on the work site, I'd want it to link to my personal site
I think that, so long as there's definitely intention to eventually support what I'm hoping for, I'll be OK for now hacking something together to trial
After all, as I said in my initial message, I currently have a seriously hacked up pile of ikiwiki and other stuff 😄
s

SeriousBug

03/08/2022, 9:13 PM
So right now our support for that is not great, if you publish each vault into a different website then the links across vaults won't actually work. That will be improved as part of our upcoming changes, but of course that doesn't help you right now!
d

Daniel Silverstone

03/08/2022, 9:14 PM
Yeah "not great for now, fixed _soon_" (for some value of soon) is plausible for me
"Waaay out in the future" is less plausible
s

SeriousBug

03/08/2022, 9:14 PM
soon as in within a month or two, I'm actively working on it 🙂
d

Daniel Silverstone

03/08/2022, 9:15 PM
Oh cool 😄 That's very nearby then, nice.
s

SeriousBug

03/08/2022, 9:16 PM
You can also get around it right now by linking to the actual page with regular markdown links, like
[text](https://your.personal.notes/note/id/)
, but it is a bit cumbersome.
d

Daniel Silverstone

03/08/2022, 9:16 PM
Short-term I wouldn't be thoroughly sad if I pointed colleagues at a copy of the personal stuff at work - heck it'll take me months most likely to port the data across nicely; since I really want to think hard about heirarchy etc.
Also, all the ikiwiki stuff will need conversion to dendron-flavoured-markdown anyway
d

Daniel Silverstone

03/08/2022, 9:19 PM
Hmm, the Vaults one mentions remote workspaces
If instead of 4 vaults in one workspace, I had four remote workspaces in one local workspace, would I be able to independently publish, but still link between vaults?
k

kevins8

03/08/2022, 9:26 PM
currently, you can only independently publish if you create 4 separate workspaces since the publishing config is tied to the workspace config. we are planning on splitting it out so that each vault can have a different publishing config
d

Daniel Silverstone

03/08/2022, 9:26 PM
Right, I'm happy to wait for the nicer solution 😄
@User Thank you for taking the time to talk this through with me by the way, you've been super-helpful. ❤️
Now to try and work out how I've managed to make it so doesn't insert markdown snippets on my personal computer like it did when I was experimenting at work 😄
Hmm, that's fascinating - code snippets only take effect in the .vscode at the top of the workspace, not per-vault 😦
Anwyay, I'm off-topic for this thread, thanks again, I'll stop burbling here now 😄
4 Views