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

flutter-snippets doesn't show in Espanso Hub #114

Closed
smeech opened this issue May 8, 2024 · 11 comments
Closed

flutter-snippets doesn't show in Espanso Hub #114

smeech opened this issue May 8, 2024 · 11 comments
Labels
help wanted Extra attention is needed

Comments

@smeech
Copy link
Collaborator

smeech commented May 8, 2024

https://hub.espanso.org/calc-macos, the page linked to from the topmost item in https://hub.espanso.org/search?t=math just shows a blank page rather than the package page like the rest I have viewed.

@smeech
Copy link
Collaborator Author

smeech commented Jun 17, 2024

Following my recent interventions flutter-snippets also doesn't have a page either.
Is it possible to reindex the hub?

@smeech smeech added the help wanted Extra attention is needed label Jun 20, 2024
@AucaCoyan
Copy link
Member

Is it possible to reindex the hub?

Mmmm I don't know... possibly, but I need to investigate how

@smeech
Copy link
Collaborator Author

smeech commented Jun 27, 2024

Maybe @arabello can help? He's done most of the recent espanso/hub-frontend merges.

@arabello
Copy link

Hi guys, I gave it a quick look. My findings:

I need more time to investigate both issues, I'll do it during the weekend and get back to you

@smeech
Copy link
Collaborator Author

smeech commented Jun 28, 2024

Thank you.

@arabello
Copy link

arabello commented Jun 29, 2024

For the flutter-snippets issue there was an inconsistency (I am not sure how) between #19 #117 #118 that causes the released hub's package_index.json to miss the flutter-snippets entry even if the package is present in the hub (files with manifest). The hub-frontend consequentially was built with no flutter-snippets page as it follows directly the package_index.json content.

The fastest mitigation is to locally run the update_index routine forcing the publishing (env var PUBLISH=true). Permissions might be required to consent the gh release upload command. WDYT? I can give it a try.

Note that the index update routine is launched only if there are missing packages between the released ones and the hub. This is why the last PR didn't trigger the index update. It might be considered to change the logic and let it update everytime as it should have idempotent result.

@smeech
Copy link
Collaborator Author

smeech commented Jun 29, 2024

A reindex is the obvious thing to try, to force the hub to align with the package repo. There could be other packages with blank pages anyway - calc-macos was just the one I came across.

"idempotent" is a new word for me!

@arabello
Copy link

I don't have write permission to release the new package_index.json. Maybe @AucaCoyan can help?

@arabello
Copy link

The calc-macos issue was investigated and tracked at espanso/hub-frontend#43

@smeech smeech changed the title calc-macos doesn't show in Espanso Hub flutter-snippets doesn't show in Espanso Hub Jul 7, 2024
@smeech
Copy link
Collaborator Author

smeech commented Aug 23, 2024

Another one for the list: #129

@AucaCoyan
Copy link
Member

Solved in espanso/hub-frontend#45 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants