Hypothesis client extraction

2016-06-28

This is just a quick scribble of my plans for extracting the Hypothesis client (that is, the sidebar application) into its own repository.

  1. Run a history extraction of client-relevant stuff into the hypothesis/client repository.

  2. Prepare patches against the client repository that allow us to upload the built Hypothesis client (i.e. the contents of the build directory after a gulp build-app) to npm.

  3. Upload that build to npm as 0.31.0-dev+sha<GIT_SHA> with a distribution tag of dev. This will ensure that npm install hypothesis finds no versions to install at the moment, but npm install hypothesis@dev will.

  4. Prepare patches against the h that will allow us to install the (built) Hypothesis client from npm.

When/if we’re happy with this, we’ll have to have a short code freeze of the client code so that we can perform the transition. Then we’ll do the process over again.

(One thing not to forget: push the rewritten tags to the client repository.)

At the end of the process we should end up with:

Once all that’s done and dusted we can: