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

Handle URL params for AptRepoFiles #3454

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

quba42
Copy link
Contributor

@quba42 quba42 commented Sep 11, 2024

This change allows 'AptRepoFiles' to handle URL parameters for "Components" and "Suites" giving it more flexibility rather than always using a fixed default value. If the URL supplied by Candlepin does not have any such URL parameters, then everything defaults back to the way it was before.

This change is needed to enable the following Katello feature: Katello/katello#11058

That being said, this change is fully backwards compatible and defines an interface that the Katello side PR will need to respect. The Katello PR is dependent on this PR, not the other way around.

This PR replaces the previous draft PR here: #3223

My apologies for the switch, the idea is to have both this and the Katello PR in the same hand, so I can better pursue the completion of both related PRs.

Copy link
Contributor

@ptoscano ptoscano left a comment

Choose a reason for hiding this comment

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

Thanks for the updates, although I'm a bit puzzled why the existing PR was closed (especially since the source branches of the old PR and this one are in ATIX fork...); anyway, this applies what I said back in the old PR: I'm switching it to draft, until the changes in katello are actually merged.

@ptoscano ptoscano marked this pull request as draft September 12, 2024 10:26
@quba42
Copy link
Contributor Author

quba42 commented Sep 12, 2024

I'm a bit puzzled why the existing PR was closed (especially since the source branches of the old PR and this one are in ATIX fork...);

The last time I adopted a previously opened PR, without opening a new PR, this created small frictions in communication (because it was less clear who was talking to whom). There were small annoyances like lack of ability to "resolve threads". So we decided to try re-opening this time around. Probably does not make a major difference. 😉

@quba42 quba42 force-pushed the handle_apt_repo_url_params branch 3 times, most recently from 6cf5ca0 to bb752ff Compare October 18, 2024 10:07
@quba42 quba42 marked this pull request as ready for review October 18, 2024 10:10
@quba42 quba42 force-pushed the handle_apt_repo_url_params branch from bb752ff to 5d83cd3 Compare October 18, 2024 10:12
@quba42
Copy link
Contributor Author

quba42 commented Oct 18, 2024

@ptoscano I have tried to answer your questions and implement the suggestions. Since the accompanying Katello change is now merged, I have undrafted the PR.

@quba42 quba42 requested a review from ptoscano October 18, 2024 10:15
@ptoscano
Copy link
Contributor

ptoscano commented Mar 4, 2025

Sorry for getting very late to this. Would you please rebase it on top of the current main, and enable the Maintainers are allowed to edit this pull request checkbox? (this way we can rebase it as needed)

Thanks!

This change allows 'AptRepoFiles' to handle URL parameters
for "Components" and "Suites" giving it more flexibility
rather than always using a fixed default value.
@quba42 quba42 force-pushed the handle_apt_repo_url_params branch from 5d83cd3 to babeec0 Compare March 4, 2025 17:23
@quba42
Copy link
Contributor Author

quba42 commented Mar 4, 2025

Would you please rebase it on top of the current main, and enable the Maintainers are allowed to edit this pull request checkbox? (this way we can rebase it as needed)

I rebased on top of main, but I am having trouble locating a Maintainers are allowed to edit this pull request checkbox. In page search came up empty. Co-pilot tells me it is supposed to be on the right hand side past the "Reviewers" and "Assignees" section. Either I am being blind, or it is not there for some reason.

Edit: Maybe I am hitting one of these: https://github.com/copilot/c/1178e017-b26c-4557-b504-4220dd923cec

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.

3 participants