Min RK
6b9508f45b
update manifest for sdist
2017-05-24 17:21:11 -07:00
Min RK
e7674ce96c
bump version to 0.2.0
2017-05-24 17:17:57 -07:00
Yuvi Panda
032d98f956
Merge pull request #14 from minrk/newlines
...
line endings!
2017-05-24 16:54:52 -07:00
Min RK
7d64687d4e
Merge pull request #11 from willingc/iss9
...
Add builder creation doc
2017-05-24 16:48:38 -07:00
Min RK
e7f0ab645e
comment about output capturing
2017-05-24 16:42:25 -07:00
Min RK
698f9e1196
flush lines with carriage returns
...
for terminal progress bars
2017-05-24 16:33:35 -07:00
Min RK
f3505db967
only capture logs when doing json logging
...
and don’t do json logging by default
log messages include newlines, carriage returns so that they can be handled correctly in terminal frontends
2017-05-24 14:11:37 -07:00
Min RK
3ca1c47eda
Merge pull request #10 from jupyter/port-forward
...
Use same port in host and docker container
2017-05-24 12:25:15 -07:00
Yuvi Panda
11eb57cbb1
Merge pull request #12 from minrk/bundle-s2i
...
bundle s2i in wheels
2017-05-24 12:07:56 -07:00
Min RK
560b3ed563
append bundled s2i instead of prepend
...
so it’s lower priority than whatever is already on PATH
2017-05-24 11:47:20 -07:00
Min RK
54d5f85ced
upgrade pip
2017-05-24 10:52:04 -07:00
Min RK
683a94fb80
apply platform tag to wheels
2017-05-24 10:01:24 -07:00
Carol Willing
1ed96cbef5
Fix format of command
2017-05-24 10:00:44 -07:00
Carol Willing
a4d7abf45b
Correct indent level
2017-05-24 09:57:54 -07:00
Carol Willing
8912ef3c7a
Add builder creation doc
2017-05-24 09:54:43 -07:00
Min RK
c158daab9d
use bundled s2i by adding package to PATH
2017-05-24 09:49:23 -07:00
Min RK
bba7582886
bundle s2i binary
...
only for linux, darwin for now. Still need to apply tag to wheels.
2017-05-24 09:48:53 -07:00
yuvipanda
cb11332c6f
Use same port in host and docker container
...
Makes it work on Linux and the default OS X install I think
2017-05-23 18:09:02 -07:00
yuvipanda
c7dae78a51
Move image existence check to a separate repo
2017-05-23 17:56:03 -07:00
Yuvi Panda
d3c099e8a2
Merge pull request #7 from minrk/s2i-build_image
...
further simplify s2i buildpacks
2017-05-23 12:46:47 -07:00
Yuvi Panda
2843801519
Merge pull request #8 from minrk/positional-args
...
support repo as positional arg
2017-05-23 12:43:40 -07:00
Min RK
7924113649
support repo as positional arg
...
and flesh out some Application basics: version, name, docstring
2017-05-23 12:29:27 -07:00
Min RK
1d74762c31
further simplify s2i buildpacks
...
setting build_image is enough, without overriding .build()
2017-05-23 12:09:48 -07:00
Yuvi Panda
fa2bc21f87
Merge pull request #6 from willingc/readme
...
Update README
2017-05-23 10:27:57 -07:00
Carol Willing
cc60c84d41
Update README
2017-05-23 00:28:12 -07:00
yuvipanda
b9efde90e9
Print out the host port number in a log message
...
Eventually, we should actually be passing the port number
inside the docker container, after verifying that it is available
on the host. We can deal with races by doing the same thing that
ipython notebook does.
2017-05-22 23:57:40 -07:00
yuvipanda
a0f539faaf
Don't use host network for running containers
...
- Doesn't really work on OS X. BOO!
2017-05-22 23:33:23 -07:00
yuvipanda
9adb8aa947
Use host networking when running
...
Since we only expect this to be happening on users computers
when they are running this to test, host networking solves a
bunch of surprises around access to ports, as well as figuring
out which port the notebook should be listening on (since it
can just rely on the logic inside the notebook)
Dangerous when run on a cloud environment!
2017-05-22 23:02:18 -07:00
yuvipanda
9fca3bf480
Kill the container when our program exits
2017-05-22 23:00:37 -07:00
yuvipanda
eac759ccd4
Add explicit dependency on escapism
2017-05-22 22:55:44 -07:00
yuvipanda
6505ddc564
Allow running just-built container
...
- make push optional
2017-05-22 22:55:17 -07:00
yuvipanda
ae124ec2f7
Make push optional and default to False
...
Let's optimize the defaults for good commandline usage rather
than for binderhub usage
2017-05-22 22:17:02 -07:00
yuvipanda
542c7a9a1c
Set default repo source to full path of current dir
...
Rather than just '.'
2017-05-22 22:16:46 -07:00
yuvipanda
657db33017
Set a default image name if none is provided
...
It's kind of shitty but better than just erroring.
2017-05-22 22:16:30 -07:00
yuvipanda
a7d85c48fc
Fix __main__ entrypoint to actually work
2017-05-22 21:30:28 -07:00
yuvipanda
e3224392e0
Add a __main__ and an entrypoint
2017-05-22 20:39:12 -07:00
yuvipanda
13226e1f27
Rename source_url and source_ref to repo and ref
...
Makes more sense, and also now consistent with the repository
name
2017-05-22 20:32:13 -07:00
yuvipanda
310bc0fbfe
Add a little more bit of documentation
2017-05-22 20:28:28 -07:00
yuvipanda
e2991f614a
Specify the type of buildpack list elements
2017-05-22 20:26:47 -07:00
yuvipanda
25c203c356
Minor variable name cleanup
2017-05-22 20:26:27 -07:00
yuvipanda
adbe908355
Rename alias for output image
...
Makes more sense
2017-05-22 20:13:20 -07:00
yuvipanda
46b08a21dd
Add more docs
2017-05-22 20:10:59 -07:00
yuvipanda
93972e9b58
Rename builder to repo2docker
...
Package name is jupyter-repo2docker
2017-05-22 16:22:36 -07:00
yuvipanda
03eb650acb
Move the s2i builders into a subdir
2017-05-22 16:18:49 -07:00
yuvipanda
8811588fa0
Merge s2i-builders repo to the builder repo
...
These are fairly tightly coupled so let's make them in the same repo
2017-05-22 16:05:27 -07:00
yuvipanda
f77b95a9e8
Remove .gitignore in anticipation of merging with s2i
2017-05-22 16:00:33 -07:00
yuvipanda
86b97f8d46
Fix typos in README
2017-05-22 15:36:02 -07:00
yuvipanda
2ce071c714
Add a simple README
2017-05-22 15:29:11 -07:00
yuvipanda
2d31b2c289
Upgrade version of s2i
2017-05-22 15:15:31 -07:00
yuvipanda
70d7c68134
Use cwd switching to do git operations
...
Setting just --git-dir is not enough, you also need to set
--work-dir. Just setting cwd is better
2017-05-22 15:11:48 -07:00