Skip to content

Add URL Preview for Package Uploads #18166

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

Merged
merged 26 commits into from
May 6, 2025

Conversation

davidsanfal
Copy link
Contributor

@davidsanfal davidsanfal commented Apr 23, 2025

Changelog: Feature: Add URL information to json output format for conan upload.
Docs: conan-io/docs#4088
Close: #4935

Copy link
Member

@memsharded memsharded left a comment

Choose a reason for hiding this comment

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

I am not convinced about the current approach, feels a little to intrusive/pervasive.
I think it would be better to try to add the URLs at UploadUpstreamChecker().check() time.
The upload checker might have the capability of directly using the ClientV2Router(self.remote_url.rstrip("/")) to add the URL information to the package list at that stage.

@memsharded memsharded self-assigned this May 5, 2025
@memsharded memsharded added this to the 2.17.0 milestone May 5, 2025
@davidsanfal davidsanfal force-pushed the feature/dry-upload branch from 0e0f45e to aeced70 Compare May 5, 2025 14:53
@davidsanfal davidsanfal marked this pull request as ready for review May 6, 2025 07:13
@davidsanfal davidsanfal force-pushed the feature/dry-upload branch from 8bf6f14 to 63458a6 Compare May 6, 2025 07:57
Copy link
Member

@AbrilRBS AbrilRBS left a comment

Choose a reason for hiding this comment

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

Looks great, good job :)

@memsharded memsharded changed the title [WIP] Add URL Preview for Package Uploads with Dry-Run Flag Add URL Preview for Package Uploads with Dry-Run Flag May 6, 2025
@davidsanfal davidsanfal changed the title Add URL Preview for Package Uploads with Dry-Run Flag Add URL Preview for Package Uploads May 6, 2025
@memsharded memsharded merged commit 8e7a5ef into conan-io:develop2 May 6, 2025
15 checks passed
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.

Artifactory - Enable uploading packages via Web/REST interface
3 participants