[
https://issues.apache.org/jira/browse/AIRAVATA-3032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16851357#comment-16851357
]
ASF subversion and git services commented on AIRAVATA-3032:
-----------------------------------------------------------
Commit f56ca58345ab964709af10cec56077e9f48d2fb1 in airavata-django-portal's
branch refs/heads/master from Marcus Christie
[ https://gitbox.apache.org/repos/asf?p=airavata-django-portal.git;h=f56ca58 ]
AIRAVATA-3032 Upload input files to tmp directory
> experiment data directory should be fixed and unique
> ----------------------------------------------------
>
> Key: AIRAVATA-3032
> URL: https://issues.apache.org/jira/browse/AIRAVATA-3032
> Project: Airavata
> Issue Type: Sub-task
> Components: Django Portal
> Reporter: Marcus Christie
> Assignee: Marcus Christie
> Priority: Major
> Fix For: 0.19
>
>
> The experiment data directory should use a timestamp or some other unique
> bits added to the experiment name to make it unique. It should also be fixed
> once set and not change when the experiment name changes.
> h5. Alternate Design
> The problem with the current approach is that uploaded input files are saved
> into an experiment data directory following the {{<project name>/<experiment
> name>}} pattern, but experiment name may not be unique. But also, the
> experiment name can be changed until launch time. So to fix the one problem I
> need to fix the other one and my initial thought was to just set the
> experiment data dir to {{<project name>/<experiment name>}} at the first file
> upload. However that has a couple problems: 1) the name of the experiment
> data dir may not match the name of the experiment, 2) it gets a little
> complicated in the UI to figure out a unique experiment data dir and pass
> that down from the ExperimentEditor to the FileInputEditors.
> So I've come up with an alternate approach that involves saving uploaded
> input files into the user's tmp directory and moving them from this tmp
> directory to the experiment data dir at launch time. This simplifies the
> upload process and it allows creating an experiment data dir with the name of
> the experiment as provided by the user at *Save and Launch* time.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)