mirror of
https://github.com/EpicMorg/atlassian-downloader.git
synced 2024-12-27 04:35:27 +03:00
1.0.0.7
* sourcetree support
This commit is contained in:
parent
83980e6c77
commit
e68f68d792
@ -32,7 +32,7 @@ namespace EpicMorg.Atlassian.Downloader
|
||||
this.SetConsoleTitle();
|
||||
var feedUrls = this.GetFeedUrls();
|
||||
|
||||
logger.LogTrace($"Task started");
|
||||
logger.LogInformation($"Task started");
|
||||
foreach (var feedUrl in feedUrls)
|
||||
{
|
||||
if (cancellationToken.IsCancellationRequested)
|
||||
@ -116,7 +116,14 @@ namespace EpicMorg.Atlassian.Downloader
|
||||
"https://my.atlassian.com/download/feeds/eap/confluence.json",
|
||||
"https://my.atlassian.com/download/feeds/eap/jira.json",
|
||||
"https://my.atlassian.com/download/feeds/eap/jira-servicedesk.json",
|
||||
"https://my.atlassian.com/download/feeds/eap/stash.json"
|
||||
"https://my.atlassian.com/download/feeds/eap/stash.json",
|
||||
|
||||
//https://raw.githubusercontent.com/EpicMorg/atlassian-json/master/json-backups/archived/sourcetree.json
|
||||
"https://raw.githack.com/EpicMorg/atlassian-json/master/json-backups/archived/sourcetree.json",
|
||||
|
||||
//https://raw.githubusercontent.com/EpicMorg/atlassian-json/master/json-backups/current/sourcetree.json
|
||||
"https://raw.githack.com/EpicMorg/atlassian-json/master/json-backups/current/sourcetree.json"
|
||||
|
||||
};
|
||||
|
||||
private void SetConsoleTitle()
|
||||
@ -168,7 +175,7 @@ namespace EpicMorg.Atlassian.Downloader
|
||||
}
|
||||
}
|
||||
}
|
||||
logger.LogTrace($"All files from \"{feedUrl}\" successfully downloaded.");
|
||||
logger.LogInformation($"All files from \"{feedUrl}\" successfully downloaded.");
|
||||
}
|
||||
|
||||
private async Task DownloadFile(ResponseItem file, string outputFile, CancellationToken cancellationToken)
|
||||
|
@ -14,10 +14,10 @@ namespace EpicMorg.Atlassian.Downloader
|
||||
{
|
||||
/// <summary>
|
||||
/// Atlassian archive downloader. See https://github.com/EpicMorg/atlassian-downloader for more info
|
||||
/// </summary>
|
||||
/// </summary>
|
||||
/// <param name="Action">Action to perform</param>
|
||||
/// <param name="OutputDir">Override output directory to download.</param>
|
||||
/// <param name="customFeed">Override URIs to import.</param>
|
||||
/// <param name="Action">Action to perform</param>
|
||||
/// <param name="customFeed">Override URIs to import.</param>
|
||||
static async Task Main(string OutputDir = "atlassian", Uri[] customFeed = null, DownloadAction Action = DownloadAction.Download) => await
|
||||
Host
|
||||
.CreateDefaultBuilder()
|
||||
|
@ -1,11 +1,11 @@
|
||||
{
|
||||
"Serilog": {
|
||||
"MinimumLevel": "Verbose",
|
||||
"MinimumLevel": "Information",
|
||||
"WriteTo": [
|
||||
{
|
||||
"Name": "Console",
|
||||
"Args": {
|
||||
"theme": "Serilog.Sinks.SystemConsole.Themes.AnsiConsoleTheme::Code, Serilog.Sinks.Console"
|
||||
"theme": "Serilog.Sinks.SystemConsole.Themes.SystemConsoleTheme::Literate, Serilog.Sinks.Console"
|
||||
}
|
||||
}
|
||||
,
|
||||
|
Loading…
Reference in New Issue
Block a user