Skip to content

Commit

Permalink
Sync with Package Control
Browse files Browse the repository at this point in the history
  • Loading branch information
deathaxe committed Sep 13, 2023
1 parent b287923 commit 4f4e861
Show file tree
Hide file tree
Showing 12 changed files with 749 additions and 1,030 deletions.
2 changes: 1 addition & 1 deletion app/lib/package_control/clients/bitbucket_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def _get_releases(user_repo, tag_prefix, page_size=100):

output.append(self._make_download_info(user_repo, tag, str(version), timestamp))

num_releases += not version.prerelease
num_releases += version.is_final
if max_releases > 0 and num_releases >= max_releases:
break

Expand Down
2 changes: 1 addition & 1 deletion app/lib/package_control/clients/github_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def _get_releases(user_repo, tag_prefix=None, page_size=1000):

output.append(self._make_download_info(user_repo, tag, str(version), timestamp))

num_releases += not version.prerelease
num_releases += version.is_final
if max_releases > 0 and num_releases >= max_releases:
break

Expand Down
2 changes: 1 addition & 1 deletion app/lib/package_control/clients/gitlab_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def _get_releases(user_repo, tag_prefix=None, page_size=1000):

output.append(self._make_download_info(user_name, repo_name, tag, str(version), timestamp))

num_releases += not version.prerelease
num_releases += version.is_final
if max_releases > 0 and num_releases >= max_releases:
break

Expand Down
Loading

0 comments on commit 4f4e861

Please sign in to comment.