-
-
Notifications
You must be signed in to change notification settings - Fork 177
Description
Hi!
I am currently looking into packaging Pulsar Edit for Debian. Due to that I wanted to read all the docs on what build dependencies Pulsar has (and ideally why), and also how to build it. I noticed that the current documentation is quite lacking.
The CONTRIBUTING.md doc section Local development simply refers to https://flight-manual.atom.io which does not exist anymore.
It has been replaved by https://docs.pulsar-edit.dev/, which in section Building Pulsar which does explain some things, but for e.g. dependencies it is very short and does not even mention what NodeJS version is needed or why Libsecret is needed (in my testing it isn't) and it does not really explain the custom script/electron-builder.js which in fact orchestrates everything.
The sources also have the docs/ subdirectory, and docs/Building.md, but they seem unmaintained and duplicate with the online documentation site docs.pulsar-edit.dev..
The most up-to-date build instructions can be found by looking at the CI code itself in .github/workflows/build.yml and .github/workflows/package-tests-linux.yml. However, there isn't much inline documentation explaining why the build is done as it is done, and some oddities like using npx yarn instead of just yarn baffles me.
There are also a .cirrus.yml file with build commands, and a Dockerfile with dependency lists, but seems to be nothing is using these. The Dockerfile is based on Ubuntu 20.04 but the GitHub Actions is running on Ubuntu 25.10, so probably nobody has used the Dockerfile for a long time.
There is also the git submodule ppm with it's own quirks which is part of the overall Pulsar build.
I started now documenting the build (for Ubuntu 24.04 specifically, as the CI probably and releases should probably be based on it) at ottok@606fb2e#diff-08eb1fbe8a9312a406bcf21cf33836ee9106c0de525e5d77de5321747102e05f. I filed this issue to solicit feedback about the state of the build documentation and perhaps some guidance what should be done about it. If I figure out how all of this works I might submit a PR to have the docs and build scripts consolidated, streamlined and up-to-date.