Skip to content

Gitlab extension utilizes the official Gitlab API to provide a comfortable overview about your projects, commits & pipelines

License

Notifications You must be signed in to change notification settings

sangtraceur/gitlab-extension

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gitlab-extension

Gitlab extension utilizes the official Gitlab API to provide a comfortable overview about your projects, commits & pipelines.

projects

commits

pipelines

Setup

Either install it:

Data Source

The data is fetched from the official Gitlab API https://docs.gitlab.com/ee/api/. The API has some limitions, e.g. it only returns domain specific data. As an example projects and commits for example do not have any information of the pipeline status or you can only fetch pipelines for a single project. So in this extension we mash up some data and can show only the pipeline information for the most recent projects to avoid hitting the 10 requests / s limit.

If you want to play with the API you might be interested in this postman collection --> https://github.com/cinatic/gitlab-postman-collection

TODO

  • caching
  • lazy loading of additional data (like project pipeline status)
  • detail view for commits
  • detail view for pipeline w/ nice jobs visualization
  • add pagination
  • add setting to toggle public / private repositories

Shoutouts

GNOME just rocks, thanks to all contributors!

Helpful things for building a extension:

https://gjs.guide/

https://gjs-docs.gnome.org/

https://wiki.gnome.org/Projects/GnomeShell/Development

https://gitlab.gnome.org/GNOME/gjs/blob/master/doc/Modules.md

Nice Soup wrapper / fetch shim: https://github.com/satya164/gjs-helpers/blob/master/src/fetch.js

Danks also for the support andyholmes & konkor

About

Gitlab extension utilizes the official Gitlab API to provide a comfortable overview about your projects, commits & pipelines

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 94.2%
  • Makefile 4.0%
  • CSS 1.8%