mirror of
https://github.com/EpicMorg/atlassian-downloader.git
synced 2025-02-05 18:20:39 +03:00
1.0.0.6
1.0.0.6
This commit is contained in:
commit
9c3a3cc6f2
6
.github/workflows/dotnet-develop.yml
vendored
6
.github/workflows/dotnet-develop.yml
vendored
@ -23,7 +23,7 @@ jobs:
|
||||
DOTNET_CLI_TELEMETRY_OPTOUT: true
|
||||
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
|
||||
run: |
|
||||
cd src/atlassian-downloader
|
||||
cd src
|
||||
dotnet restore
|
||||
|
||||
- name: Build
|
||||
@ -31,7 +31,7 @@ jobs:
|
||||
DOTNET_CLI_TELEMETRY_OPTOUT: true
|
||||
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
|
||||
run: |
|
||||
cd src/atlassian-downloader
|
||||
cd src
|
||||
dotnet build --no-restore
|
||||
|
||||
- name: Test
|
||||
@ -39,5 +39,5 @@ jobs:
|
||||
DOTNET_CLI_TELEMETRY_OPTOUT: true
|
||||
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
|
||||
run: |
|
||||
cd src/atlassian-downloader
|
||||
cd src
|
||||
dotnet test --no-build --verbosity normal
|
||||
|
6
.github/workflows/dotnet-master.yml
vendored
6
.github/workflows/dotnet-master.yml
vendored
@ -20,7 +20,7 @@ jobs:
|
||||
DOTNET_CLI_TELEMETRY_OPTOUT: true
|
||||
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
|
||||
run: |
|
||||
cd src/atlassian-downloader
|
||||
cd src
|
||||
dotnet restore
|
||||
|
||||
- name: Build
|
||||
@ -28,7 +28,7 @@ jobs:
|
||||
DOTNET_CLI_TELEMETRY_OPTOUT: true
|
||||
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
|
||||
run: |
|
||||
cd src/atlassian-downloader
|
||||
cd src
|
||||
dotnet build --no-restore
|
||||
|
||||
- name: Test
|
||||
@ -36,5 +36,5 @@ jobs:
|
||||
DOTNET_CLI_TELEMETRY_OPTOUT: true
|
||||
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
|
||||
run: |
|
||||
cd src/atlassian-downloader
|
||||
cd src
|
||||
dotnet test --no-build --verbosity normal
|
||||
|
91
README.md
91
README.md
@ -2,89 +2,40 @@
|
||||
|
||||
# Atlassian Downloader
|
||||
|
||||
Simple script written with `c#` and `dotnet5` for downloading all avalible products from `Atlassian`. Why not?
|
||||
Console app written with `c#` and `dotnet5` for downloading all avalible products from `Atlassian`. Why not?
|
||||
|
||||
![Atlassian Downloader](https://rawcdn.githack.com/EpicMorg/atlassian-downloader/8fc9c772e9518a1cb23246ee8cc4cb8a58d9ff22/.github/screenshot-1.png)
|
||||
|
||||
## Authors
|
||||
* [@kasthack](https://github.com/kasthack) - core code
|
||||
* [@stam](https://github.com/stamepicmorg) - edits
|
||||
|
||||
## Requerments
|
||||
1. Preinstalled `dotnet5`. Download [here](https://dotnet.microsoft.com/download/dotnet/5.0).
|
||||
2. Supported OS: `win32`, `win64`, `linux`, `macosx`
|
||||
2. Supported OS: `win32/win64`, `linux`, `macosx`, `arm/arm64`
|
||||
|
||||
## How to
|
||||
1. `git clone` this repo.
|
||||
2. `cd` to `<repo>/src`.
|
||||
3. execute `donten run` in `src` folder.
|
||||
4. all data will be downloaded to `src/output` folder and subfolders
|
||||
|
||||
------
|
||||
4. by default all data will be downloaded to `src/atlassian` folder and subfolders. see `--help` for run arguments and overrides.
|
||||
|
||||
## Supported products:
|
||||
|
||||
### Current links
|
||||
| Product | Current | Archive | EAP |
|
||||
|-------------|:-------------:|:-------------:|:-------------:|
|
||||
| [![Product](https://img.shields.io/static/v1?label=Atlassian&message=Bamboo&color=bright%20green&style=for-the-badge)](https://www.atlassian.com/software/bamboo) | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|
||||
| [![Product](https://img.shields.io/static/v1?label=Atlassian&message=Bitbucket%20(Stash)&color=bright%20green&style=for-the-badge)](https://www.atlassian.com/software/bitbucket) | :white_check_mark: | :white_check_mark: | :interrobang: |
|
||||
| [![Product](https://img.shields.io/static/v1?label=Atlassian&message=Clover&color=bright%20green&style=for-the-badge)](https://www.atlassian.com/software/clover) | :white_check_mark: | :white_check_mark: | :x: |
|
||||
| [![Product](https://img.shields.io/static/v1?label=Atlassian&message=Confluence&color=bright%20green&style=for-the-badge)](https://www.atlassian.com/software/confluence) | :white_check_mark: | :white_check_mark: | :x: |
|
||||
| [![Product](https://img.shields.io/static/v1?label=Atlassian&message=Crowd&color=bright%20green&style=for-the-badge)](https://www.atlassian.com/software/crowd) | :white_check_mark: | :white_check_mark: | :x: |
|
||||
| [![Product](https://img.shields.io/static/v1?label=Atlassian&message=Crucible&color=bright%20green&style=for-the-badge)](https://www.atlassian.com/software/crucible) | :white_check_mark: | :white_check_mark: | :x: |
|
||||
| [![Product](https://img.shields.io/static/v1?label=Atlassian&message=FishEye&color=bright%20green&style=for-the-badge)](https://www.atlassian.com/software/fisheye) | :white_check_mark: | :white_check_mark: | :x: |
|
||||
| [![Product](https://img.shields.io/static/v1?label=Atlassian&message=Jira%20Core&color=bright%20green&style=for-the-badge)](https://www.atlassian.com/software/jira/core) | :white_check_mark: | :white_check_mark: | :x: |
|
||||
| [![Product](https://img.shields.io/static/v1?label=Atlassian&message=Jira%20Software&color=bright%20green&style=for-the-badge)](https://www.atlassian.com/software/jira) | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|
||||
| [![Product](https://img.shields.io/static/v1?label=Atlassian&message=Jira%20Servicedesk&color=bright%20green&style=for-the-badge)](https://www.atlassian.com/software/jira/service-management) | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|
||||
| [![Product](https://img.shields.io/static/v1?label=Atlassian&message=SourceTree&color=yellow&style=for-the-badge)](https://www.atlassian.com/software/sourcetree) | :x: | :x: | :x: |
|
||||
|
||||
#### Bamboo
|
||||
* https://my.atlassian.com/download/feeds/current/bamboo.json
|
||||
* Archive of `Atlassian` jsons available [here](https://github.com/EpicMorg/atlassian-json).
|
||||
|
||||
#### Bitbucket (Stash)
|
||||
* https://my.atlassian.com/download/feeds/current/stash.json
|
||||
------
|
||||
|
||||
#### Confluence
|
||||
* https://my.atlassian.com/download/feeds/current/confluence.json
|
||||
|
||||
#### Crowd
|
||||
* https://my.atlassian.com/download/feeds/current/crowd.json
|
||||
|
||||
#### Crucible
|
||||
* https://my.atlassian.com/download/feeds/current/crucible.json
|
||||
|
||||
#### FishEye
|
||||
* https://my.atlassian.com/download/feeds/current/fisheye.json
|
||||
|
||||
#### Jira
|
||||
* https://my.atlassian.com/download/feeds/current/jira-core.json
|
||||
* https://my.atlassian.com/download/feeds/current/jira-software.json
|
||||
* https://my.atlassian.com/download/feeds/current/jira-servicedesk.json
|
||||
|
||||
|
||||
### Archived links
|
||||
|
||||
#### Bamboo
|
||||
* https://my.atlassian.com/download/feeds/archived/bamboo.json
|
||||
|
||||
#### Bitbucket (Stash)
|
||||
* https://my.atlassian.com/download/feeds/archived/stash.json
|
||||
|
||||
#### Confluence
|
||||
* https://my.atlassian.com/download/feeds/archived/confluence.json
|
||||
|
||||
#### Crowd
|
||||
* https://my.atlassian.com/download/feeds/archived/crowd.json
|
||||
|
||||
#### Crucible
|
||||
* https://my.atlassian.com/download/feeds/archived/crucible.json
|
||||
|
||||
#### FishEye
|
||||
* https://my.atlassian.com/download/feeds/archived/fisheye.json
|
||||
|
||||
#### Jira
|
||||
* https://my.atlassian.com/download/feeds/archived/jira.json
|
||||
* https://my.atlassian.com/download/feeds/archived/jira-core.json
|
||||
* https://my.atlassian.com/download/feeds/archived/jira-software.json
|
||||
* https://my.atlassian.com/download/feeds/archived/jira-servicedesk.json
|
||||
|
||||
|
||||
### EAP links
|
||||
|
||||
#### Bamboo
|
||||
* https://my.atlassian.com/download/feeds/eap/bamboo.json
|
||||
|
||||
#### Confluence
|
||||
* https://my.atlassian.com/download/feeds/eap/confluence.json
|
||||
|
||||
#### Jira
|
||||
* https://my.atlassian.com/download/feeds/eap/jira.json
|
||||
* https://my.atlassian.com/download/feeds/eap/jira-servicedesk.json
|
||||
## Authors
|
||||
* [@kasthack](https://github.com/kasthack) - code
|
||||
* [@stam](https://github.com/stamepicmorg) - code, repo
|
||||
|
4
src/.editorconfig
Normal file
4
src/.editorconfig
Normal file
@ -0,0 +1,4 @@
|
||||
[*.cs]
|
||||
|
||||
# CS1591: Missing XML comment for publicly visible type or member
|
||||
dotnet_diagnostic.CS1591.severity = none
|
180
src/Program.cs
Normal file
180
src/Program.cs
Normal file
@ -0,0 +1,180 @@
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Hosting;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Serilog;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Net.Http;
|
||||
using System.Text.Json;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace EpicMorg.Atlassian.Downloader {
|
||||
class Program : IHostedService {
|
||||
|
||||
private readonly ILogger<Program> logger;
|
||||
private readonly Arguments arguments;
|
||||
|
||||
public Program(ILogger<Program> logger,Arguments arguments) {
|
||||
this.logger = logger;
|
||||
this.arguments = arguments;
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="outputDir">Override output directory to download</param>
|
||||
/// <param name="list">Show all download links from feed without downloading</param>
|
||||
/// <param name="customFeed">Override URIs to import.</param>
|
||||
/// <returns></returns>
|
||||
static async Task Main(string outputDir = "atlassian", bool list = false, Uri[] customFeed = null) => await
|
||||
Host
|
||||
.CreateDefaultBuilder()
|
||||
.ConfigureHostConfiguration(configHost => configHost.AddEnvironmentVariables())
|
||||
.ConfigureAppConfiguration((ctx, configuration) => {
|
||||
configuration
|
||||
.SetBasePath(Environment.CurrentDirectory)
|
||||
.AddJsonFile("appsettings.json", optional: false, reloadOnChange: true)
|
||||
.AddJsonFile($"appsettings.{ctx.HostingEnvironment.EnvironmentName}.json", optional: true, reloadOnChange: true)
|
||||
.AddEnvironmentVariables();
|
||||
})
|
||||
.ConfigureServices((ctx, services) => {
|
||||
|
||||
services
|
||||
.AddOptions()
|
||||
.AddLogging(builder => {
|
||||
builder.ClearProviders();
|
||||
Log.Logger = new LoggerConfiguration()
|
||||
.ReadFrom.Configuration(ctx.Configuration)
|
||||
.CreateLogger();
|
||||
builder.AddSerilog(dispose: true);
|
||||
});
|
||||
services.AddHostedService<Program>();
|
||||
services.AddSingleton(new Arguments(outputDir, list, customFeed));
|
||||
})
|
||||
.RunConsoleAsync();
|
||||
|
||||
public record Arguments(string outputDir = "atlassian", bool list = false, Uri[] customFeed = null);
|
||||
|
||||
public async Task StartAsync(CancellationToken cancellationToken) {
|
||||
|
||||
var appTitle = System.Reflection.Assembly.GetExecutingAssembly().GetName().Name;
|
||||
var appVersion = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
|
||||
var appStartupDate = DateTime.Now;
|
||||
var appBuildType = "[Release]";
|
||||
#if DEBUG
|
||||
appBuildType = "[Debug]";
|
||||
#endif
|
||||
|
||||
var feedUrls = arguments.customFeed != null
|
||||
? arguments.customFeed.Select(a => a.ToString()).ToArray()
|
||||
: new[] {
|
||||
"https://my.atlassian.com/download/feeds/archived/bamboo.json",
|
||||
"https://my.atlassian.com/download/feeds/archived/clover.json",
|
||||
"https://my.atlassian.com/download/feeds/archived/confluence.json",
|
||||
"https://my.atlassian.com/download/feeds/archived/crowd.json",
|
||||
"https://my.atlassian.com/download/feeds/archived/crucible.json",
|
||||
"https://my.atlassian.com/download/feeds/archived/fisheye.json",
|
||||
"https://my.atlassian.com/download/feeds/archived/jira-core.json",
|
||||
"https://my.atlassian.com/download/feeds/archived/jira-servicedesk.json",
|
||||
"https://my.atlassian.com/download/feeds/archived/jira-software.json",
|
||||
"https://my.atlassian.com/download/feeds/archived/jira.json",
|
||||
"https://my.atlassian.com/download/feeds/archived/stash.json",
|
||||
|
||||
"https://my.atlassian.com/download/feeds/current/bamboo.json",
|
||||
"https://my.atlassian.com/download/feeds/current/clover.json",
|
||||
"https://my.atlassian.com/download/feeds/current/confluence.json",
|
||||
"https://my.atlassian.com/download/feeds/current/crowd.json",
|
||||
"https://my.atlassian.com/download/feeds/current/crucible.json",
|
||||
"https://my.atlassian.com/download/feeds/current/fisheye.json",
|
||||
"https://my.atlassian.com/download/feeds/current/jira-core.json",
|
||||
"https://my.atlassian.com/download/feeds/current/jira-servicedesk.json",
|
||||
"https://my.atlassian.com/download/feeds/current/jira-software.json",
|
||||
"https://my.atlassian.com/download/feeds/current/stash.json",
|
||||
|
||||
"https://my.atlassian.com/download/feeds/eap/bamboo.json",
|
||||
"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"
|
||||
};
|
||||
|
||||
Console.Title = $"{appTitle} {appVersion} {appBuildType}";
|
||||
logger.LogTrace($"Task started at {appStartupDate}.");
|
||||
|
||||
var client = new HttpClient();
|
||||
|
||||
foreach (var feedUrl in feedUrls) {
|
||||
var feedDir = Path.Combine(arguments.outputDir, feedUrl[(feedUrl.LastIndexOf('/') + 1)..(feedUrl.LastIndexOf('.'))]);
|
||||
var atlassianJson = await client.GetStringAsync(feedUrl);
|
||||
var callString = "downloads(";
|
||||
var json = atlassianJson[callString.Length..^1];
|
||||
var parsed = JsonSerializer.Deserialize<ResponseArray[]>(json, new JsonSerializerOptions {
|
||||
PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
|
||||
});
|
||||
var versionsProg = parsed.GroupBy(a => a.Version).ToDictionary(a => a.Key, a => a.ToArray());
|
||||
if (arguments.list) {
|
||||
foreach (var versionProg in versionsProg) {
|
||||
foreach (var file in versionProg.Value) {
|
||||
Console.WriteLine(file.ZipUrl);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
logger.LogInformation($"Download from JSON \"{feedUrl}\" started at {appStartupDate}.");
|
||||
foreach (var versionProg in versionsProg) {
|
||||
var directory = Path.Combine(feedDir, versionProg.Key);
|
||||
if (!Directory.Exists(directory)) {
|
||||
Directory.CreateDirectory(directory);
|
||||
}
|
||||
foreach (var file in versionProg.Value) {
|
||||
if (file.ZipUrl == null) { continue; }
|
||||
var serverPath = file.ZipUrl.PathAndQuery;
|
||||
var outputFile = Path.Combine(directory, serverPath[(serverPath.LastIndexOf("/") + 1)..]);
|
||||
if (!File.Exists(outputFile)) {
|
||||
if (!string.IsNullOrEmpty(file.Md5)) {
|
||||
File.WriteAllText(outputFile + ".md5", file.Md5);
|
||||
}
|
||||
using var outputStream = File.OpenWrite(outputFile);
|
||||
using var request = await client.GetStreamAsync(file.ZipUrl).ConfigureAwait(false);
|
||||
await request.CopyToAsync(outputStream).ConfigureAwait(false);
|
||||
//Console.ForegroundColor = ConsoleColor.Green;
|
||||
logger.LogInformation($"File \"{file.ZipUrl}\" successfully downloaded to \"{outputFile}\".");
|
||||
// Console.ResetColor();
|
||||
} else {
|
||||
// Console.ForegroundColor = ConsoleColor.Yellow;
|
||||
logger.LogWarning($"File \"{outputFile}\" already exists. Download from \"{file.ZipUrl}\" skipped.");
|
||||
// Console.ResetColor();
|
||||
}
|
||||
}
|
||||
}
|
||||
logger.LogTrace($"All files from \"{feedUrl}\" successfully downloaded.");
|
||||
}
|
||||
}
|
||||
|
||||
logger.LogTrace($"Download complete at {appStartupDate}.");
|
||||
|
||||
}
|
||||
|
||||
|
||||
public Task StopAsync(CancellationToken cancellationToken) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
|
||||
public partial class ResponseArray {
|
||||
public string Description { get; set; }
|
||||
public string Edition { get; set; }
|
||||
public Uri ZipUrl { get; set; }
|
||||
public object TarUrl { get; set; }
|
||||
public string Md5 { get; set; }
|
||||
public string Size { get; set; }
|
||||
public string Released { get; set; }
|
||||
public string Type { get; set; }
|
||||
public string Platform { get; set; }
|
||||
public string Version { get; set; }
|
||||
public Uri ReleaseNotes { get; set; }
|
||||
public Uri UpgradeNotes { get; set; }
|
||||
}
|
||||
|
||||
}
|
24
src/appSettings.json
Normal file
24
src/appSettings.json
Normal file
@ -0,0 +1,24 @@
|
||||
{
|
||||
"Serilog": {
|
||||
"MinimumLevel": "Verbose",
|
||||
"WriteTo": [
|
||||
"Console",
|
||||
{
|
||||
"Name": "Logger",
|
||||
"Args": {
|
||||
"configureLogger": {
|
||||
"WriteTo": [
|
||||
{
|
||||
"Name": "RollingFile",
|
||||
"Args": {
|
||||
"pathFormat": "log.{Date}.log",
|
||||
"retainedFileCountLimit": 5
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
50
src/atlassian-downloader.csproj
Normal file
50
src/atlassian-downloader.csproj
Normal file
@ -0,0 +1,50 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<PublishSingleFile>true</PublishSingleFile>
|
||||
<SelfContained>true</SelfContained>
|
||||
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||
<PublishTrimmed>true</PublishTrimmed>
|
||||
<PublishReadyToRun>true</PublishReadyToRun>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<ApplicationIcon>favicon.ico</ApplicationIcon>
|
||||
<PackageId>EpicMorg.Atlassian.Downloader</PackageId>
|
||||
<Authors>Atlassian Downloader</Authors>
|
||||
<Description>Atlassian Downloader by EpicMorg, code by kasthack</Description>
|
||||
<PackageProjectUrl>https://github.com/EpicMorg/atlassian-downloader</PackageProjectUrl>
|
||||
<PackageIcon>favicon.png</PackageIcon>
|
||||
<RepositoryType>git</RepositoryType>
|
||||
<RepositoryUrl>https://github.com/EpicMorg/atlassian-downloader</RepositoryUrl>
|
||||
<PackageTags>atlassian, donwloader, epicmorg</PackageTags>
|
||||
<AssemblyVersion>1.0.0.6</AssemblyVersion>
|
||||
<FileVersion>1.0.0.6</FileVersion>
|
||||
<Version>1.0.0.6</Version>
|
||||
<Copyright>EpicMorg 2021</Copyright>
|
||||
<Product>Atlassian Downloader</Product>
|
||||
<IsPackable>true</IsPackable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="5.0.1" />
|
||||
<PackageReference Include="Microsoft.Extensions.Hosting" Version="5.0.0" />
|
||||
<PackageReference Include="Microsoft.Extensions.Logging" Version="5.0.0" />
|
||||
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="5.0.0" />
|
||||
<PackageReference Include="Serilog.Extensions.Logging" Version="3.0.2-dev-10284" />
|
||||
<PackageReference Include="Serilog.Settings.Configuration" Version="3.2.0-dev-00264" />
|
||||
<PackageReference Include="Serilog.Sinks.Console" Version="4.0.0-dev-00839" />
|
||||
<PackageReference Include="Serilog" Version="2.10.1-dev-01265" />
|
||||
<PackageReference Include="System.CommandLine.DragonFruit" Version="0.3.0-alpha.20574.7" />
|
||||
<None Include="favicon.png">
|
||||
<Pack>True</Pack>
|
||||
<PackagePath></PackagePath>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Update="appSettings.json">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
@ -3,7 +3,12 @@ Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.30803.129
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AtlassianDownloader", "atlassian-downloader.csproj", "{9C7EA014-5883-4FCD-BF1D-DC561F8958DD}"
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "atlassian-downloader", "atlassian-downloader.csproj", "{9C7EA014-5883-4FCD-BF1D-DC561F8958DD}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{119D41DA-BD17-42D2-8AC7-806C3B68223D}"
|
||||
ProjectSection(SolutionItems) = preProject
|
||||
.editorconfig = .editorconfig
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
@ -1,111 +0,0 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Net.Http;
|
||||
using System.Text.Json;
|
||||
|
||||
var appTitle = System.Reflection.Assembly.GetExecutingAssembly().GetName().Name;
|
||||
var appVersion = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
|
||||
var appStartupDate = DateTime.Now;
|
||||
var appBuildType = "[Release]";
|
||||
#if DEBUG
|
||||
appBuildType = "[Debug]";
|
||||
#endif
|
||||
|
||||
var outputDir = "atlassian";
|
||||
var feedUrls =
|
||||
new[] {
|
||||
"https://my.atlassian.com/download/feeds/archived/bamboo.json",
|
||||
"https://my.atlassian.com/download/feeds/archived/confluence.json",
|
||||
"https://my.atlassian.com/download/feeds/archived/crowd.json",
|
||||
"https://my.atlassian.com/download/feeds/archived/crucible.json",
|
||||
"https://my.atlassian.com/download/feeds/archived/fisheye.json",
|
||||
"https://my.atlassian.com/download/feeds/archived/jira-core.json",
|
||||
"https://my.atlassian.com/download/feeds/archived/jira-servicedesk.json",
|
||||
"https://my.atlassian.com/download/feeds/archived/jira-software.json",
|
||||
"https://my.atlassian.com/download/feeds/archived/jira.json",
|
||||
"https://my.atlassian.com/download/feeds/archived/stash.json",
|
||||
|
||||
"https://my.atlassian.com/download/feeds/current/bamboo.json",
|
||||
"https://my.atlassian.com/download/feeds/current/confluence.json",
|
||||
"https://my.atlassian.com/download/feeds/current/crowd.json",
|
||||
"https://my.atlassian.com/download/feeds/current/crucible.json",
|
||||
"https://my.atlassian.com/download/feeds/current/fisheye.json",
|
||||
"https://my.atlassian.com/download/feeds/current/jira-core.json",
|
||||
"https://my.atlassian.com/download/feeds/current/jira-servicedesk.json",
|
||||
"https://my.atlassian.com/download/feeds/current/jira-software.json",
|
||||
"https://my.atlassian.com/download/feeds/current/stash.json",
|
||||
|
||||
"https://my.atlassian.com/download/feeds/eap/bamboo.json",
|
||||
"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"
|
||||
};
|
||||
|
||||
Console.Title = $"{appTitle} {appVersion} {appBuildType}";
|
||||
Console.WriteLine($"Download started at {appStartupDate}.");
|
||||
|
||||
var client = new HttpClient();
|
||||
foreach (var feedUrl in feedUrls)
|
||||
{
|
||||
var feedDir = Path.Combine(outputDir, feedUrl[(feedUrl.LastIndexOf('/') + 1)..(feedUrl.LastIndexOf('.'))]);
|
||||
var atlassianJson = await client.GetStringAsync(feedUrl);
|
||||
var callString = "downloads(";
|
||||
var json = atlassianJson[callString.Length..^1];
|
||||
var parsed = JsonSerializer.Deserialize<ResponseArray[]>(json, new JsonSerializerOptions
|
||||
{
|
||||
PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
|
||||
});
|
||||
var versions = parsed.GroupBy(a => a.Version).ToDictionary(a => a.Key, a => a.ToArray());
|
||||
|
||||
foreach (var version in versions)
|
||||
{
|
||||
var directory = Path.Combine(feedDir, version.Key);
|
||||
if (!Directory.Exists(directory))
|
||||
{
|
||||
Directory.CreateDirectory(directory);
|
||||
}
|
||||
foreach (var file in version.Value)
|
||||
{
|
||||
var serverPath = file.ZipUrl.PathAndQuery;
|
||||
var outputFile = Path.Combine(directory, serverPath[(serverPath.LastIndexOf("/") + 1)..]);
|
||||
if (!File.Exists(outputFile))
|
||||
{
|
||||
if (!string.IsNullOrEmpty(file.Md5))
|
||||
{
|
||||
File.WriteAllText(outputFile + ".md5", file.Md5);
|
||||
}
|
||||
using var outputStream = File.OpenWrite(outputFile);
|
||||
using var request = await client.GetStreamAsync(file.ZipUrl).ConfigureAwait(false);
|
||||
await request.CopyToAsync(outputStream).ConfigureAwait(false);
|
||||
Console.ForegroundColor = ConsoleColor.Green;
|
||||
Console.WriteLine($"[INFO] File \"{file.ZipUrl}\" successfully downloaded to \"{outputFile}\".");
|
||||
Console.ResetColor();
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.ForegroundColor = ConsoleColor.Yellow;
|
||||
Console.WriteLine($"[WARN] File \"{outputFile}\" already exists. Download from \"{file.ZipUrl}\" skipped.");
|
||||
Console.ResetColor();
|
||||
}
|
||||
}
|
||||
}
|
||||
Console.WriteLine($"[SUCCESS] All files from \"{feedUrl}\" successfully downloaded.");
|
||||
}
|
||||
Console.WriteLine($"Download complete at {appStartupDate}.");
|
||||
|
||||
public partial class ResponseArray
|
||||
{
|
||||
public string Description { get; set; }
|
||||
public string Edition { get; set; }
|
||||
public Uri ZipUrl { get; set; }
|
||||
public object TarUrl { get; set; }
|
||||
public string Md5 { get; set; }
|
||||
public string Size { get; set; }
|
||||
public string Released { get; set; }
|
||||
public string Type { get; set; }
|
||||
public string Platform { get; set; }
|
||||
public string Version { get; set; }
|
||||
public Uri ReleaseNotes { get; set; }
|
||||
public Uri UpgradeNotes { get; set; }
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<PublishSingleFile>true</PublishSingleFile>
|
||||
<SelfContained>true</SelfContained>
|
||||
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||
<PublishTrimmed>true</PublishTrimmed>
|
||||
<PublishReadyToRun>true</PublishReadyToRun>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<ApplicationIcon>favicon.ico</ApplicationIcon>
|
||||
<PackageId>EpicMorg.Atlassian.Downloader</PackageId>
|
||||
<Authors>Atlassian Downloader</Authors>
|
||||
<Description>Atlassian Downloader by EpicMorg, code by kasthack</Description>
|
||||
<PackageProjectUrl>https://github.com/EpicMorg/atlassian-downloader</PackageProjectUrl>
|
||||
<PackageIcon>favicon.png</PackageIcon>
|
||||
<RepositoryType>git</RepositoryType>
|
||||
<RepositoryUrl>https://github.com/EpicMorg/atlassian-downloader</RepositoryUrl>
|
||||
<PackageTags>atlassian, donwloader, epicmorg</PackageTags>
|
||||
<AssemblyVersion>1.0.0.5</AssemblyVersion>
|
||||
<FileVersion>1.0.0.5</FileVersion>
|
||||
<Version>1.0.0.5</Version>
|
||||
<Copyright>EpicMorg 2021</Copyright>
|
||||
<Product>Atlassian Downloader</Product>
|
||||
<IsPackable>true</IsPackable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Include="favicon.png">
|
||||
<Pack>True</Pack>
|
||||
<PackagePath></PackagePath>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
@ -1,10 +1,10 @@
|
||||
SET DOTNET_CLI_TELEMETRY_OPTOUT=true
|
||||
SET DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
|
||||
|
||||
dotnet.exe publish -r win7-x64 --self-contained true --framework net5.0 --configuration Release -p:PublishTrimmed=true -p:PublishSingleFile=true -p:PublishReadyToRun=true
|
||||
dotnet.exe publish -r win7-x86 --self-contained true --framework net5.0 --configuration Release -p:PublishTrimmed=true -p:PublishSingleFile=true -p:PublishReadyToRun=true
|
||||
dotnet.exe publish -r win81-arm --self-contained true --framework net5.0 --configuration Release -p:PublishTrimmed=true -p:PublishSingleFile=true -p:PublishReadyToRun=true
|
||||
dotnet.exe publish -r win10-arm64 --self-contained true --framework net5.0 --configuration Release -p:PublishTrimmed=true -p:PublishSingleFile=true -p:PublishReadyToRun=true
|
||||
dotnet.exe publish -r win7-x64 --self-contained true --framework net5.0 --configuration Release -p:PublishTrimmed=true -p:PublishSingleFile=false -p:PublishReadyToRun=true
|
||||
dotnet.exe publish -r win7-x86 --self-contained true --framework net5.0 --configuration Release -p:PublishTrimmed=true -p:PublishSingleFile=false -p:PublishReadyToRun=true
|
||||
dotnet.exe publish -r win81-arm --self-contained true --framework net5.0 --configuration Release -p:PublishTrimmed=true -p:PublishSingleFile=false -p:PublishReadyToRun=true
|
||||
dotnet.exe publish -r win10-arm64 --self-contained true --framework net5.0 --configuration Release -p:PublishTrimmed=true -p:PublishSingleFile=false -p:PublishReadyToRun=true
|
||||
dotnet.exe publish -r linux-x64 --self-contained true --framework net5.0 --configuration Release -p:PublishTrimmed=false -p:PublishSingleFile=false -p:PublishReadyToRun=false
|
||||
dotnet.exe publish -r linux-musl-x64 --self-contained true --framework net5.0 --configuration Release -p:PublishTrimmed=false -p:PublishSingleFile=false -p:PublishReadyToRun=false
|
||||
dotnet.exe publish -r osx-x64 --self-contained true --framework net5.0 --configuration Release -p:PublishTrimmed=false -p:PublishSingleFile=false -p:PublishReadyToRun=false
|
8
src/atlassian-downloader/build.sh → src/build.sh
Executable file → Normal file
8
src/atlassian-downloader/build.sh → src/build.sh
Executable file → Normal file
@ -2,10 +2,10 @@
|
||||
export DOTNET_CLI_TELEMETRY_OPTOUT=true
|
||||
export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
|
||||
|
||||
dotnet publish -r win7-x64 --self-contained true --framework net5.0 --configuration Release -p:PublishTrimmed=true -p:PublishSingleFile=true -p:PublishReadyToRun=false
|
||||
dotnet publish -r win7-x86 --self-contained true --framework net5.0 --configuration Release -p:PublishTrimmed=true -p:PublishSingleFile=true -p:PublishReadyToRun=false
|
||||
dotnet publish -r win81-arm --self-contained true --framework net5.0 --configuration Release -p:PublishTrimmed=true -p:PublishSingleFile=true -p:PublishReadyToRun=false
|
||||
dotnet publish -r win10-arm64 --self-contained true --framework net5.0 --configuration Release -p:PublishTrimmed=true -p:PublishSingleFile=true -p:PublishReadyToRun=false
|
||||
dotnet publish -r win7-x64 --self-contained true --framework net5.0 --configuration Release -p:PublishTrimmed=true -p:PublishSingleFile=false -p:PublishReadyToRun=false
|
||||
dotnet publish -r win7-x86 --self-contained true --framework net5.0 --configuration Release -p:PublishTrimmed=true -p:PublishSingleFile=false -p:PublishReadyToRun=false
|
||||
dotnet publish -r win81-arm --self-contained true --framework net5.0 --configuration Release -p:PublishTrimmed=true -p:PublishSingleFile=false -p:PublishReadyToRun=false
|
||||
dotnet publish -r win10-arm64 --self-contained true --framework net5.0 --configuration Release -p:PublishTrimmed=true -p:PublishSingleFile=false -p:PublishReadyToRun=false
|
||||
dotnet publish -r linux-x64 --self-contained true --framework net5.0 --configuration Release -p:PublishTrimmed=false -p:PublishSingleFile=false -p:PublishReadyToRun=false
|
||||
dotnet publish -r linux-musl-x64 --self-contained true --framework net5.0 --configuration Release -p:PublishTrimmed=false -p:PublishSingleFile=false -p:PublishReadyToRun=false
|
||||
dotnet publish -r osx-x64 --self-contained true --framework net5.0 --configuration Release -p:PublishTrimmed=false -p:PublishSingleFile=false -p:PublishReadyToRun=false
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
downloads([{"description":"7.2.1 - Windows Installer, 32-bit","edition":"","zipUrl":"https://www.atlassian.com/software/bamboo/downloads/binary/atlassian-bamboo-7.2.1-windows-x32.exe","tarUrl":null,"md5":"","size":"","released":"24-Nov-2020","type":"Binary","platform":"Windows","version":"7.2.1","releaseNotes":"https://confluence.atlassian.com/display/BAMBOO/Bamboo+7.2+Release+Notes","upgradeNotes":"https://confluence.atlassian.com/display/BAMBOO/Bamboo+Upgrade+Guide"},{"description":"7.2.1 - Windows Installer, 64-bit","edition":"","zipUrl":"https://www.atlassian.com/software/bamboo/downloads/binary/atlassian-bamboo-7.2.1-windows-x64.exe","tarUrl":null,"md5":"","size":"","released":"24-Nov-2020","type":"Binary","platform":"Windows","version":"7.2.1","releaseNotes":"https://confluence.atlassian.com/display/BAMBOO/Bamboo+7.2+Release+Notes","upgradeNotes":"https://confluence.atlassian.com/display/BAMBOO/Bamboo+Upgrade+Guide"},{"description":"7.2.1 - ZIP Archive","edition":"","zipUrl":"https://www.atlassian.com/software/bamboo/downloads/binary/atlassian-bamboo-7.2.1.zip","tarUrl":null,"md5":"","size":"","released":"24-Nov-2020","type":"Binary","platform":"Windows","version":"7.2.1","releaseNotes":"https://confluence.atlassian.com/display/BAMBOO/Bamboo+7.2+Release+Notes","upgradeNotes":"https://confluence.atlassian.com/display/BAMBOO/Bamboo+Upgrade+Guide"},{"description":"7.2.1 - TAR.GZ Archive","edition":"","zipUrl":"https://www.atlassian.com/software/bamboo/downloads/binary/atlassian-bamboo-7.2.1.tar.gz","tarUrl":null,"md5":"","size":"","released":"24-Nov-2020","type":"Binary","platform":"Unix, Mac OS X","version":"7.2.1","releaseNotes":"https://confluence.atlassian.com/display/BAMBOO/Bamboo+7.2+Release+Notes","upgradeNotes":"https://confluence.atlassian.com/display/BAMBOO/Bamboo+Upgrade+Guide"}])
|
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
downloads([{"description":"4.2.2 - Standalone (ZIP Archive)","edition":"None","zipUrl":"https://www.atlassian.com/software/crowd/downloads/binary/atlassian-crowd-4.2.2.zip","tarUrl":null,"md5":"","size":"225.0 MB","released":"18-Nov-2020","type":"Binary","platform":"Windows","version":"4.2.2","releaseNotes":"https://confluence.atlassian.com/display/crowd/crowd+4.2+release+notes","upgradeNotes":"https://confluence.atlassian.com/display/crowd/crowd+4.2+upgrade+notes"},{"description":"4.2.2 - Standalone (TAR.GZ Archive)","edition":"None","zipUrl":"https://www.atlassian.com/software/crowd/downloads/binary/atlassian-crowd-4.2.2.tar.gz","tarUrl":null,"md5":"","size":"223.8 MB","released":"18-Nov-2020","type":"Binary","platform":"Unix, Mac OS X","version":"4.2.2","releaseNotes":"https://confluence.atlassian.com/display/crowd/crowd+4.2+release+notes","upgradeNotes":"https://confluence.atlassian.com/display/crowd/crowd+4.2+upgrade+notes"}])
|
@ -1 +0,0 @@
|
||||
downloads([{"description":"Crucible 4.8.5 64 bit Windows Installer","edition":"Standard","zipUrl":"https://www.atlassian.com/software/crucible/downloads/binary/atlassian-crucible-4.8.5-x64.exe","tarUrl":null,"md5":"9b9c11a4595ac1ac0c7bcf471816128d","size":"225.5 MB","released":"14-Dec-2020","type":"Binary","platform":"Windows","version":"4.8.5","releaseNotes":"https://confluence.atlassian.com/display/CRUCIBLE/Crucible+4.8+release+notes","upgradeNotes":"https://confluence.atlassian.com/display/CRUCIBLE/Crucible+upgrade+guide"},{"description":"Crucible 4.8.5","edition":"Standard","zipUrl":"https://www.atlassian.com/software/crucible/downloads/binary/crucible-4.8.5.zip","tarUrl":null,"md5":"46e75b16cfb0dc3c1bb0b72098c6d92a","size":"226.8 MB","released":"14-Dec-2020","type":"Binary","platform":"Windows, Unix, Mac OS X","version":"4.8.5","releaseNotes":"https://confluence.atlassian.com/display/CRUCIBLE/Crucible+4.8+release+notes","upgradeNotes":"https://confluence.atlassian.com/display/CRUCIBLE/Crucible+upgrade+guide"}])
|
@ -1 +0,0 @@
|
||||
downloads([{"description":"FishEye 4.8.5 64 bit Windows Installer","edition":"Standard","zipUrl":"https://www.atlassian.com/software/fisheye/downloads/binary/atlassian-fisheye-4.8.5-x64.exe","tarUrl":null,"md5":"187982b3e5751f8bafabe3ac143d3aa0","size":"225.5 MB","released":"14-Dec-2020","type":"Binary","platform":"Windows","version":"4.8.5","releaseNotes":"https://confluence.atlassian.com/display/FISHEYE/Fisheye+4.8+release+notes","upgradeNotes":"https://confluence.atlassian.com/display/FISHEYE/Fisheye+upgrade+guide"},{"description":"FishEye 4.8.5","edition":"Standard","zipUrl":"https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-4.8.5.zip","tarUrl":null,"md5":"9a7add405b48783b848d046da0fd267d","size":"226.8 MB","released":"14-Dec-2020","type":"Binary","platform":"Windows, Unix, Mac OS X","version":"4.8.5","releaseNotes":"https://confluence.atlassian.com/display/FISHEYE/Fisheye+4.8+release+notes","upgradeNotes":"https://confluence.atlassian.com/display/FISHEYE/Fisheye+upgrade+guide"}])
|
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
downloads([{"description":"4.14.0 (Windows 64 Bit Installer)","edition":"Standard","zipUrl":"https://www.atlassian.com/software/jira/downloads/binary/atlassian-servicedesk-4.14.0-x64.exe","tarUrl":null,"md5":"ede950bc3f44b33e092e7c9958da8669","size":"425.3 MB","released":"22-Nov-2020","type":"Binary","platform":"Windows","version":"4.14.0","releaseNotes":"https://confluence.atlassian.com/display/SERVICEDESK/JIRA+Service+Management+4.14.x+release+notes","upgradeNotes":"https://confluence.atlassian.com/display/SERVICEDESK/JIRA+Service+Management+4.14.x+upgrade+notes"},{"description":"4.13.1 (Windows 64 Bit Installer)","edition":"Enterprise","zipUrl":"https://www.atlassian.com/software/jira/downloads/binary/atlassian-servicedesk-4.13.1-x64.exe","tarUrl":null,"md5":"1f6bcbbfdafcc210b397d2e479248893","size":"407.4 MB","released":"01-Nov-2020","type":"Binary","platform":"Windows","version":"4.13.1","releaseNotes":"https://confluence.atlassian.com/display/SERVICEDESK/JIRA+Service+Desk+4.13.x+release+notes","upgradeNotes":"https://confluence.atlassian.com/display/SERVICEDESK/JIRA+Service+Desk+4.13.x+upgrade+notes"},{"description":"4.14.0 (Linux 64 Bit Installer)","edition":"Standard","zipUrl":"https://www.atlassian.com/software/jira/downloads/binary/atlassian-servicedesk-4.14.0-x64.bin","tarUrl":null,"md5":"85195024a619a019c2c98e63d723f397","size":"424.9 MB","released":"22-Nov-2020","type":"Binary","platform":"Unix","version":"4.14.0","releaseNotes":"https://confluence.atlassian.com/display/SERVICEDESK/JIRA+Service+Management+4.14.x+release+notes","upgradeNotes":"https://confluence.atlassian.com/display/SERVICEDESK/JIRA+Service+Management+4.14.x+upgrade+notes"},{"description":"4.13.1 (Linux 64 Bit Installer)","edition":"Enterprise","zipUrl":"https://www.atlassian.com/software/jira/downloads/binary/atlassian-servicedesk-4.13.1-x64.bin","tarUrl":null,"md5":"856b2c859311f1a7fb224ee6bb7dedff","size":"407.0 MB","released":"01-Nov-2020","type":"Binary","platform":"Unix","version":"4.13.1","releaseNotes":"https://confluence.atlassian.com/display/SERVICEDESK/JIRA+Service+Desk+4.13.x+release+notes","upgradeNotes":"https://confluence.atlassian.com/display/SERVICEDESK/JIRA+Service+Desk+4.13.x+upgrade+notes"},{"description":"4.14.0 (ZIP Archive)","edition":"Standard","zipUrl":"https://www.atlassian.com/software/jira/downloads/binary/atlassian-servicedesk-4.14.0.zip","tarUrl":null,"md5":"0103ab796ddcb26e7a2180b179e6cf19","size":"384.1 MB","released":"22-Nov-2020","type":"Binary","platform":"Windows","version":"4.14.0","releaseNotes":"https://confluence.atlassian.com/display/SERVICEDESK/JIRA+Service+Management+4.14.x+release+notes","upgradeNotes":"https://confluence.atlassian.com/display/SERVICEDESK/JIRA+Service+Management+4.14.x+upgrade+notes"},{"description":"4.13.1 (ZIP Archive)","edition":"Enterprise","zipUrl":"https://www.atlassian.com/software/jira/downloads/binary/atlassian-servicedesk-4.13.1.zip","tarUrl":null,"md5":"72fcbb35154a5e3cfa6556f7048424e9","size":"366.2 MB","released":"01-Nov-2020","type":"Binary","platform":"Windows","version":"4.13.1","releaseNotes":"https://confluence.atlassian.com/display/SERVICEDESK/JIRA+Service+Desk+4.13.x+release+notes","upgradeNotes":"https://confluence.atlassian.com/display/SERVICEDESK/JIRA+Service+Desk+4.13.x+upgrade+notes"},{"description":"4.14.0 (TAR.GZ Archive)","edition":"Standard","zipUrl":"https://www.atlassian.com/software/jira/downloads/binary/atlassian-servicedesk-4.14.0.tar.gz","tarUrl":null,"md5":"8d0727e7acddbb20ce2c06054f070833","size":"373.4 MB","released":"22-Nov-2020","type":"Binary","platform":"Unix, Mac OS X","version":"4.14.0","releaseNotes":"https://confluence.atlassian.com/display/SERVICEDESK/JIRA+Service+Management+4.14.x+release+notes","upgradeNotes":"https://confluence.atlassian.com/display/SERVICEDESK/JIRA+Service+Management+4.14.x+upgrade+notes"},{"description":"4.13.1 (TAR.GZ Archive)","edition":"Enterprise","zipUrl":"https://www.atlassian.com/software/jira/downloads/binary/atlassian-servicedesk-4.13.1.tar.gz","tarUrl":null,"md5":"88e13b3c574da1007f5c516ae809a851","size":"355.6 MB","released":"01-Nov-2020","type":"Binary","platform":"Unix, Mac OS X","version":"4.13.1","releaseNotes":"https://confluence.atlassian.com/display/SERVICEDESK/JIRA+Service+Desk+4.13.x+release+notes","upgradeNotes":"https://confluence.atlassian.com/display/SERVICEDESK/JIRA+Service+Desk+4.13.x+upgrade+notes"}])
|
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
downloads([{"description":"7.9.1 (Windows 64bit Installer)","edition":"None","zipUrl":"https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-7.9.1-x64.exe","tarUrl":null,"md5":"","size":"372.7 MB","released":"13-Jan-2021","type":"Binary","platform":"Windows","version":"7.9.1","releaseNotes":"https://confluence.atlassian.com/display/BitbucketServer/Bitbucket+Server+and+Data+Center+7.9+release+notes","upgradeNotes":"https://confluence.atlassian.com/display/BitbucketServer/Bitbucket+Server+upgrade+guide"},{"description":"7.9.1 (Linux 64bit Installer)","edition":"None","zipUrl":"https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-7.9.1-x64.bin","tarUrl":null,"md5":"","size":"371.4 MB","released":"13-Jan-2021","type":"Binary","platform":"Unix","version":"7.9.1","releaseNotes":"https://confluence.atlassian.com/display/BitbucketServer/Bitbucket+Server+and+Data+Center+7.9+release+notes","upgradeNotes":"https://confluence.atlassian.com/display/BitbucketServer/Bitbucket+Server+upgrade+guide"},{"description":"7.9.1 (TAR.GZ Archive)","edition":"None","zipUrl":"https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-7.9.1.tar.gz","tarUrl":null,"md5":"","size":"316.0 MB","released":"13-Jan-2021","type":"Binary","platform":"Windows, Unix, Mac OS X","version":"7.9.1","releaseNotes":"https://confluence.atlassian.com/display/BitbucketServer/Bitbucket+Server+and+Data+Center+7.9+release+notes","upgradeNotes":"https://confluence.atlassian.com/display/BitbucketServer/Bitbucket+Server+upgrade+guide"},{"description":"7.9.1 (ZIP Archive)","edition":"None","zipUrl":"https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-7.9.1.zip","tarUrl":null,"md5":"","size":"319.0 MB","released":"13-Jan-2021","type":"Binary","platform":"Windows, Unix, Mac OS X","version":"7.9.1","releaseNotes":"https://confluence.atlassian.com/display/BitbucketServer/Bitbucket+Server+and+Data+Center+7.9+release+notes","upgradeNotes":"https://confluence.atlassian.com/display/BitbucketServer/Bitbucket+Server+upgrade+guide"}])
|
@ -1 +0,0 @@
|
||||
downloads([{"description":"7.1.0-rc1 - Windows Installer, 32-bit","edition":"","zipUrl":"https://www.atlassian.com/software/bamboo/downloads/binary/atlassian-bamboo-7.1.0-rc1-windows-x32.exe","tarUrl":null,"md5":"","size":"","released":"03-Jun-2020","type":"EAP","platform":"Windows","version":"7.1.0-rc1","releaseNotes":"https://confluence.atlassian.com/display/BAMBOO/Bamboo+7.1+EAP+Release+Notes","upgradeNotes":"https://confluence.atlassian.com/display/BAMBOO/Bamboo+Upgrade+Guide"},{"description":"7.1.0-rc1 - Windows Installer, 64-bit","edition":"","zipUrl":"https://www.atlassian.com/software/bamboo/downloads/binary/atlassian-bamboo-7.1.0-rc1-windows-x64.exe","tarUrl":null,"md5":"","size":"","released":"03-Jun-2020","type":"EAP","platform":"Windows","version":"7.1.0-rc1","releaseNotes":"https://confluence.atlassian.com/display/BAMBOO/Bamboo+7.1+EAP+Release+Notes","upgradeNotes":"https://confluence.atlassian.com/display/BAMBOO/Bamboo+Upgrade+Guide"},{"description":"7.1.0-rc1 - ZIP Archive","edition":"","zipUrl":"https://www.atlassian.com/software/bamboo/downloads/binary/atlassian-bamboo-7.1.0-rc1.zip","tarUrl":null,"md5":"","size":"","released":"03-Jun-2020","type":"EAP","platform":"Windows","version":"7.1.0-rc1","releaseNotes":"https://confluence.atlassian.com/display/BAMBOO/Bamboo+7.1+EAP+Release+Notes","upgradeNotes":"https://confluence.atlassian.com/display/BAMBOO/Bamboo+Upgrade+Guide"},{"description":"7.1.0-rc1 - TAR.GZ Archive","edition":"","zipUrl":"https://www.atlassian.com/software/bamboo/downloads/binary/atlassian-bamboo-7.1.0-rc1.tar.gz","tarUrl":null,"md5":"","size":"","released":"03-Jun-2020","type":"EAP","platform":"Unix, Mac OS X","version":"7.1.0-rc1","releaseNotes":"https://confluence.atlassian.com/display/BAMBOO/Bamboo+7.1+EAP+Release+Notes","upgradeNotes":"https://confluence.atlassian.com/display/BAMBOO/Bamboo+Upgrade+Guide"}])
|
@ -1 +0,0 @@
|
||||
downloads([{"description":"7.11.0-beta1 - Linux Installer (64 bit)","edition":"Standard","zipUrl":"https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-7.11.0-beta1-x64.bin","tarUrl":null,"md5":"7101b3fcc28958ec7e36ba5841085bbc","size":"735.2 MB","released":"12-Jan-2021","type":"EAP","platform":"Unix","version":"7.11.0-beta1","releaseNotes":"https://confluence.atlassian.com/display/DOC/Preparing+for+Confluence+7.11","upgradeNotes":"https://confluence.atlassian.com/display/DOC/Preparing+for+Confluence+7.11"},{"description":"7.11.0-beta1 - Windows Installer (64 bit)","edition":"Standard","zipUrl":"https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-7.11.0-beta1-x64.exe","tarUrl":null,"md5":"5bf36a57beffa3bb556ff8a511a9ad3e","size":"737.6 MB","released":"12-Jan-2021","type":"EAP","platform":"Windows","version":"7.11.0-beta1","releaseNotes":"https://confluence.atlassian.com/display/DOC/Preparing+for+Confluence+7.11","upgradeNotes":"https://confluence.atlassian.com/display/DOC/Preparing+for+Confluence+7.11"},{"description":"7.11.0-beta1 - Standalone (TAR.GZ Archive)","edition":"Standard","zipUrl":"https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-7.11.0-beta1.tar.gz","tarUrl":null,"md5":"aec025bfe7a707389ed25bf9f9bed044","size":"679.8 MB","released":"12-Jan-2021","type":"EAP","platform":"Unix, Mac OS X","version":"7.11.0-beta1","releaseNotes":"https://confluence.atlassian.com/display/DOC/Preparing+for+Confluence+7.11","upgradeNotes":"https://confluence.atlassian.com/display/DOC/Preparing+for+Confluence+7.11"},{"description":"7.11.0-beta1 - Standalone (ZIP Archive)","edition":"Standard","zipUrl":"https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-7.11.0-beta1.zip","tarUrl":null,"md5":"086a04620ba53040f7e00aa85f099408","size":"682.3 MB","released":"12-Jan-2021","type":"EAP","platform":"Windows","version":"7.11.0-beta1","releaseNotes":"https://confluence.atlassian.com/display/DOC/Preparing+for+Confluence+7.11","upgradeNotes":"https://confluence.atlassian.com/display/DOC/Preparing+for+Confluence+7.11"}])
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,53 +0,0 @@
|
||||
# Current links
|
||||
|
||||
## Bamboo
|
||||
* https://my.atlassian.com/download/feeds/current/bamboo.json
|
||||
|
||||
## Bitbucket (Stash)
|
||||
* https://my.atlassian.com/download/feeds/current/stash.json
|
||||
|
||||
## Confluence
|
||||
* https://my.atlassian.com/download/feeds/current/confluence.json
|
||||
|
||||
## Crowd
|
||||
* https://my.atlassian.com/download/feeds/current/crowd.json
|
||||
|
||||
## Crucible
|
||||
* https://my.atlassian.com/download/feeds/current/crucible.json
|
||||
|
||||
## FishEye
|
||||
* https://my.atlassian.com/download/feeds/current/fisheye.json
|
||||
|
||||
## Jira
|
||||
* https://my.atlassian.com/download/feeds/current/jira-core.json
|
||||
* https://my.atlassian.com/download/feeds/current/jira-software.json
|
||||
* https://my.atlassian.com/download/feeds/current/jira-servicedesk.json
|
||||
|
||||
--------------------
|
||||
|
||||
# Archived links
|
||||
|
||||
## Bamboo
|
||||
* https://my.atlassian.com/download/feeds/archived/bamboo.json
|
||||
|
||||
## Bitbucket (Stash)
|
||||
* https://my.atlassian.com/download/feeds/archived/stash.json
|
||||
|
||||
## Confluence
|
||||
* https://my.atlassian.com/download/feeds/archived/confluence.json
|
||||
|
||||
## Crowd
|
||||
* https://my.atlassian.com/download/feeds/archived/crowd.json
|
||||
|
||||
## Crucible
|
||||
* https://my.atlassian.com/download/feeds/archived/crucible.json
|
||||
|
||||
## FishEye
|
||||
* https://my.atlassian.com/download/feeds/archived/fisheye.json
|
||||
|
||||
## Jira
|
||||
* https://my.atlassian.com/download/feeds/archived/jira.json
|
||||
* https://my.atlassian.com/download/feeds/archived/jira-core.json
|
||||
* https://my.atlassian.com/download/feeds/archived/jira-software.json
|
||||
* https://my.atlassian.com/download/feeds/archived/jira-servicedesk.json
|
||||
|
@ -1,69 +0,0 @@
|
||||
#!/bin/bash
|
||||
rm -rfv $PWD/current $PWD/archived $PWD/eap
|
||||
mkdir -p $PWD/current $PWD/archived $PWD/eap
|
||||
|
||||
###################################################################################################
|
||||
# Current links
|
||||
###################################################################################################
|
||||
|
||||
# Bamboo
|
||||
wget -c --random-wait -P $PWD/current/ https://my.atlassian.com/download/feeds/current/bamboo.json
|
||||
|
||||
# Bitbucket (Stash)
|
||||
wget -c --random-wait -P $PWD/current/ https://my.atlassian.com/download/feeds/current/stash.json
|
||||
|
||||
# Confluence
|
||||
wget -c --random-wait -P $PWD/current/ https://my.atlassian.com/download/feeds/current/confluence.json
|
||||
|
||||
# Crowd
|
||||
wget -c --random-wait -P $PWD/current/ https://my.atlassian.com/download/feeds/current/crowd.json
|
||||
|
||||
# Crucible
|
||||
wget -c --random-wait -P $PWD/current/ https://my.atlassian.com/download/feeds/current/crucible.json
|
||||
|
||||
# FishEye
|
||||
wget -c --random-wait -P $PWD/current/ https://my.atlassian.com/download/feeds/current/fisheye.json
|
||||
|
||||
# Jira
|
||||
#wget -c --random-wait -P $PWD/current/ https://my.atlassian.com/download/feeds/current/jira.json
|
||||
wget -c --random-wait -P $PWD/current/ https://my.atlassian.com/download/feeds/current/jira-core.json
|
||||
wget -c --random-wait -P $PWD/current/ https://my.atlassian.com/download/feeds/current/jira-software.json
|
||||
wget -c --random-wait -P $PWD/current/ https://my.atlassian.com/download/feeds/current/jira-servicedesk.json
|
||||
|
||||
|
||||
###################################################################################################
|
||||
# Archived links
|
||||
###################################################################################################
|
||||
|
||||
# Bamboo
|
||||
wget -c --random-wait -P $PWD/archived/ https://my.atlassian.com/download/feeds/archived/bamboo.json
|
||||
|
||||
# Bitbucket (Stash)
|
||||
wget -c --random-wait -P $PWD/archived/ https://my.atlassian.com/download/feeds/archived/stash.json
|
||||
|
||||
# Confluence
|
||||
wget -c --random-wait -P $PWD/archived/ https://my.atlassian.com/download/feeds/archived/confluence.json
|
||||
|
||||
# Crowd
|
||||
wget -c --random-wait -P $PWD/archived/ https://my.atlassian.com/download/feeds/archived/crowd.json
|
||||
|
||||
# Crucible
|
||||
wget -c --random-wait -P $PWD/archived/ https://my.atlassian.com/download/feeds/archived/crucible.json
|
||||
|
||||
# FishEye
|
||||
wget -c --random-wait -P $PWD/archived/ https://my.atlassian.com/download/feeds/archived/fisheye.json
|
||||
|
||||
# Jira
|
||||
wget -c --random-wait -P $PWD/archived/ https://my.atlassian.com/download/feeds/archived/jira.json
|
||||
wget -c --random-wait -P $PWD/archived/ https://my.atlassian.com/download/feeds/archived/jira-core.json
|
||||
wget -c --random-wait -P $PWD/archived/ https://my.atlassian.com/download/feeds/archived/jira-software.json
|
||||
wget -c --random-wait -P $PWD/archived/ https://my.atlassian.com/download/feeds/archived/jira-servicedesk.json
|
||||
|
||||
|
||||
###################################################################################################
|
||||
# EAP links
|
||||
###################################################################################################
|
||||
wget -c --random-wait -P $PWD/eap/ https://my.atlassian.com/download/feeds/eap/bamboo.json
|
||||
wget -c --random-wait -P $PWD/eap/ https://my.atlassian.com/download/feeds/eap/confluence.json
|
||||
wget -c --random-wait -P $PWD/eap/ https://my.atlassian.com/download/feeds/eap/jira.json
|
||||
wget -c --random-wait -P $PWD/eap/ https://my.atlassian.com/download/feeds/eap/jira-servicedesk.json
|
Loading…
x
Reference in New Issue
Block a user