mirror of
https://github.com/EpicMorg/atlassian-downloader.git
synced 2025-03-14 22:30:18 +03:00
Compare commits
17 Commits
Author | SHA1 | Date | |
---|---|---|---|
763c75c162 | |||
30b159c35c | |||
6063467e2d | |||
b4e881a1d7 | |||
332c3e1a7e | |||
a43b17511b | |||
b11529d9b9 | |||
96d29562af | |||
859c7d3c57 | |||
28bc6ffcfb | |||
22cb98ef63 | |||
3b72547621 | |||
e81a96180a | |||
997f096cc1 | |||
|
00000db63c | ||
|
000006654d | ||
08256f0abe |
BIN
.github/media/screenshot-01.png
vendored
BIN
.github/media/screenshot-01.png
vendored
Binary file not shown.
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 127 KiB |
BIN
.github/media/screenshot-02.png
vendored
BIN
.github/media/screenshot-02.png
vendored
Binary file not shown.
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 42 KiB |
BIN
.github/media/screenshot-03.png
vendored
BIN
.github/media/screenshot-03.png
vendored
Binary file not shown.
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 56 KiB |
3
.github/workflows/dotnet-develop.yml
vendored
3
.github/workflows/dotnet-develop.yml
vendored
@ -19,7 +19,8 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-dotnet@v3
|
- uses: actions/setup-dotnet@v3
|
||||||
with:
|
with:
|
||||||
dotnet-version: '6.0.x'
|
dotnet-version: 8
|
||||||
|
dotnet-quality: 'preview'
|
||||||
|
|
||||||
- name: Restore
|
- name: Restore
|
||||||
env:
|
env:
|
||||||
|
3
.github/workflows/dotnet-master.yml
vendored
3
.github/workflows/dotnet-master.yml
vendored
@ -18,7 +18,8 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-dotnet@v3
|
- uses: actions/setup-dotnet@v3
|
||||||
with:
|
with:
|
||||||
dotnet-version: '6.0.x'
|
dotnet-version: 8
|
||||||
|
dotnet-quality: 'preview'
|
||||||
|
|
||||||
- name: Restore
|
- name: Restore
|
||||||
env:
|
env:
|
||||||
|
15
CHANGELOG.md
15
CHANGELOG.md
@ -1,9 +1,18 @@
|
|||||||
# Atlassian Downloader - Changelog
|
# Atlassian Downloader - Changelog
|
||||||
|
|
||||||
## 2.x
|
## 2.x
|
||||||
|
* `2.0.0.2` - minor update:
|
||||||
* `2.0.0.0` - migrated to `dotnet8` and updated libs. code optimized by [@kasthack](https://github.com/kasthack). reworked build scripts via `cli` and `vs`. added translations to `ru` and `en`. added new dists - `osx-arm64`, `linux-bionic-x64`.
|
* Added `maxRetries (default: 5)` and `delayBetweenRetries (default: 2500, milliseconds)` args, to redownload file if connection will be reset.
|
||||||
|
* Updated dependencies.
|
||||||
|
* `2.0.0.1` - minor update:
|
||||||
|
* Fix default output dir, enable nullables, fix compiler warnings #43
|
||||||
|
* Remove redundant parameters from publish profiles #42
|
||||||
|
* `2.0.0.0` - migrated to `dotnet8` and updated libs.
|
||||||
|
* code optimized by [@kasthack](https://github.com/kasthack).
|
||||||
|
* reworked build scripts via `cli` and `vs`.
|
||||||
|
* added new dists - `osx-arm64`, `linux-bionic-x64`.
|
||||||
|
* added support of custom useragent via flag
|
||||||
|
* added suppor of skipping existing files via flag
|
||||||
## 1.x
|
## 1.x
|
||||||
* `1.1.0.0` - added automatic compare of local and remote file sizes. If they differ - the file will be re-downloaded.
|
* `1.1.0.0` - added automatic compare of local and remote file sizes. If they differ - the file will be re-downloaded.
|
||||||
* `1.0.1.1` - minor update: added `UserAgent` to HTTP headers and added mirrors of json files.
|
* `1.0.1.1` - minor update: added `UserAgent` to HTTP headers and added mirrors of json files.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
MIT License
|
MIT License
|
||||||
|
|
||||||
Copyright (c) 2018-2023 EpicMorg: Main
|
Copyright (c) 2009 EpicMorg
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
|
|
||||||
Console app written with `c#` and `dotnet8` for downloading all avalible products from `Atlassian`. Why not?
|
Console app written with `c#` and `dotnet8` for downloading all avalible products from `Atlassian`. Why not?
|
||||||
|
|
||||||

|

|
||||||

|

|
||||||
|
|
||||||
# Supported OS:
|
# Supported OS:
|
||||||
`win-x86`, `win-x64`, `win-arm64`, `linux-x86`, `linux-x64`, `linux-musl-x64`, `linux-arm`, `linux-arm64`, `linux-bionic-x64`, `osx-x64`, `osx-arm64`
|
`win-x86`, `win-x64`, `win-arm64`, `linux-x86`, `linux-x64`, `linux-musl-x64`, `linux-arm`, `linux-arm64`, `linux-bionic-x64`, `osx-x64`, `osx-arm64`
|
||||||
@ -44,7 +44,7 @@ Console app written with `c#` and `dotnet8` for downloading all avalible product
|
|||||||
# Usage and settings
|
# Usage and settings
|
||||||
## CLI args
|
## CLI args
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
```
|
```
|
||||||
atlassian-downloader:
|
atlassian-downloader:
|
||||||
|
@ -11,13 +11,13 @@ internal class BellsAndWhistles
|
|||||||
{
|
{
|
||||||
private static readonly string assemblyEnvironment = string.Format("[{1}, {0}]", RuntimeInformation.ProcessArchitecture.ToString().ToLowerInvariant(), RuntimeInformation.FrameworkDescription);
|
private static readonly string assemblyEnvironment = string.Format("[{1}, {0}]", RuntimeInformation.ProcessArchitecture.ToString().ToLowerInvariant(), RuntimeInformation.FrameworkDescription);
|
||||||
|
|
||||||
private static readonly Assembly entryAssembly = Assembly.GetEntryAssembly();
|
private static readonly Assembly entryAssembly = Assembly.GetEntryAssembly()!;
|
||||||
|
|
||||||
private static readonly string assemblyVersion = entryAssembly.GetName().Version.ToString();
|
private static readonly string assemblyVersion = entryAssembly.GetName().Version!.ToString();
|
||||||
|
|
||||||
private static readonly string fileVersion = entryAssembly.GetCustomAttribute<AssemblyFileVersionAttribute>().Version;
|
private static readonly string fileVersion = entryAssembly.GetCustomAttribute<AssemblyFileVersionAttribute>()!.Version;
|
||||||
|
|
||||||
private static readonly string assemblyName = entryAssembly.GetCustomAttribute<AssemblyProductAttribute>().Product;
|
private static readonly string assemblyName = entryAssembly.GetCustomAttribute<AssemblyProductAttribute>()!.Product;
|
||||||
const string assemblyBuildType =
|
const string assemblyBuildType =
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
"[Debug]"
|
"[Debug]"
|
||||||
@ -31,7 +31,12 @@ internal class BellsAndWhistles
|
|||||||
|
|
||||||
public static void ShowVersionInfo(ILogger logger)
|
public static void ShowVersionInfo(ILogger logger)
|
||||||
{
|
{
|
||||||
logger.LogInformation($"{assemblyName} {assemblyVersion} {assemblyEnvironment} {assemblyBuildType}");
|
logger.LogInformation(
|
||||||
|
"{assemblyName} {assemblyVersion} {assemblyEnvironment} {assemblyBuildType}",
|
||||||
|
assemblyName,
|
||||||
|
assemblyVersion,
|
||||||
|
assemblyEnvironment,
|
||||||
|
assemblyBuildType);
|
||||||
Console.BackgroundColor = ConsoleColor.Black;
|
Console.BackgroundColor = ConsoleColor.Black;
|
||||||
WriteColorLine("%╔═╦═══════════════════════════════════════════════════════════════════════════════════════╦═╗");
|
WriteColorLine("%╔═╦═══════════════════════════════════════════════════════════════════════════════════════╦═╗");
|
||||||
WriteColorLine("%╠═╝ .''. %╚═%╣");
|
WriteColorLine("%╠═╝ .''. %╚═%╣");
|
||||||
|
@ -16,12 +16,15 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
internal class DownloaderService : IHostedService
|
internal class DownloaderService : IHostedService
|
||||||
{
|
{
|
||||||
|
private static readonly JsonSerializerOptions jsonOptions = new()
|
||||||
|
{
|
||||||
|
PropertyNameCaseInsensitive = true
|
||||||
|
};
|
||||||
private readonly ILogger<DownloaderService> logger;
|
private readonly ILogger<DownloaderService> logger;
|
||||||
private readonly DownloaderOptions options;
|
private readonly DownloaderOptions options;
|
||||||
private readonly HttpClient client;
|
private readonly HttpClient client;
|
||||||
private readonly IHostApplicationLifetime hostApplicationLifetime;
|
private readonly IHostApplicationLifetime hostApplicationLifetime;
|
||||||
|
|
||||||
|
|
||||||
public DownloaderService(IHostApplicationLifetime hostApplicationLifetime, ILogger<DownloaderService> logger, HttpClient client, DownloaderOptions options)
|
public DownloaderService(IHostApplicationLifetime hostApplicationLifetime, ILogger<DownloaderService> logger, HttpClient client, DownloaderOptions options)
|
||||||
{
|
{
|
||||||
this.logger = logger;
|
this.logger = logger;
|
||||||
@ -87,15 +90,12 @@ internal class DownloaderService : IHostedService
|
|||||||
this.hostApplicationLifetime.StopApplication();
|
this.hostApplicationLifetime.StopApplication();
|
||||||
}
|
}
|
||||||
|
|
||||||
private async Task<(string json, IDictionary<string, ResponseItem[]> versions)> GetJson(string feedUrl, string productVersion = null, CancellationToken cancellationToken = default)
|
private async Task<(string json, IDictionary<string, ResponseItem[]> versions)> GetJson(string feedUrl, string? productVersion = null, CancellationToken cancellationToken = default)
|
||||||
{
|
{
|
||||||
var atlassianJson = await this.client.GetStringAsync(feedUrl, cancellationToken).ConfigureAwait(false);
|
var atlassianJson = await this.client.GetStringAsync(feedUrl, cancellationToken).ConfigureAwait(false);
|
||||||
var json = atlassianJson.Trim()["downloads(".Length..^1];
|
var json = atlassianJson.Trim()["downloads(".Length..^1];
|
||||||
this.logger.LogTrace($"Downloaded json: {0}", json);
|
this.logger.LogTrace("Downloaded json: {json}", json);
|
||||||
var parsed = JsonSerializer.Deserialize<ResponseItem[]>(json, new JsonSerializerOptions
|
var parsed = JsonSerializer.Deserialize<ResponseItem[]>(json, jsonOptions)!;
|
||||||
{
|
|
||||||
PropertyNameCaseInsensitive = true
|
|
||||||
});
|
|
||||||
this.logger.LogDebug("Found {releaseCount} releases", parsed.Length);
|
this.logger.LogDebug("Found {releaseCount} releases", parsed.Length);
|
||||||
var versions = parsed
|
var versions = parsed
|
||||||
.GroupBy(a => a.Version)
|
.GroupBy(a => a.Version)
|
||||||
@ -112,7 +112,6 @@ internal class DownloaderService : IHostedService
|
|||||||
private async Task DownloadFilesFromFeed(string feedUrl, IDictionary<string, ResponseItem[]> versions, CancellationToken cancellationToken)
|
private async Task DownloadFilesFromFeed(string feedUrl, IDictionary<string, ResponseItem[]> versions, CancellationToken cancellationToken)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
var feedDir = Path.Combine(this.options.OutputDir, feedUrl[(feedUrl.LastIndexOf('/') + 1)..feedUrl.LastIndexOf('.')]);
|
var feedDir = Path.Combine(this.options.OutputDir, feedUrl[(feedUrl.LastIndexOf('/') + 1)..feedUrl.LastIndexOf('.')]);
|
||||||
this.logger.LogInformation("Download from JSON \"{feedUrl}\" started", feedUrl);
|
this.logger.LogInformation("Download from JSON \"{feedUrl}\" started", feedUrl);
|
||||||
foreach (var version in versions)
|
foreach (var version in versions)
|
||||||
@ -137,12 +136,10 @@ internal class DownloaderService : IHostedService
|
|||||||
|
|
||||||
if (file.ZipUrl == null)
|
if (file.ZipUrl == null)
|
||||||
{
|
{
|
||||||
this.logger.LogWarning($"Empty ZipUrl found for version '{version.Key}' in {feedUrl}");
|
this.logger.LogWarning("Empty ZipUrl found for version '{version}' in {feedUrl}", version.Key, feedUrl);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
var serverPath = file.ZipUrl.PathAndQuery;
|
var serverPath = file.ZipUrl.PathAndQuery;
|
||||||
var outputFile = Path.Combine(directory, serverPath[(serverPath.LastIndexOf('/') + 1)..]);
|
var outputFile = Path.Combine(directory, serverPath[(serverPath.LastIndexOf('/') + 1)..]);
|
||||||
if (!File.Exists(outputFile))
|
if (!File.Exists(outputFile))
|
||||||
@ -153,91 +150,108 @@ internal class DownloaderService : IHostedService
|
|||||||
{
|
{
|
||||||
if (this.options.SkipFileCheck == false)
|
if (this.options.SkipFileCheck == false)
|
||||||
{
|
{
|
||||||
this.logger.LogWarning($"File \"{outputFile}\" already exists. File sizes will be compared.");
|
this.logger.LogWarning("File \"{outputFile}\" already exists. File sizes will be compared.", outputFile);
|
||||||
var localFileSize = new FileInfo(outputFile).Length;
|
var localFileSize = new FileInfo(outputFile).Length;
|
||||||
this.logger.LogInformation($"Size of local file is {localFileSize} bytes.");
|
this.logger.LogInformation("Size of local file is {localFileSize} bytes.", localFileSize);
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var httpClient = new HttpClient();
|
var httpClient = new HttpClient();
|
||||||
httpClient.DefaultRequestHeaders.Add("User-Agent", options.UserAgent);
|
httpClient.DefaultRequestHeaders.Add("User-Agent", options.UserAgent);
|
||||||
var response = await httpClient.SendAsync(new HttpRequestMessage(HttpMethod.Head, file.ZipUrl));
|
var response = await httpClient.SendAsync(new HttpRequestMessage(HttpMethod.Head, file.ZipUrl), cancellationToken);
|
||||||
if (response.IsSuccessStatusCode)
|
if (response.IsSuccessStatusCode)
|
||||||
{
|
{
|
||||||
if (response.Content.Headers.ContentLength.HasValue)
|
if (response.Content.Headers.ContentLength.HasValue)
|
||||||
{
|
{
|
||||||
var remoteFileSize = response.Content.Headers.ContentLength.Value;
|
var remoteFileSize = response.Content.Headers.ContentLength.Value;
|
||||||
this.logger.LogInformation($"Size of remote file is \"{remoteFileSize}\" bytes.");
|
this.logger.LogInformation("Size of remote file is \"{remoteFileSize}\" bytes.", remoteFileSize);
|
||||||
|
|
||||||
if (remoteFileSize == localFileSize)
|
if (remoteFileSize == localFileSize)
|
||||||
{
|
{
|
||||||
this.logger.LogInformation($"Size of remote and local files and are same ({remoteFileSize} bytes and {localFileSize} bytes). Nothing to download. Operation skipped.");
|
this.logger.LogInformation(
|
||||||
|
"Size of remote and local files and are same ({remoteFileSize} bytes and {localFileSize} bytes). Nothing to download. Operation skipped.",
|
||||||
|
remoteFileSize,
|
||||||
|
localFileSize);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
this.logger.LogWarning($"Size of remote and local files and are not same ({remoteFileSize} bytes and {localFileSize} bytes). Download started.");
|
this.logger.LogWarning(
|
||||||
|
"Size of remote and local files and are not same ({remoteFileSize} bytes and {localFileSize} bytes). Download started.",
|
||||||
|
remoteFileSize,
|
||||||
|
localFileSize);
|
||||||
File.Delete(outputFile);
|
File.Delete(outputFile);
|
||||||
await this.DownloadFile(file, outputFile, cancellationToken).ConfigureAwait(false);
|
await this.DownloadFile(file, outputFile, cancellationToken).ConfigureAwait(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
this.logger.LogWarning($"Cant get size of remote file \"{file.ZipUrl}\". May be server not support it feature. Sorry.");
|
this.logger.LogWarning("Cant get size of remote file \"{uri}\". May be server not support it feature. Sorry.", file.ZipUrl);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
this.logger.LogCritical($"Request execution error: \"{response.StatusCode}\". Sorry.");
|
this.logger.LogError("Request execution error for {uri}: \"{statusCode}\". Sorry.", file.ZipUrl, response.StatusCode);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (HttpRequestException ex)
|
catch (HttpRequestException ex)
|
||||||
{
|
{
|
||||||
this.logger.LogCritical($"HTTP request error: \"{ex.Message}\", \"{ex.StackTrace}\", \"{ex.StatusCode}\". Sorry.");
|
this.logger.LogError(ex, "HTTP request error for {uri}: \"{message}\", \"{statusCode}\". Sorry.", file.ZipUrl, ex.Message, ex.StatusCode);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
logger.LogWarning($"File \"{outputFile}\" already exists. Download from \"{file.ZipUrl}\" skipped.");
|
logger.LogWarning("File \"{outputFile}\" already exists. Download from \"{uri}\" skipped.", outputFile, file.ZipUrl);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
this.logger.LogInformation($"All files from \"{feedUrl}\" successfully downloaded.");
|
this.logger.LogInformation("All files from \"{feedUrl}\" successfully downloaded.", feedUrl);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private async Task DownloadFile(ResponseItem file, string outputFile, CancellationToken cancellationToken)
|
private async Task DownloadFile(ResponseItem file, string outputFile, CancellationToken cancellationToken)
|
||||||
{
|
{
|
||||||
if (!string.IsNullOrEmpty(file.Md5))
|
for (int attempt = 1; attempt <= options.MaxRetries; attempt++)
|
||||||
{
|
{
|
||||||
File.WriteAllText(outputFile + ".md5", file.Md5);
|
if (!string.IsNullOrEmpty(file.Md5))
|
||||||
}
|
{
|
||||||
|
File.WriteAllText(outputFile + ".md5", file.Md5);
|
||||||
|
}
|
||||||
|
|
||||||
try
|
|
||||||
{
|
|
||||||
using var outputStream = File.OpenWrite(outputFile);
|
|
||||||
using var request = await this.client.GetStreamAsync(file.ZipUrl, cancellationToken).ConfigureAwait(false);
|
|
||||||
await request.CopyToAsync(outputStream, cancellationToken).ConfigureAwait(false);
|
|
||||||
}
|
|
||||||
catch (Exception downloadEx)
|
|
||||||
{
|
|
||||||
this.logger.LogError(downloadEx, "Failed to download file \"{uri}\" to \"{outputFile}\".", file.ZipUrl, outputFile);
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
File.Delete(outputFile);
|
using var outputStream = File.OpenWrite(outputFile);
|
||||||
|
using var request = await this.client.GetStreamAsync(file.ZipUrl, cancellationToken).ConfigureAwait(false);
|
||||||
|
await request.CopyToAsync(outputStream, cancellationToken).ConfigureAwait(false);
|
||||||
}
|
}
|
||||||
catch (Exception removeEx)
|
catch (Exception downloadEx)
|
||||||
{
|
{
|
||||||
this.logger.LogError(removeEx, $"Failed to remove incomplete file \"{outputFile}\".");
|
this.logger.LogError(downloadEx, "Attempt {attempt} failed to download file \"{uri}\" to \"{outputFile}\".", attempt, file.ZipUrl, outputFile);
|
||||||
|
|
||||||
|
if (attempt == options.MaxRetries)
|
||||||
|
{
|
||||||
|
this.logger.LogError(downloadEx, "Failed to download file \"{uri}\" to \"{outputFile}\".", file.ZipUrl, outputFile);
|
||||||
|
try
|
||||||
|
{
|
||||||
|
File.Delete(outputFile);
|
||||||
|
}
|
||||||
|
catch (Exception removeEx)
|
||||||
|
{
|
||||||
|
this.logger.LogError(removeEx, "Failed to remove incomplete file \"{outputFile}\".", outputFile);
|
||||||
|
}
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
await Task.Delay(options.DelayBetweenRetries, cancellationToken).ConfigureAwait(false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
this.logger.LogInformation("File \"{uri}\" successfully downloaded to \"{outputFile}\".", file.ZipUrl, outputFile);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.logger.LogInformation($"File \"{file.ZipUrl}\" successfully downloaded to \"{outputFile}\".");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#pragma warning disable CS1998 // Async method lacks 'await' operators and will run synchronously
|
#pragma warning disable CS1998 // Async method lacks 'await' operators and will run synchronously
|
||||||
public async Task StopAsync(CancellationToken cancellationToken) { }
|
public async Task StopAsync(CancellationToken cancellationToken) { }
|
||||||
#pragma warning restore CS1998 // Async method lacks 'await' operators and will run synchronously
|
#pragma warning restore CS1998 // Async method lacks 'await' operators and will run synchronously
|
||||||
|
@ -1,4 +1,14 @@
|
|||||||
namespace EpicMorg.Atlassian.Downloader;
|
namespace EpicMorg.Atlassian.Downloader;
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
public record DownloaderOptions(string OutputDir, Uri[] CustomFeed, DownloadAction Action, bool Version, string ProductVersion, bool SkipFileCheck, string UserAgent) { }
|
public record DownloaderOptions(
|
||||||
|
string OutputDir,
|
||||||
|
Uri[]? CustomFeed,
|
||||||
|
DownloadAction Action,
|
||||||
|
bool Version,
|
||||||
|
string? ProductVersion,
|
||||||
|
bool SkipFileCheck,
|
||||||
|
string UserAgent,
|
||||||
|
int MaxRetries,
|
||||||
|
int DelayBetweenRetries
|
||||||
|
) { }
|
@ -4,16 +4,16 @@ using System;
|
|||||||
|
|
||||||
public partial class ResponseItem
|
public partial class ResponseItem
|
||||||
{
|
{
|
||||||
public string Description { get; set; }
|
public string? Description { get; set; }
|
||||||
public string Edition { get; set; }
|
public string? Edition { get; set; }
|
||||||
public Uri ZipUrl { get; set; }
|
public Uri? ZipUrl { get; set; }
|
||||||
public object TarUrl { get; set; }
|
public object? TarUrl { get; set; }
|
||||||
public string Md5 { get; set; }
|
public string? Md5 { get; set; }
|
||||||
public string Size { get; set; }
|
public string? Size { get; set; }
|
||||||
public string Released { get; set; }
|
public string? Released { get; set; }
|
||||||
public string Type { get; set; }
|
public string? Type { get; set; }
|
||||||
public string Platform { get; set; }
|
public string? Platform { get; set; }
|
||||||
public string Version { get; set; }
|
public required string Version { get; set; }
|
||||||
public Uri ReleaseNotes { get; set; }
|
public Uri? ReleaseNotes { get; set; }
|
||||||
public Uri UpgradeNotes { get; set; }
|
public Uri? UpgradeNotes { get; set; }
|
||||||
}
|
}
|
@ -24,7 +24,18 @@ public class Program
|
|||||||
/// <param name="productVersion">Override target version to download some product. Advice: Use it with "customFeed".</param>
|
/// <param name="productVersion">Override target version to download some product. Advice: Use it with "customFeed".</param>
|
||||||
/// <param name="skipFileCheck">Skip compare of file sizes if a local file already exists. Existing file will be skipped to check and redownload.</param>
|
/// <param name="skipFileCheck">Skip compare of file sizes if a local file already exists. Existing file will be skipped to check and redownload.</param>
|
||||||
/// <param name="userAgent">Set custom user agent via this feature flag.</param>
|
/// <param name="userAgent">Set custom user agent via this feature flag.</param>
|
||||||
static async Task Main(string outputDir, Uri[] customFeed = null, DownloadAction action = DownloadAction.Download, bool about = false, string productVersion = null, bool skipFileCheck = false, string userAgent = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:101.0) Gecko/20100101 Firefox/101.0") => await
|
/// <param name="maxRetries">Set custom count of download retries.</param>
|
||||||
|
/// <param name="delayBetweenRetries">Set custom delay between retries (in milliseconds).</param>
|
||||||
|
static async Task Main(
|
||||||
|
string? outputDir = default,
|
||||||
|
Uri[]? customFeed = null,
|
||||||
|
DownloadAction action = DownloadAction.Download,
|
||||||
|
bool about = false,
|
||||||
|
string? productVersion = null,
|
||||||
|
bool skipFileCheck = false,
|
||||||
|
int maxRetries = 5,
|
||||||
|
int delayBetweenRetries = 2500,
|
||||||
|
string userAgent = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:101.0) Gecko/20100101 Firefox/101.0") => await
|
||||||
Host
|
Host
|
||||||
.CreateDefaultBuilder()
|
.CreateDefaultBuilder()
|
||||||
.ConfigureHostConfiguration(configHost => configHost.AddEnvironmentVariables())
|
.ConfigureHostConfiguration(configHost => configHost.AddEnvironmentVariables())
|
||||||
@ -46,7 +57,16 @@ public class Program
|
|||||||
.AddSerilog(dispose: true);
|
.AddSerilog(dispose: true);
|
||||||
})
|
})
|
||||||
.AddHostedService<DownloaderService>()
|
.AddHostedService<DownloaderService>()
|
||||||
.AddSingleton(new DownloaderOptions(outputDir, customFeed, action, about, productVersion, skipFileCheck, userAgent))
|
.AddSingleton(new DownloaderOptions(
|
||||||
|
outputDir ?? Environment.CurrentDirectory,
|
||||||
|
customFeed,
|
||||||
|
action,
|
||||||
|
about,
|
||||||
|
productVersion,
|
||||||
|
skipFileCheck,
|
||||||
|
userAgent,
|
||||||
|
maxRetries,
|
||||||
|
delayBetweenRetries))
|
||||||
.AddHttpClient())
|
.AddHttpClient())
|
||||||
.RunConsoleAsync()
|
.RunConsoleAsync()
|
||||||
.ConfigureAwait(false);
|
.ConfigureAwait(false);
|
||||||
|
@ -1,19 +1,11 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!--
|
|
||||||
https://go.microsoft.com/fwlink/?LinkID=208121.
|
|
||||||
-->
|
|
||||||
<Project>
|
<Project>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration>Release</Configuration>
|
|
||||||
<Platform>Any CPU</Platform>
|
|
||||||
<PublishDir>bin\Release\net8.0\linux-arm\publish\</PublishDir>
|
|
||||||
<PublishProtocol>FileSystem</PublishProtocol>
|
<PublishProtocol>FileSystem</PublishProtocol>
|
||||||
<_TargetId>Folder</_TargetId>
|
<_TargetId>Folder</_TargetId>
|
||||||
<TargetFramework>net8.0</TargetFramework>
|
|
||||||
|
<!--target runtime-->
|
||||||
|
<PublishDir>bin\Release\net8.0\linux-arm\publish\</PublishDir>
|
||||||
<RuntimeIdentifier>linux-arm</RuntimeIdentifier>
|
<RuntimeIdentifier>linux-arm</RuntimeIdentifier>
|
||||||
<SelfContained>true</SelfContained>
|
|
||||||
<PublishSingleFile>false</PublishSingleFile>
|
|
||||||
<PublishReadyToRun>false</PublishReadyToRun>
|
|
||||||
<PublishTrimmed>false</PublishTrimmed>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
@ -1,19 +1,11 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!--
|
|
||||||
https://go.microsoft.com/fwlink/?LinkID=208121.
|
|
||||||
-->
|
|
||||||
<Project>
|
<Project>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration>Release</Configuration>
|
|
||||||
<Platform>Any CPU</Platform>
|
|
||||||
<PublishDir>bin\Release\net8.0\linux-arm64\publish\</PublishDir>
|
|
||||||
<PublishProtocol>FileSystem</PublishProtocol>
|
<PublishProtocol>FileSystem</PublishProtocol>
|
||||||
<_TargetId>Folder</_TargetId>
|
<_TargetId>Folder</_TargetId>
|
||||||
<TargetFramework>net8.0</TargetFramework>
|
|
||||||
|
<!--target runtime-->
|
||||||
|
<PublishDir>bin\Release\net8.0\linux-arm64\publish\</PublishDir>
|
||||||
<RuntimeIdentifier>linux-arm64</RuntimeIdentifier>
|
<RuntimeIdentifier>linux-arm64</RuntimeIdentifier>
|
||||||
<SelfContained>true</SelfContained>
|
|
||||||
<PublishSingleFile>false</PublishSingleFile>
|
|
||||||
<PublishReadyToRun>false</PublishReadyToRun>
|
|
||||||
<PublishTrimmed>false</PublishTrimmed>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
@ -1,19 +1,11 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!--
|
|
||||||
https://go.microsoft.com/fwlink/?LinkID=208121.
|
|
||||||
-->
|
|
||||||
<Project>
|
<Project>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration>Release</Configuration>
|
|
||||||
<Platform>Any CPU</Platform>
|
|
||||||
<PublishDir>bin\Release\net8.0\linux-bionic-x64\publish\</PublishDir>
|
|
||||||
<PublishProtocol>FileSystem</PublishProtocol>
|
<PublishProtocol>FileSystem</PublishProtocol>
|
||||||
<_TargetId>Folder</_TargetId>
|
<_TargetId>Folder</_TargetId>
|
||||||
<TargetFramework>net8.0</TargetFramework>
|
|
||||||
|
<!--target runtime-->
|
||||||
|
<PublishDir>bin\Release\net8.0\linux-bionic-x64\publish\</PublishDir>
|
||||||
<RuntimeIdentifier>linux-bionic-x64</RuntimeIdentifier>
|
<RuntimeIdentifier>linux-bionic-x64</RuntimeIdentifier>
|
||||||
<SelfContained>true</SelfContained>
|
|
||||||
<PublishSingleFile>false</PublishSingleFile>
|
|
||||||
<PublishReadyToRun>false</PublishReadyToRun>
|
|
||||||
<PublishTrimmed>false</PublishTrimmed>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
@ -1,19 +1,11 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!--
|
|
||||||
https://go.microsoft.com/fwlink/?LinkID=208121.
|
|
||||||
-->
|
|
||||||
<Project>
|
<Project>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration>Release</Configuration>
|
|
||||||
<Platform>Any CPU</Platform>
|
|
||||||
<PublishDir>bin\Release\net8.0\linux-musl-x64\publish\</PublishDir>
|
|
||||||
<PublishProtocol>FileSystem</PublishProtocol>
|
<PublishProtocol>FileSystem</PublishProtocol>
|
||||||
<_TargetId>Folder</_TargetId>
|
<_TargetId>Folder</_TargetId>
|
||||||
<TargetFramework>net8.0</TargetFramework>
|
|
||||||
|
<!--target runtime-->
|
||||||
|
<PublishDir>bin\Release\net8.0\linux-musl-x64\publish\</PublishDir>
|
||||||
<RuntimeIdentifier>linux-musl-x64</RuntimeIdentifier>
|
<RuntimeIdentifier>linux-musl-x64</RuntimeIdentifier>
|
||||||
<SelfContained>true</SelfContained>
|
|
||||||
<PublishSingleFile>false</PublishSingleFile>
|
|
||||||
<PublishReadyToRun>false</PublishReadyToRun>
|
|
||||||
<PublishTrimmed>false</PublishTrimmed>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
@ -1,19 +1,11 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!--
|
|
||||||
https://go.microsoft.com/fwlink/?LinkID=208121.
|
|
||||||
-->
|
|
||||||
<Project>
|
<Project>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration>Release</Configuration>
|
|
||||||
<Platform>Any CPU</Platform>
|
|
||||||
<PublishDir>bin\Release\net8.0\linux-x64\publish\</PublishDir>
|
|
||||||
<PublishProtocol>FileSystem</PublishProtocol>
|
<PublishProtocol>FileSystem</PublishProtocol>
|
||||||
<_TargetId>Folder</_TargetId>
|
<_TargetId>Folder</_TargetId>
|
||||||
<TargetFramework>net8.0</TargetFramework>
|
|
||||||
|
<!--target runtime-->
|
||||||
|
<PublishDir>bin\Release\net8.0\linux-x64\publish\</PublishDir>
|
||||||
<RuntimeIdentifier>linux-x64</RuntimeIdentifier>
|
<RuntimeIdentifier>linux-x64</RuntimeIdentifier>
|
||||||
<SelfContained>true</SelfContained>
|
|
||||||
<PublishSingleFile>false</PublishSingleFile>
|
|
||||||
<PublishReadyToRun>false</PublishReadyToRun>
|
|
||||||
<PublishTrimmed>false</PublishTrimmed>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
@ -1,19 +1,11 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!--
|
|
||||||
https://go.microsoft.com/fwlink/?LinkID=208121.
|
|
||||||
-->
|
|
||||||
<Project>
|
<Project>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration>Release</Configuration>
|
|
||||||
<Platform>Any CPU</Platform>
|
|
||||||
<PublishDir>bin\Release\net8.0\osx-arm64\publish\</PublishDir>
|
|
||||||
<PublishProtocol>FileSystem</PublishProtocol>
|
<PublishProtocol>FileSystem</PublishProtocol>
|
||||||
<_TargetId>Folder</_TargetId>
|
<_TargetId>Folder</_TargetId>
|
||||||
<TargetFramework>net8.0</TargetFramework>
|
|
||||||
|
<!--target runtime-->
|
||||||
|
<PublishDir>bin\Release\net8.0\osx-arm64\publish\</PublishDir>
|
||||||
<RuntimeIdentifier>osx-arm64</RuntimeIdentifier>
|
<RuntimeIdentifier>osx-arm64</RuntimeIdentifier>
|
||||||
<SelfContained>true</SelfContained>
|
|
||||||
<PublishSingleFile>false</PublishSingleFile>
|
|
||||||
<PublishReadyToRun>false</PublishReadyToRun>
|
|
||||||
<PublishTrimmed>false</PublishTrimmed>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
@ -1,19 +1,11 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!--
|
|
||||||
https://go.microsoft.com/fwlink/?LinkID=208121.
|
|
||||||
-->
|
|
||||||
<Project>
|
<Project>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration>Release</Configuration>
|
|
||||||
<Platform>Any CPU</Platform>
|
|
||||||
<PublishDir>bin\Release\net8.0\osx-x64\publish\</PublishDir>
|
|
||||||
<PublishProtocol>FileSystem</PublishProtocol>
|
<PublishProtocol>FileSystem</PublishProtocol>
|
||||||
<_TargetId>Folder</_TargetId>
|
<_TargetId>Folder</_TargetId>
|
||||||
<TargetFramework>net8.0</TargetFramework>
|
|
||||||
|
<!--target runtime-->
|
||||||
|
<PublishDir>bin\Release\net8.0\osx-x64\publish\</PublishDir>
|
||||||
<RuntimeIdentifier>osx-x64</RuntimeIdentifier>
|
<RuntimeIdentifier>osx-x64</RuntimeIdentifier>
|
||||||
<SelfContained>true</SelfContained>
|
|
||||||
<PublishSingleFile>false</PublishSingleFile>
|
|
||||||
<PublishReadyToRun>false</PublishReadyToRun>
|
|
||||||
<PublishTrimmed>false</PublishTrimmed>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
@ -1,19 +1,11 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!--
|
|
||||||
https://go.microsoft.com/fwlink/?LinkID=208121.
|
|
||||||
-->
|
|
||||||
<Project>
|
<Project>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration>Release</Configuration>
|
|
||||||
<Platform>Any CPU</Platform>
|
|
||||||
<PublishDir>bin\Release\net8.0\win-arm64\publish\</PublishDir>
|
|
||||||
<PublishProtocol>FileSystem</PublishProtocol>
|
<PublishProtocol>FileSystem</PublishProtocol>
|
||||||
<_TargetId>Folder</_TargetId>
|
<_TargetId>Folder</_TargetId>
|
||||||
<TargetFramework>net8.0</TargetFramework>
|
|
||||||
|
<!--target runtime-->
|
||||||
|
<PublishDir>bin\Release\net8.0\win-arm64\publish\</PublishDir>
|
||||||
<RuntimeIdentifier>win-arm64</RuntimeIdentifier>
|
<RuntimeIdentifier>win-arm64</RuntimeIdentifier>
|
||||||
<SelfContained>true</SelfContained>
|
|
||||||
<PublishSingleFile>false</PublishSingleFile>
|
|
||||||
<PublishReadyToRun>false</PublishReadyToRun>
|
|
||||||
<PublishTrimmed>false</PublishTrimmed>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
@ -1,19 +1,11 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!--
|
|
||||||
https://go.microsoft.com/fwlink/?LinkID=208121.
|
|
||||||
-->
|
|
||||||
<Project>
|
<Project>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration>Release</Configuration>
|
|
||||||
<Platform>Any CPU</Platform>
|
|
||||||
<PublishDir>bin\Release\net8.0\win-x64\publish\</PublishDir>
|
|
||||||
<PublishProtocol>FileSystem</PublishProtocol>
|
<PublishProtocol>FileSystem</PublishProtocol>
|
||||||
<_TargetId>Folder</_TargetId>
|
<_TargetId>Folder</_TargetId>
|
||||||
<TargetFramework>net8.0</TargetFramework>
|
|
||||||
|
<!--target runtime-->
|
||||||
|
<PublishDir>bin\Release\net8.0\win-x64\publish\</PublishDir>
|
||||||
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||||
<SelfContained>true</SelfContained>
|
|
||||||
<PublishSingleFile>false</PublishSingleFile>
|
|
||||||
<PublishReadyToRun>false</PublishReadyToRun>
|
|
||||||
<PublishTrimmed>false</PublishTrimmed>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
@ -1,20 +1,11 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!--
|
|
||||||
https://go.microsoft.com/fwlink/?LinkID=208121.
|
|
||||||
-->
|
|
||||||
<Project>
|
<Project>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration>Release</Configuration>
|
|
||||||
<Platform>Any CPU</Platform>
|
|
||||||
<VersionSuffix></VersionSuffix>
|
|
||||||
<PublishDir>bin\Release\net8.0\win-x86\publish\</PublishDir>
|
|
||||||
<PublishProtocol>FileSystem</PublishProtocol>
|
<PublishProtocol>FileSystem</PublishProtocol>
|
||||||
<_TargetId>Folder</_TargetId>
|
<_TargetId>Folder</_TargetId>
|
||||||
<TargetFramework>net8.0</TargetFramework>
|
|
||||||
|
<!--target runtime-->
|
||||||
|
<PublishDir>bin\Release\net8.0\win-x86\publish\</PublishDir>
|
||||||
<RuntimeIdentifier>win-x86</RuntimeIdentifier>
|
<RuntimeIdentifier>win-x86</RuntimeIdentifier>
|
||||||
<SelfContained>true</SelfContained>
|
|
||||||
<PublishSingleFile>false</PublishSingleFile>
|
|
||||||
<PublishReadyToRun>false</PublishReadyToRun>
|
|
||||||
<PublishTrimmed>false</PublishTrimmed>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
@ -10,7 +10,9 @@
|
|||||||
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||||
|
|
||||||
<!--build props-->
|
<!--build props-->
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
|
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
|
||||||
<TargetFramework>net8.0</TargetFramework>
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
<IsPackable>false</IsPackable>
|
<IsPackable>false</IsPackable>
|
||||||
<ApplicationIcon>favicon.ico</ApplicationIcon>
|
<ApplicationIcon>favicon.ico</ApplicationIcon>
|
||||||
@ -25,25 +27,25 @@
|
|||||||
<RepositoryType>git</RepositoryType>
|
<RepositoryType>git</RepositoryType>
|
||||||
<RepositoryUrl>https://github.com/EpicMorg/atlassian-downloader</RepositoryUrl>
|
<RepositoryUrl>https://github.com/EpicMorg/atlassian-downloader</RepositoryUrl>
|
||||||
<PackageTags>atlassian, donwloader, epicmorg</PackageTags>
|
<PackageTags>atlassian, donwloader, epicmorg</PackageTags>
|
||||||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
<AssemblyVersion>2.0.0.2</AssemblyVersion>
|
||||||
<FileVersion>2.0.0.0</FileVersion>
|
<FileVersion>2.0.0.2</FileVersion>
|
||||||
<Version>2.0.0.0</Version>
|
<Version>2.0.0.2</Version>
|
||||||
<Copyright>EpicMorg 2023</Copyright>
|
<Copyright>EpicMorg 2024</Copyright>
|
||||||
<Product>Atlassian Downloader</Product>
|
<Product>Atlassian Downloader</Product>
|
||||||
<Company>EpicMorg</Company>
|
<Company>EpicMorg</Company>
|
||||||
<PackageReadmeFile>README.md</PackageReadmeFile>
|
<PackageReadmeFile>README.md</PackageReadmeFile>
|
||||||
<RootNamespace>EpicMorg.Atlassian.Downloader</RootNamespace>
|
<RootNamespace>EpicMorg.Atlassian.Downloader</RootNamespace>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0-rc.2.23479.6" />
|
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0-rc.2.23479.6" />
|
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Http" Version="8.0.0-rc.2.23479.6" />
|
<PackageReference Include="Microsoft.Extensions.Http" Version="8.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.0-rc.2.23479.6" />
|
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="8.0.0-rc.2.23479.6" />
|
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="8.0.0" />
|
||||||
<PackageReference Include="Serilog.Extensions.Logging" Version="7.0.1-dev-10354" />
|
<PackageReference Include="Serilog.Extensions.Logging" Version="8.0.0" />
|
||||||
<PackageReference Include="Serilog.Settings.Configuration" Version="7.0.2-dev-00546" />
|
<PackageReference Include="Serilog.Settings.Configuration" Version="8.0.2" />
|
||||||
<PackageReference Include="Serilog.Sinks.Console" Version="4.2.0-dev-00918" />
|
<PackageReference Include="Serilog.Sinks.Console" Version="6.0.0" />
|
||||||
<PackageReference Include="Serilog" Version="3.1.0-dev-02078" />
|
<PackageReference Include="Serilog" Version="4.0.1" />
|
||||||
<PackageReference Include="System.CommandLine.DragonFruit" Version="0.4.0-alpha.22272.1" />
|
<PackageReference Include="System.CommandLine.DragonFruit" Version="0.4.0-alpha.22272.1" />
|
||||||
<None Include="..\README.md">
|
<None Include="..\README.md">
|
||||||
<Pack>True</Pack>
|
<Pack>True</Pack>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user