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

[Feature request]: Report if we're updating or installing #5780

Open
2 tasks done
razzeee opened this issue Apr 19, 2024 · 0 comments
Open
2 tasks done

[Feature request]: Report if we're updating or installing #5780

razzeee opened this issue Apr 19, 2024 · 0 comments

Comments

@razzeee
Copy link

razzeee commented Apr 19, 2024

Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Suggestion

There are some known inconsistencies, which our current approach to figure out if flatpak is doing an install or an update.

As far as I understand, this seems to stem from flatpak doing an install on an already installed app, if it's too old and we can't delta update. See flathub/flathub#177 (comment)

The problem is, we can't separate these in the logs. So adding the metadata to the useragent would allow us to know, if the user updated or installed an app. And thus fix our statistics.

Might be here where we could add it https://github.com/flatpak/flatpak/blob/main/common/flatpak-dir.c#L5393

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant