Skip to content

Commit

Permalink
DEVEX-2135 Write temporary manifest to $HOME/.dxfuse/ (#77)
Browse files Browse the repository at this point in the history
* Write temporary manifest to $HOME/.dxfuse/

* Bump version to v1.1.0
  • Loading branch information
kpjensen authored Aug 12, 2022
1 parent cf6dd59 commit 3767332
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions cli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,8 @@ func startDaemonAndWaitForInitializationToComplete(cfg Config, logFile string) {
}

// This could be converted into a random temporary file to avoid collisions
fullManifestPath := "/tmp/dxfuse_manifest.json"

fullManifestPath := filepath.Join(dxfuse.MakeFSBaseDir(), "dxfuse_manifest.json")
err = ioutil.WriteFile(fullManifestPath, manifestJSON, 0644)
if err != nil {
fmt.Printf("Error writing out fully elaborated manifest to %s (%s)",
Expand Down Expand Up @@ -490,7 +491,7 @@ func main() {
flag.Parse()
cfg := parseCmdLineArgs()
validateConfig(cfg)
logFile := dxfuse.MakeFSBaseDir() + "/" + dxfuse.LogFile
logFile := filepath.Join(dxfuse.MakeFSBaseDir(), dxfuse.LogFile)
fmt.Printf("The log file is located at %s\n", logFile)

dxda.UserAgent = fmt.Sprintf("dxfuse/%s (%s)", dxfuse.Version, runtime.GOOS)
Expand Down
2 changes: 1 addition & 1 deletion util.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const (
NumRetriesDefault = 10
InitialUploadPartSize = 16 * MiB
MaxUploadPartSize = 700 * MiB
Version = "v1.0.1"
Version = "v1.1.0"
)
const (
InodeInvalid = 0
Expand Down

0 comments on commit 3767332

Please sign in to comment.