fudo
10/25/2021, 1:46 PMcconrad
10/25/2021, 1:51 PMguilhermesfc
10/25/2021, 1:54 PMSeriousBug
10/25/2021, 2:15 PM[[others.a-classification-of-data-quality]]demorganslaw
10/25/2021, 2:51 PM$ dendron note lookup --query "foo"
no root found for foo DendronError: no root found for foo
at Function.findClosestParent (/usr/local/lib/node_modules/@dendronhq/dendron-cli/node_modules/@dendronhq/common-all/lib/dnode.js:151:23)
at Function.addParent (/usr/local/lib/node_modules/@dendronhq/dendron-cli/node_modules/@dendronhq/common-all/lib/dnode.js:294:33)
at FileStorage._writeNewNote (/usr/local/lib/node_modules/@dendronhq/dendron-cli/node_modules/@dendronhq/engine-server/lib/drivers/file/storev2.js:737:46)
at FileStorage.writeNote (/usr/local/lib/node_modules/@dendronhq/dendron-cli/node_modules/@dendronhq/engine-server/lib/drivers/file/storev2.js:780:34)
at DendronEngineV2.writeNote (/usr/local/lib/node_modules/@dendronhq/dendron-cli/node_modules/@dendronhq/engine-server/lib/enginev2.js:516:38)
at DendronEngineV2.getNoteByPath (/usr/local/lib/node_modules/@dendronhq/dendron-cli/node_modules/@dendronhq/engine-server/lib/enginev2.js:247:35)
at /usr/local/lib/node_modules/@dendronhq/dendron-cli/node_modules/@dendronhq/api-server/lib/routes/note.js:24:31
at processTicksAndRejections (internal/process/task_queues.js:95:5) {
status: 'unknown',
severity: undefined,
payload: '{}',
code: undefined,
innerError: undefined
}
undefined
$SeriousBug
10/25/2021, 2:56 PMroot.md note by any chance? It's required. If you are missing it, you can just create the note in the editor, it doesn't have to have anything special in it. Just a note named root.demorganslaw
10/25/2021, 2:58 PM$ cat vault/root.md
---
id: pfCyJclVR2VcLVG2
title: Root
desc: ''
updated: 1626571975972
created: 1626571975972
---
[[org]]
[[ppl]]
[[act]]demorganslaw
10/25/2021, 3:07 PMdendron launchEngineServer ... first or something like that? I've been plugin only until now.user
10/25/2021, 3:08 PMidan
10/25/2021, 3:54 PMseeds/dendron.templates dir is a git repo, so when I git add everything in my dendron dir, it complains about the nested git repo inside. Not seeing any mention of this in the docs — I can blow away the .git in seeds/dendron.templates but not clear on what the right thing to do is hereSeriousBug
10/25/2021, 3:55 PMSeriousBug
10/25/2021, 3:55 PMseeds into the .gitignore file?idan
10/25/2021, 3:56 PMidan
10/25/2021, 3:56 PMidan
10/25/2021, 3:56 PMSeriousBug
10/25/2021, 3:57 PMDendron: Workspace Sync will continue to sync that repository separately anyway, so you don't need it as a part of your repo.idan
10/25/2021, 4:09 PMidan
10/25/2021, 4:09 PMjoneshf
10/25/2021, 4:40 PMteam.a.project, team.a.project.2021-11-30-foo, team.a.project.2021-12-31-bar, team.b.project, and team.b.project.2021-11-30-baz. I also want to have a template for all the team.*.project.* notes. I've tried two schemas, but neither is correct. What's the proper schema to do that?
I'll respond with the two options I've tried in a second (formatting in discord is really hard).joneshf
10/25/2021, 4:42 PMversion: 1
imports: []
schemas:
- id: project
pattern: "2021-[0-1][0-9]-[0-3][0-9]-*"
template:
id: project.template
type: note
- id: projects
children:
- project
- id: team
children:
- projects
namespace: true
This didn't match anything with the file name formatted how I'd like (with the date). If I removed the pattern from project, it would only match files in the hierarchy that didn't have the date. E.g. team.a.project.foo.joneshf
10/25/2021, 4:43 PMversion: 1
imports: []
schemas:
- id: project
namespace: true
template:
id: project.template
type: note
- id: team
children:
- project
namespace: true
This works for the individual notes, but it makes the team.*.project notes all change to have the template. This is definitely not what I want because those team.*.project notes have information in them that gets overwritten whenever I open one of them.joneshf
10/25/2021, 4:45 PMdemorganslaw
10/25/2021, 5:51 PMfudo
10/25/2021, 5:57 PMjoneshf
10/25/2021, 6:13 PMjoneshf
10/25/2021, 6:14 PMteam.a.project.non-date-note).joneshf
10/25/2021, 6:14 PM* stuff. It doesn't seem to work like globs. It doesn't seem to work like regex (using pattern: "2021-[0-1][0-9]-[0-3][0-9]-.*" doesn't make it work either).joneshf
10/25/2021, 6:15 PMjoneshf
10/25/2021, 6:27 PMgit checkout -- vault/team.a.project.md (or equivalent). I can't imagine this is expected behavior.fudo
10/25/2021, 6:28 PM