emacs-ipython-notebook/lisp
John Miller ce419a12a5
Appveyor iterating (WIP) (#573)
* ob-ein: Bring back old functionality.

Bring back some old features to babel edit buffers while trying to respect
recent addition of polymode support.

* Override polymode if the user really wants.

Polymode is really for notebook buffers in any case, but this will override
whatever completion backmode a user has configured for python-mode.

* Install cask using python2.

For now python2 is the easiest option for testing on Windows since cask does
not properly support python3 when in Windows.

* Let's throw in the ert-runner, see what happens.

* Can I use my fork of cask?

Work around smartrep weirdness, try to live without command line wildcard
expansion.

* Get the url for the fork right.

* Experiment with python37, use test_script.

* Unstick appveyor, I hope.

* Fix parsing error.

* test_script is not executing. Why?

* Add ert testing.

But why are the test_script commands not executing?

* tasks: Automate building and testing using invoke.

Invoke leverages Python, which I hope will allow us to abstract out differences
in platforms when it comes to building and testing ein.

* Use invoke on appveyor.

* appveyor: Use the environment python.

So we can test versions other than python 2.7.

* Parsing error.

Is
https://packaging.python.org/guides/supporting-windows-using-appveyor/#setting-up
lying to me?

* Quote commands, just in case.

* Get python onto the path.

* Appveyor is catching up to travis.

* Parsing error.

* Update pip, try to get quoted syntax right.

* Still not liking my pip call.

Last try, next step we go to a requirements.txt file.

* Go to using a requirements file for pip.

* ecukes needs bash to work.

* Cleaning up and fiddling.

Seems like the emacs-jupyter guy has his act together - maybe we can take some
inspiration for our appveyor config.

* Syntax error in environment.

* More syntax errros.

* Maybe we need quoting.

* I give up.

* Formatting and cleanup.

* Add customization, yet another syntax error.

New customizable variable `ob-ein-babel-edit-polymode-ignore' to override
keybinding for \C-c\C-c in an org source code edit buffer.

* John learned some Powershell today.

* Fix the executable path.

Sometimes there is more than one curl installed on the system, make sure we can
account for that in testing.

* Handle updating the path inside invoke.

* Report which curl we are using before starting functional tests.

* Enable RDP so we can see error logs.

* Keep the build alive even when it finishes.

* Fix #568.

Apparently we need to specify the user agent when on windows, otherwise tornado
will start throwing 403 responses. Currently using Mozilla/4.0 as the agent, but
might be a good idea to make this value customizable.

* Clean up emacs config.

* Why is appveyor dropping the xsrf token?

* xsrf cookie found, what does the header look like?

* Try different user-agent header, reenable rdp.

* JSON encoding issues on Python side, it appears. Let's try an older Python.

Login works, contents query to get notebooklist works (i.e. GET on
/contents/api), but creating a notebook (i.e. POST on /contents/api) fails with
invalid JSON. ein and emacs-request appear to be generating the proper json, but
jupyter notebook does not see the same thing that is being written. Could be
bytes vs. text issue with modern v3.x python, so let us see how this all works
with Python 2.7.

* Python27 does not have pathlib out of the box.

* Make amends with Python27

* Back to python37.

Tornado/notebook still isn't reading the POST'ed json correctly.

* Do we need to specify content type?

* Must be selective in specifying application/json content.

* Re-enable rdp.

* Let's try a different curl.

* Ensure most recent curl is on path

* Try a different path.

* Try to warn user if suspicious curl detected.

* Remove debugging statements.

* EVM depends on trusty for 26.x

See issue #125 (https://github.com/rejeep/evm/issues/125). Let's hope I got the
travis.yml syntax right.

* Minimal support for ecukes from invoke.

* Cleaner server shutdowns, better ecukes support from invoke.

Use the /api/shutdown REST API call now to shutdown running server. Also support
more command line options for ecukes from invoke.

* Almost full support of ecukes using invoke.

But! Also disabling integration testing for the time being until I understand
why ecukes fails even though everything else is working.

* Just do integration and functional testing on appveyor.

Better than nothing while I work out what is breaking the integration tests.
2019-07-28 18:20:13 -06:00
..
ein-ac.el Polymode 2019-04-02 09:35:17 -04:00
ein-cell-edit.el Appveyor iterating (WIP) (#573) 2019-07-28 18:20:13 -06:00
ein-cell-output.el Process all output types on json export. 2019-02-09 13:36:37 -06:00
ein-cell.el Undo did not account for slideshow 2019-04-04 05:45:34 -04:00
ein-classes.el Standardize metadata a bit 2019-05-25 11:31:05 -04:00
ein-company.el Avoid completing against punctuation (again). 2019-04-04 16:42:59 -05:00
ein-completer.el Eldoc support should only show the function signature. 2019-06-01 09:51:19 -05:00
ein-connect.el Use completing-read instead of ido-completing-read. (#514) 2019-04-16 10:04:11 -05:00
ein-console.el ein:console-executable-get: fail if console executable was not found 2018-08-30 16:38:07 -04:00
ein-contents-api.el fix#560: request-response-status-code may return nil 2019-06-21 09:39:03 -04:00
ein-core.el Do not assume "notebook" subcommand 2019-06-05 14:30:26 -04:00
ein-dev.el Add documentation, work around smartrep. 2019-05-25 10:23:22 -05:00
ein-events.el Respect cursor_start and cursor_end in matches 2018-12-28 21:14:11 -05:00
ein-file.el finish previous commit 2018-10-28 14:38:53 -04:00
ein-helm.el update the code base to avoid compilation warnings about obsolete functions 2018-11-08 09:36:35 -05:00
ein-hy.el use cl-defmethod instead of defmethod 2018-11-08 16:24:28 -05:00
ein-iexec.el Add autoload cookies 2012-09-01 20:51:55 +02:00
ein-inspector.el avoid byte compilation warnings on unused arguments 2018-11-05 11:51:40 -05:00
ein-ipdb.el Source tracking in EIN ipdb sessions. 2016-12-24 12:51:54 -06:00
ein-ipynb-mode.el irnb is a kagglism that jupyter doesn't understand 2019-04-02 19:40:34 -04:00
ein-jupyter.el Appveyor iterating (WIP) (#573) 2019-07-28 18:20:13 -06:00
ein-jupyterhub.el ein-jupyterhub: Whitespace cleanup. 2018-12-05 09:41:47 -06:00
ein-kernel.el ein:kernel-complete: use ':code' instead of ':line' for api-version 4. 2019-05-29 18:34:09 +02:00
ein-kernelinfo.el Ob-ein Improvements 2019-05-20 10:59:43 -04:00
ein-kill-ring.el mv *ein*.el ein.py lisp/ 2012-07-02 16:47:20 +02:00
ein-log.el Surface curl errors 2019-01-21 13:42:35 -05:00
ein-multilang-fontify.el Clean up multilang 2018-12-08 21:25:48 -05:00
ein-multilang.el If you see something, say something 2019-05-16 09:47:24 -04:00
ein-node.el (require 'ein-utils) -> (require 'ein-core) 2012-08-28 15:26:32 +02:00
ein-notebook.el Polymode bugfixes 2019-06-10 19:10:55 -04:00
ein-notebooklist.el Appveyor iterating (WIP) (#573) 2019-07-28 18:20:13 -06:00
ein-notification.el Use completing-read instead of ido-completing-read. (#514) 2019-04-16 10:04:11 -05:00
ein-org.el Add ob-ein tests 2019-02-19 10:06:15 -05:00
ein-output-area.el revive tkf tests 2018-09-27 00:52:00 -04:00
ein-pager.el jupyterhub basic (PAM only) 2018-12-04 18:31:44 -05:00
ein-pkg.el tkf/emacs-request 0.3.1 defaults encoding to utf-8 2019-07-02 00:12:52 -04:00
ein-process.el irnb is a kagglism that jupyter doesn't understand 2019-04-02 19:40:34 -04:00
ein-pseudo-console.el Now all :help strings in menu are auto-generated 2012-09-01 21:32:20 +02:00
ein-python.el ein-python: Fix for #252 2017-11-18 11:24:24 -06:00
ein-pytools.el Use completing-read instead of ido-completing-read. (#514) 2019-04-16 10:04:11 -05:00
ein-query.el Appveyor iterating (WIP) (#573) 2019-07-28 18:20:13 -06:00
ein-scratchsheet.el use cl-defmethod instead of defmethod 2018-11-08 16:24:28 -05:00
ein-shared-output.el ob-ein bugfix 2019-05-21 19:24:24 -04:00
ein-skewer.el ein-skewer: Handle html in the browser. 2019-01-14 18:23:22 -06:00
ein-smartrep.el Appveyor iterating (WIP) (#573) 2019-07-28 18:20:13 -06:00
ein-subpackages.el Polymode 2019-04-02 09:35:17 -04:00
ein-timestamp.el use cl-defmethod instead of defmethod 2018-11-08 16:24:28 -05:00
ein-traceback.el use cl-defmethod instead of defmethod 2018-11-08 16:24:28 -05:00
ein-utils.el Use completing-read instead of ido-completing-read. (#514) 2019-04-16 10:04:11 -05:00
ein-websocket.el half-baked cookie jar messes up websocket 2019-05-07 22:46:37 -04:00
ein-worksheet.el Polymode bugfixes 2019-06-10 19:10:55 -04:00
ein.el Ob-ein Improvements 2019-05-20 10:59:43 -04:00
ein_inspector.py Document and dependency updates. (#561) 2019-06-22 10:01:50 -05:00
ein_remote_safe.py ein-completer: Robuster oinfo 2018-11-05 17:05:38 -06:00
ob-ein.el Appveyor iterating (WIP) (#573) 2019-07-28 18:20:13 -06:00
poly-ein.el Document and dependency updates. (#561) 2019-06-22 10:01:50 -05:00