I wanted to share a small experiment I did yesterday, with help from
Marcos and Romain Deltour.
The idea was to get the App Manifest specification to auto-publish
through Echidna whenever the editor makes a commit.
There was a bug on the Echidna side that prevented this from fully
working, and since the fix has not been deployed I am not adding this to
the wiki *yet*. However I wanted to share it so that you can start
thinking about it, and possibly make improvements.
The idea is very simple: use Travis integration to ping Echidna whenever
there's a commit.
* It says "language: node_js". Ignore that. If you don't specify a
language, Travis gives a warning. This is just to silence it.
* Under branches/only you want to include the branch you are publishing
from. I STRONGLY recommend that you publish only from one branch; hence
the lines. Also, Travis ignored gh-pages unless you include this.
* Under env/global you will want to change all three of URL (the URL of
your file or manifest), DECISION (the decision to publish), and the
weird-looking "secure" line.
The latter "secure" line is actually the encrypted token that you were
given to publish with Echidna. It's probably a better idea to encrypt
it, as done in the example above. Thankfully, it's very simple.
Basically, you install the travis tool (gem install travis), then run: