[pulsar-next] Ensure the canary release channel's pulsar
and ppm
always work correctly
#1103
Labels
pulsar-next
Related to the version of Pulsar that runs on the latest Electron
The “canary” channel — which I sometimes call “PulsarNext” because I can't decide on a name — is something we'll have to do for a while so that people can run the latest-Electron version alongside the regular Pulsar version. This roughly corresponds to Atom's concept of a separate “release channel”; Atom had
beta
andnightly
release channels.To make this possible,
yarn dist --next
(the--next
flag is new) will tell the repo to build a different channel of Pulsar — complete with a different name, a different storage path (for IndexedDB and other data), and a differentATOM_HOME
(since two versions of Pulsar with different underlying Electron versions shouldn't share~/.pulsar
). Thepulsar
andppm
executables should have different names — e.g.,pulsar-next
andppm-next
.Perhaps most challenging is the fact that
ppm-next
will need to point to the PulsarNext app'sATOM_HOME
. For instance,ppm-next
should not list the packages that are installed into~/.pulsar
; it should default to listing the packages installed into~/.pulsar-next
.Requirements:
pulsar
andppm
to (e.g.)pulsar-next
andppm-next
so they don't get in the waypulsar-next
to launch Pulsarpulsar
to launch PulsarNextppm-next
to install things in the wrongATOM_HOME
folder and vice versaATOM_HOME
, but we might also want to introduce some sort of “are you sure”? speed bump here.ppm-next rebuild foo
rebuilds packagefoo
…incompatible-packages
package)The text was updated successfully, but these errors were encountered: