Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

staging of files when WB has multiple projects #19

Closed
diplomatica opened this Issue · 5 comments

2 participants

@diplomatica

Need to investigate staging when there are multiple projects in the Workbench. Is WB trying to restage previously staged files when a new project is opened and files are staged.

@gregjan
Owner

The code is written such that capture will cause staging of anything already captured, but not yet staged.. The other projects with captured items should already be staged, I would imagine. However, if another project had things captured that were not yet staged, a new capture in a separate project would result in staging of all unstaged stuff. That's how the code is written now.
We can change this so that staging is triggered by a button press or a right click option.. It can also be per-project. These are relatively minor changes for me and will take only a day or two.

@gregjan
Owner

I've got some fixes in the stable branch for this:

  • progress bar will report files staged out of total, current filename, percent and kilobytes/total complete of current file
  • added significant buffers to input and output stream for copy to stage, maybe help with higher latency reads/writes
  • added iRODS-specific checksum retrieval, instead of recalculation, eliminating re-transfer for iRODS stages.
@gregjan gregjan was assigned
@diplomatica

Still seeing WB pull CSV files from previous projects (when trying to use the same CSV files for multiple projects). Current fix: wipe all old projects from WB before using CSV file again.

@diplomatica diplomatica closed this
@diplomatica diplomatica reopened this
@gregjan
Owner

hmm, okay so that is a cross-project bug, but it seems different from the original issue here.. I think we did determine that staging is working on a per-project basis, i.e. when you trigger staging it is just for that project..

Can you confirm that?
I'd like to move the CSV problem to a new issue, and put it in Release 1.2 also. Does that work?

@diplomatica

yeah - that works. sorry about conflating two bugs. Staging is working, but the crosswalk mapper is now pulling text files from old projects when it's the same file

@gregjan gregjan closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.