Package Details: ssb-patchwork 3.18.1-1

Git Clone URL: https://aur.archlinux.org/ssb-patchwork.git (read-only, click to copy)
Package Base: ssb-patchwork
Description: A decentralized messaging and sharing app built on top of Secure Scuttlebutt (SSB)
Upstream URL: https://github.com/ssbc/patchwork
Keywords: decentralized gossip network patchwork scuttlebutt ssb
Licenses: AGPL3
Submitter: dlandau
Maintainer: dlandau (pypper, christianbundy, zozs)
Last Packager: zozs
Votes: 20
Popularity: 0.000001
First Submitted: 2017-09-09 19:25 (UTC)
Last Updated: 2021-04-11 20:05 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

Blaiz0r commented on 2018-09-03 21:07 (UTC)

Line 30 in the PKGBUILD didn't work for me:

npm ci --only=production

I had to separate the c and the i and reverse them.

christianbundy commented on 2018-05-30 18:33 (UTC)

Stephen304: Please read the most recent comments (just below your post).

Patchwork 3.9.0 requires Node.js < 10 as a build dependency (makedepends), but once it's installed you can reinstall nodejs as it isn't required as a runtime dependency.

Stephen304 commented on 2018-05-30 18:27 (UTC) (edited on 2018-05-30 18:28 (UTC) by Stephen304)

Is there any specific reason why this depends on nodejs-lts-carbon now? I have atom installed, which depends on nodejs, so I am failing to update to 3.9.0-3 since the nodejs-lts-carbon conflicts with my currently installed nodejs from atom.

:: The following 1 package(s) are getting installed:
   community/nodejs-lts-carbon  /         ->  8.11.2-1

:: The following 1 package(s) are getting updated:
   aur/ssb-patchwork            3.8.10-1  ->  3.9.0-3

:: The following 3 package(s) are getting removed:
   community/apm                1.19.0-6  ->  /
   community/atom               1.27.1-1  ->  /
   community/nodejs             10.3.0-1  ->  /
:: Package nodejs will be removed due to a conflict with nodejs-lts-carbon
:: Dependency nodejs>=10 of package apm is not fulfilled
:: Dependency apm of package atom is not fulfilled

christianbundy commented on 2018-05-07 00:09 (UTC)

Shywim: My "relative confidence" ended up being completely backward, you were right! I've just pushed a new commit to move nodejs-lts-carbon and npm to makedepends, and after about 30 minutes of paranoid testing I can't find any reason not to do this. Thanks for the suggestion!

christianbundy commented on 2018-05-06 15:13 (UTC)

Shywim: I'm relatively confident that nodejs is required at runtime because it ends up hosting an sbot (https://github.com/ssbc/scuttlebot/) server in the background.

I'm working on bringing all of the Patchwork dependencies up-to-date (https://github.com/ssbc/patchwork/pull/789) to support Node 10, but it will likely take a few more days to wrap up all of the loose ends. Thanks for your patience!

Shywim commented on 2018-05-06 09:30 (UTC)

Is nodejs required for runtime? If not, please use makedepends for nodejs as I need the latest version of node of my machine, and I can't have nodejs and nodejs-lts-carbon side by side.

dlandau commented on 2018-04-29 20:44 (UTC)

Ok, got it to a working state. It's not ideal by a long shot, but at least it functions now.

dlandau commented on 2018-04-29 19:17 (UTC)

Uh, this package is broken by upstream(s) right now.

@Plexcon: That error is this one: https://github.com/npm/npm/issues/19989. Using npm ci instead of npm install gets through that, but then we have the next problem.

On node 10, there's this issue in a dependency https://github.com/Level/leveldown/issues/455.

@k3a: see christianbundy's comment. NPM has introduced package-lock.json since then, a file that lists all the exact dependencies and npm ci install exactly those. Using sed to get rid of the electron dependency in package.json is doable, but I'm not sure if doing same to package-lock.json would make any sense as that file is not meant to be human editable.

I tried to update the PKGBUILD to depend on older versions of node and npm from the AUR, which is highly unideal as this forces the removal of the packages from community. This didn't turn out to solve the problem as there's some error message about node-abi and trying to bypass that lead to Patchwork installing, but failing to launch with a message about NODE_MODULE_VERSION (unsurprising, as node-abi was being used for working with that as far as I could tell).

End result is no working package at the moment. I'll try to get it fixed asap, but it might require upstream to do something.

christianbundy commented on 2018-04-27 20:30 (UTC)

k3a: https://lists.archlinux.org/pipermail/aur-general/2014-September/029526.html