GitLab CLI tool for PortableApps.com
GitLab CLI tool also called GLab is an open source GitLab
CLI tool bringing GitLab to your terminal next to where you are already working
with git
and your code without switching between windows and browser tabs.
Work with issues, merge requests, watch running pipelines directly from your CLI
among other features.
glab
is available for repositories hosted on GitLab.com and self-managed
GitLab instances. glab supports multiple authenticated GitLab instances and
automatically detects the authenticated hostname from the remotes available in
the working Git directory.
Runtime dependencies
-
32-bit or 64-bit version of Windows Vista or greater.
-
A version of git should be installed e.g. GitPortable
Support matrix
Status
This PortableApps project is in beta stage.
Installation
Download
Since this is not an official PortableApp the PortableApps installer must be download first. Navigate to https://github.com/uroesch/GitlabCliPortable/releases for a selection of releases.
Install via the PortableApps.com Platform
After downloading the .paf.exe
installer navigate to your PortableApps.com
platform Apps
Menu ❶ and select Install a new app (paf.exe)
❷.
From the dialog choose the previously downloaded .paf.exe
file. ❸
After a short while the installation dialog will appear.
Install outside of the PortableApps.com Platform
The Packages found under the release page are not digitally signed so there the installation is a bit involved.
After downloading the .paf.exe
installer trying to install may result in a
windows defender warning.
To unblock the installer and install the application follow the annotated screenshot below.
-
Right click on the executable file.
-
Choose
Properties
at the bottom of the menu. -
Check the unblock box.
Build
Windows
Windows 10
The only supported build platform for Windows is version 10 other releases have not been tested.
Clone repositories
git clone https://github.com/uroesch/PortableApps.comInstaller.git
git clone -b patched https://github.com/uroesch/PortableApps.comLauncher.git
git clone https://github.com/uroesch/GitlabCliPortable.git
Build installer
cd GitlabCliPortable
powershell -ExecutionPolicy ByPass -File Other/Update/Update.ps1
Linux
Docker
|
This is currently the preferred way of building the PortableApps installer. |
For a Docker build run the following command.
Clone repo
git clone https://github.com/uroesch/GitlabCliPortable.git
Build installer
cd GitlabCliPortable
curl -sJL https://raw.githubusercontent.com/uroesch/PortableApps/master/scripts/docker-build.sh | bash
Local build
Ubuntu 20.04
To build the installer under Ubuntu 20.04 Wine
, PowerShell
, 7-Zip
and
when building headless Xvfb
are required.
Setup
sudo snap install powershell --classic
sudo apt --yes install git wine p7zip-full xvfb
When building headless run the below command starts a virtual Xserver required for the build to succeed.
export DISPLAY=:7777
Xvfb ${DISPLAY} -ac &
Clone repositories
git clone https://github.com/uroesch/PortableApps.comInstaller.git
git clone -b patched https://github.com/uroesch/PortableApps.comLauncher.git
git clone https://github.com/uroesch/GitlabCliPortable.git
Build installer
cd GitlabCliPortable
pwsh Other/Update/Update.ps1
Ubuntu 18.04
To build the installer under Ubuntu 18.04 Wine
, PowerShell
, 7-Zip
and
when building headless Xvfb
are required.
Setup
sudo snap install powershell --classic
sudo apt --yes install git p7zip-full xvfb
sudo dpkg --add-architecture i386
sudo apt update
sudo apt --yes install wine32
When building headless run the below command starts a virtual Xserver required for the build to succeed.
export DISPLAY=:7777
Xvfb ${DISPLAY} -ac &
Clone repositories
git clone https://github.com/uroesch/PortableApps.comInstaller.git
git clone -b patched https://github.com/uroesch/PortableApps.comLauncher.git
git clone https://github.com/uroesch/GitlabCliPortable.git
Build installer
cd GitlabCliPortable
pwsh Other/Update/Update.ps1