https://www.dendron.so/ logo
Join Discord
Powered by
# dev
  • s

    sashasasha

    01/21/2022, 5:01 PM
    My changes aren't showing up even though I'm running
    ./bootstrap/scripts/watch.sh
    in my terminal What could be the issue here?
    • 1
    • 3
  • s

    sashasasha

    01/21/2022, 5:41 PM
    In
    LookupProviderV3.ts
    , how do I check if it's running a note lookup or a schema lookup? What I want to do is something like
    isSchema ? CREATE_NEW_SCHEMA_DETAIL : CREATE_NEW_NOTE_DETAIL
    Task for the context: https://github.com/dendronhq/dendron/issues/1246
  • k

    kevins8

    01/21/2022, 6:13 PM
    lookup provider has a different id for schema
  • s

    sashasasha

    01/21/2022, 8:19 PM
    @User Done with my first task: https://github.com/dendronhq/dendron/pull/2253
  • g

    glucinater21

    01/21/2022, 10:52 PM
    Is there a QuickStart guide to contributing to dendron ‘a codebase
  • s

    SeriousBug

    01/21/2022, 10:52 PM
    Yes! https://docs.dendron.so/notes/3489b652-cd0e-4ac8-a734-08094dc043eb/
  • p

    Pavel Varona

    01/23/2022, 11:58 AM
    How can I access internal docs? (e.g.:
    dendron://dendron.docs/pkg.common-all.dev.cook#add-new-config
    )
  • l

    lukecarrier

    01/23/2022, 12:26 PM
    You can look them up here[1] or set up the dev docs vault[2] [1]: https://docs.dendron.so/notes/1jIkH5R6W3pM8IYR2gOji/#add-new-config [2]: https://github.com/dendronhq/dendron/blob/master/docs/README.md
  • w

    WildMagic

    01/24/2022, 7:03 PM
    Does someone have a handy set of regexes lying around, for - wikilinks - markdown links - images - transclusion links (incl. blocks, headers, ranges) I'm trying to write a python script to publish some of the contents of my Dendron vault with Hugo and having those regexes would help me replace or massage those links with Hugo equivalent formats.
  • s

    SeriousBug

    01/24/2022, 7:05 PM
    You should be able to find regexps for most of those here: https://github.com/dendronhq/dendron/tree/master/packages/engine-server/src/markdown/remark
  • k

    kevins8

    01/25/2022, 2:44 AM
    just a ping to let you know this is still on my radar! was out of town over the weekend and catching up on a bunch of things. this write up is a little more involved but will aim to have something ~ middle of the week!
  • k

    krisfremen

    01/25/2022, 10:10 AM
    sure thing, I won't be able to start immediately on this anyway, so that schedule is good with me 👍
  • s

    SeriousBug

    01/25/2022, 8:52 PM
    I forget, what's the earliest git version Dendron supports?
  • k

    kevins8

    01/25/2022, 8:57 PM
    searched for
    git
    in the codebase
  • k

    kevins8

    01/25/2022, 8:57 PM
    common-server • src/git.ts: 243:
    git config --local --get remote.${remoteName}.url
    , 275: await this.execute(
    git symbolic-ref -q HEAD
    , uri) 279:
    git for-each-ref --format='%(upstream)' '${ref}'
    , 332: await this.execute(
    git config --local --get-regexp "^remote.*.url"
    , uri) plugin-core • src/test/suite-integ/SyncCommand.test.ts: 397: await git._execute(
    git checkout -b ${branch} --no-track
    ); engine-server • src/topics/git.ts: 42: await this._execute(
    git add ${args}
    ); 62: await this._execute(
    git remote add ${remoteName} ${remoteUrl}
    ); 68: await this._execute(
    git remote set-url ${remoteName} ${remoteUrl}
    ); 72: const { stdout } = await this._execute(
    git remote get-url ${remoteName}
    ); 77: await this._execute(
    git init${this.opts.bare ? " --bare" : ""}
    ); 80: /** Equivalent to
    git branch
    . 113: await execa.command([
    git pull --rebase
    ].join(" "), { 124: await execa.command([
    git push${setUpstremArg}
    ].join(" "), { 183:
    git status --porcelain${untrackedFilesArg}
    236:
    git diff ${nameOnlyOption} ${oldCommit} ${newCommit}
    dendron-cli • src/utils/build.ts: 64: $(
    git add .
    ); 65: $(
    git commit -m "chore: publish ${version}"
    ); 117: $(
    git checkout -- ${pkgPath}
    ); 159: const { stdout, stderr } = $(
    git commit -m "chore: bump 11ty"
    );
  • k

    kevins8

    01/25/2022, 8:57 PM
    i think we are on the min version of git that supports https://git-scm.com/docs/git-for-each-ref/2.23.0
  • k

    kevins8

    01/25/2022, 8:58 PM
    from the git log, its git 2.5.6
  • d

    d1onys1us

    01/25/2022, 10:19 PM
    is my PR well formed (just fixing some typos): https://github.com/dendronhq/dendron-site/pull/377 i am curious if there are any developer guidelines for contributing to the project, thanks.
  • d

    d1onys1us

    01/25/2022, 10:21 PM
    nevermind, found it here https://wiki.dendron.so/notes/125c990b-6fe7-4ada-a65f-44cbde8b33f0/
  • l

    lukecarrier

    01/25/2022, 10:42 PM
    Please keep sharing pain points like this, it's something we're working to improve as part of the dendrologist effort 😅
  • s

    ScriptAutomate

    01/26/2022, 9:02 PM
    Merged! You shall now be known as a
    Taxonomist
    📝 https://wiki.dendron.so/notes/7c00d606-7b75-4d28-b563-d75f33f8e0d7/#taxonomist
  • k

    kevins8

    01/26/2022, 10:47 PM
    supporting other file types
    k
    • 2
    • 6
  • d

    d1onys1us

    01/27/2022, 2:01 AM
    oh man you're enticing us to collect roles? i see how it is xD
  • s

    ScriptAutomate

    01/27/2022, 2:10 AM
    Gotta catch 'em all!
  • c

    cconrad

    01/27/2022, 9:53 AM
    Hi, what is the best way of getting a developer to look at a discussion like this? Ask the reporter to convert it into an issue? https://github.com/dendronhq/dendron/discussions/2282
  • h

    hikchoi

    01/27/2022, 10:21 AM
    If there is a bug, that would be the best way. But it looks like a question. This could be configured by setting
    dendron.defaultTimestampDecorationFormat
    to any of the
    TIME_24_
    variant formats: https://wiki.dendron.so/notes/19a0ea9d-7292-4a68-bc6f-ffd462a54bc5/#dendrondefaulttimestampdecorationformat
  • h

    hikchoi

    01/27/2022, 10:24 AM
    and I just answered the post 🙂
  • c

    chmac

    01/27/2022, 12:09 PM
    Does dendron have any kind of plugin architecture? I want to add some automations around tasks and daily journal notes. My initial thought is to build something totally separate that interoperates with dendron, but maybe a plugin would be easier if such a thing exists... 🙂
  • h

    hikchoi

    01/27/2022, 12:47 PM
    we have hooks that let you add custom behavior to lifecycle events: https://wiki.dendron.so/notes/12551d19-04c2-4d26-ac1e-d23ff3181a9c/ We currently only have support for
    onCreate
    , but we plan to expand this in the future
  • c

    chmac

    01/27/2022, 12:57 PM
    Awesome, that's exactly what I had in mind, now I just need to find the note commands via the cli and I'll be rocking... 🙂
1...909192...108Latest