arvados.git
10 years ago3405: Log errors about launching pipeline instances.
Brett Smith [Tue, 12 Aug 2014 18:41:55 +0000 (14:41 -0400)]
3405: Log errors about launching pipeline instances.

There's a couple of components to this:

* Do some basic checks on the organization of the pipeline instance
  before we start running it, and abort if any of them fail.

* If the pipeline runner aborts for any reason, send that as pipeline
  instance stderr to the API server, so other tools like Workbench can
  render it for users' benefit.

10 years agoFix degenerate case exponential runtime in regular expression use by
Peter Amstutz [Wed, 13 Aug 2014 18:06:40 +0000 (14:06 -0400)]
Fix degenerate case exponential runtime in regular expression use by
CollectionReader to validate locators and manifests.  no issue #

10 years agoMerge branch '3457-pysdk-logging-wip'
Brett Smith [Wed, 13 Aug 2014 16:15:24 +0000 (12:15 -0400)]
Merge branch '3457-pysdk-logging-wip'

Closes #3457, #3577.

10 years ago3457: Make arv-get display interface messages directly.
Brett Smith [Wed, 13 Aug 2014 14:32:45 +0000 (10:32 -0400)]
3457: Make arv-get display interface messages directly.

The logger isn't appropriate for this.

10 years ago3457: Revamp Python SDK and tool logging.
Brett Smith [Tue, 12 Aug 2014 21:43:28 +0000 (17:43 -0400)]
3457: Revamp Python SDK and tool logging.

The primary goal of this commit is to introduce a dedicated logging
object to the arvados module, which we configure to our
specifications, and use it consistently throughout the SDK and tools.
This lets us handle our logging configuration consistently in one
place, and avoid interfering with logging in SDK users.  I made some
minor style changes to logging calls while I was at it.

10 years agoUpdate Gemfile to use crunch-job from latest arvados-cli gem. refs #3570
Tom Clegg [Wed, 13 Aug 2014 13:32:45 +0000 (09:32 -0400)]
Update Gemfile to use crunch-job from latest arvados-cli gem. refs #3570

10 years agocloses #3296
radhika [Tue, 12 Aug 2014 20:28:50 +0000 (16:28 -0400)]
closes #3296
Merge branch '3296-user-profile'

10 years ago3296: fix test issue
radhika [Tue, 12 Aug 2014 20:25:34 +0000 (16:25 -0400)]
3296: fix test issue

10 years ago3296: fix tests
radhika [Tue, 12 Aug 2014 19:49:21 +0000 (15:49 -0400)]
3296: fix tests

10 years agoMerge branch 'master' into 3296-user-profile
radhika [Tue, 12 Aug 2014 19:10:46 +0000 (15:10 -0400)]
Merge branch 'master' into 3296-user-profile

10 years agoFix repositories.get_all_permissions to report manage, write, and read. refs #3525
Tom Clegg [Tue, 12 Aug 2014 18:57:10 +0000 (14:57 -0400)]
Fix repositories.get_all_permissions to report manage, write, and read. refs #3525

10 years agoMerge branch '3531-sort-jobs-with-pipelines' closes #3531
Tom Clegg [Tue, 12 Aug 2014 18:19:48 +0000 (14:19 -0400)]
Merge branch '3531-sort-jobs-with-pipelines' closes #3531

10 years agoFix "undefined method `uuid' for nil:NilClass". closes #3576
Tom Clegg [Tue, 12 Aug 2014 18:15:51 +0000 (14:15 -0400)]
Fix "undefined method `uuid' for nil:NilClass". closes #3576

10 years agoFix regular expression in decompress-all.py refs #3373
Peter Amstutz [Tue, 12 Aug 2014 17:16:04 +0000 (13:16 -0400)]
Fix regular expression in decompress-all.py  refs #3373

10 years agoFix syntax error in decompress-all.py refs #3373
Peter Amstutz [Tue, 12 Aug 2014 17:07:12 +0000 (13:07 -0400)]
Fix syntax error in decompress-all.py  refs #3373

10 years ago3531: Pass through tab_pane to reused partials, so element IDs are really unique
Tom Clegg [Tue, 12 Aug 2014 16:19:06 +0000 (12:19 -0400)]
3531: Pass through tab_pane to reused partials, so element IDs are really unique
across tabs.

10 years ago3531: Fix ordering of combined results, add test. Anchor "desc" regexp.
Tom Clegg [Tue, 12 Aug 2014 16:15:45 +0000 (12:15 -0400)]
3531: Fix ordering of combined results, add test. Anchor "desc" regexp.

10 years agoMerge branch '3373-improve-gatk3-snv-pipeline' closes #3373
Peter Amstutz [Tue, 12 Aug 2014 15:42:55 +0000 (11:42 -0400)]
Merge branch '3373-improve-gatk3-snv-pipeline' closes #3373

10 years ago3373: Test filename extension before attempting to call dtrx. Non-zero dtrx exit...
Peter Amstutz [Tue, 12 Aug 2014 15:42:09 +0000 (11:42 -0400)]
3373: Test filename extension before attempting to call dtrx.  Non-zero dtrx exit code is now treated as failure.

10 years agoMerge branch 'master' into 3296-user-profile
radhika [Tue, 12 Aug 2014 14:20:55 +0000 (10:20 -0400)]
Merge branch 'master' into 3296-user-profile

10 years agoMerge branch '3178-discoverable-parameters' closes #3178
Tom Clegg [Tue, 12 Aug 2014 14:11:32 +0000 (10:11 -0400)]
Merge branch '3178-discoverable-parameters' closes #3178

10 years ago3572: Set state to RunningOnServer if --submit given. closes #3572
Tom Clegg [Tue, 12 Aug 2014 14:09:41 +0000 (10:09 -0400)]
3572: Set state to RunningOnServer if --submit given. closes #3572

10 years agoMerge branch '3570-crunch-race' closes #3570
Tom Clegg [Tue, 12 Aug 2014 13:12:27 +0000 (09:12 -0400)]
Merge branch '3570-crunch-race' closes #3570

10 years agoMerge branch '3412-full-collections-index'
Brett Smith [Tue, 12 Aug 2014 12:59:23 +0000 (08:59 -0400)]
Merge branch '3412-full-collections-index'

Closes #3412, #3534.

10 years agoMerge branch 'master' into 3296-user-profile
radhika [Tue, 12 Aug 2014 12:59:05 +0000 (08:59 -0400)]
Merge branch 'master' into 3296-user-profile

10 years ago3296: add span tag to profile message in config to serve as an example for admins.
radhika [Tue, 12 Aug 2014 12:52:38 +0000 (08:52 -0400)]
3296: add span tag to profile message in config to serve as an example for admins.

10 years ago3412: Make manifest_text selectable from Collections index API.
Brett Smith [Mon, 11 Aug 2014 19:49:52 +0000 (15:49 -0400)]
3412: Make manifest_text selectable from Collections index API.

10 years ago3412: Make non-database fields selectable from API server.
Brett Smith [Mon, 11 Aug 2014 19:48:09 +0000 (15:48 -0400)]
3412: Make non-database fields selectable from API server.

This makes it possible to pass method-back field names, like
"data_size" and "files" from Collections, to the select parameter.

10 years ago3412: Refactor common manifest munging in API Collections controller.
Brett Smith [Thu, 7 Aug 2014 19:15:57 +0000 (15:15 -0400)]
3412: Refactor common manifest munging in API Collections controller.

10 years ago3412: Clean API Collections controller trailing whitespace.
Brett Smith [Thu, 7 Aug 2014 19:14:36 +0000 (15:14 -0400)]
3412: Clean API Collections controller trailing whitespace.

10 years ago3296: cover the case where prefs was there but no profile in profile check.
radhika [Tue, 12 Aug 2014 12:41:03 +0000 (08:41 -0400)]
3296: cover the case where prefs was there but no profile in profile check.

10 years agoUpdate more PGP web links. No issue #
Tom Clegg [Tue, 12 Aug 2014 04:14:09 +0000 (00:14 -0400)]
Update more PGP web links. No issue #

10 years agoUpdate PGP download link. No issue #
Tom Clegg [Tue, 12 Aug 2014 03:49:26 +0000 (23:49 -0400)]
Update PGP download link. No issue #

10 years ago3178: Merge bogus _setup_requires_parameters into existing class method.
Tom Clegg [Mon, 11 Aug 2014 23:01:08 +0000 (19:01 -0400)]
3178: Merge bogus _setup_requires_parameters into existing class method.

10 years ago3570: Use exit code 75 to mean "temporary locking failure". Add comments.
Tom Clegg [Mon, 11 Aug 2014 22:33:52 +0000 (18:33 -0400)]
3570: Use exit code 75 to mean "temporary locking failure". Add comments.

10 years agoMerge branch 'master' into 3296-user-profile
radhika [Mon, 11 Aug 2014 22:21:12 +0000 (18:21 -0400)]
Merge branch 'master' into 3296-user-profile

10 years ago3296: break the tests into multiple tests
radhika [Mon, 11 Aug 2014 22:20:39 +0000 (18:20 -0400)]
3296: break the tests into multiple tests

10 years ago3296: minor updates to profile page display
radhika [Mon, 11 Aug 2014 22:00:22 +0000 (18:00 -0400)]
3296: minor updates to profile page display

10 years agoMerge branch '3489-indicate-initial-project-filter' closes #3489
Tom Clegg [Mon, 11 Aug 2014 21:54:39 +0000 (17:54 -0400)]
Merge branch '3489-indicate-initial-project-filter' closes #3489

10 years ago3296: split profile config into two parameters: one for fields and one for message.
radhika [Mon, 11 Aug 2014 21:47:54 +0000 (17:47 -0400)]
3296: split profile config into two parameters: one for fields and one for message.

10 years ago3531: Move the tab_line_buttons sections out of the tab pane partials
Tom Clegg [Mon, 11 Aug 2014 21:34:44 +0000 (17:34 -0400)]
3531: Move the tab_line_buttons sections out of the tab pane partials
into the appropriate "index" and "show" pages.

Until now, we have been predicting which tab pane will be rendered
with the initial page view, and putting content_for :tab_line_buttons
in that pane. But the tab_line_buttons aren't really in that tab pane,
so they really don't deserve to be in that partial.

This worked as long as the initial tabs were being rendered in a
different way than subsequent tab loads. Now that we render all tab
pane contents using the same helper method, we have to clean this up.

10 years agoMerge branch '3570-crunch-race' closes #3570
Tom Clegg [Mon, 11 Aug 2014 21:06:46 +0000 (17:06 -0400)]
Merge branch '3570-crunch-race' closes #3570

10 years ago3296: check for prefs_changed instead of cycling through all changes.
radhika [Mon, 11 Aug 2014 20:36:18 +0000 (16:36 -0400)]
3296: check for prefs_changed instead of cycling through all changes.

10 years ago3531: Make test case less confusing.
Tom Clegg [Mon, 11 Aug 2014 20:36:12 +0000 (16:36 -0400)]
3531: Make test case less confusing.

10 years ago3531: Add large limit parameter to ensure we get all of the user/group objects
Tom Clegg [Mon, 11 Aug 2014 20:34:28 +0000 (16:34 -0400)]
3531: Add large limit parameter to ensure we get all of the user/group objects
we want (within reason).

10 years ago3531: Dry up tab pane rendering. Fix copy-and-paste error on tab_name.
Tom Clegg [Mon, 11 Aug 2014 20:20:51 +0000 (16:20 -0400)]
3531: Dry up tab pane rendering. Fix copy-and-paste error on tab_name.

10 years ago3531: Do not assume order is always descending.
Tom Clegg [Mon, 11 Aug 2014 19:20:20 +0000 (15:20 -0400)]
3531: Do not assume order is always descending.

10 years ago3489: Add test for correct dropdown text.
Tom Clegg [Mon, 11 Aug 2014 19:07:22 +0000 (15:07 -0400)]
3489: Add test for correct dropdown text.

10 years ago3489: Degrade nicely if initial filter refers to an unreadable project.
Tom Clegg [Mon, 11 Aug 2014 18:56:15 +0000 (14:56 -0400)]
3489: Degrade nicely if initial filter refers to an unreadable project.

10 years ago3489: Remove debug comment.
Tom Clegg [Mon, 11 Aug 2014 18:54:35 +0000 (14:54 -0400)]
3489: Remove debug comment.

10 years agoFix broken link again. refs #3254
Peter Amstutz [Mon, 11 Aug 2014 18:20:57 +0000 (14:20 -0400)]
Fix broken link again. refs #3254

10 years agoFix broken links. refs #3254
Peter Amstutz [Mon, 11 Aug 2014 18:03:31 +0000 (14:03 -0400)]
Fix broken links. refs #3254

10 years agoMerge branch '3254-run-job-locally-docs' closes #3254 refs #3556
Peter Amstutz [Mon, 11 Aug 2014 17:43:56 +0000 (13:43 -0400)]
Merge branch '3254-run-job-locally-docs' closes #3254 refs #3556

10 years ago3254: Typo fix "reproducibilty" -> "reproducibility". Changed use of the term "paral...
Peter Amstutz [Mon, 11 Aug 2014 17:37:41 +0000 (13:37 -0400)]
3254: Typo fix "reproducibilty" -> "reproducibility".  Changed use of the term "parallel" to "concurrent" refs #3556

10 years ago3570: Do not fail the job when crunch-job loses a locking race during startup.
Tom Clegg [Mon, 11 Aug 2014 17:25:48 +0000 (13:25 -0400)]
3570: Do not fail the job when crunch-job loses a locking race during startup.

10 years agoMerge branch '3212-pipeline-no-reuse' closes #3212
Tom Clegg [Mon, 11 Aug 2014 14:59:15 +0000 (10:59 -0400)]
Merge branch '3212-pipeline-no-reuse' closes #3212

10 years ago3178: Discover required parameters for regular CRUD methods, too.
Tom Clegg [Sun, 10 Aug 2014 22:15:06 +0000 (18:15 -0400)]
3178: Discover required parameters for regular CRUD methods, too.

10 years ago3178: Use different discovery doc cache files for different API servers.
Tom Clegg [Sun, 10 Aug 2014 21:51:38 +0000 (17:51 -0400)]
3178: Use different discovery doc cache files for different API servers.

Also port "use api even if discovery cache file can't be written"
rescue block from arvados-cli to arvados gem.

10 years ago3178: Add missing jobs.create and users.setup parameters to discovery document.
Tom Clegg [Sun, 10 Aug 2014 21:34:34 +0000 (17:34 -0400)]
3178: Add missing jobs.create and users.setup parameters to discovery document.

10 years ago3531: Fix test to accommodate more ajax.
Tom Clegg [Sun, 10 Aug 2014 19:57:56 +0000 (15:57 -0400)]
3531: Fix test to accommodate more ajax.

10 years ago3531: Fix name-editing behavior: preserve name_links when merging results.
Tom Clegg [Sun, 10 Aug 2014 19:57:42 +0000 (15:57 -0400)]
3531: Fix name-editing behavior: preserve name_links when merging results.

10 years ago3531: Look up relevant portion of uuid->{user,group} map when loading projects tab.
Tom Clegg [Sun, 10 Aug 2014 19:56:55 +0000 (15:56 -0400)]
3531: Look up relevant portion of uuid->{user,group} map when loading projects tab.

10 years ago3531: Hook infinite-scroll to resize events.
Tom Clegg [Sun, 10 Aug 2014 19:11:22 +0000 (15:11 -0400)]
3531: Hook infinite-scroll to resize events.

Resizing the browser window can reveal the bottom of an
infinite-scroll element without triggering a scroll event. Listening
for resize events ensures we notice when this happens.

10 years ago3296: profile redirection works perfectly now that session caching is removed.
radhika [Sun, 10 Aug 2014 18:25:30 +0000 (14:25 -0400)]
3296: profile redirection works perfectly now that session caching is removed.

10 years agoMerge branch '3296-user-profile' of git.curoverse.com:arvados into 3296-user-profile
radhika [Sun, 10 Aug 2014 18:10:52 +0000 (14:10 -0400)]
Merge branch '3296-user-profile' of git.curoverse.com:arvados into 3296-user-profile

10 years ago3531: Add tests for sort order on "jobs and pipelines" tab.
Tom Clegg [Sun, 10 Aug 2014 18:09:37 +0000 (14:09 -0400)]
3531: Add tests for sort order on "jobs and pipelines" tab.

10 years ago3531: Remove debug limit.
Tom Clegg [Sun, 10 Aug 2014 18:08:41 +0000 (14:08 -0400)]
3531: Remove debug limit.

10 years ago3531: Use dropdown caret instead of down arrow on selection dropdown.
Tom Clegg [Sun, 10 Aug 2014 16:07:21 +0000 (12:07 -0400)]
3531: Use dropdown caret instead of down arrow on selection dropdown.

10 years ago3531: Fix horizontal alignment of selectable and non-selectable things.
Tom Clegg [Sun, 10 Aug 2014 16:00:56 +0000 (12:00 -0400)]
3531: Fix horizontal alignment of selectable and non-selectable things.

10 years ago3296: after profile is filled in by user, bring the user back to profile page with...
radhika [Sun, 10 Aug 2014 11:19:45 +0000 (07:19 -0400)]
3296: after profile is filled in by user, bring the user back to profile page with message saying all set and provide button to take to the desired target. for improved ui experience.

10 years ago3531: Refactor project tab infinite-scroll. Sort jobs and pipelines
Tom Clegg [Sat, 9 Aug 2014 23:44:14 +0000 (19:44 -0400)]
3531: Refactor project tab infinite-scroll. Sort jobs and pipelines
together by date, instead of sorting first by type.

10 years ago3212: Support arv-run-pipeline-instance --no-reuse --submit
Tom Clegg [Sat, 9 Aug 2014 21:15:43 +0000 (17:15 -0400)]
3212: Support arv-run-pipeline-instance --no-reuse --submit

10 years ago3296: Remove session cache of user record to prevent synchronization problems.
Tom Clegg [Sat, 9 Aug 2014 20:12:17 +0000 (16:12 -0400)]
3296: Remove session cache of user record to prevent synchronization problems.

10 years ago3296: fix test
radhika [Sat, 9 Aug 2014 15:32:18 +0000 (11:32 -0400)]
3296: fix test

10 years ago3296: good tests do add value.
radhika [Sat, 9 Aug 2014 14:14:10 +0000 (10:14 -0400)]
3296: good tests do add value.

10 years ago3296: update tests
radhika [Sat, 9 Aug 2014 01:47:25 +0000 (21:47 -0400)]
3296: update tests

10 years ago3296: profile notification email setting is now on server
radhika [Sat, 9 Aug 2014 00:57:13 +0000 (20:57 -0400)]
3296: profile notification email setting is now on server

10 years ago3296: send email when profile is created by user. add tests to profile mailer.
radhika [Sat, 9 Aug 2014 00:55:49 +0000 (20:55 -0400)]
3296: send email when profile is created by user. add tests to profile mailer.

10 years agoMerge branch 'master' into 3296-user-profile
radhika [Fri, 8 Aug 2014 22:02:12 +0000 (18:02 -0400)]
Merge branch 'master' into 3296-user-profile

10 years ago3296: use update method and remove unnecessary update_profile method
radhika [Fri, 8 Aug 2014 22:01:11 +0000 (18:01 -0400)]
3296: use update method and remove unnecessary update_profile method

10 years agoFix repositories.get_all_permissions, add tests. closes #3546
Tom Clegg [Fri, 8 Aug 2014 21:32:03 +0000 (17:32 -0400)]
Fix repositories.get_all_permissions, add tests. closes #3546

10 years ago3373: split-fastq: Fix loop
Peter Amstutz [Fri, 8 Aug 2014 20:56:29 +0000 (16:56 -0400)]
3373: split-fastq: Fix loop

10 years ago3373: split-fastq: Fix regex again
Peter Amstutz [Fri, 8 Aug 2014 20:45:45 +0000 (16:45 -0400)]
3373: split-fastq: Fix regex again

10 years ago3489: Indicate initially selected project in chooser. closes #3544
Tom Clegg [Fri, 8 Aug 2014 20:45:12 +0000 (16:45 -0400)]
3489: Indicate initially selected project in chooser. closes #3544

10 years ago3373: Fix wrong regex group
Peter Amstutz [Fri, 8 Aug 2014 20:39:05 +0000 (16:39 -0400)]
3373: Fix wrong regex group

10 years ago3373: Fix syntax error in split-fastq
Peter Amstutz [Fri, 8 Aug 2014 20:33:52 +0000 (16:33 -0400)]
3373: Fix syntax error in split-fastq

10 years ago3373: more run-command cleanup, global p -> taskp, tweaked logging levels
Peter Amstutz [Fri, 8 Aug 2014 20:15:55 +0000 (16:15 -0400)]
3373: more run-command cleanup, global p -> taskp, tweaked logging levels

10 years agoMerge branch '2769-disable-delete-flag' closes #2769
Tom Clegg [Fri, 8 Aug 2014 20:04:51 +0000 (16:04 -0400)]
Merge branch '2769-disable-delete-flag' closes #2769

10 years ago3373: arv-run-pipeline-instance: removed .to_json where objects are supplied to ...
Peter Amstutz [Fri, 8 Aug 2014 20:01:06 +0000 (16:01 -0400)]
3373: arv-run-pipeline-instance: removed .to_json where objects are supplied to :body_object and will be serialized anyway.

10 years agoFix excessive API calls in collection chooser. refs #3489
Tom Clegg [Fri, 8 Aug 2014 19:58:53 +0000 (15:58 -0400)]
Fix excessive API calls in collection chooser. refs #3489

10 years ago3373: Switch run-command to use python logging instead of print.
Peter Amstutz [Fri, 8 Aug 2014 19:55:48 +0000 (15:55 -0400)]
3373: Switch run-command to use python logging instead of print.

10 years ago3373: split-fastq: merge loops to capture both single and paired fastq files.
Peter Amstutz [Fri, 8 Aug 2014 19:46:49 +0000 (15:46 -0400)]
3373: split-fastq: merge loops to capture both single and paired fastq files.
Will now error out if there are fastq files in subdirectories instead of
ignoring them silently.  Added comment about splitfastq() function.

10 years ago3373: decompress-all: cleaned up code a bit. Fail properly with error message on...
Peter Amstutz [Fri, 8 Aug 2014 19:44:51 +0000 (15:44 -0400)]
3373: decompress-all: cleaned up code a bit.  Fail properly with error message on bad input.

10 years ago2769: Add -never-delete command line flag.
Tom Clegg [Fri, 8 Aug 2014 19:13:24 +0000 (15:13 -0400)]
2769: Add -never-delete command line flag.

10 years agoAdd "wait_for_ajax" to avoid race condition. No issue #
Tom Clegg [Fri, 8 Aug 2014 17:51:42 +0000 (13:51 -0400)]
Add "wait_for_ajax" to avoid race condition. No issue #

10 years ago3296: add integration tests for topnav. also, enable profile as default test setting
radhika [Fri, 8 Aug 2014 17:58:48 +0000 (13:58 -0400)]
3296: add integration tests for topnav. also, enable profile as default test setting

10 years agoMerge branch '3527-infer-docker-hash-wip'
Brett Smith [Fri, 8 Aug 2014 17:51:25 +0000 (13:51 -0400)]
Merge branch '3527-infer-docker-hash-wip'

Closes #3527, #3529.

10 years ago3527: Support using a Docker image from any stream in a Collection.
Brett Smith [Fri, 8 Aug 2014 17:44:00 +0000 (13:44 -0400)]
3527: Support using a Docker image from any stream in a Collection.

This makes Docker image detection more consistent between crunch-job
and the API server, and is more user-friendly.

10 years ago3527: Find Docker images natively inside Collections.
Brett Smith [Fri, 8 Aug 2014 14:46:51 +0000 (10:46 -0400)]
3527: Find Docker images natively inside Collections.

We previously relied on the docker_image_hash link to treat a
Collection as a Docker image.  This was safer and simpler, but it
creates obstacles for project sharing.  When we have a Collection
locator that we want to treat as a Docker image, we now check that it
has a single file with a single 64-hexdigit tar file in it, and use
that as the hash if so.  This should still prevent clear mistakes
while removing some of the obstacles to sharing.

10 years agoHide preview pane on narrow screens. closes #3496
Tom Clegg [Fri, 8 Aug 2014 17:39:36 +0000 (13:39 -0400)]
Hide preview pane on narrow screens. closes #3496