Skip to content
Snippets Groups Projects
  1. Dec 22, 2015
  2. Apr 15, 2015
  3. Apr 09, 2015
  4. Apr 08, 2015
  5. Apr 07, 2015
  6. Mar 09, 2015
  7. Mar 08, 2015
    • John Chilton's avatar
      Integration tests and fixes for rsync/scp transfer actions. · 7fc2b10a
      John Chilton authored
       - Rearrange things so ssh_key can be alternatively defined in file_actions.yml or the other properties ssh_user, ssh_host, ssh_port can be defined in destination_params. This allows these actions to be usable as the default file action and made it much easier to test.
       - Fixes when constructing scp command-line (my version of Python didn't like a tuple in middle of subprocess.check_call).
       - Increase integration test timeout (these are slower than localhost RESTful transfer).
       - Add integration test for each of these commands.
      7fc2b10a
    • John Chilton's avatar
      More PEP8-y test helper names. · 9771fb86
      John Chilton authored
      9771fb86
  8. Feb 25, 2015
  9. Oct 02, 2014
    • John Chilton's avatar
      Overhaul of job cancelling. · c7335c3f
      John Chilton authored
      The LWR use to not make a distinction between cancelled jobs and complete jobs but with server side postprocessing it is more nessecary. Bugfixes including actually recording and use cancelled status in external job runners and persisting the the recorded cancel status in queued and unqueued Python job managers (in some conditions it would revert the cancelled and mark the job as complete).
      
      Catch and suppress exceptions related to cancelling jobs and fetching that status. Failure to ping the metadata store (disk) and determine if a job has been cancelled shouldn't be interpreted as a failure to cancel.
      
      Lots of refactoring and tests to support this.
      c7335c3f
  10. Sep 22, 2014
  11. Jun 24, 2014
  12. Jun 19, 2014
  13. Jun 17, 2014
  14. Jun 04, 2014
  15. Mar 17, 2014
  16. Mar 05, 2014
  17. Feb 20, 2014
    • John Chilton's avatar
      Bug fixes for recent commits. · baaa5bbc
      John Chilton authored
      Outputs weren't getting rewritten when using remote_copy and remote_transfer, this made a bunch of tests pass that should have been failing and things seem more correct than they actually were.
      baaa5bbc
  18. Feb 19, 2014
  19. Feb 18, 2014
    • John Chilton's avatar
      Add new remote action "remote_transfer". · 7d92304a
      John Chilton authored
      This action will transfer files via URL get/post (using pycurl currently). Added test case (including dummy app to mock a potential Galaxy files API) to test this functionality.
      
      Still more work to do - there is no way to populate such urls during setup process and Galaxy still doesn't have a job files API in order to access these files.
      7d92304a
    • John Chilton's avatar
      Refactor test app and server creation into smaller pieces. · 6c1127f8
      John Chilton authored
      Will want to create a different kind of test server to mimic a potential Galaxy job files API.
      6c1127f8
  20. Feb 12, 2014
    • John Chilton's avatar
      Improved state/persistence handling. · 7bdd134c
      John Chilton authored
      Create new manager proxy that attempts to deal with complex state changes on its own (this will be a single place to add stateful post-processing shortly). Use new stateful manager proxy to simplfiy other state-y things managers - (e.g. persistence of external ids, job locking when not external DRM is used, recovery).
      
      Eliminate the use of shelf for persistence everything is file based now - but it in a way that I think it would actually be even easier to add a different persistent backend.
      
      Use pylockfile if available for improved lockfile handling.
      
      Simplify the manager interface by exposing job_directory (was being used anyway :)) and eliminating all methods that were just simple proxy calls to it.
      7bdd134c
  21. Feb 11, 2014
    • John Chilton's avatar
      Initial work on moving more setup logic to client. · 5e4f7e22
      John Chilton authored
      Normally, the client obtains a bunch of information about the job at the outset from the LWR server. This work is aimed at computing that on the client side so that this synchronous communication doesn't need to occur - thereby enabling message queue based communication between the LWR and Galaxy.
      
      A lot of work left to do though - this just eliminates that setup step without doing anything about staging files - so it is effectively useless and somewhat untestable in this state - but it is a first step.
      
      In addition to introducing the concept of a setup handler to abstract out this difference, there is various refactoring of stuff into the lwr_client so it can be used inside of Galaxy while computing the setup information on the client side.
      5e4f7e22
  22. Feb 10, 2014
  23. Dec 31, 2013
    • John Chilton's avatar
      Allow staging arbitrary (non-input, non-config, non-tool) files... · 27ce4493
      John Chilton authored
      File mappers by default won't match to these but if path_types includes "unstructure" or is set to "*any*" then such matches will be used.
      
      The unstructured file mappers can include depth attribute on these matches - the default of "0" just stages the file itself, setting depth equal to "1" will stage the whole directory containing the file (though only the matching path will be rewritten in the job inputs), a depth of "2" will cause the whole parent directory of the file's directory to be staged, etc.... This depth feature should be useful when staging implicit index files used by various bioinformatics tools.
      
      Updated the PathMapper and ClientJobDescription so that Galaxy should be able to be instrumented build and pass along these files during tool evaluation when write_parameters is false - though only this default path rewriting variant has been implemented and tested so far.
      
      Additionally, LWR server side changes have been made to support this feature and unit and integration tests are included.
      27ce4493
  24. Dec 27, 2013
    • John Chilton's avatar
      Enhance client to work without path rewriting. · 07dc6c29
      John Chilton authored
      Add option to stager to not attempt to rewrite input, output, and config file paths. Add path mapper to allow an LWR client to build expected paths before transferring files. These options together enable the LWR Galaxy client to be tweaked to build job inputs (command-line and config files) with the correct remote paths instead of building the inputs and then rewritting them.
      07dc6c29
  25. Dec 11, 2013
    • John Chilton's avatar
      Trying to get Travis-CI tests passing again. · 94ab190e
      John Chilton authored
      Fix failing unit tests caused by mock/test apps not defining dependency_manager. Rework logic in stager:finish_job to reduce cyclomatic complexity. Exclude Galaxy test file from PEP-8 checks... since PEP-8 is not standard for Galaxy.
      94ab190e
  26. Nov 29, 2013
  27. Sep 28, 2013
  28. Sep 26, 2013
  29. Sep 24, 2013
Loading