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

[EPM] Handle outdated package versions #64255

Closed
neptunian opened this issue Apr 22, 2020 · 5 comments
Closed

[EPM] Handle outdated package versions #64255

neptunian opened this issue Apr 22, 2020 · 5 comments
Assignees
Labels
Feature:EPM Fleet team's Elastic Package Manager (aka Integrations) project Ingest Management:alpha1 Group issues for ingest management alpha1 Team:Fleet Team label for Observability Data Collection Fleet team

Comments

@neptunian
Copy link
Contributor

  • when the user clicks on a package in the package list page they should be directed to the package they currently have installed and not the latest (if they have updates turned on it will be the latest)
  • as part of [Ingest] Package settings page UI #60699, implement the {package} Version section of the settings page.
  • update header with out of date icon

Screen Shot 2020-04-22 at 5 32 47 PM

@neptunian neptunian added Feature:EPM Fleet team's Elastic Package Manager (aka Integrations) project Team:Fleet Team label for Observability Data Collection Fleet team Ingest Management:alpha1 Group issues for ingest management alpha1 labels Apr 22, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/ingest-management (Team:Ingest Management)

@neptunian
Copy link
Contributor Author

neptunian commented Apr 23, 2020

Screen Shot 2020-04-23 at 5 10 17 PM

@hbharding Currently the list displays the latest package version information (icon and description). Its possible this information varies between versions. Are we wanting the List page to reflect the version they have installed, like the detail page? It would be odd if the icon changed from when they clicked on the package in the List page and landed on the Detail page. If so @ruflin I think we'd need an endpoint that functions like a bulk get to specify exactly what packages and versions i want.

@neptunian
Copy link
Contributor Author

neptunian commented Apr 24, 2020

@ruflin What do you think about modifying the registry endpoint:
https://epr-staging.elastic.co/package/system/0.0.1
to respond with a field that has the latest version.
That way when they arrive at the package detail page i don't need to make another request to search for other versions to see if this is not the latest version (and notify them to update). If we plan to support installing any version with a list of all versions, then a property with an array of other (installable) versions (preferably in order) could work as well.

@ruflin
Copy link
Member

ruflin commented Apr 27, 2020

My expectation is that /package/system/0.0.1 never is modified again after it is shipped. This means we can cache it forever. If we update it each time a new version of a package comes out, we can't. Could we use /package/system/ for this?

@jen-huang
Copy link
Contributor

Closing this as #64689 is merged and follow up issue #64820 was created.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:EPM Fleet team's Elastic Package Manager (aka Integrations) project Ingest Management:alpha1 Group issues for ingest management alpha1 Team:Fleet Team label for Observability Data Collection Fleet team
Projects
None yet
Development

No branches or pull requests

4 participants