Panora icon indicating copy to clipboard operation
Panora copied to clipboard

Handle Pagination For Gitlab Connector.

Open rajesh-jonnalagadda opened this issue 9 months ago • 4 comments

Describe the bug While I was addressing bounty ticket #367 , it seems that @mit-27 completed it ahead of me. However, it appears that some changes related to pagination were missed during the initial completion. Since I've already invested time in understanding and implementing pagination for this ticket, I'd like to review and address any necessary fixes if needed, to ensure that the solution meets the project requirements thoroughly.

screenshots Screenshot from 2024-05-14 21-54-24

Additional context

  1. Gitlab integration needs pagination handling.
  2. While syncing it may encounter http status 500 error as we hit the API multiple times. so it needs retry mechanism.

https://docs.gitlab.com/ee/api/rest/index.html#pagination

rajesh-jonnalagadda avatar May 14 '24 16:05 rajesh-jonnalagadda

@rflihxyz ^^ Please assign it to me if it is a valid issue.

rajesh-jonnalagadda avatar May 14 '24 16:05 rajesh-jonnalagadda

@rajeshj11 Ok cool ! work on it considering @mit-27 's work and I'll compensate as well !

naelob avatar May 14 '24 20:05 naelob

Thanks , will raise pr and let you know

On Wed, 15 May 2024, 02:19 nael, @.***> wrote:

@rajeshj11 https://github.com/rajeshj11 Ok cool ! work on it considering @mit-27 https://github.com/mit-27 's work and I'll compensate as well !

— Reply to this email directly, view it on GitHub https://github.com/panoratech/Panora/issues/428#issuecomment-2111116260, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJHVFCHHW2GGTWZDBN7VMV3ZCJ2HPAVCNFSM6AAAAABHWQ2ZGOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJRGEYTMMRWGA . You are receiving this because you were mentioned.Message ID: @.***>

rajesh-jonnalagadda avatar May 15 '24 03:05 rajesh-jonnalagadda

@naelob please review https://github.com/panoratech/Panora/pull/429

rajesh-jonnalagadda avatar May 15 '24 09:05 rajesh-jonnalagadda

Hello, @rajeshj11

Thanks for that contribution! We really do appreciate that. We're currently evaluating multiple types of pagination for our API : cursor-based, and offset based. We haven't made a decision yet about which approach to take, for that reason, we can not accept this contribution immediately.

Do you want us to update you once we move to that feature? I just created this issue to discuss it.

rflihxyz avatar May 16 '24 04:05 rflihxyz