Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking β€œSign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bitbucket as a repository content collection source #3226

Merged
merged 3 commits into from
Mar 7, 2025

Conversation

olafmaltha017
Copy link
Contributor

@olafmaltha017 olafmaltha017 commented Mar 6, 2025 β€’

πŸ”— Linked issue:

resolves #3217

❓ Type of change: Enhancement

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

Added additional method that allows for using bitbucket as a repository source using the bitbucket api for downloading repository as a zip/gz file (https://confluence.atlassian.com/bbkb/how-to-download-repositories-using-the-api-1188780893.html). As far as I know bitbucket only allows for downloading the entire branch or specifically uploaded files via a different API. These changes allow for downloading all the files of a specific branch.

Makes it easier to use bitbucket as a content collection source.

#3217

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

Sorry, something went wrong.

Olaf Maltha added 2 commits March 6, 2025 19:18
Copy link

pkg-pr-new bot commented Mar 6, 2025 β€’

npm i https://pkg.pr.new/@nuxt/content@3226

commit: 7ac86fe

Copy link
Member

@farnabaz farnabaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@farnabaz farnabaz merged commit 55b0e5b into nuxt:main Mar 7, 2025
3 checks passed
@olafmaltha017 olafmaltha017 deleted the feat/bitbucket-repository-source branch March 7, 2025 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Custom source Bitbucket repository - add bitbucket variants of defineGitHubSource and parseGitHubUrl
2 participants