Skip to content

readBytes for non-text files fail for non-GitHub providers. #6243

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

swingingsimian
Copy link
Collaborator

This PR highlights an issue with the newly exposed readBytes method as described in this issue.

The issue affects Gitea and Bitbucket, and I suspect others too. Likely any that provider that returns raw content, rather than a JSON response containing encoded content, as Github does.

…and failing GiteaRepositoryProviderTest for image readBytes
Copy link

netlify bot commented Jul 2, 2025

Deploy Preview for nextflow-docs-staging canceled.

Name Link
🔨 Latest commit 0c13994
🔍 Latest deploy log https://app.netlify.com/projects/nextflow-docs-staging/deploys/686540b16924e300087bc64e

@pditommaso
Copy link
Member

Note that the test for GitHub is passing. You may want to have a deeper look why the Gitea is failing

@bentsherman
Copy link
Member

In the linked issue he also reported Bitbucket is failing, other providers haven't been tested

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.

readBytes does not support non-text files for non-Github providers
3 participants