-
Notifications
You must be signed in to change notification settings - Fork 675
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Decouple CID FileSystem from Local file system and other fixes #5866
Conversation
modules/nextflow/src/main/groovy/nextflow/data/cid/CidHistoryFile.groovy
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent. Just some minor comments
modules/nextflow/src/main/groovy/nextflow/data/cid/CidHistoryRecord.groovy
Outdated
Show resolved
Hide resolved
modules/nextflow/src/main/groovy/nextflow/data/cid/CidHistoryRecord.groovy
Show resolved
Hide resolved
Signed-off-by: jorgee <jorge.ejarque@seqera.io>
Signed-off-by: jorgee <jorge.ejarque@seqera.io>
… configurable in workflow data options Signed-off-by: jorgee <jorge.ejarque@seqera.io>
Signed-off-by: jorgee <jorge.ejarque@seqera.io>
a8af7eb
to
0495bb1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, just made a minor comment
Included in last commit the modification to add the algorithm and mode in the checksum |
What about this? |
Signed-off-by: jorgee <jorge.ejarque@seqera.io>
Fixed in the last commit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool
Signed-off-by: jorgee <jorge.ejarque@seqera.io>
This PR includes:
workflow.data.store.location
(e.g. S3)Main changes:
The old
CidFileSystem.basePath
is replaced by aCidStore
instance. It is used byCidPath
andCidFileSystemProvider
to access metadata. TheCidPath.storePath
has been removed and filePath is storing the path used in the URI as well as the key to use in theCidStore
.meta
and.data.json
are private constants in DefaultCidStore property used to store the metadata.The CidHistoryLog interface is provided to decouple the log operations from the underlying storage. The CidHistoryFile is the implementation used in the DefaultCidStore.
The
CidHistoryFile
location is configurableworkflow.data.store.logLocation
. Users can define a remote path but the lock capability is not supported by all providers. If the provider does not support it a warning message is printed.