Package Details: silverbullet 0.7.5-1

Git Clone URL: https://aur.archlinux.org/silverbullet.git (read-only, click to copy)
Package Base: silverbullet
Description: Clean Markdown-based writing/note taking application
Upstream URL: https://github.com/silverbulletmd/silverbullet
Keywords: editor markdown note note-taking
Licenses: MIT
Submitter: tarball
Maintainer: tarball
Last Packager: tarball
Votes: 2
Popularity: 0.63
First Submitted: 2023-06-12 16:01 (UTC)
Last Updated: 2024-02-29 14:34 (UTC)

Dependencies (1)

Required by (0)

Sources (2)

Latest Comments

showgood163 commented on 2023-09-06 14:18 (UTC)

Thanks for your testing.

Yes, I got 0 errors caused by build() in all pikaur -S runs.

I've updated my response to reflect the RAM limitation in that github issue.

tarball commented on 2023-09-06 10:35 (UTC)

I ran a few more tests on a 512 MB VM, and on a more beefy system with memory limited through cgroups:

$ systemd-run --user --scope --property MemoryMax=256M makepkg -srifc

There were no problems with memory limits down to 90 MBs (below that it starts crashing with out of memory errors — but no test failures because it doesn't even get to running tests).

It might be worth mentioning in that github issue that you're doing this on a resource-constrained system anyway.

showgood163 commented on 2023-09-06 06:43 (UTC) (edited on 2023-09-06 14:18 (UTC) by showgood163)

First, skipping check() does help. Thank you for the solution.

Second, is your machine memory limited? My VM has 1GB ram, in which about 600MB is avaliable for package installation. I got different test errors in different runs.

The full logs is updated in https://github.com/silverbulletmd/silverbullet/issues/514 ,

tarball commented on 2023-09-05 16:07 (UTC)

I thought the recent deno update might have broken it, but then I tried rebuilding the package both on my main system, and on a freshly created VM: both work fine.

You have already created a github issue:

https://github.com/silverbulletmd/silverbullet/issues/514

taking it to developers and disabling check() for the time being is probably your best bet. I don't know much about the project's internals.

showgood163 commented on 2023-09-05 15:36 (UTC)

Hi there!

I tried to install this AUR and failed to build the package. The following log shows that 1 of 37 tests failed. Could you help me fix this problem?

 ERRORS

Run a plugos endpoint server => ./plugos/hooks/endpoint.test.ts:10:6
error: TypeError: error sending request for url (http://localhost:3123/_/test/?name=Pete): error trying to connect: tcp connect error: Connection refused (os error 111)
  const res = await fetch(`http://localhost:${port}/_/test/?name=Pete`);
              ^
    at async mainFetch (ext:deno_fetch/26_fetch.js:277:12)
    at async fetch (ext:deno_fetch/26_fetch.js:501:7)
    at async file:///tmp/makepkg/silverbullet/src/silverbullet-0.3.11/plugos/hooks/endpoint.test.ts:32:15

 FAILURES

Run a plugos endpoint server => ./plugos/hooks/endpoint.test.ts:10:6

FAILED | 36 passed | 1 failed (16s)

error: Test failed
==> ERROR: A failure occurred in check().
    Aborting...