-
Notifications
You must be signed in to change notification settings - Fork 40
Appropriate slug rename on update #342
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
Conversation
Signed-off-by: Andy Fragen <andy@thefragens.com>
|
Installing Git Updater by searching It ended up: Searching by DID appears to work fine though. |
|
Something more to test, thanks. |
1 similar comment
|
Something more to test, thanks. |
This worked fine for me. |
Signed-off-by: Andy Fragen <andy@thefragens.com>
Try it on the Playground link |
|
Sorry, but since I can't trace code in Playground, I have zero idea of what's happening and perhaps it's simply related to Playground. |
|
I see the issue. There is no DID associated with the Install button to later parse. |
|
Maybe AC can add the Plugin ID header to |
Yeah, noticing that myself too. That's not caused by this PR though. We're detecting and adding a DID to the release package cache whenever it's already installed on the site or when the user searches by the DID, but not if it appears in search results when they just search for a term. I'll get a PR up for this separate issue ASAP. For now, I'm going to try to work out why I was getting a different directory name outcome between this PR and 1.1.0. I'll either rule out this PR as the cause, or flag what's going on if in certain circumstances it causes a regression. |
|
It's because there's nothing from the DID cache and that's the standard zip from GitHub that we must rename. Since it's an install and not an update. We don't have the usual data. If the Plugin ID and Theme ID headers are passed in |
|
To test you will need to have |
|
Though We just need to add any FAIR packages that appear in the search results to the release package cache, as we already do for direct DID searches and for updates. The DID is available in the search result data. |
Signed-off-by: Andy Fragen <andy@thefragens.com>
|
Related fairpm/aspirecloud#18 |
Signed-off-by: Andy Fragen <andy@thefragens.com>
81bfaf3 to
70f18d4
Compare
Signed-off-by: Andy Fragen <andy@thefragens.com> add comment Signed-off-by: Andy Fragen <andy@thefragens.com> update comment Signed-off-by: Andy Fragen <andy@thefragens.com>
70f18d4 to
d9d355b
Compare
Signed-off-by: Andy Fragen <andy@thefragens.com>
Signed-off-by: Andy Fragen <andy@thefragens.com>
|
I've done some more testing since the recent updates and all paths I can think of seem to be working as intended now. |
Fixes a hard forced rename of a FAIR integrated package to the
slug-didhash. This can be problematic for previously installed and running packages that suddenly are updating via FAIR and now have their install slugs changed and are automatically deactivated.Fixes #341