Skip to content

Update pull request and issues from cli #696

Answered by tarsius
braineo asked this question in Q&A
Discussion options

You must be logged in to vote

This snippet might help:

(pcase-dolist (`(,name ,id)
               (forge-sql [:select [name id] :from repository
                           :where (= class 'gitlab)
                           :order-by [(asc owner) (asc name)]]))
  (when-let ((repo (forge-get-repository :id id))
             ((forge-get-repository repo :tracked?)))
    (forge-pull repo)))

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@braineo
Comment options

@tarsius
Comment options

Answer selected by braineo
@braineo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants