-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fixed] - In KuboBootstrapper, calling Stop now gracefully shuts down the Kubo node by invoking the `ipfs shutdown` command and stopping the process, instead of killing it outright. [Improvements] - In KuboDownloader, GetBinaryVersionAsync and GetLatestBinaryAsync now have overloads for both HttpClient and IpfsClient. - In KuboDownloader, GetBinaryVersionAsync and GetLatestBinaryAsync now crawls compressed archives directly from Http/Ipfs, returning an IFile of the Kubo binary without downloading and extracting to disk. - The streams opened by IpfsFile and IpnsFile are now seekable. - The streams opened by IpfsFile and IpnsFile now supply an accurate stream Length based on the Size given by Kubo. [Breaking] - The KuboDownloader class is now static. - In KuboDownloader, the DownloadLatestBinaryAsync method has been replaced with GetLatestBinaryAsync. - In KuboDownloader, the DownloadBinaryAsync method has been replaced with GetBinaryVersionAsync. - In KuboDownloader, the return type on GetLatestKuboVersionAsync was changed. This method now returns a Version, without the - tuple and RawVersion. - In KuboDownloader, the method parameters of GetLatestKuboVersionAsync were changed. This method now takes any `IFile` pointing - to a versions file, rather than a url pointing to the default versions file on http. - In KuboBootstrapper, the constructor now takes the repoPath first for all constructors. - In KuboBootstrapper, the IFile previous provided in the constructor has been replaced with an optional file delegate. - In KuboBootstrapper, if the binary isn't in the BinaryWorkingFolder, it will be retrieved using the file delegate provided in - the constructor. If no delegate is provided, the latest version will be retrieved via Http. - In KuboBootstrapper, ApplySettingsAsync is now ApplySettings, and is no longer async. - In KuboBootstrapper, the Kubo binary is now copied directly to the given BinaryWorkingFolder, instead of making a subfolder. - The default location is still the system temp folder.
- Loading branch information
1 parent
0d3de18
commit 03ac7f4
Showing
11 changed files
with
434 additions
and
256 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
Oops, something went wrong.