Skip to content

melnikvitaly/grru

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

animated



Gitlab Release Remover UI - GRRU

Why

Currently as of this writing, Gitlab doesn't provide a way on the UI to remove releases inside a project (not yet), this extension aims to fix that.

🏋️‍   Zero dependencies

🛠   Zero configuration

🚀   Works on any Gitlab sites whether gitlab.com or self-managed instances

Usage

Download latest version, extract it, open Chrome and point to "chrome://extensions"

  1. Tick "Developer mode"
  2. Load unpacked
  3. Point to the inside of the extracted folder.

How it works

Because the nature of extension is just executing script as if it's coming from that page, basically it has control over all things - and the session cookie is not an exception.

It uses the Release API provided by Gitlab and the signed-in user's session cookie to make a request call

Features

Respects the project's member roles

If your role is developer or higher then a button will be shown to perform the delete action

role-allowed

If you do not have enough permission to remove, another button will be shown, quite self-explantory

role-not-allowed

Roadmap

Assuming that Gitlab still haven't released their official UI yet:

  1. Remove release
  2. Scope action to certain member roles
  3. Show nice error notification if fails
  4. Undo within e.g 10 secs

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Dao Tuan - [email protected]

About

Gitlab Release Remover UI

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 100.0%