Closed mlemerre closed 6 months ago
So I guess the safest fix is to drop that field the first time forge fetches the issues and pullreqs.
That's what the and-let*
in forge--fetch-pullreqs
is supposed to do. forge--topics-until
is supposed to return nil in that case.
I tried to reproduce but with the latest version all of this works as expected for me. Are you on the very latest snapshot release. A lot of things changed in recent weeks and months.
If you can reproduce after updating, add (message "-- %S" (forge--topics-until repo until 'pullreq))
before forge--glab-get
. The value should be nil, checking if actually is, would be the first step in investigating this.
Thanks for forge!
The fetchers for gitlab do not work on the first fetch. I got this error:
What I did was change forge--fetchpullreqs and forge--fetch-issues in forge-gitlab.el to remove the line beginning with (updated_after), and then it went fine.
Because it was re-fetching all the issues and pullreqs, I re-added the line after the first pull was complete, and it was working again.
So I guess the safest fix is to drop that field the first time forge fetches the issues and pullreqs.