Peter Amstutz [Thu, 14 Aug 2014 17:23:49 +0000 (13:23 -0400)]
Merge branch 'master' into 3505-virtual-work-dir
Peter Amstutz [Thu, 14 Aug 2014 17:17:06 +0000 (13:17 -0400)]
3505: tinker with logging
Peter Amstutz [Thu, 14 Aug 2014 15:41:45 +0000 (11:41 -0400)]
3505: Fix typo in run-command
Peter Amstutz [Thu, 14 Aug 2014 15:35:06 +0000 (11:35 -0400)]
3505: Move helper scripts into crunchutil module. In run-command, added
task.stdin redirection, and renamed save.stdout to task.stdout for consistency.
Stylistic change "x == None" and "x != None" to "x is None" and "x is not
None".
Brett Smith [Wed, 13 Aug 2014 20:39:40 +0000 (16:39 -0400)]
Merge branch '3421-wide-project-tables-wip'
Closes #3421, #3584.
Brett Smith [Wed, 13 Aug 2014 16:07:06 +0000 (12:07 -0400)]
3421: Make Workbench project contents tables variable width.
This change will ensure that users can see the "edit name" buttons, by
letting a table row grow as needed to accommodate long names. It puts
each row's buttons in dedicated cells to try to stay true to the
original layout as much as possible.
Brett Smith [Wed, 13 Aug 2014 20:36:42 +0000 (16:36 -0400)]
Merge branch '3405-pipeline-error-logging-wip'
Closes #3405, #3582.
Brett Smith [Tue, 12 Aug 2014 18:48:32 +0000 (14:48 -0400)]
3405: Mark pipeline instances failed when they're aborted.
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.
Peter Amstutz [Wed, 13 Aug 2014 18:44:27 +0000 (14:44 -0400)]
3505: Fixed typo comparison of list against 0 instead of len(list).
Peter Amstutz [Wed, 13 Aug 2014 18:25:44 +0000 (14:25 -0400)]
3505: Adjust order of initialization to reflect potential side effects (e.g. file
creation) on using functions such as $(glob) in the command.
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 #
Brett Smith [Wed, 13 Aug 2014 16:15:24 +0000 (12:15 -0400)]
Merge branch '3457-pysdk-logging-wip'
Closes #3457, #3577.
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.
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.
Peter Amstutz [Wed, 13 Aug 2014 15:04:52 +0000 (11:04 -0400)]
Added virtual working directory "task.vwd" option to run-command. Added
"task.cwd" to set the starting directory. Refactored upload retry logic from
run-command into robust_put.py and modified decompress-all to use it. no issue #
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
radhika [Tue, 12 Aug 2014 20:28:50 +0000 (16:28 -0400)]
closes #3296
Merge branch '3296-user-profile'
radhika [Tue, 12 Aug 2014 20:25:34 +0000 (16:25 -0400)]
3296: fix test issue
radhika [Tue, 12 Aug 2014 19:49:21 +0000 (15:49 -0400)]
3296: fix tests
radhika [Tue, 12 Aug 2014 19:10:46 +0000 (15:10 -0400)]
Merge branch 'master' into 3296-user-profile
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
Tom Clegg [Tue, 12 Aug 2014 18:19:48 +0000 (14:19 -0400)]
Merge branch '3531-sort-jobs-with-pipelines' closes #3531
Tom Clegg [Tue, 12 Aug 2014 18:15:51 +0000 (14:15 -0400)]
Fix "undefined method `uuid' for nil:NilClass". closes #3576
Peter Amstutz [Tue, 12 Aug 2014 17:16:04 +0000 (13:16 -0400)]
Fix regular expression 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
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.
Tom Clegg [Tue, 12 Aug 2014 16:15:45 +0000 (12:15 -0400)]
3531: Fix ordering of combined results, add test. Anchor "desc" regexp.
Peter Amstutz [Tue, 12 Aug 2014 15:42:55 +0000 (11:42 -0400)]
Merge branch '3373-improve-gatk3-snv-pipeline' closes #3373
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.
radhika [Tue, 12 Aug 2014 14:20:55 +0000 (10:20 -0400)]
Merge branch 'master' into 3296-user-profile
Tom Clegg [Tue, 12 Aug 2014 14:11:32 +0000 (10:11 -0400)]
Merge branch '3178-discoverable-parameters' closes #3178
Tom Clegg [Tue, 12 Aug 2014 14:09:41 +0000 (10:09 -0400)]
3572: Set state to RunningOnServer if --submit given. closes #3572
Tom Clegg [Tue, 12 Aug 2014 13:12:27 +0000 (09:12 -0400)]
Merge branch '3570-crunch-race' closes #3570
Brett Smith [Tue, 12 Aug 2014 12:59:23 +0000 (08:59 -0400)]
Merge branch '3412-full-collections-index'
Closes #3412, #3534.
radhika [Tue, 12 Aug 2014 12:59:05 +0000 (08:59 -0400)]
Merge branch 'master' into 3296-user-profile
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.
Brett Smith [Mon, 11 Aug 2014 19:49:52 +0000 (15:49 -0400)]
3412: Make manifest_text selectable from Collections index API.
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.
Brett Smith [Thu, 7 Aug 2014 19:15:57 +0000 (15:15 -0400)]
3412: Refactor common manifest munging in API Collections controller.
Brett Smith [Thu, 7 Aug 2014 19:14:36 +0000 (15:14 -0400)]
3412: Clean API Collections controller trailing whitespace.
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.
Tom Clegg [Tue, 12 Aug 2014 04:14:09 +0000 (00:14 -0400)]
Update more PGP web links. No issue #
Tom Clegg [Tue, 12 Aug 2014 03:49:26 +0000 (23:49 -0400)]
Update PGP download link. No issue #
Tom Clegg [Mon, 11 Aug 2014 23:01:08 +0000 (19:01 -0400)]
3178: Merge bogus _setup_requires_parameters into existing class method.
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.
radhika [Mon, 11 Aug 2014 22:21:12 +0000 (18:21 -0400)]
Merge branch 'master' into 3296-user-profile
radhika [Mon, 11 Aug 2014 22:20:39 +0000 (18:20 -0400)]
3296: break the tests into multiple tests
radhika [Mon, 11 Aug 2014 22:00:22 +0000 (18:00 -0400)]
3296: minor updates to profile page display
Tom Clegg [Mon, 11 Aug 2014 21:54:39 +0000 (17:54 -0400)]
Merge branch '3489-indicate-initial-project-filter' closes #3489
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.
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.
Tom Clegg [Mon, 11 Aug 2014 21:06:46 +0000 (17:06 -0400)]
Merge branch '3570-crunch-race' closes #3570
radhika [Mon, 11 Aug 2014 20:36:18 +0000 (16:36 -0400)]
3296: check for prefs_changed instead of cycling through all changes.
Tom Clegg [Mon, 11 Aug 2014 20:36:12 +0000 (16:36 -0400)]
3531: Make test case less confusing.
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).
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.
Tom Clegg [Mon, 11 Aug 2014 19:20:20 +0000 (15:20 -0400)]
3531: Do not assume order is always descending.
Tom Clegg [Mon, 11 Aug 2014 19:07:22 +0000 (15:07 -0400)]
3489: Add test for correct dropdown text.
Tom Clegg [Mon, 11 Aug 2014 18:56:15 +0000 (14:56 -0400)]
3489: Degrade nicely if initial filter refers to an unreadable project.
Tom Clegg [Mon, 11 Aug 2014 18:54:35 +0000 (14:54 -0400)]
3489: Remove debug comment.
Peter Amstutz [Mon, 11 Aug 2014 18:20:57 +0000 (14:20 -0400)]
Fix broken link again. refs #3254
Peter Amstutz [Mon, 11 Aug 2014 18:03:31 +0000 (14:03 -0400)]
Fix broken links. refs #3254
Peter Amstutz [Mon, 11 Aug 2014 17:43:56 +0000 (13:43 -0400)]
Merge branch '3254-run-job-locally-docs' closes #3254 refs #3556
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
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.
Tom Clegg [Mon, 11 Aug 2014 14:59:15 +0000 (10:59 -0400)]
Merge branch '3212-pipeline-no-reuse' closes #3212
Tom Clegg [Sun, 10 Aug 2014 22:15:06 +0000 (18:15 -0400)]
3178: Discover required parameters for regular CRUD methods, too.
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.
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.
Tom Clegg [Sun, 10 Aug 2014 19:57:56 +0000 (15:57 -0400)]
3531: Fix test to accommodate more ajax.
Tom Clegg [Sun, 10 Aug 2014 19:57:42 +0000 (15:57 -0400)]
3531: Fix name-editing behavior: preserve name_links when merging results.
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.
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.
radhika [Sun, 10 Aug 2014 18:25:30 +0000 (14:25 -0400)]
3296: profile redirection works perfectly now that session caching is removed.
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
Tom Clegg [Sun, 10 Aug 2014 18:09:37 +0000 (14:09 -0400)]
3531: Add tests for sort order on "jobs and pipelines" tab.
Tom Clegg [Sun, 10 Aug 2014 18:08:41 +0000 (14:08 -0400)]
3531: Remove debug limit.
Tom Clegg [Sun, 10 Aug 2014 16:07:21 +0000 (12:07 -0400)]
3531: Use dropdown caret instead of down arrow on selection dropdown.
Tom Clegg [Sun, 10 Aug 2014 16:00:56 +0000 (12:00 -0400)]
3531: Fix horizontal alignment of selectable and non-selectable things.
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.
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.
Tom Clegg [Sat, 9 Aug 2014 21:15:43 +0000 (17:15 -0400)]
3212: Support arv-run-pipeline-instance --no-reuse --submit
Tom Clegg [Sat, 9 Aug 2014 20:12:17 +0000 (16:12 -0400)]
3296: Remove session cache of user record to prevent synchronization problems.
radhika [Sat, 9 Aug 2014 15:32:18 +0000 (11:32 -0400)]
3296: fix test
radhika [Sat, 9 Aug 2014 14:14:10 +0000 (10:14 -0400)]
3296: good tests do add value.
radhika [Sat, 9 Aug 2014 01:47:25 +0000 (21:47 -0400)]
3296: update tests
radhika [Sat, 9 Aug 2014 00:57:13 +0000 (20:57 -0400)]
3296: profile notification email setting is now on server
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.
radhika [Fri, 8 Aug 2014 22:02:12 +0000 (18:02 -0400)]
Merge branch 'master' into 3296-user-profile
radhika [Fri, 8 Aug 2014 22:01:11 +0000 (18:01 -0400)]
3296: use update method and remove unnecessary update_profile method
Tom Clegg [Fri, 8 Aug 2014 21:32:03 +0000 (17:32 -0400)]
Fix repositories.get_all_permissions, add tests. closes #3546
Peter Amstutz [Fri, 8 Aug 2014 20:56:29 +0000 (16:56 -0400)]
3373: split-fastq: Fix loop
Peter Amstutz [Fri, 8 Aug 2014 20:45:45 +0000 (16:45 -0400)]
3373: split-fastq: Fix regex again
Tom Clegg [Fri, 8 Aug 2014 20:45:12 +0000 (16:45 -0400)]
3489: Indicate initially selected project in chooser. closes #3544
Peter Amstutz [Fri, 8 Aug 2014 20:39:05 +0000 (16:39 -0400)]
3373: Fix wrong regex group
Peter Amstutz [Fri, 8 Aug 2014 20:33:52 +0000 (16:33 -0400)]
3373: Fix syntax error in split-fastq
Peter Amstutz [Fri, 8 Aug 2014 20:15:55 +0000 (16:15 -0400)]
3373: more run-command cleanup, global p -> taskp, tweaked logging levels
Tom Clegg [Fri, 8 Aug 2014 20:04:51 +0000 (16:04 -0400)]
Merge branch '2769-disable-delete-flag' closes #2769
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.