Skip to content
This repository has been archived by the owner on Jul 14, 2022. It is now read-only.

Feat - get metadata for commons files #66

Merged
merged 1 commit into from
Nov 2, 2021

Conversation

kmhernan
Copy link
Contributor

@kmhernan kmhernan commented Nov 1, 2021

This was originally opened to use the indexd method to get metadata as described in PXP-8902 but we were able to get around this by using a different kind of path.

  • handle /commons-data/ paths in init workdir
  • fix some logic in sidecar for staging files

mariner/tool.go Outdated
@@ -47,6 +47,14 @@ func pathHelper(path string, tool *Tool) (err error) {
InitWorkDir: true,
})
tool.initWorkDirFiles = append(tool.initWorkDirFiles, path)
} else if strings.HasPrefix(path, "/"+commonsDataVolumeName) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need a "/" here?

@UchicagoZchen138 UchicagoZchen138 force-pushed the feat/PXP-8902-file-metadata branch 2 times, most recently from b5827bf to 48fa3ee Compare November 2, 2021 20:12
@UchicagoZchen138 UchicagoZchen138 merged commit 893f930 into master Nov 2, 2021
@UchicagoZchen138 UchicagoZchen138 deleted the feat/PXP-8902-file-metadata branch November 2, 2021 20:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants