Control your gitlab pipelines/jobs and improve your overall workflow with gitlab.
APIscope. The documentation to creeate one is at https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html.
Once the plugin has been installed and you have filled in the mandatory information restart your atom to let the configuration take effect.
If you now open a gitlab project using
Add project folder (ctrl + shift + a) and open a file in it, the plugin will be triggered and started. Once a project has been opened and loaded in a window you can also open files of other projects to view their pipeline statuses.
It will add the Gitlab icon as well as one icon for every pipeline stage with it's current status. The displayed pipeline is always the last pipeline of the currently checked out branch. From there on you will have the following options:
When you have opened a pipeline stage, you can click the corresponding stage icon to close it again. In the detailed view you have full control over your pipeline jobs. You can start/retry/cancel jobs as well as you can view it's jobs logs inside of atom or download it's contents which then will be unzipped automatically.
Furthermore the following hotkeys are implemented:
alt-i. The dock contains a list of open merge requests assigned to you, issues assigned to you and merge requests where you an approver. It's items are clickable and will redirect you to the corresponding item in your browser. This view is not refreshed automatically and thus has be refreshed using the displayed buttons.
ctrl-shift-m: Create a new merge request on basis of your current branch. (opens Browser)
ctrl-shift-j: Compares your current branch to the master. (opens Browser)
ctrl-shift-o: Opens the projects open issues. (opens Browser)
originfor retrieving the gitlab host information. Therefore the remote upstream must be set correctly.
This is only a minimal viable product without real testing or similar. it was hacked in the spare time of a couple of weeks. Since it's also my first frontend project I advice you to not have a closer look into the code if not needed. If you dare to do so no reparations will be paid in case of heart attacks, getting ventilated about it, consuming an uncommon big amount of chocolate or alike.
Thanks to blakawk whose implementation is the basis of this project. (https://atom.io/packages/gitlab-integration)
Reporting issues and pull requests are welcome for this project. In case of errors provide console debug output and the steps to reproduce the error. You can enable the debug output in the settings
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.