This repository has been archived by the owner on Feb 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 263
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Kelp UI: refactor os paths used to accommodate for 260 character file…
… path limit in windows (#406) * 1 - convertUnixPathToNative + test * 2 - MakeFromUnixPath + test * 3 - checkGoosAllowed -> skipIfGoosNotAllowed in tests * 4 - remove unused RelFromBase * 5 - rework folder structure to use ~/.kelp 1. ops now lives in ~/.kelp and is renamed to bot_data 2. /logs is now renamed to ui_logs 3. renamed path variables in APIServer to be botConfigsPath and botLogsPath * 6 - manually expand ~ for kelp directory * 7 - add comment about 260 character limit on windows * 8 - MakeFromNativePath + test * 9 - usr.HomeDir is in native form so make OSPath from native path * 10 - fix MakeFromNativePath so it sets native and unix path correctly * 11 - replace MakeFromUnixPath usage with a simple ospath.Join call * 12 - set working directory to ~/.kelp and refactor paths to be saved and used via kos this should give us the smallest path lengths on windows * 13 - rename kelpBinName string to kelpBinPath *OSPath since we now run from the .kelp dir * 14 - add comments on why we use ~/.kelp as the working directory instead of the binary directory as the wd
- Loading branch information
1 parent
6a6d9cc
commit ae33d83
Showing
14 changed files
with
244 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.