But my teammates should basically be creating thei...
# questions
i
But my teammates should basically be creating their own workspaces and adding the vault? Why should I want to share a workspace as opposed to just a vault? (not rhetorical, I'm trying to understand)
k
so you can share a public workspace and then your teammates can download that workspace. when dendron initializes a workspace, it will pull in any vaults associated with the workspace. the reason for this extra step of indirection was to better let you mix and match vaults depending on context
i
Hrm, I kinda grok it! But in our case we are only ever going to share the one vault
I guess my question now is what, if anything, we would want to share in terms of a workspace
k
for that case, you can commit the whole workspace to git. (you'll need to remove the vault from .gitignore since we add it there by default)
self contained vaults is us addressing your question (since sharing a single vault is the common case). moving forward (mid march), a vault will be a workspace and vice versa.
you can think of the current dendron workspace as a git submodule (except instead of going the submodule route, we implemented our own logic to pull in un-initialized git repos) the next iteration of dendron workspaces (self contained vaults) will function more like a npm package (a vault is all you need and a vault can declare dependencies on other vaults)
i
Got it. I think, the rest of the team might not adopt Dendron for their personal lives like I have, so I'm leaning towards making the repo be the vault and not the workspace, so I can use just the vault in my existing workspace, and they can do as they please
@User I guess given that it's somewhat clear what direction this is going in, does ☝️ make sense?
k
i believe so - to make sure i understand, you're using the vault in your personal workspace (which has multiple vaults?) and you want to share just this one vault with your team
i
correct
Rather, I want the team to share a vault, and I would selfishly like to be able to use said vault from inside my existing workspace 😄 But if I have to fall back to multiple workspaces, I would do that too
k
got it. in that case, something to make it more convenient for your team is to convert the vault to a repo and then create a oneoff workspace for your team which pulls in that repo. you can share that workspace repo with your team which will pull in the repo on initialization. this also lets you pull in that vault in your own workspace. this workflow [here](https://wiki.dendron.so/notes/6DZiBObwhZNYRjnokQ422.html) walks through a similar setup
this would look like the following: - one-off workspace repo (repo) - shared vault (repo) - your workspace - shared vault (repo) - your other vaults
i
Got it. Trying to work out what, if anything, would be configured at the workspace level that we would actually need to share
k
probably nothing intentional - currently, its just the mechanism that dendron needs in order to initialize (otherwise your team members would have to create their own workspace and then import the vault)
i
I think that's fine, maybe better acutally.... get them hooked on ~drugs~ dendron
Thank you! Appreciate you unforking my brain!
k
haha, happy to help 🙂