Merge branch 'develop'

This commit is contained in:
stam 2021-01-14 16:24:55 +03:00
commit 010da3651f
14 changed files with 78 additions and 26 deletions

View File

@ -17,15 +17,27 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Restore dependencies
- name: Restore
env:
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
run: |
cd src/atlassian-downloader
dotnet restore
- name: Build
env:
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
run: |
cd src/atlassian-downloader
dotnet build --no-restore
- name: Test
env:
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
run: |
cd src/atlassian-downloader
dotnet test --no-build --verbosity normal

View File

@ -14,15 +14,27 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Restore dependencies
- name: Restore
env:
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
run: |
cd src/atlassian-downloader
dotnet restore
- name: Build
env:
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
run: |
cd src/atlassian-downloader
dotnet build --no-restore
- name: Test
env:
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
run: |
cd src/atlassian-downloader
dotnet test --no-build --verbosity normal

View File

@ -2,8 +2,9 @@
# Atlassian Downloader - Changelog
* `1.0.0.4` - bump version.
* `1.0.0.5` - added support for EAP releases.
* `1.0.0.4` - bump version. rewrited build scripts. added support of `arm` and `arm64`.
* `1.0.0.3` - some cosmetics improvements.
* `1.0.0.2` - some cosmetics improvements.
* `1.0.0.1` - some improvements. added support of all available products.
* `1.0.0.0` - test script. internal use. not published.
* `1.0.0.0` - test script. internal use. not published.

View File

@ -34,7 +34,12 @@ var feedUrls =
"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/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}";

View File

@ -2,6 +2,11 @@
<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>
@ -9,12 +14,12 @@
<Description>Atlassian Downloader by EpicMorg, code by kasthack</Description>
<PackageProjectUrl>https://github.com/EpicMorg/atlassian-downloader</PackageProjectUrl>
<PackageIcon>favicon.png</PackageIcon>
<FileVersion>1.0.0.4</FileVersion>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/EpicMorg/atlassian-downloader</RepositoryUrl>
<PackageTags>atlassian, donwloader, epicmorg</PackageTags>
<AssemblyVersion>1.0.0.4</AssemblyVersion>
<Version>1.0.0.4</Version>
<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>

View File

@ -1,8 +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-x64 --self-contained true --framework net5.0 --configuration Release -p:PublishTrimmed=true -p:PublishSingleFile=true -p:PublishReadyToRun=true
dotnet.exe publish -r win81-x86 --self-contained true --framework net5.0 --configuration Release -p:PublishTrimmed=true -p:PublishSingleFile=true -p:PublishReadyToRun=true
dotnet.exe publish -r win10-x64 --self-contained true --framework net5.0 --configuration Release -p:PublishTrimmed=true -p:PublishSingleFile=true -p:PublishReadyToRun=true
dotnet.exe publish -r win10-x86 --self-contained true --framework net5.0 --configuration Release -p:PublishTrimmed=true -p:PublishSingleFile=true -p:PublishReadyToRun=true
dotnet.exe publish -r linux-x64 --self-contained true --framework net5.0 --configuration Release
dotnet.exe publish -r linux-musl-x64 --self-contained true --framework net5.0 --configuration Release
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 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

19
src/atlassian-downloader/build.sh Normal file → Executable file
View File

@ -1,8 +1,11 @@
dotnet publish -r win7-x64 --self-contained true --framework net5.0 --configuration Release -p:PublishTrimmed=true -p:PublishSingleFile=true -p:PublishReadyToRun=true
dotnet publish -r win7-x86 --self-contained true --framework net5.0 --configuration Release -p:PublishTrimmed=true -p:PublishSingleFile=true -p:PublishReadyToRun=true
dotnet publish -r win81-x64 --self-contained true --framework net5.0 --configuration Release -p:PublishTrimmed=true -p:PublishSingleFile=true -p:PublishReadyToRun=true
dotnet publish -r win81-x86 --self-contained true --framework net5.0 --configuration Release -p:PublishTrimmed=true -p:PublishSingleFile=true -p:PublishReadyToRun=true
dotnet publish -r win10-x64 --self-contained true --framework net5.0 --configuration Release -p:PublishTrimmed=true -p:PublishSingleFile=true -p:PublishReadyToRun=true
dotnet publish -r win10-x86 --self-contained true --framework net5.0 --configuration Release -p:PublishTrimmed=true -p:PublishSingleFile=true -p:PublishReadyToRun=true
dotnet publish -r linux-x64 --self-contained true --framework net5.0 --configuration Release
dotnet publish -r linux-musl-x64 --self-contained true --framework net5.0 --configuration Release
#!/bin/bash
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 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

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
downloads([{"description":"7.9.0 (Windows 64bit Installer)","edition":"None","zipUrl":"https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-7.9.0-x64.exe","tarUrl":null,"md5":"","size":"371.9 MB","released":"04-Jan-2021","type":"Binary","platform":"Windows","version":"7.9.0","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.0 (Linux 64bit Installer)","edition":"None","zipUrl":"https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-7.9.0-x64.bin","tarUrl":null,"md5":"","size":"369.8 MB","released":"04-Jan-2021","type":"Binary","platform":"Unix","version":"7.9.0","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.0 (TAR.GZ Archive)","edition":"None","zipUrl":"https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-7.9.0.tar.gz","tarUrl":null,"md5":"","size":"316.0 MB","released":"04-Jan-2021","type":"Binary","platform":"Windows, Unix, Mac OS X","version":"7.9.0","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.0 (ZIP Archive)","edition":"None","zipUrl":"https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-7.9.0.zip","tarUrl":null,"md5":"","size":"319.0 MB","released":"04-Jan-2021","type":"Binary","platform":"Windows, Unix, Mac OS X","version":"7.9.0","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"}])
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"}])

View File

@ -0,0 +1 @@
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"}])

View File

@ -0,0 +1 @@
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

12
src/json-backups/update.sh Normal file → Executable file
View File

@ -1,6 +1,6 @@
#!/bin/bash
rm -rfv $PWD/current $PWD/archived
mkdir -p $PWD/current $PWD/archived
rm -rfv $PWD/current $PWD/archived $PWD/eap
mkdir -p $PWD/current $PWD/archived $PWD/eap
###################################################################################################
# Current links
@ -59,3 +59,11 @@ wget -c --random-wait -P $PWD/archived/ https://my.atlassian.com/download/feeds/
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