This is a public demo for the Extension Store feature of https://we.phorge.it/T16272.
You can register for an account here, and play around with defining and publishing an Extension:
{PHID-APPS-ExtensionsStoreApplication}
The extension store has a dedicated domain as well: https://p3.aviv.pw/
- All data here may be deleted with no warning.
== To Install Extension in your //TEST// instance
- add these diffs to your install:
- https://we.phorge.it/D26379 (arcanist)
- https://we.phorge.it/D26521 (phorge)
- https://we.phorge.it/D26507 (phorge)
- Set this configuration:
```lang=shell
echo '[{"name": "p2","uri": "https://p2.aviv.pw/"}]' | bin/config set extensions.extension-stores --stdin
```
(Or directly edit your local.json, whichever you like.)
- optionally, set `extensions.install-dir` to a directory you like. It should default to the dir above `phorge/` and `arcanist/`.
- run `bin/extensions`:
```lang=shell
$ bin/extensions show avv.store
Extension key: avv.store
Library: extension-store
Version: 0.4
URI: https://p2.aviv.pw/file/download/vluucxgvzhl5v4h5lglz/PHID-FILE-h633nhwfjtbmv5b3ixth/extension-store.phar.tar
$ bin/extensions install avv.store
```
- It will tell you things, then copy the PHAR file to `install-dir` and add it to `load-libraries` in your local.json.
== To Publish an Extension
- Publishing a version of an extension requires uploading a file first, and typing it its PHID.
- The extension store application show here is bad. It's mostly something to allow the client-side scripts to be written. Please, please, somebody write a better one!
- You'll need to create a PHAR file for your extension (See https://we.phorge.it/P56 for a working example), then drag-and-drop it here. There's a size limit on the upload, but it shouldn't be a problem.
- You can see the file phid in the File page.
- There's no validation on the actual file, so you can use a subway map instead.