Peter Amstutz [Tue, 13 May 2014 13:07:05 +0000 (09:07 -0400)]
2798: Merged branch with code to read environment variables with branch working on Put support.
Merge remote-tracking branch 'origin/2798-go-keep-client' into 2798-go-keep-client
Conflicts:
sdk/go/src/arvados.org/keepclient/keepclient.go
sdk/go/src/arvados.org/keepclient/keepclient_test.go
Peter Amstutz [Mon, 12 May 2014 20:54:23 +0000 (16:54 -0400)]
2798: Work in progress connecting data read from input Reader to POST requests.
Peter Amstutz [Mon, 12 May 2014 01:59:44 +0000 (21:59 -0400)]
2798: Working on Transfer function, which will be the core function for
mananging concurrent writes to Keep servers.
Peter Amstutz [Sun, 11 May 2014 19:11:59 +0000 (15:11 -0400)]
2798: Fixed inconsistencies with Python implementation of ShuffledServiceRoots.
Started working on KeepPut.
Peter Amstutz [Sat, 10 May 2014 21:18:21 +0000 (17:18 -0400)]
2798: Started adding tests that ShuffledServiceRoots behavior is consistent
with Python reference implementation.
Peter Amstutz [Sat, 10 May 2014 21:07:59 +0000 (17:07 -0400)]
2798: Added comments to Python shuffled_service_roots and ported function to Go
Peter Amstutz [Sat, 10 May 2014 20:05:59 +0000 (16:05 -0400)]
2798: Turns list of keep disk objects into sorted slice of http URLs for keep servers
Peter Amstutz [Sat, 10 May 2014 19:33:19 +0000 (15:33 -0400)]
2798: Initial commit, supports querying API server for list of Keep disks.
(new branch because I forgot to commit before leaving work)
Brett Smith [Fri, 9 May 2014 21:35:32 +0000 (17:35 -0400)]
2803: Make all Python required versions match wheezy.
Brett Smith [Fri, 9 May 2014 21:06:16 +0000 (17:06 -0400)]
2803: Further relax Python SDK requirement for httplib2.
Our build server is using version 0.7.4, so it's apparently fine.
Brett Smith [Fri, 9 May 2014 20:51:17 +0000 (16:51 -0400)]
Merge branch '2803-python-package-split-wip'
Closes #2803, #2804.
Brett Smith [Fri, 9 May 2014 20:24:00 +0000 (16:24 -0400)]
2803: Relax Python library requirements.
Refs #2803. We're generally undemanding on the libraries we pull in,
and this can help us use more OS-packaged libraries.
Brett Smith [Fri, 9 May 2014 20:18:11 +0000 (16:18 -0400)]
2803: FUSE driver is now under the AGPL.
This is both our intent after the package split, and consistent with
/COPYING file.
Brett Smith [Fri, 9 May 2014 18:37:07 +0000 (14:37 -0400)]
2803: Split arvados and arvados_fuse Python modules.
Prior commits tried to make separate SDK and FUSE packages from the
same sdk/python source tree. However, this didn't work as intended
once the packages were installed. Python modules don't work like Ruby
namespaces. If you ask Python to import arvados.fuse, it finds the
arvados module, then looks for the fuse submodule under it. So you
can't have arvados.fuse installed somewhere completely differently.
In addition, Python packages assume the installation script is called
setup.py. So they wouldn't find setup_fuse.py.
We still want to have the FUSE module separate, so in discussion on
IRC we decided that the least worst option was to rename the module to
arvados_fuse. This commit implements that. If accepted, the new
build procedure will be:
$ python setup.py egg_info -b \
".$(git log --format=format:%ct.%h -n1 .)" sdist upload
Refs #2803.
Brett Smith [Fri, 9 May 2014 14:44:16 +0000 (10:44 -0400)]
2803: Remove unused setup.py.src.
Ward Vandewege [Fri, 9 May 2014 13:23:00 +0000 (09:23 -0400)]
Fix whitespace.
Tom Clegg [Fri, 9 May 2014 08:12:44 +0000 (04:12 -0400)]
Fix Python SDK test suite issues.
Tom Clegg [Fri, 9 May 2014 06:57:27 +0000 (02:57 -0400)]
Fix python SDK test suite issues.
Tom Clegg [Fri, 9 May 2014 02:33:12 +0000 (22:33 -0400)]
Fix pipeline instance state tests.
Ward Vandewege [Fri, 9 May 2014 02:05:12 +0000 (22:05 -0400)]
Do not blindly overwrite GOPATH if it exists.
Misha Zatsman [Fri, 9 May 2014 01:08:46 +0000 (01:08 +0000)]
Merge branch '2638-add-cache-age-disk-usage-histogram-to-workbench' closes #2638
Peter Amstutz [Thu, 8 May 2014 21:10:07 +0000 (17:10 -0400)]
Fixed stop_keep(). Updated test_mount because the fixture changed (again).
Peter Amstutz [Thu, 8 May 2014 20:54:18 +0000 (16:54 -0400)]
Merge branch 'master' of git.clinicalfuture.com:arvados
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
Peter Amstutz [Thu, 8 May 2014 20:52:45 +0000 (16:52 -0400)]
- Added MANIFEST.in to include setup_header.py in the source package. Now gets
the version number from PKG-INFO metadata if available, or git if not, which
should handle all the cases of using sdist, pip install, or install from git
checkout.
- Improved run_test_server.py and fixed Python SDK tests to use it.
Tom Clegg [Thu, 8 May 2014 20:45:47 +0000 (16:45 -0400)]
Trim newline from logfile hash emerging from `arv keep put`.
radhika [Thu, 8 May 2014 20:40:48 +0000 (16:40 -0400)]
Merge branch '2525-java-sdk'
Brett Smith [Thu, 8 May 2014 20:38:46 +0000 (16:38 -0400)]
2759: Workbench shouldn't try to make links from Link names.
Because the name attribute can include arbitrary text, it might
resemble an Arvados object UUID. If that happens, the
_arvados_attr_value partial will try to make a link from it. All
sorts of weirdness could happen as a result (our specific bug was a
bad URL fed to Workbench's API client), so don't even try. Just
render the name directly as editable text.
Closes #2759.
Misha Zatsman [Thu, 8 May 2014 20:10:04 +0000 (20:10 +0000)]
Merge branch 'master' of git.curoverse.com:arvados into 2638-add-cache-age-disk-usage-histogram-to-workbench
Misha Zatsman [Thu, 8 May 2014 20:09:07 +0000 (20:09 +0000)]
Added some documentation and renamed variables after Tim's review.
Ward Vandewege [Thu, 8 May 2014 19:04:41 +0000 (15:04 -0400)]
Remove now-superfluous build.sh step from the documentation to build the
Python SDK from source.
radhika [Thu, 8 May 2014 18:25:43 +0000 (14:25 -0400)]
2525: update available params method
radhika [Thu, 8 May 2014 18:06:04 +0000 (14:06 -0400)]
2525: getAvailableParametersForMethod includes properties from request also.
This is required for create and update methods which have no other parameters.
radhika [Thu, 8 May 2014 17:42:50 +0000 (13:42 -0400)]
Merge branch '2352-use-state'
Brett Smith [Thu, 8 May 2014 17:22:04 +0000 (13:22 -0400)]
Merge branch '2739-fix-100-task-limit-wip'
Closes #2739.
Brett Smith [Thu, 8 May 2014 17:19:27 +0000 (13:19 -0400)]
2739: Ensure crunch-job spawns all new tasks.
Without this fix, crunch-job would only spawn tasks up to the API
server default result limit (currently 100). Refs #2739.
Brett Smith [Thu, 8 May 2014 17:15:16 +0000 (13:15 -0400)]
Bugfix: Don't crash trying to render a new log buffer.
If you submit a Job and then try to load your Workbench Dashboard,
Workbench will likely crash because the log_buffer is a symbol at that
time. This check guards to make sure that we only try to render
actual log content.
radhika [Thu, 8 May 2014 17:02:55 +0000 (13:02 -0400)]
2352: when a running pipeline_instance is stopped in workbench, put it in Paused state.
Similar behavior as when run with --run-here at command prompt.
Peter Amstutz [Thu, 8 May 2014 15:23:51 +0000 (11:23 -0400)]
2798: Initial commit of Go Keep client library.
radhika [Thu, 8 May 2014 14:45:00 +0000 (10:45 -0400)]
Merge branch 'master' into 2352-use-state
radhika [Thu, 8 May 2014 14:40:53 +0000 (10:40 -0400)]
2352: fix issue with setting active during save
Brett Smith [Thu, 8 May 2014 13:34:33 +0000 (09:34 -0400)]
2492: Properly escape Docker image name in Crunch.
Brett Smith [Thu, 8 May 2014 13:28:23 +0000 (09:28 -0400)]
2492: Crunch respects the maximum length of Docker image hashes.
radhika [Thu, 8 May 2014 12:23:11 +0000 (08:23 -0400)]
2352: look for only RunningOnServer in queue method in pipeline_instance
radhika [Wed, 7 May 2014 23:54:23 +0000 (19:54 -0400)]
2352: set active to nil when Ready
radhika [Wed, 7 May 2014 23:34:24 +0000 (19:34 -0400)]
2352: when --submit is used, set the state to Ready, not RunningOnClient.
And do not set Active to true.
radhika [Wed, 7 May 2014 19:04:40 +0000 (15:04 -0400)]
Merge branch 'master' into 2352-use-state
radhika [Wed, 7 May 2014 16:11:22 +0000 (12:11 -0400)]
Merge branch 'master' into 2525-java-sdk
radhika [Wed, 7 May 2014 16:10:47 +0000 (12:10 -0400)]
2525: prompt example
radhika [Wed, 7 May 2014 16:09:07 +0000 (12:09 -0400)]
2525: list resources, methods, and parameters in prompt example to improve user experience.
radhika [Wed, 7 May 2014 15:58:23 +0000 (11:58 -0400)]
2525: Expand prompt example to list the available resources and methods. This can help enhance user experience.
Peter Amstutz [Wed, 7 May 2014 15:53:13 +0000 (11:53 -0400)]
Merge branch 'origin-2035-arv-mount-tags-folders'
Conflicts:
sdk/python/bin/arv-mount
Peter Amstutz [Wed, 7 May 2014 15:39:55 +0000 (11:39 -0400)]
Merge branch '2035-arv-mount-tags-folders' into origin-2035-arv-mount-tags-folders
Brett Smith [Wed, 7 May 2014 15:32:18 +0000 (11:32 -0400)]
Merge branch '2492-docker-crunch-jobs'
Closes #2492.
Brett Smith [Wed, 7 May 2014 15:28:16 +0000 (11:28 -0400)]
crunch: Install Docker images on demand.
Ward requested this to simplify the installation and testing
procedure. This is sort of temporary scaffolding; we expect that in
the future Docker images will be stored in, and read from, Keep.
Brett Smith [Wed, 7 May 2014 15:24:21 +0000 (11:24 -0400)]
crunch-job: Support runtime Docker image.
This adds support for the allow_other mount option in arv-mount to
make the Keep mount available to the container.
Brett Smith [Fri, 4 Apr 2014 16:00:57 +0000 (12:00 -0400)]
docker: Build base container for Crunch jobs.
radhika [Wed, 7 May 2014 15:23:01 +0000 (11:23 -0400)]
2525: refactor response printing
Tom Clegg [Wed, 7 May 2014 15:15:37 +0000 (11:15 -0400)]
Merge branch '2744-update-dev-docs'
closes #2744
radhika [Wed, 7 May 2014 15:07:42 +0000 (11:07 -0400)]
2525: update java sdk documentation to include ArvadosSDKJavaExampleWithPrompt
Tom Clegg [Wed, 7 May 2014 15:05:22 +0000 (11:05 -0400)]
Improve tests: multiple values for "not in", check =, != results more carefully.
Peter Amstutz [Wed, 7 May 2014 15:05:21 +0000 (11:05 -0400)]
Merge branch 'master' into origin-2035-arv-mount-tags-folders
radhika [Wed, 7 May 2014 14:55:03 +0000 (10:55 -0400)]
2525: more testing. also "=" works in place of "is_a" for a filter.
Peter Amstutz [Wed, 7 May 2014 14:32:54 +0000 (10:32 -0400)]
Eliminated build.sh and sed in favor of a common setup_header.py script which
call popen to get the git revision directly. Removed spurious server_pid > 0
and added except Execption: on run_test_server.py.
radhika [Wed, 7 May 2014 12:22:55 +0000 (08:22 -0400)]
2525: example param parsing
radhika [Wed, 7 May 2014 12:03:40 +0000 (08:03 -0400)]
2525: example
radhika [Wed, 7 May 2014 10:49:07 +0000 (06:49 -0400)]
Merge branch 'master' into 2525-java-sdk
radhika [Wed, 7 May 2014 10:47:47 +0000 (06:47 -0400)]
2525: improve response printing in the examples for readability.
Misha Zatsman [Wed, 7 May 2014 06:15:18 +0000 (06:15 +0000)]
Merge branch 'master' of git.curoverse.com:arvados into 2638-add-cache-age-disk-usage-histogram-to-workbench
Tom Clegg [Wed, 7 May 2014 04:16:30 +0000 (00:16 -0400)]
Clarify log methods page: say "log entry" instead of "log".
Tom Clegg [Wed, 7 May 2014 04:12:12 +0000 (00:12 -0400)]
Document "filters" feature. Add missing "!=" and "not in" operators.
Tom Clegg [Wed, 7 May 2014 03:15:40 +0000 (23:15 -0400)]
Refuse to run rake tasks without "bundle exec".
Otherwise you can accidentally load (or dump) schemas without having
the pg_power gem loaded, which will leave you with incorrect indexes
in your database (or schema.rb).
radhika [Wed, 7 May 2014 02:59:11 +0000 (22:59 -0400)]
2525: Add ArvadosSDKJavaExampleWithPrompt.java to serve as an easier tool to make quick calls to API server.
Misha Zatsman [Wed, 7 May 2014 02:48:40 +0000 (02:48 +0000)]
Avoided printing graph if no data. Added date histogram was generated.
Misha Zatsman [Wed, 7 May 2014 02:33:06 +0000 (02:33 +0000)]
Added cache age histogram!
radhika [Wed, 7 May 2014 01:47:04 +0000 (21:47 -0400)]
Merge branch 'master' into 2525-java-sdk
Tom Clegg [Wed, 7 May 2014 01:46:04 +0000 (21:46 -0400)]
Fix crash creating new user during initial login. Add test.
radhika [Wed, 7 May 2014 01:34:04 +0000 (21:34 -0400)]
Merge branch 'master' into 2525-java-sdk
radhika [Wed, 7 May 2014 01:33:26 +0000 (21:33 -0400)]
2525: Address review feedback.
Tom Clegg [Tue, 6 May 2014 23:40:27 +0000 (19:40 -0400)]
Fix up workbench and apiserver install docs.
Tom Clegg [Tue, 6 May 2014 23:40:19 +0000 (19:40 -0400)]
Fix prompt paths.
Misha Zatsman [Tue, 6 May 2014 23:30:26 +0000 (23:30 +0000)]
Added printing of histogram json.
Tom Clegg [Tue, 6 May 2014 22:42:41 +0000 (18:42 -0400)]
Clean up install docs
Tom Clegg [Tue, 6 May 2014 22:27:01 +0000 (18:27 -0400)]
Add wait_for_ajax after using x-editable in tests.
Tom Clegg [Tue, 6 May 2014 21:38:38 +0000 (17:38 -0400)]
Fix Perl and Python SDK instructions on crunch install page
Tom Clegg [Tue, 6 May 2014 21:32:35 +0000 (17:32 -0400)]
Merge branch 'master' into 2744-update-dev-docs
Tom Clegg [Tue, 6 May 2014 21:28:12 +0000 (17:28 -0400)]
Fix dead links
Misha Zatsman [Tue, 6 May 2014 21:13:07 +0000 (21:13 +0000)]
Added div for histogram and style for it.
Tom Clegg [Tue, 6 May 2014 20:54:12 +0000 (16:54 -0400)]
Merge branch '2733-coverage-report'
closes #2733
radhika [Tue, 6 May 2014 20:30:39 +0000 (16:30 -0400)]
Merge branch 'master' into 2525-java-sdk
Tom Clegg [Tue, 6 May 2014 20:17:58 +0000 (16:17 -0400)]
Synchronize repository and crunch setup instructions with current behavior.
Tom Clegg [Tue, 6 May 2014 19:53:10 +0000 (15:53 -0400)]
Fix copy/paste error in gem build instructions.
Tom Clegg [Tue, 6 May 2014 19:52:10 +0000 (15:52 -0400)]
Remove Gemfile.lock from repo
see http://yehudakatz.com/2010/12/16/clarifying-the-roles-of-the-gemspec-and-gemfile/
Tom Clegg [Tue, 6 May 2014 17:10:05 +0000 (13:10 -0400)]
Remove stray debug puts.
Tom Clegg [Tue, 6 May 2014 17:01:44 +0000 (13:01 -0400)]
Merge branch '1970-folder-view'
closes #1970
Tom Clegg [Tue, 6 May 2014 17:01:34 +0000 (13:01 -0400)]
Merge branch 'master' into 1970-folder-view
Tom Clegg [Tue, 6 May 2014 16:58:14 +0000 (12:58 -0400)]
Add find?() method so "assert find?(...), msg" can be used in test cases.
Tom Clegg [Tue, 6 May 2014 16:37:29 +0000 (12:37 -0400)]
Replace unfailable assert() with a comment explaining what it means
for find() to raise an exception.
radhika [Tue, 6 May 2014 16:28:17 +0000 (12:28 -0400)]
2525: correct indentation for pom.xml
radhika [Tue, 6 May 2014 16:08:40 +0000 (12:08 -0400)]
2525: use -Dmaven.test.skip=true when packaging the SDK.
Peter Amstutz [Tue, 6 May 2014 15:43:31 +0000 (11:43 -0400)]
Added test for group mount. Passes.