8000 Issues when trying to track a new forge · Issue #794 · magit/forge · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Issues when trying to track a new forge #794
Closed
@Davidbrcz

Description

@Davidbrcz

Very similar to bug 792, but since it's closed, I open a new issue

I'm trying to have forge track a new repository with forge Version: 20250620.1719 and magit Version: 20250621.2237

When a I do, I get the following error

Keyword argument :forge not one of (:query :payload :headers :silent :unpaginate :noerror :reader :username :auth :host :callback :errorback :extra)

Full backtrace

Debugger entered--Lisp error: (error "Keyword argument :forge not one of (:query :payload :headers :silent :unpaginate :noerror :reader :username :auth :host :callback :errorback :extra)")
  transient--exit-and-debug(error (error "Keyword argument :forge not one of (:query :payload :headers :silent :unpaginate :noerror :reader :username :auth :host :callback :errorback :extra)"))
  signal(error ("Keyword argument :forge not one of (:query :payload :headers :silent :unpaginate :noerror :reader :username :auth :host :callback :errorback :extra)"))
  error("Keyword argument %s not one of (:query :payload :headers :silent :unpaginate :noerror :reader :username :auth :host :callback :errorback :extra)" :forge)
  ghub-get("/projects/involi%2Fapplications%2Fadsbx-mirror" nil :forge gitlab :username nil :auth forge :host "gitlab.com/api/v4")
  ghub-repository-id("involi/applications" "adsbx-mirror" :host "gitlab.com/api/v4" :auth forge :forge gitlab :noerror nil)
  #f(compiled-function (class host owner name &optional stub noerror) "Return (OUR-ID . THEIR-ID) of the specified repository.\nIf optional STUB is non-nil, then the IDs are not guaranteed to\nbe unique.  Otherwise this method has to make an API request to\nretrieve THEIR-ID, the repository's ID on the forge.  In that\ncase OUR-ID derives from THEIR-ID and is unique across all\nforges and hosts." #<bytecode -0x559cbd0c474240>)(forge-gitlab-repository "gitlab.com" "involi/applications" "adsbx-mirror" nil nil)
  apply(#f(compiled-function (class host owner name &optional stub noerror) "Return (OUR-ID . THEIR-ID) of the specified repository.\nIf optional STUB is non-nil, then the IDs are not guaranteed to\nbe unique.  Otherwise this method has to make an API request to\nretrieve THEIR-ID, the repository's ID on the forge.  In that\ncase OUR-ID derives from THEIR-ID and is unique across all\nforges and hosts." #<bytecode -0x559cbd0c474240>) forge-gitlab-repository ("gitlab.com" "involi/applications" "adsbx-mirror" nil nil))
  forge--repository-ids(forge-gitlab-repository "gitlab.com" "involi/applications" "adsbx-mirror" nil nil)
  #f(compiled-function (&rest rest) "((HOST OWNER NAME) &optional REMOTE DEMAND)\n\nReturn the repository identified by HOST, OWNER and NAME.\nSee `forge-alist' for valid Git hosts." #<bytecode 0x1dd17a5319edf9a3>)(("gitlab.com" "involi/applications" "adsbx-mirror") nil :insert!)
  apply(#f(compiled-function (&rest rest) "((HOST OWNER NAME) &optional REMOTE DEMAND)\n\nReturn the repository identified by HOST, OWNER and NAME.\nSee `forge-alist' for valid Git hosts." #<bytecode 0x1dd17a5319edf9a3>) ("gitlab.com" "involi/applications" "adsbx-mirror") (nil :insert!))
  forge-get-repository(("gitlab.com" "involi/applications" "adsbx-mirror") nil :insert!)
  #f(compiled-function (repo &optional noerror demand) #<bytecode -0x4111447ff42bf28>)(#<forge-gitlab-repository forge-gitlab-repository-12f4badeca38> nil :insert!)
  apply(#f(compiled-function (repo &optional noerror demand) #<bytecode -0x4111447ff42bf28>) #<forge-gitlab-repository forge-gitlab-repository-12f4badeca38> (nil :insert!))
  forge-get-repository(#<forge-gitlab-repository forge-gitlab-repository-12f4badeca38> nil :insert!)
  forge-add-repository(#<forge-gitlab-repository forge-gitlab-repository-12f4badeca38>)
  #f(compiled-function (repo) (interactive #f(compiled-function () #<bytecode 0x7aa611ef7e32>)) #<bytecode 0x1e77d6e5468381b3>)(#<forge-gitlab-repository forge-gitlab-repository-12f4badeca38>)
  apply(#f(compiled-function (repo) (interactive #f(compiled-function () #<bytecode 0x7aa611ef7e32>)) #<bytecode 0x1e77d6e5468381b3>) #<forge-gitlab-repository forge-gitlab-repository-12f4badeca38>)
  #f(compiled-function (fn &rest args) (interactive nil) #<bytecode -0x47c0d2caa6e3469>)(#f(compiled-function (repo) (interactive #f(compiled-function () #<bytecode 0x7aa611ef7e32>)) #<bytecode 0x1e77d6e5468381b3>) #<forge-gitlab-repository forge-gitlab-repository-12f4badeca38>)
  funcall-interactively(#f(compiled-function (fn &rest args) (interactive nil) #<bytecode -0x47c0d2caa6e3469>) #f(compiled-function (repo) (interactive #f(compiled-function () #<bytecode 0x7aa611ef7e32>)) #<bytecode 0x1e77d6e5468381b3>) #<forge-gitlab-repository forge-gitlab-repository-12f4badeca38>)
  apply(funcall-interactively #f(compiled-function (fn &rest args) (interactive nil) #<bytecode -0x47c0d2caa6e3469>) (#f(compiled-function (repo) (interactive #f(compiled-function () #<bytecode 0x7aa611ef7e32>)) #<bytecode 0x1e77d6e5468381b3>) #<forge-gitlab-repository forge-gitlab-repository-12f4badeca38>))
  #[128 "\302\303\304!\203\13\0\305\202\f\0\306\300\3#\207" [#[385 "\305\306\300\301\303$\216\307\34\302\205\21\0\310\302\311\"\211\205.\0\310\302\312\"\206.\0\310\302\313\"\206.\0\310\1\312\"\206.\0\310\1\313\"\211\203:\0\314\1\5\5#\202>\0\314\4\4\"*\207" [(#0) #s(transient-prefix #s(transient-prefix eieio--unbound forge-add-repository eieio--unbound eieio--unbound eieio--unbound eieio--unbound nil nil nil 0 nil nil nil nil nil nil eieio--unbound t nil nil eieio--unbound nil eieio--unbound nil nil nil) forge-add-repository 4 eieio--unbound nil eieio--unbound nil ((repo . #s(forge-gitlab-repository nil "Z2l0bGFiLmNvbTppbnZvbGkvYXBwbGljYXRpb25zL2Fkc2J4LW1pcnJvcg==" "involi/applications/adsbx-mirror" "gitlab.com" "involi/applications" "adsbx-mirror" "gitlab.com/api/v4" "gitlab.com" "origin" :stub nil nil nil nil nil nil nil nil nil nil nil nil t nil nil nil eieio--unbound eieio--unbound eieio--unbound eieio--unbound eieio--unbound eieio--unbound nil "/home/dcome/source/applications/adsbx-mirror/" eieio--unbound nil nil nil eieio--unbound eieio--unbound nil nil)) (wtree . "/home/dcome/source/applications/adsbx-mirror/") (condition . :stub) (:tracked) (:untracked :stub) (topdir . "/home/dcome/source/applications/adsbx-mirror/") (url . "https://gitlab.com/involi/applications/adsbx-mirror")) (nil) 0 nil nil nil nil nil nil eieio--unbound t nil nil eieio--unbound nil eieio--unbound nil nil nil) #s(transient-suffix #s(transient-column #s(transient-subgroups nil 1 nil nil nil nil nil nil nil nil nil transient-inapt-suffix nil nil nil nil nil nil nil nil nil nil (#5 #s(transient-column #6 1 nil nil nil nil nil nil nil nil nil transient-inapt-suffix nil nil nil nil nil nil nil nil nil nil (#s(transient-suffix #8 1 nil nil nil nil nil nil nil nil nil transient-inapt-suffix nil nil nil nil nil nil nil nil nil nil "o" forge-add-some-repository eieio--unbound " %k %d" "Add another repository" nil nil nil)) nil nil nil nil eieio--unbound)) nil nil nil nil eieio--unbound) 1 #[0 "\300\301!\207" [forge--scope :untracked] 2] nil nil nil nil nil nil nil nil transient-inapt-suffix nil nil nil nil nil nil nil nil nil nil (#s(magit--git-variable:choices #5 1 nil nil nil nil nil nil nil nil nil transient-inapt-suffix nil nil nil nil nil nil nil nil nil nil "r" forge-forge.remote t " %k from %d %v," nil 'bold nil nil eieio--unbound eieio--unbound nil eieio--unbound nil nil nil nil nil nil nil magit-list-remotes "forge.remote" ((repo . #s(forge-gitlab-repository nil "Z2l0bGFiLmNvbTppbnZvbGkvYXBwbGljYXRpb25zL2Fkc2J4LW1pcnJvcg==" "involi/applications/adsbx-mirror" "gitlab.com" "involi/applications" "adsbx-mirror" "gitlab.com/api/v4" "gitlab.com" "origin" :stub nil nil nil nil nil nil nil nil nil nil nil nil t nil nil nil eieio--unbound eieio--unbound eieio--unbound eieio--unbound eieio--unbound eieio--unbound nil "/home/dcome/source/applications/adsbx-mirror/" eieio--unbound nil nil nil eieio--unbound eieio--unbound nil nil)) (wtree . "/home/dcome/source/applications/adsbx-mirror/") (condition . :stub) (:tracked) (:untracked :stub) (topdir . "/home/dcome/source/applications/adsbx-mirror/") (url . "https://gitlab.com/involi/applications/adsbx-mirror")) nil #[257 "\300\301\211\"\207" [forge--get-remote t] 4 "\n\n(fn _)"] nil) #4 #s(transient-suffix #5 1 nil nil nil nil nil nil nil nil nil transient-inapt-suffix nil nil nil nil nil nil nil nil nil nil "s" transient:forge-add-repository::28 eieio--unbound " %k %d" "pulling only topics since <date>" nil nil nil) #s(transient-suffix #5 1 nil nil nil nil nil nil nil nil nil transient-inapt-suffix nil nil nil nil nil nil nil nil nil nil "i" transient:forge-add-repository::29 eieio--unbound " %k %d" "to allow pulling of individual topics" nil nil nil)) nil #[0 "\300\301\302\303\304#\301\305\306!\303\307#\"\207" [format propertize "Adding %s to database," face transient-heading forge--scope url bold] 6] nil nil eieio--unbound) 1 nil nil nil nil nil nil nil nil nil transient-inapt-suffix nil nil nil nil nil nil nil nil nil nil "a" transient:forge-add-repository::27 eieio--unbound " %k %d" "pulling all topics" nil nil nil) transient:forge-add-repository::27 debugger make-closure #[0 "\303\301\304\"\211\203\20\0\305\306!\210\211\302!\210\210\3029\203(\0\307\302K\300\242\"\211\302K=\204'\0\302\1M\210\210\310\301\304\311#\207" [V0 V1 V2 eieio-oref unwind-suffix transient--debug unwind-command advice--remove-function eieio-oset nil] 4] transient--exit-and-debug eieio-oref parent advice advice* apply] 8 "\n\n(fn FN &rest ARGS)" nil] '#[257 "\305C\306\307\2\300\301\303%\216\310\34\302\205\24\0\311\302\312\"\211\205#\0\311\302\313\"\206#\0\311\1\313\"\211\203.\0\211\314\5\"\2021\0\314\4!)\266\202\1\315\240)\210\207" [(#0) #s(transient-prefix #s(transient-prefix eieio--unbound forge-add-repository eieio--unbound eieio--unbound eieio--unbound eieio--unbound nil nil nil 0 nil nil nil nil nil nil eieio--unbound t nil nil eieio--unbound nil eieio--unbound nil nil nil) forge-add-repository 4 eieio--unbound nil eieio--unbound nil ((repo . #s(forge-gitlab-repository nil "Z2l0bGFiLmNvbTppbnZvbGkvYXBwbGljYXRpb25zL2Fkc2J4LW1pcnJvcg==" "involi/applications/adsbx-mirror" "gitlab.com" "involi/applications" "adsbx-mirror" "gitlab.com/api/v4" "gitlab.com" "origin" :stub nil nil nil nil nil nil nil nil nil nil nil nil t nil nil nil eieio--unbound eieio--unbound eieio--unbound eieio--unbound eieio--unbound eieio--unbound nil "/home/dcome/source/applications/adsbx-mirror/" eieio--unbound nil nil nil eieio--unbound eieio--unbound nil nil)) (wtree . "/home/dcome/source/applications/adsbx-mirror/") (condition . :stub) (:tracked) (:untracked :stub) (topdir . "/home/dcome/source/applications/adsbx-mirror/") (url . "https://gitlab.com/involi/applications/adsbx-mirror")) (nil) 0 nil nil nil nil nil nil eieio--unbound t nil nil eieio--unbound nil eieio--unbound nil nil nil) #s(transient-suffix #s(transient-column #s(transient-subgroups nil 1 nil nil nil nil nil nil nil nil nil transient-inapt-suffix nil nil nil nil nil nil nil nil nil nil (#5 #s(transient-column #6 1 nil nil nil nil nil nil nil nil nil transient-inapt-suffix nil nil nil nil nil nil nil nil nil nil (#s(transient-suffix #8 1 nil nil nil nil nil nil nil nil nil transient-inapt-suffix nil nil nil nil nil nil nil nil nil nil "o" forge-add-some-repository eieio--unbound " %k %d" "Add another repository" nil nil nil)) nil nil nil nil eieio--unbound)) nil nil nil nil eieio--unbound) 1 #[0 "\300\301!\207" [forge--scope :untracked] 2] nil nil nil nil nil nil nil nil transient-inapt-suffix nil nil nil nil nil nil nil nil nil nil (#s(magit--git-variable:choices #5 1 nil nil nil nil nil nil nil nil nil transient-inapt-suffix nil nil nil nil nil nil nil nil nil nil "r" forge-forge.remote t " %k from %d %v," nil 'bold nil nil eieio--unbound eieio--unbound nil eieio--unbound nil nil nil nil nil nil nil magit-list-remotes "forge.remote" ((repo . #s(forge-gitlab-repository nil "Z2l0bGFiLmNvbTppbnZvbGkvYXBwbGljYXRpb25zL2Fkc2J4LW1pcnJvcg==" "involi/applications/adsbx-mirror" "gitlab.com" "involi/applications" "adsbx-mirror" "gitlab.com/api/v4" "gitlab.com" "origin" :stub nil nil nil nil nil nil nil nil nil nil nil nil t nil nil nil eieio--unbound eieio--unbound eieio--unbound eieio--unbound eieio--unbound eieio--unbound nil "/home/dcome/source/applications/adsbx-mirror/" eieio--unbound nil nil nil eieio--unbound eieio--unbound nil nil)) (wtree . "/home/dcome/source/applications/adsbx-mirror/") (condition . :stub) (:tracked) (:untracked :stub) (topdir . "/home/dcome/source/applications/adsbx-mirror/") (url . "https://gitlab.com/involi/applications/adsbx-mirror")) nil #[257 "\300\301\211\"\207" [forge--get-remote t] 4 "\n\n(fn _)"] nil) #4 #s(transi
6823
ent-suffix #5 1 nil nil nil nil nil nil nil nil nil transient-inapt-suffix nil nil nil nil nil nil nil nil nil nil "s" transient:forge-add-repository::28 eieio--unbound " %k %d" "pulling only topics since <date>" nil nil nil) #s(transient-suffix #5 1 nil nil nil nil nil nil nil nil nil transient-inapt-suffix nil nil nil nil nil nil nil nil nil nil "i" transient:forge-add-repository::29 eieio--unbound " %k %d" "to allow pulling of individual topics" nil nil nil)) nil #[0 "\300\301\302\303\304#\301\305\306!\303\307#\"\207" [format propertize "Adding %s to database," face transient-heading forge--scope url bold] 6] nil nil eieio--unbound) 1 nil nil nil nil nil nil nil nil nil transient-inapt-suffix nil nil nil nil nil nil nil nil nil nil "a" transient:forge-add-repository::27 eieio--unbound " %k %d" "pulling all topics" nil nil nil) transient:forge-add-repository::27 debugger t make-closure #[0 "\300\242\2052\0\304\302\305\"\211\203\25\0\306\307!\210\211\303!\210\210\3039\203-\0\310\303K\301\242\"\211\303K=\204,\0\303\1M\210\210\311\302\305\312#\207" [V0 V1 V2 V3 eieio-oref unwind-suffix transient--debug unwind-interactive advice--remove-function eieio-oset nil] 4] transient--exit-and-debug eieio-oref parent advice* advice-eval-interactive-spec nil] 8 "\n\n(fn SPEC)"] apply called-interactively-p any funcall-interactively funcall] 5 cconv--interactive-helper](#f(compiled-function (repo) (interactive #f(compiled-function () #<bytecode 0x7aa611ef7e32>)) #<bytecode 0x1e77d6e5468381b3>) #<forge-gitlab-repository forge-gitlab-repository-12f4badeca38>)
  apply(#[128 "\302\303\304!\203\13\0\305\202\f\0\306\300\3#\207" [#[385 "\305\306\300\301\303$\216\307\34\302\205\21\0\310\302\311\"\211\205.\0\310\302\312\"\206.\0\310\302\313\"\206.\0\310\1\312\"\206.\0\310\1\313\"\211\203:\0\314\1\5\5#\202>\0\314\4\4\"*\207" [(#0) #s(transient-prefix #s(transient-prefix eieio--unbound forge-add-repository eieio--unbound eieio--unbound eieio--unbound eieio--unbound nil nil nil 0 nil nil nil nil nil nil eieio--unbound t nil nil eieio--unbound nil eieio--unbound nil nil nil) forge-add-repository 4 eieio--unbound nil eieio--unbound nil (... ... ... ... ... ... ...) (nil) 0 nil nil nil nil nil nil eieio--unbound t nil nil eieio--unbound nil eieio--unbound nil nil nil) #s(transient-suffix #s(transient-column #s(transient-subgroups nil 1 nil nil nil nil nil nil nil nil nil transient-inapt-suffix nil nil nil nil nil nil nil nil nil nil ... nil nil nil nil eieio--unbound) 1 #[0 "\300\301!\207" [forge--scope :untracked] 2] nil nil nil nil nil nil nil nil transient-inapt-suffix nil nil nil nil nil nil nil nil nil nil ... nil #[0 "\300\301\302\303\304#\301\305\306!\303\307#\"\207" [format propertize "Adding %s to database," face transient-heading forge--scope url bold] 6] nil nil eieio--unbound) 1 nil nil nil nil nil nil nil nil nil transient-inapt-suffix nil nil nil nil nil nil nil nil nil nil "a" transient:forge-add-repository::27 eieio--unbound " %k %d" "pulling all topics" nil nil nil) transient:forge-add-repository::27 debugger make-closure #[0 "\303\301\304\"\211\203\20\0\305\306!\210\211\302!\210\210\3029\203(\0\307\302K\300\242\"\211\302K=\204'\0\302\1M\210\210\310\301\304\311#\207" [V0 V1 V2 eieio-oref unwind-suffix transient--debug unwind-command advice--remove-function eieio-oset nil] 4] transient--exit-and-debug eieio-oref parent advice advice* apply] 8 "\n\n(fn FN &rest ARGS)" nil] '#[257 "\305C\306\307\2\300\301\303%\216\310\34\302\205\24\0\311\302\312\"\211\205#\0\311\302\313\"\206#\0\311\1\313\"\211\203.\0\211\314\5\"\2021\0\314\4!)\266\202\1\315\240)\210\207" [(#0) #s(transient-prefix #s(transient-prefix eieio--unbound forge-add-repository eieio--unbound eieio--unbound eieio--unbound eieio--unbound nil nil nil 0 nil nil nil nil nil nil eieio--unbound t nil nil eieio--unbound nil eieio--unbound nil nil nil) forge-add-repository 4 eieio--unbound nil eieio--unbound nil (... ... ... ... ... ... ...) (nil) 0 nil nil nil nil nil nil eieio--unbound t nil nil eieio--unbound nil eieio--unbound nil nil nil) #s(transient-suffix #s(transient-column #s(transient-subgroups nil 1 nil nil nil nil nil nil nil nil nil transient-inapt-suffix nil nil nil nil nil nil nil nil nil nil ... nil nil nil nil eieio--unbound) 1 #[0 "\300\301!\207" [forge--scope :untracked] 2] nil nil nil nil nil nil nil nil transient-inapt-suffix nil nil nil nil nil nil nil nil nil nil ... nil #[0 "\300\301\302\303\304#\301\305\306!\303\307#\"\207" [format propertize "Adding %s to database," face transient-heading forge--scope url bold] 6] nil nil eieio--unbound) 1 nil nil nil nil nil nil nil nil nil transient-inapt-suffix nil nil nil nil nil nil nil nil nil nil "a" transient:forge-add-repository::27 eieio--unbound " %k %d" "pulling all topics" nil nil nil) transient:forge-add-repository::27 debugger t make-closure #[0 "\300\242\2052\0\304\302\305\"\211\203\25\0\306\307!\210\211\303!\210\210\3039\203-\0\310\303K\301\242\"\211\303K=\204,\0\303\1M\210\210\311\302\305\312#\207" [V0 V1 V2 V3 eieio-oref unwind-suffix transient--debug unwind-interactive advice--remove-function eieio-oset nil] 4] transient--exit-and-debug eieio-oref parent advice* advice-eval-interactive-spec nil] 8 "\n\n(fn SPEC)"] apply called-interactively-p any funcall-interactively funcall] 5 cconv--interactive-helper] #f(compiled-function (repo) (interactive #f(compiled-function () #<bytecode 0x7aa611ef7e32>)) #<bytecode 0x1e77d6e5468381b3>) #<forge-gitlab-repository forge-gitlab-repository-12f4badeca38>)
  transient:forge-add-repository::27(#<forge-gitlab-repository forge-gitlab-repository-12f4badeca38>)
  funcall-interactively(transient:forge-add-repository::27 #<forge-gitlab-repository forge-gitlab-repository-12f4badeca38>)
  call-interactively(transient:forge-add-repository::27 nil nil)
  command-execute(transient:forge-add-repository::27)

Thanks !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0