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

Add support for downloading Windows DLLs from Bitbucket #138

Open
mbabker opened this issue Nov 26, 2024 · 3 comments
Open

Add support for downloading Windows DLLs from Bitbucket #138

mbabker opened this issue Nov 26, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request needs reporter feedback Needs details or feedback to be added by reporter

Comments

@mbabker
Copy link

mbabker commented Nov 26, 2024

"Promoting" #110 (comment) up to its own feature request as that thread seems more focused on Private Packagist (or other Packagist-like repos) than this one.

I was going to open a feature request for the event extension to add support for PIE, but as they use Bitbucket, they wouldn't be able to add Windows support at this time.

@asgrim asgrim added the enhancement New feature or request label Nov 26, 2024
@asgrim asgrim changed the title Add support for downloading release assets from platforms other than GitHub Add support for downloading release assets from Bitbucket Nov 26, 2024
@asgrim
Copy link
Collaborator

asgrim commented Nov 26, 2024

Thanks @mbabker - I'll treat this as a specific ask for Bitbucket support; we can add this, I'd rather add support for specific repo providers if/when they come up, rather than just trying to support "everything" (e.g. lets say we add Gitlab support, but then no-one uses it, it's kinda waste of time heh).

@asgrim asgrim changed the title Add support for downloading release assets from Bitbucket Add support for downloading Windows DLLs from Bitbucket Nov 26, 2024
@asgrim asgrim self-assigned this Nov 27, 2024
@macintoshplus

This comment has been minimized.

@asgrim asgrim modified the milestone: 0.4.0 Dec 24, 2024
@asgrim
Copy link
Collaborator

asgrim commented Jan 28, 2025

@mbabker sorry for the delay, I've been looking into Bitbucket, and it seems (unless I'm mistaken) they don't have the concept of a "release" like GitHub/GitLab where artifacts can be uploaded. However, there are general project downloads; for example https://bitbucket.org/asgrim/example-pie-repository/downloads/ could have the Windows DLL ZIP packages uploaded to it.

Just to note on this: GitHub does have php/php-windows-builder actions, which automatically builds and uploads. I don't believe there is anything similar for Bitbucket, so either someone would have to upload them manually in the correct expected format/naming.

That said, we can use Bitbucket API (https://developer.atlassian.com/cloud/bitbucket/rest/api-group-downloads/#api-group-downloads / https://developer.atlassian.com/cloud/bitbucket/rest/api-group-downloads/#api-repositories-workspace-repo-slug-downloads-filename-get) to fetch the downloads. Do you think that would work for the event extension?

@asgrim asgrim added the needs reporter feedback Needs details or feedback to be added by reporter label Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs reporter feedback Needs details or feedback to be added by reporter
Projects
None yet
Development

No branches or pull requests

3 participants