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

[stable-4.7] Repository URL - always use distro base_path, show in detail screen (#3737) #3757

Merged
merged 1 commit into from
May 23, 2023

Conversation

himdel
Copy link
Collaborator

@himdel himdel commented May 22, 2023

Manual backport of #3691 + #3737


Repository URL - always use distro base_path, show in detail screen (#3737)

  • page#addAlert - support alert ids

  • getRepoURL - make it clear we need distribution_base_path, not repository name

and published alone is special, not pipeline:approved

and rename Url to URL

  • Copy CLI configuration - align with other implementation, use distro base_path

when item.distributions is missing, load distribution, and either copy or alert no distribution when item.distributions is available, use disabled not alert

(detail view will have distributions available, list won't)

  • AnsibleRepository detail - load distributions

  • repository detail - load distributions only once, show url too

  • Repository URL - use copy component

(cherry picked from commit 295e36d)


Fix getRepoUrl so that it takes a parameter and returns the correct url. (#3691)

  • Fix getRepoUrl so that it takes a parameter and returns the correct url.
  • Real equality.
  • Fix trailing backslash.

(cherry picked from commit 5d7c183)

…nsible#3737)

* page#addAlert - support alert ids

No-Issue

* getRepoURL - make it clear we need distribution_base_path, not repository name

and published alone is special, not pipeline:approved

and rename Url to URL

* Copy CLI configuration - align with other implementation, use distro base_path

when item.distributions is missing, load distribution, and either copy or alert no distribution
when item.distributions is available, use disabled not alert

(detail view will have distributions available, list won't)

* AnsibleRepository detail - load distributions

* repository detail - load distributions only once, show url too

* Repository URL - use copy component

(cherry picked from commit 295e36d)

Also backports:

Fix getRepoUrl so that it takes a parameter and returns the correct url. (ansible#3691)

* Fix getRepoUrl so that it takes a parameter and returns the correct url.
* Real equality.
* Fix trailing backslash.

No-Issue

Signed-off-by: James Tanner <tanner.jc@gmail.com>
(cherry picked from commit 5d7c183)
@himdel himdel merged commit 588d4a4 into ansible:stable-4.7 May 23, 2023
@himdel himdel deleted the 47-3737 branch May 23, 2023 18:10
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.

2 participants