Skip to content

[3006.x] Fix pkg.install when using a port in the url. - #64945

Merged
Ch3LL merged 3 commits into
saltstack:3006.xfrom
Ch3LL:fix_url
Aug 16, 2023
Merged

Ch3LL merged 3 commits into
saltstack:3006.xfrom
Ch3LL:fix_url

Conversation

@Ch3LL

@Ch3LL Ch3LL commented Aug 9, 2023 •

Copy link
Copy Markdown
Contributor

What does this PR do?

Removes : from url when creating the cache directory to save the file. apt does not handle : in directory names and windows does not allow it.

What issues does this PR fix or reference?

Fixes: #64516

Previous Behavior

Could not install a package with a source url with an port in it.

New Behavior

Can now install a package with a source with a url and a port in it.

@Ch3LL
Ch3LL requested a review from a team as a code owner August 9, 2023 14:37
@Ch3LL
Ch3LL requested review from dwoz and removed request for a team August 9, 2023 14:37
@welcome

welcome Bot commented Aug 9, 2023

Copy link
Copy Markdown

Hi there! Welcome to the Salt Community! Thank you for making your first contribution. We have a lengthy process for issues and PRs. Someone from the Core Team will follow up as soon as possible. In the meantime, here’s some information that may help as you continue your Salt journey.
Please be sure to review our Code of Conduct. Also, check out some of our community resources including:

There are lots of ways to get involved in our community. Every month, there are around a dozen opportunities to meet with other contributors and the Salt Core team and collaborate in real time. The best way to keep track is by subscribing to the Salt Community Events Calendar.
If you have additional questions, email us at [email protected]. We’re glad you’ve joined our community and look forward to doing awesome things with you!

@salt-project-bot-prod-environment salt-project-bot-prod-environment Bot changed the title Fix pkg.install when using a port in the url. [3006.x] Fix pkg.install when using a port in the url. Aug 9, 2023
@Ch3LL
Ch3LL temporarily deployed to ci August 9, 2023 14:53 — with GitHub Actions Inactive
@Ch3LL
Ch3LL temporarily deployed to ci August 9, 2023 14:53 — with GitHub Actions Inactive
@Ch3LL
Ch3LL temporarily deployed to ci August 9, 2023 14:54 — with GitHub Actions Inactive
@Ch3LL
Ch3LL temporarily deployed to ci August 9, 2023 14:55 — with GitHub Actions Inactive
@Ch3LL
Ch3LL temporarily deployed to ci August 9, 2023 15:08 — with GitHub Actions Inactive
@Ch3LL
Ch3LL temporarily deployed to ci August 9, 2023 15:11 — with GitHub Actions Inactive
@Ch3LL
Ch3LL temporarily deployed to ci August 9, 2023 16:01 — with GitHub Actions Inactive
@Ch3LL
Ch3LL temporarily deployed to ci August 9, 2023 16:01 — with GitHub Actions Inactive
@Ch3LL
Ch3LL temporarily deployed to ci August 9, 2023 16:01 — with GitHub Actions Inactive
@Ch3LL
Ch3LL temporarily deployed to ci August 9, 2023 16:01 — with GitHub Actions Inactive
@Ch3LL
Ch3LL temporarily deployed to ci August 9, 2023 16:02 — with GitHub Actions Inactive
@Ch3LL
Ch3LL temporarily deployed to ci August 9, 2023 16:02 — with GitHub Actions Inactive
@Ch3LL
Ch3LL temporarily deployed to ci August 9, 2023 16:28 — with GitHub Actions Inactive
@Ch3LL
Ch3LL temporarily deployed to ci August 9, 2023 16:28 — with GitHub Actions Inactive
@Ch3LL
Ch3LL temporarily deployed to ci August 9, 2023 16:28 — with GitHub Actions Inactive
@Ch3LL
Ch3LL temporarily deployed to ci August 9, 2023 16:28 — with GitHub Actions Inactive
@Ch3LL
Ch3LL temporarily deployed to ci August 9, 2023 16:28 — with GitHub Actions Inactive
@Ch3LL
Ch3LL temporarily deployed to ci August 9, 2023 16:28 — with GitHub Actions Inactive
@Ch3LL
Ch3LL temporarily deployed to ci August 14, 2023 18:22 — with GitHub Actions Inactive
@Ch3LL
Ch3LL temporarily deployed to ci August 14, 2023 18:22 — with GitHub Actions Inactive
@Ch3LL
Ch3LL temporarily deployed to ci August 14, 2023 18:22 — with GitHub Actions Inactive
@Ch3LL
Ch3LL temporarily deployed to ci August 14, 2023 18:37 — with GitHub Actions Inactive
@Ch3LL
Ch3LL temporarily deployed to ci August 14, 2023 18:40 — with GitHub Actions Inactive
@Ch3LL
Ch3LL temporarily deployed to ci August 15, 2023 17:33 — with GitHub Actions Inactive
@Ch3LL
Ch3LL temporarily deployed to ci August 15, 2023 17:33 — with GitHub Actions Inactive
@Ch3LL
Ch3LL temporarily deployed to ci August 15, 2023 17:33 — with GitHub Actions Inactive
@Ch3LL
Ch3LL temporarily deployed to ci August 15, 2023 17:33 — with GitHub Actions Inactive
@Ch3LL
Ch3LL temporarily deployed to ci August 15, 2023 17:33 — with GitHub Actions Inactive
@Ch3LL
Ch3LL temporarily deployed to ci August 15, 2023 18:20 — with GitHub Actions Inactive
@Ch3LL
Ch3LL temporarily deployed to ci August 15, 2023 18:20 — with GitHub Actions Inactive
@Ch3LL
Ch3LL temporarily deployed to ci August 15, 2023 18:20 — with GitHub Actions Inactive
@Ch3LL
Ch3LL temporarily deployed to ci August 15, 2023 18:20 — with GitHub Actions Inactive
@Ch3LL
Ch3LL temporarily deployed to ci August 15, 2023 18:20 — with GitHub Actions Inactive
@Ch3LL
Ch3LL temporarily deployed to ci August 15, 2023 18:20 — with GitHub Actions Inactive
with fileclient.get_file_client(minion_opts) as client:
# Authenticate must return true
client.auth.authenticate = mock_auth
# Crypticla must return bytes to pass to transport.RequestClient.send

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
# Crypticla must return bytes to pass to transport.RequestClient.send
# Crypticle must return bytes to pass to transport.RequestClient.send

@Ch3LL
Ch3LL temporarily deployed to ci August 15, 2023 22:20 — with GitHub Actions Inactive
@Ch3LL
Ch3LL temporarily deployed to ci August 15, 2023 22:20 — with GitHub Actions Inactive
@Ch3LL
Ch3LL temporarily deployed to ci August 15, 2023 22:20 — with GitHub Actions Inactive
@Ch3LL
Ch3LL temporarily deployed to ci August 15, 2023 22:34 — with GitHub Actions Inactive
@Ch3LL
Ch3LL temporarily deployed to ci August 15, 2023 22:41 — with GitHub Actions Inactive
@Ch3LL
Ch3LL temporarily deployed to ci August 15, 2023 22:44 — with GitHub Actions Inactive
@Ch3LL
Ch3LL temporarily deployed to ci August 16, 2023 00:06 — with GitHub Actions Inactive
@Ch3LL
Ch3LL temporarily deployed to ci August 16, 2023 00:06 — with GitHub Actions Inactive

This branch was previously deployed

1 inactive deployment
ci — 4580a45b Deployed Aug 16, 2023 by s0undt3ch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants