From 0b0b510780b73599bc762bb2a93cd62bb1834d5d Mon Sep 17 00:00:00 2001 From: Dr Marco Claudio De La Pierre Date: Fri, 24 May 2024 22:13:20 +0800 Subject: [PATCH] assetmanager: local bare revision to commit using .resolve() method Signed-off-by: Dr Marco Claudio De La Pierre --- .../main/groovy/nextflow/scm/AssetManager.groovy | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/modules/nextflow/src/main/groovy/nextflow/scm/AssetManager.groovy b/modules/nextflow/src/main/groovy/nextflow/scm/AssetManager.groovy index aa3e03045f..b1502d9184 100644 --- a/modules/nextflow/src/main/groovy/nextflow/scm/AssetManager.groovy +++ b/modules/nextflow/src/main/groovy/nextflow/scm/AssetManager.groovy @@ -195,11 +195,26 @@ class AssetManager { .resolve("refs/heads/" + revtest ) .getName() + def t1 = gitTest.getRepository() + .resolve("toy" ) + .getName() + def t2 = gitTest.getRepository() + .resolve("v1.1" ) + .getName() + def t3 = gitTest.getRepository() + .resolve("1d71f857bb64af58716575d770ef74baf21313d1" ) + .getName() + gitTest.close() println('PIPPO1 ' + localBarePath) println('PIPPO2 ' + obj) println('PIPPO3 ' + obj2) + println('ZIO1 ' + t1) + println('ZIO2 ' + t2) + println('ZIO3 ' + t3) + + this.localPath = checkProjectDir(project, this.revision) return this