You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Implement incremental processing for GitHub-based URL updaters #2928
Based on the investigation in #2917, GitHub-based URL updaters can avoid retrieving already processed API pages by stopping pagination once an already known version is encountered.
The existing versions in the IDEasy URL repository can be used as the known state, so no additional state in status.json is required.
Proposed implementation
Load the versions already present in the URL repository before requesting GitHub API pages.
Retrieve GitHub results page by page.
Apply the existing version mapping/filtering before comparing results with known versions.
Stop requesting additional pages once an already known version is encountered.
Apply the optimization to both release- and tag-based GitHub URL updaters.
Acceptance criteria
Pagination stops when an already known version is encountered.
Version mapping is applied before comparing GitHub results with existing IDEasy versions.
No additional persistent state is required.
If no known version exists or is found, all pages are retrieved as before.
The optimization works for both GitHub Releases and Tags.
Tests verify that no additional API page is requested after a known version has been reached.
Activity
devonfw#2928: handle unordered GitHub tags