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

Synclist deprecation #3708

Merged
merged 7 commits into from
May 24, 2023
Merged

Conversation

ShaiahWren
Copy link
Contributor

@ShaiahWren ShaiahWren commented May 9, 2023

This pr addresses some of the issues in https://issues.redhat.com/browse/AAH-2335.

@ShaiahWren ShaiahWren requested a review from awcrosby May 9, 2023 17:58
@github-actions github-actions bot added backport-4.6 This PR should be backported to stable-4.6 (2.3) backport-4.7 This PR should be backported to stable-4.7 (2.4) labels May 9, 2023
@ShaiahWren ShaiahWren marked this pull request as draft May 9, 2023 17:59
@ShaiahWren ShaiahWren requested a review from himdel May 9, 2023 18:09
</Trans>
</p>
<ClipboardCopy isReadOnly>{getRepoUrl('published')}</ClipboardCopy>
<ClipboardCopy isReadOnly>{`${getRepoUrl(
Copy link
Contributor

Choose a reason for hiding this comment

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

does this change what is displayed (an therefore copied in the clipboard) or just change what is copied?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it changes both :)

@@ -62,7 +62,7 @@ const App = (_props) => {
<Alert
isInline
variant='info'
title={t`The Automation Hub sync toggle is now only supported in AAP 2.0. Previous versions of AAP will continue automatically syncing all collections.`}
title={t`Use the Repositories page to sync collections curated by your organization to the Red Hat Certified repository in your private Automation Hub. Users with the correct permissions can use the sync toggles on the Collections page to control which collections are added to their organization's sync repository.`}
Copy link
Contributor

@awcrosby awcrosby May 11, 2023

Choose a reason for hiding this comment

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

The suggestion for "Use the Repositories page..." is for the text located here:

Use the{' '}
<Link to={formatPath(Paths.ansibleRepositories)}>
Repositories
</Link>{' '}
page to sync collections curated by your organization to the Red
Hat Certified repository in your private Automation Hub. Users
with the correct permissions can use the sync toggles on the{' '}
<Link to={formatPath(Paths.collections)}>Collections</Link> page
to control which collections are added to their
organization&apos;s sync repository.

@ShaiahWren ShaiahWren force-pushed the synclist-deprecation branch 6 times, most recently from 48301a6 to 1ff3421 Compare May 16, 2023 18:24
@himdel himdel added insights insights-only feature and removed backport-4.6 This PR should be backported to stable-4.6 (2.3) backport-4.7 This PR should be backported to stable-4.7 (2.4) labels May 18, 2023
@ShaiahWren ShaiahWren marked this pull request as ready for review May 19, 2023 14:58
@ShaiahWren ShaiahWren requested a review from awcrosby May 22, 2023 15:04
<ClipboardCopy isReadOnly>{getRepoUrl('published')}</ClipboardCopy>
<ClipboardCopy isReadOnly>{`${getRepoUrl(
'published',
)}content/published`}</ClipboardCopy>
Copy link
Collaborator

@himdel himdel May 23, 2023

Choose a reason for hiding this comment

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

This bit will need a rebase, there's a conflict now. (getRepoUrl vs getRepoURL)

But .. this may be the wrong place to add extra bits ... the getRepoURL function deliberately skips content/published when dealing with the published repo .. if there is a situation when it shouldn't skip it, it should be a param.

(Is there a reason to use .../content/published or will this work with the default?)

Copy link
Contributor Author

@ShaiahWren ShaiahWren May 24, 2023

Choose a reason for hiding this comment

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

https://issues.redhat.com/browse/AAH-2335 This might help - "Change the displayed URL from https://console.stage.redhat.com/api/automation-hub/ to https://console.stage.redhat.com/api/automation-hub/content/published/ so it is clear they are getting content under "published" repo since now there are 2 repos to choose from."

Verified

This commit was created on github.com and signed with GitHub’s verified signature. The key has expired.
Issue: AAH-2335
Issue: AAH-2335
Issue: AAH-2335
@ShaiahWren ShaiahWren force-pushed the synclist-deprecation branch from 1ff3421 to 3bd81ad Compare May 24, 2023 17:39
@ShaiahWren ShaiahWren requested a review from himdel May 24, 2023 17:43
@ShaiahWren ShaiahWren merged commit 0e31a92 into ansible:master May 24, 2023
@ShaiahWren ShaiahWren deleted the synclist-deprecation branch May 24, 2023 18:42
himdel added a commit to himdel/ansible-hub-ui that referenced this pull request Jan 9, 2024
reverts ansible#4198 / reapplies ansible#3708, ansible#3346, ansible#3893

(AAP 2.3 is EOL, no need to support it on cloud)
himdel added a commit to himdel/ansible-hub-ui that referenced this pull request Jan 12, 2024
reverts ansible#4198 / reapplies ansible#3708, ansible#3346, ansible#3893

(AAP 2.3 is EOL, no need to support it on cloud)
himdel added a commit to himdel/ansible-hub-ui that referenced this pull request Feb 9, 2024
reverts ansible#4198 / reapplies ansible#3708, ansible#3346, ansible#3893

(AAP 2.3 is EOL, no need to support it on cloud)
himdel added a commit to himdel/ansible-hub-ui that referenced this pull request Feb 9, 2024
reverts ansible#4198 / reapplies ansible#3708, ansible#3346, ansible#3893

(AAP 2.3 is EOL, no need to support it on cloud)
himdel added a commit to himdel/ansible-hub-ui that referenced this pull request Mar 1, 2024
reverts ansible#4198 / reapplies ansible#3708, ansible#3346, ansible#3893

(AAP 2.3 is EOL, no need to support it on cloud)

keep 2.4 synclist deprecation notice
himdel added a commit to himdel/ansible-hub-ui that referenced this pull request Mar 19, 2024
reverts ansible#4198 / reapplies ansible#3708, ansible#3346, ansible#3893

(AAP 2.3 is EOL, no need to support it on cloud)

keep 2.4 synclist deprecation notice
himdel added a commit to himdel/ansible-hub-ui that referenced this pull request Mar 19, 2024
reverts ansible#4198 / reapplies ansible#3708, ansible#3346, ansible#3893

(AAP 2.3 is EOL, no need to support it on cloud)

keep 2.4 synclist deprecation notice
himdel added a commit to himdel/ansible-hub-ui that referenced this pull request Apr 29, 2024
reverts ansible#4198 / reapplies ansible#3708, ansible#3346, ansible#3893

(AAP 2.3 is EOL, no need to support it on cloud)

keep 2.4 synclist deprecation notice
himdel added a commit to himdel/ansible-hub-ui that referenced this pull request Apr 29, 2024
reverts ansible#4198 / reapplies ansible#3708, ansible#3346, ansible#3893

(AAP 2.3 is EOL, no need to support it on cloud)

keep 2.4 synclist deprecation notice
himdel added a commit to himdel/ansible-hub-ui that referenced this pull request May 31, 2024
reverts ansible#4198 / reapplies ansible#3708, ansible#3346, ansible#3893

(AAP 2.3 is EOL, no need to support it on cloud)

keep 2.4 synclist deprecation notice
himdel added a commit that referenced this pull request May 31, 2024
* Update tooling for 4.6 eol

No-Issue

* Token insights - remove MyDistribution query, drop synclist url

reverts #4198 / reapplies #3708, #3346, #3893

(AAP 2.3 is EOL, no need to support it on cloud)

keep 2.4 synclist deprecation notice
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
insights insights-only feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants