Skip to content

Commit

Permalink
QuiltLocal.DOMAIN
Browse files Browse the repository at this point in the history
  • Loading branch information
drernie committed May 21, 2024
1 parent 56ef866 commit da5f09f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ import com.fasterxml.jackson.databind.node.ObjectNode
class QuiltLocal {

public static final Path INSTALL_ROOT = Files.createTempDirectory(INSTALL_PREFIX)
public static final QuiltLocal DEFAULT = new QuiltLocal(INSTALL_ROOT)
public static final QuiltLocal DOMAIN = new QuiltLocal(INSTALL_ROOT)
private static final String INSTALL_PREFIX = 'QuiltPackage'
final Path localRoot

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ class QuiltPackage {
}

void reset() {
QuiltLocal.DEFAULT.resetDest(this)
QuiltLocal.DOMAIN.resetDest(this)
setup()
}

Expand All @@ -157,7 +157,7 @@ class QuiltPackage {
}

Path packageDest() {
return QuiltLocal.DEFAULT.packageDest(this)
return QuiltLocal.DOMAIN.packageDest(this)
}

String workflowName() {
Expand All @@ -166,7 +166,7 @@ class QuiltPackage {

Path install() {
try {
Path dest = QuiltLocal.DEFAULT.install(this)
Path dest = QuiltLocal.DOMAIN.install(this)
installed = true
return dest
} catch (IOException e) {
Expand All @@ -179,7 +179,7 @@ class QuiltPackage {
// https://docs.quiltdata.com/v/version-5.0.x/examples/gitlike#install-a-package
Manifest push(String msg = 'update', Map meta = [:]) {
try {
Manifest manifest = QuiltLocal.DEFAULT.push(this, "nf-quilt:${today()}-${msg}", meta)
Manifest manifest = QuiltLocal.DOMAIN.push(this, "nf-quilt:${today()}-${msg}", meta)
log.debug("pushed[${this.parsed}]: ${manifest}")
return manifest
} catch (Exception e) {
Expand Down

0 comments on commit da5f09f

Please sign in to comment.