add support for kubernetes
This commit is contained in:
parent
22bda92f22
commit
d5f90a7b37
1 changed files with 70 additions and 38 deletions
108
init.org
108
init.org
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
#+TITLE: My Emacs Configuration
|
#+TITLE: My Emacs Configuration
|
||||||
#+PROPERTY: header-args :tangle yes
|
#+PROPERTY: header-args :tangle yes
|
||||||
#+PROPERTY: header-args:emacs-lisp :lexical yes :tangle yes :comments nil :padline yes
|
#+PROPERTY: header-args:emacs-lisp :lexical yes :tangle yes :comments nil :padline yes
|
||||||
|
@ -1027,35 +1026,38 @@ exporter manual.]]
|
||||||
*** Org Jira Integration
|
*** Org Jira Integration
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
;; configure org-jira
|
;; configure org-jira
|
||||||
(use-package org-jira
|
(use-package org-jira
|
||||||
:ensure t ; (:host github :repo "ptillemans/org-jira" :branch "pti_fix_getUsers")
|
:ensure t ; (:host github :repo "ptillemans/org-jira" :branch "pti_fix_getUsers")
|
||||||
:commands (org-jira-get-issues org-jira-get-projects)
|
:commands (org-jira-get-issues org-jira-get-projects)
|
||||||
:config
|
:config
|
||||||
(setq org-jira-users '(("Peter Tillemans". "557058:bdf83521-663b-4ae6-9b71-487bb98e2add")))
|
(setq org-jira-users '(("Peter Tillemans". "557058:bdf83521-663b-4ae6-9b71-487bb98e2add")))
|
||||||
(setq jiralib-agile-page-size 1000)
|
(setq jiralib-agile-page-size 1000)
|
||||||
(setq org-jira-custom-jqls
|
(setq org-jira-custom-jqls
|
||||||
'(
|
'(
|
||||||
|
|
||||||
|
|
||||||
))
|
))
|
||||||
(make-directory "~/.org-jira" 'parents)
|
(make-directory "~/.org-jira" 'parents)
|
||||||
(setq jiralib-url (auth-source-pass-get "url" "customer/melexis.atlassian.net"))
|
;; avoid flushing the recent file list when updating jira state
|
||||||
(setq org-jira-custom-jqls
|
(add-to-list 'recentf-exclude "~/.org-jira/.*")
|
||||||
'((:jql " assignee = currentUser() and (created > '2024-01-01' or updated > '2024-01-01') order by created DESC"
|
|
||||||
:limit 100 :filename "this-year")
|
(setq jiralib-url (auth-source-pass-get "url" "customer/melexis.atlassian.net"))
|
||||||
(:jql " assignee = currentUser() and project = UNILRN order by priority DESC "
|
(setq org-jira-custom-jqls
|
||||||
:limit 100 :filename "~/Projects/unifylearn/jira")
|
'((:jql " assignee = currentUser() and (created > '2024-01-01' or updated > '2024-01-01') order by created DESC"
|
||||||
(:jql " assignee = currentUser() and project = TTRK order by priority DESC "
|
:limit 100 :filename "this-year")
|
||||||
:limit 100 :filename "~/Projects/timetrak/jira")
|
(:jql " assignee = currentUser() and project = UNILRN order by priority DESC "
|
||||||
)
|
:limit 100 :filename "~/Projects/unifylearn/jira")
|
||||||
)
|
(:jql " assignee = currentUser() and project = TTRK order by priority DESC "
|
||||||
(jiralib-login
|
:limit 100 :filename "~/Projects/timetrak/jira")
|
||||||
(auth-source-pass-get "user" "customer/jira")
|
)
|
||||||
(auth-source-pass-get 'secret "customer/jira"))
|
)
|
||||||
:bind (("C-c j i g" . 'org-jira-get-issues)
|
(jiralib-login
|
||||||
("C-c j p g" . 'org-jira-get-projects)
|
(auth-source-pass-get "user" "customer/melexis.atlassian.net")
|
||||||
("C-c j i j" . 'org-jira-get-issues-from-custom-jql)))
|
(auth-source-pass-get 'secret "customer/melexis.atlassian.net"))
|
||||||
|
:bind (("C-c j i g" . 'org-jira-get-issues)
|
||||||
|
("C-c j p g" . 'org-jira-get-projects)
|
||||||
|
("C-c j i j" . 'org-jira-get-issues-from-custom-jql)))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
#+RESULTS:
|
#+RESULTS:
|
||||||
|
@ -1306,6 +1308,22 @@ templates to be generated. By default it uses
|
||||||
#+RESULTS:
|
#+RESULTS:
|
||||||
: [nil 26455 5250 886750 nil elpaca-process-queues nil nil 641000 nil]
|
: [nil 26455 5250 886750 nil elpaca-process-queues nil nil 641000 nil]
|
||||||
|
|
||||||
|
** Markdown
|
||||||
|
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(use-package markdown-mode
|
||||||
|
:ensure t
|
||||||
|
:mode ("README\\.md\\'" . gfm-mode)
|
||||||
|
:init (setq markdown-command "multimarkdown")
|
||||||
|
:bind (:map markdown-mode-map
|
||||||
|
("C-c C-e" . markdown-do)))
|
||||||
|
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
|
#+RESULTS:
|
||||||
|
: [nil 26789 44231 458103 nil elpaca-process-queues nil nil 912000 nil]
|
||||||
|
|
||||||
|
|
||||||
* Integration with Environment
|
* Integration with Environment
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
@ -1553,6 +1571,18 @@ Add support to edit Dockerfile files :
|
||||||
: [nil 26557 44943 649 nil elpaca-process-queues nil nil 729000 nil]
|
: [nil 26557 44943 649 nil elpaca-process-queues nil nil 729000 nil]
|
||||||
|
|
||||||
|
|
||||||
|
** Kubernetes Integration
|
||||||
|
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(use-package kubernetes
|
||||||
|
:ensure t
|
||||||
|
:config
|
||||||
|
(fset 'k8s 'kubernetes-overview))
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
|
#+RESULTS:
|
||||||
|
: [nil 26805 22780 134106 nil elpaca-process-queues nil nil 25000 nil]
|
||||||
|
|
||||||
** Confluence Integration
|
** Confluence Integration
|
||||||
|
|
||||||
This module is advertised as being alpha quality but should allow
|
This module is advertised as being alpha quality but should allow
|
||||||
|
@ -1582,8 +1612,8 @@ importing and exporting confluence pages.
|
||||||
(executable-find "mu")))
|
(executable-find "mu")))
|
||||||
"share/emacs/site-lisp/mu4e")))
|
"share/emacs/site-lisp/mu4e")))
|
||||||
|
|
||||||
(use-package mu4e
|
`(use-package mu4e
|
||||||
:load-path snm/mu4e-load-path
|
:load-path ,snm/mu4e-load-path
|
||||||
;"/usr/share/emacs/site-lisp/mu4e"
|
;"/usr/share/emacs/site-lisp/mu4e"
|
||||||
:config
|
:config
|
||||||
|
|
||||||
|
@ -1659,7 +1689,7 @@ importing and exporting confluence pages.
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
#+RESULTS:
|
#+RESULTS:
|
||||||
: t
|
| use-package | mu4e | :load-path | /usr/share/emacs/site-lisp/mu4e | :config | (setq mail-user-agent 'mu4e-user-agent) | (setq mu4e-drafts-folder /[Gmail].Drafts) | (setq mu4e-sent-folder /[Gmail].Sent Mail) | (setq mu4e-trash-folder /[Gmail].Trash) | (setq mu4e-sent-messages-behavior 'delete) | (setq mu4e-maildir-shortcuts '((:maildir /INBOX :key 105) (:maildir /[Gmail].Sent Mail :key 115) (:maildir /[Gmail].Trash :key 116) (:maildir /[Gmail].All Mail :key 97))) | (add-to-list 'mu4e-bookmarks '(:query maildir:/inbox :name Inbox :key 105 :favorite t)) | (setq mu4e-get-mail-command offlineimap) | (setq user-mail-address pti@snamellit.com user-full-name Peter Tillemans message-signature (concat Peter Tillemans |
|
||||||
|
|
||||||
|
|
||||||
* Editor Features
|
* Editor Features
|
||||||
|
@ -3143,7 +3173,6 @@ integration in Emacs.
|
||||||
*** Enable model providers
|
*** Enable model providers
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
|
||||||
(setq gptel-api-key openai-api-key)
|
(setq gptel-api-key openai-api-key)
|
||||||
(gptel-make-gemini "Gemini" :key gemini-api-key :stream t)
|
(gptel-make-gemini "Gemini" :key gemini-api-key :stream t)
|
||||||
(gptel-make-anthropic "Claude" :stream t :key anthropic-api-key)
|
(gptel-make-anthropic "Claude" :stream t :key anthropic-api-key)
|
||||||
|
@ -3152,6 +3181,9 @@ integration in Emacs.
|
||||||
:description "QWen 2.5 Coder 14b"))
|
:description "QWen 2.5 Coder 14b"))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
#+RESULTS:
|
||||||
|
: #s(gptel-ollama "Qwen Coder" "localhost:11434" nil "http" nil "/api/chat" nil (qwen2.5-coder:14b :description QWen\ 2.5\ Coder\ 14b) "http://localhost:11434/api/chat" nil nil nil)
|
||||||
|
|
||||||
*** Enable Tools
|
*** Enable Tools
|
||||||
**** File and Buffer Tools
|
**** File and Buffer Tools
|
||||||
***** Create File
|
***** Create File
|
||||||
|
@ -3621,9 +3653,9 @@ Gregg Grubbs for examples what to put here.
|
||||||
:command "npx"
|
:command "npx"
|
||||||
:args ("-y" "graphlit-mcp-server")
|
:args ("-y" "graphlit-mcp-server")
|
||||||
:env (
|
:env (
|
||||||
:GRAPHLIT_ORGANIZATION_ID (auth-source-pass-get "organization-id" "snamellit/graphlit.dev")
|
:GRAPHLIT_ORGANIZATION_ID ,(auth-source-pass-get "organization-id" "snamellit/graphlit.dev")
|
||||||
:GRAPHLIT_ENVIRONMENT_ID (auth-source-pass-get "environment-id" "snamellit/graphlit.dev")
|
:GRAPHLIT_ENVIRONMENT_ID ,(auth-source-pass-get "environment-id" "snamellit/graphlit.dev")
|
||||||
:GRAPHLIT_JWT_SECRET (auth-source-pass-get 'secret "snamellit/graphlit.dev"))))
|
:GRAPHLIT_JWT_SECRET ,(auth-source-pass-get 'secret "snamellit/graphlit.dev"))))
|
||||||
("terminal-controller" . (
|
("terminal-controller" . (
|
||||||
:command "uvx"
|
:command "uvx"
|
||||||
:args ("terminal_controller")))))
|
:args ("terminal_controller")))))
|
||||||
|
@ -3633,7 +3665,7 @@ Gregg Grubbs for examples what to put here.
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
#+RESULTS:
|
#+RESULTS:
|
||||||
: [nil 26780 48702 422697 nil elpaca-process-queues nil nil 640000 nil]
|
: [nil 26781 46260 860178 nil elpaca-process-queues nil nil 420000 nil]
|
||||||
|
|
||||||
|
|
||||||
*** Load jwiegley/gptel-prompts for prompt composability
|
*** Load jwiegley/gptel-prompts for prompt composability
|
||||||
|
|
Loading…
Add table
Reference in a new issue