LakshK98 / FetchReleaseInfo

cross-platform command Line tool to fetch information about server releases

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FetchReleaseInfo

cross-platform command Line tool to fetch information about ubuntu server releases

Tested on Ubuntu focal, macOS Ventura, Windows 11

Build instructions:

To build FetchReleaseInfo, you'll need CMake and libcurl installed on your system.

Installing libcurl

Mac

  brew install curl

Linux

  sudo apt install libcurl4-openssl-dev

Windows

  .\vcpkg install curl

Building FetchReleaseInfo

  1. clone the FetchReleaseInfo repo
  git clone https://github.com/LakshK98/FetchReleaseInfo.git
  1. Navigate to the FetchReleaseInfo directory:
  cd  FetchReleaseInfo
  1. Create a build directory
  mkdir build
  1. Navigate to build directory
  cd build
  1. Run CmMake
  • On Mac and Linux
  cmake ..
  • On Windows
  cmake -DCMAKE_TOOLCHAIN_FILE=/path/to/vcpkg.make
  1. Build the project
  • On Mac and Linux
  make
  • On Windows
  msbuild FetchReleaseInfo.sln
  1. Run the project
  • On Mac and Linux
  ./FetchReleaseInfo < command >
  • On Windows
  cd Debug
  FetchReleaseInfo.exe < command >

Usage:

  • ./FetchReleaseInfo supported_releases
    Returns list of supported releases

  • ./FetchReleaseInfo current_lts_version:
    Returns the version of the latest lts release

  • ./FetchReleaseInfo disk_image_sha256_for_release --release=< release >
    Returns the sha256 of disk image for the latest version in provided release. Replace with the desired release eg. --release=focal.

About

cross-platform command Line tool to fetch information about server releases


Languages

Language:C++ 93.3%Language:CMake 6.7%