mirror of
https://github.com/EpicMorg/atlassian-downloader.git
synced 2024-12-26 20:35:27 +03:00
Console app written with c# and dotnet5 for downloading all avalible products from Atlassian.
atlassianatlassian-bambooatlassian-bitbucketatlassian-confluenceatlassian-crowdatlassian-crucibleatlassian-jiraatlassian-productsatlassian-stashbamboobitbucketcloverconfluencecrowdcruciblefisheyejirajira-serverjira-service-deskjira-service-management
.github | ||
src | ||
.gitignore | ||
CHANGELOG.md | ||
LICENSE.md | ||
README.md | ||
SECURITY.md |
Atlassian Downloader
Console app written with c#
and dotnet6
for downloading all avalible products from Atlassian
. Why not?
Requerments
- Preinstalled
*
dotnet6
. Download here. - Supported OS:
win32/win64
,linux
,macosx
,arm/arm64
*
since version 1.0.0.4
application build asstandalone package and do not requre preinstalled dotnet6
.
How to...
..bootstrap from scratch
git clone
this repo.cd
to<repo>/src
. 3.1 executedonten run
insrc
folder. or 3.2 executebuild.bat(sh)
insrc
folder.- by default all data will be downloaded to
src/atlassian
folder and subfolders.
..install
Usage and settings
CLI args
atlassian-downloader:
Atlassian archive downloader. See https://github.com/EpicMorg/atlassian-downloader for more info
Usage:
atlassian-downloader [options]
Options:
--output-dir <output-dir> Override output directory to download [default: atlassian]
--custom-feed <custom-feed> Override URIs to import [default: ]
--action <Download|ListURLs|ListVersions|ShowRawJson> Action to perform [default: Download]
--version Show credits banner [default: False]
-?, -h, --help Show help and usage information
Example of useage:
How to download it all at first time, or get update of local archive
PS> .\atlassian-downloader.exe --output-dir "P:\Atlassian"
or
bash# ./atlassian-downloader --output-dir "/mnt/nfs/atlassian"
If you already have some folders at output path - they will be ignored and not be downloaded again and skipped. Downloader will be download only new versions of files which not be present locally yet.
Set only some url feed and dowload it:
PS> .\atlassian-downloader.exe --output-dir "P:\Atlassian" --custom-feed https://my.atlassian.com/download/feeds/current/bamboo.json
or
bash# ./atlassian-downloader --output-dir "/mnt/nfs/atlassian" --custom-feed https://my.atlassian.com/download/feeds/current/bamboo.json
Show only urls from jsons
PS> .\atlassian-downloader.exe --action ListURLs
or
bash# ./atlassian-downloader --action ListURLs
Additional settings
File src/appSettings.json
contains additional settings, like loglevel and console output theme. You can set it up via editing this file.
Supported log levels
Level | Enum | Description |
---|---|---|
Critical |
5 |
Logs that describe an unrecoverable application or system crash, or a catastrophic failure that requires immediate attention. |
Debug |
1 |
Logs that are used for interactive investigation during development. These logs should primarily contain information useful for debugging and have no long-term value. |
Error |
4 |
Logs that highlight when the current flow of execution is stopped due to a failure. These should indicate a failure in the current activity, not an application-wide failure. |
Information |
2 |
Logs that track the general flow of the application. These logs should have long-term value. |
None |
6 |
Not used for writing log messages. Specifies that a logging category should not write any messages. |
Trace |
0 |
Logs that contain the most detailed messages. These messages may contain sensitive application data. These messages are disabled by default and should never be enabled in a production environment. |
Warning |
3 |
Logs that highlight an abnormal or unexpected event in the application flow, but do not otherwise cause the application execution to stop. |
Supported console themes
The following built-in themes are available, provided by Serilog.Sinks.Console
package:
ConsoleTheme.None
- no stylingSystemConsoleTheme.Literate
- styled to replicate Serilog.Sinks.Literate, using theSystem.Console
coloring modes supported on all Windows/.NET targets; this is the default when no theme is specifiedSystemConsoleTheme.Grayscale
- a theme using only shades of gray, white, and blackAnsiConsoleTheme.Literate
- an ANSI 16-color version of the "literate" theme; we expect to update this to use 256-colors for a more refined look in futureAnsiConsoleTheme.Grayscale
- an ANSI 256-color version of the "grayscale" themeAnsiConsoleTheme.Code
- an ANSI 256-color Visual Studio Code-inspired theme
Supported products:
Product | Current | Archive | EAP |
---|---|---|---|
✅ | ✅ | ✅ | |
✅ | ✅ | ⁉️ | |
✅ | ✅ | ❌ | |
✅ | ✅ | ❌ | |
✅ | ✅ | ❌ | |
✅ | ✅ | ❌ | |
✅ | ✅ | ❌ | |
✅ | ✅ | ❌ | |
✅ | ✅ | ✅ | |
✅ | ✅ | ✅ | |
✅ | ✅ | ❌ |
- Archive of
Atlassian
jsons available here.