[ARVADOS-WORKBENCH2] updated: 2.2.1-38-g9df0dc38
Git user
git at public.arvados.org
Wed Jul 28 14:18:09 UTC 2021
Summary of changes:
.../webdav-s3-dialog/webdav-s3-dialog.tsx | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
via 9df0dc3888f9d63ae0844e7425cd02b21af9da68 (commit)
from 8e3a9d4984273a913d472c4af63024c839d22ec6 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 9df0dc3888f9d63ae0844e7425cd02b21af9da68
Author: Stephen Smith <stephen at curii.com>
Date: Wed Jul 28 10:17:38 2021 -0400
17526: Add wget/curl tab to webdav dialog
Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen at curii.com>
diff --git a/src/views-components/webdav-s3-dialog/webdav-s3-dialog.tsx b/src/views-components/webdav-s3-dialog/webdav-s3-dialog.tsx
index 267d4412..d6055852 100644
--- a/src/views-components/webdav-s3-dialog/webdav-s3-dialog.tsx
+++ b/src/views-components/webdav-s3-dialog/webdav-s3-dialog.tsx
@@ -154,6 +154,7 @@ export const WebDavS3InfoDialog = compose(
{supportsWebdav && <Tab value={0} key="cyberduck" label="WebDAV" />}
{supportsWebdav && <Tab value={1} key="windows" label="Windows or MacOS" />}
<Tab value={2} key="s3" label="S3 bucket" />
+ {supportsWebdav && <Tab value={3} key="cli" label="wget / curl" />}
</Tabs>
<TabPanel index={1} value={activeTab}>
@@ -251,6 +252,25 @@ export const WebDavS3InfoDialog = compose(
</TabPanel>
+ <TabPanel index={3} value={activeTab}>
+
+ <DetailsAttribute
+ label='Wget command'
+ value={`wget --http-user=${props.data.username} --http-passwd=${props.data.token} --mirror --no-parent --no-host --cut-dirs=0 ${winDav.toString()}`}
+ copyValue={winDav.toString()} />
+
+ <DetailsAttribute
+ label='Username'
+ value={props.data.username}
+ copyValue={props.data.username} />
+
+ <DetailsAttribute
+ label='Password'
+ value={props.data.token}
+ copyValue={props.data.token} />
+
+ </TabPanel>
+
</div>
<DialogActions>
<Button
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list