Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any plans to have gitlab support? #4174

Closed
ghost opened this issue Dec 13, 2015 · 5 comments
Closed

Any plans to have gitlab support? #4174

ghost opened this issue Dec 13, 2015 · 5 comments

Comments

@ghost
Copy link

ghost commented Dec 13, 2015

relevant package https://github.com/nlamirault/emacs-gitlab

@cpaulik
Copy link
Contributor

cpaulik commented Dec 13, 2015

Have you tried it? I was not able to connect to any of the gitlab CE instances I have access to.

@ghost ghost closed this as completed Dec 21, 2015
@ghost
Copy link
Author

ghost commented Dec 21, 2015

Oops I closed the issue by mistake 😠

@ghost ghost reopened this Dec 21, 2015
@paynito
Copy link

paynito commented Mar 1, 2016

so, I guess that I could put this in a private layer, but not into ~/.spacemacs??

(defun dotspacemacs/user-config ()
  "Configuration function for user code.
This function is called at the very end of Spacemacs initialization after
layers configuration. You are free to put any user code."

  (unless (package-installed-p 'gitlab)
    (package-install 'gitlab))

I still don't understand the syntax for a melpa or github install via private layer. which faq is most human-readable?

@cpaulik
Copy link
Contributor

cpaulik commented Mar 2, 2016

@paynito If you want to just install the gitlab package from melpa you can put it in dotspacemacs-additional-packages

Have you read https://github.com/syl20bnr/spacemacs/blob/develop/doc/LAYERS.org ? It should explain layers.

For my testing of gitlab I made a private layer using M-x configuration-layer/create-layer with the following packages.el

(setq gitlab-packages
    '(
      ;; package names go here
      gitlab
      ))

;; List of packages to exclude.
(setq gitlab-excluded-packages '())

;; For each package, define a function gitlab/init-<package-name>
;;
(defun gitlab/init-gitlab ()
  "Initialize my package"
  (use-package gitlab
    :defer t
    :init
    (setq gitlab-host "HOST"
          gitlab-username "USERNAME"
          gitlab-token-id "TOKEN"))
  )

@syl20bnr
Copy link
Owner

syl20bnr commented Jun 4, 2018

Closing in favor of more recent issue: #7687

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants