Tim Head
77f6241990
Remove duplicate codecov config
2018-12-11 13:12:00 +01:00
Tim Head
69cd760e07
Merge pull request #494 from yuvipanda/util-tests
...
Add unit tests for repo2docker/utils.py
2018-12-11 13:05:08 +01:00
Min RK
694e728ffd
Merge pull request #478 from yuvipanda/cache-from
...
Allow specifying images to reuse cache from
2018-12-11 11:00:23 +01:00
Tim Head
d934c59156
Remove unused shutil import
2018-12-11 10:55:00 +01:00
Tim Head
153765aa70
Add shutil import
2018-12-11 10:54:06 +01:00
yuvipanda
bf8836243c
Add test for ByteSpecification validation
2018-12-10 23:19:13 -08:00
yuvipanda
b441176a6a
Add test for utils.chdir
2018-12-10 23:13:56 -08:00
yuvipanda
ee9b150ef8
Remove maybe_cleanup util function
...
It was used in exactly one place, and could be inlined with
minimal loss of clarity
2018-12-10 23:13:46 -08:00
yuvipanda
30e69bccee
Add unit test for execute_cmd in repo2docker.utils
2018-12-10 23:06:25 -08:00
yuvipanda
d035483d1c
Add tests for Docker & Legacy Docker buildpacks
2018-12-10 22:46:06 -08:00
Tim Head
b61e37474b
Merge pull request #493 from yuvipanda/nbrsessionproxy
...
Bump nbrsessionproxy version
2018-12-10 22:02:37 +01:00
yuvipanda
b4dbc9852e
Pass cache_from through to build
...
Got lost in a merge
2018-12-10 11:43:54 -08:00
Yuvi Panda
1cd127d9b9
Merge pull request #491 from betatim/roadmap-update
...
Update the roadmap
2018-12-10 11:34:19 -08:00
yuvipanda
47335f44c7
Add tests for cache_from functionality
2018-12-10 11:25:47 -08:00
yuvipanda
3b0b77259f
Inject docker.APIClient into methods that need them
...
- Creating a new client with 'auto' version causes repeated
unnecessary network requests to discover version of docker daemon.
- Testing is easier this way, since we can inject a mocked docker
client more easily
2018-12-10 11:18:01 -08:00
Yuvi Panda
b0dcc39c7b
Merge pull request #492 from betatim/codecov
...
Add codecov configuration
2018-12-10 11:14:10 -08:00
yuvipanda
3b515aa5f1
Merge branch 'master' into cache-from
...
Merges in this revert: https://github.com/jupyter/repo2docker/pull/481
2018-12-10 11:13:36 -08:00
yuvipanda
71031688dd
Bump nbrsessionproxy version
...
For https://github.com/jupyterhub/mybinder.org-deploy/issues/865
2018-12-10 09:52:16 -08:00
Tim Head
0dfec15fff
Add codecov configuration
2018-12-10 15:26:59 +01:00
Tim Head
de348d548c
Update roadmap
2018-12-10 11:39:15 +01:00
Yuvi Panda
31d175a420
Merge pull request #481 from jupyter/revert-461-caching-builds
...
Revert "[MRG] Start reusing existing docker images if content hasn't changed"
2018-12-05 13:09:56 -08:00
Yuvi Panda
aeec658149
Revert "[MRG] Start reusing existing docker images if content hasn't changed"
2018-12-05 11:51:22 -08:00
yuvipanda
89665ea910
Use --cache-from as arg name to match docker build
2018-12-05 11:11:55 -08:00
yuvipanda
569e6cf483
Pass through cache_from to legacy buildpack too
2018-12-05 11:11:27 -08:00
yuvipanda
f5ced79d2c
Add traitlet for reuse_layers_from
...
More accurate name in our context
2018-12-05 11:11:27 -08:00
yuvipanda
1dacdd4c46
Allow specifying images to reuse cache from
...
This lets us explicitly specify images that repo2docker
should try to re-use cached layers from. Docker normally only
looks for layers from images that were *built* locally - if
we want it to look in images that were *pulled* from a registry,
we need to specify it here.
2018-12-05 11:10:50 -08:00
Yuvi Panda
8c9f08cd1e
Merge pull request #461 from betatim/caching-builds
...
[MRG] Start reusing existing docker images if content hasn't changed
2018-12-04 14:57:56 -08:00
Tim Head
b9e182791e
Use a subset of the git SHA1 to make image names unique
2018-11-29 18:22:05 +01:00
Min RK
fdcfb81689
Merge pull request #479 from yuvipanda/quiet-apt
...
Make apt be quieter
2018-11-29 17:05:41 +01:00
yuvipanda
82e0dc0149
Make apt be quieter
...
Currently a *lot* of our log info is from apt packages being
installed, and package lists being updated. This is mostly not
very useful information to users. The following outputs are
hidden:
- apt-get update, purge & clean
- apt-get installs for base packages
When there is any error from any of the apt-get steps, they will
be printed. Any packages the user explicitly lists (via apt.txt)
will have their install status messages output.
2018-11-28 23:11:36 -08:00
Tim Head
d848073352
Merge pull request #477 from choldgraf/docsupdate
...
removing note that env.yml is needed for julia
2018-11-27 08:40:55 +01:00
Chris Holdgraf
cfd3dbdb5f
removing note that env.yml is needed for julia
2018-11-26 10:21:02 -06:00
Chris Holdgraf
a647191689
Merge pull request #474 from betatim/tweak-docstring
...
[MRG] Tweak docstring to make it more understandable
2018-11-16 17:37:05 -08:00
Tim Head
2e7a5d9536
Tweak docstring to make it more understandable
2018-11-16 22:24:31 +01:00
Tim Head
1cef296b00
Merge pull request #472 from nokome/master
...
Ensure Python3 before reading README with encoding arg
2018-11-16 07:01:42 +01:00
Nokome Bentley
b40558f448
Better approach to dealing with alt Python versions
...
As suggested by @betatim https://github.com/jupyter/repo2docker/pull/472#issuecomment-439219985
2018-11-16 12:08:45 +13:00
Nokome Bentley
6d496eee91
Ensure Python3 before reading README with encoding arg
...
If you accidently try to install using Python 2 you get the error
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/nokome/nokome/repo2docker/setup.py", line 5, in <module>
with open('README.md', encoding="utf8") as f:
TypeError: 'encoding' is an invalid keyword argument for this function
Ideally the user would be aked to use Python 3 as `python_requires` tells us,
but which isn't reached yet.
This implements that behaviour.
2018-11-16 11:37:30 +13:00
Tim Head
ccce3fe9fc
Merge pull request #467 from yuvipanda/jupyterhub
...
Add jupyterhub to base environment
2018-11-13 11:11:27 +01:00
Chris Holdgraf
0b7adee662
Merge pull request #468 from jupyter/willingc-patch-1
...
Add space between logo and title in README
2018-11-12 16:36:39 -08:00
Carol Willing
6c7f8a39ab
Add space between logo and title in README
2018-11-12 14:09:03 -08:00
Carol Willing
310e2b8512
Merge pull request #463 from betatim/add-logo
...
[MRG] Add and use new logo
2018-11-12 14:07:30 -08:00
Yuvi Panda
c489f54a05
Merge pull request #448 from betatim/nix-experiment
...
[MRG] Switch to BaseImage for nix build pack
2018-11-12 13:56:30 -08:00
yuvipanda
a62e8acaf4
Add jupyterhub to base environment
...
Uses pip instead of conda, since (AFAIK) conda installs
CHP and friends too.
2018-11-12 13:19:06 -08:00
yuvipanda
5f1f9c6668
Add comment explaining use of $*
2018-11-12 12:31:07 -08:00
Tim Head
9f081a20f1
Merge pull request #447 from trallard/feature/support-pipfiles-#174
...
[MRG] Pipfile for repo2Docker
2018-11-12 10:05:23 +01:00
Tim Head
bf9f6b893d
Update dev-requirements.txt
...
Co-Authored-By: trallard <taniar.allard@gmail.com>
2018-11-12 08:24:57 +00:00
Tim Head
9b10b33525
Update docs/doc-requirements.txt
...
Co-Authored-By: trallard <taniar.allard@gmail.com>
2018-11-12 08:24:47 +00:00
Tania Allard
49357a4875
Ensure the deps and references are correct across all files
2018-11-11 16:01:45 +00:00
Tim Head
148b7890e5
Update Pipfile
...
Co-Authored-By: trallard <taniar.allard@gmail.com>
2018-11-11 15:55:09 +00:00
Tania Allard
b924d7227d
Add docs: how to use the Pipfile and to update this too
2018-11-11 11:32:22 +00:00