-
Notifications
You must be signed in to change notification settings - Fork 436
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
Wrong file name for files with same content/hash #9352
Comments
This looks fine now, did something change on the server side? Ok, there was an update on the project which fixed the issue (caching?), now to reproduce check an old project like: https://build.opensuse.org/package/show/devel:gcc/gcc7 |
Thanks for the report @ismail, I can reproduce it. Could be related to the caching, need to check it first though |
There seems to be a wide-spread issue with numbers not updating which smells like a caching issue. Like my tasks is stuck at "11" even though I have some hundred SRs in the queue. |
In certain cases, the md5 and mtime value of a file is the same for multiple files. Only the file name differs in those cases. This needs to be considered, in order to have uniq data in the cache. In the past this lead to not show certain files in the webui due to this rails/rails#35145 Since this got fixed, it now does the opposite (showing duplicated entries), which is more obvious. Since osc shows the correct files, and missing files are less obvious than duplicates, this probably took a while to be reported as an issue. Fixes openSUSE#9352 Co-authored-by: David Kang <dkang@suse.com> Co-authored-by: Eduardo Navarro <enavarro@suse.com>
Since Ruby on Rails introduced recycable cache keys, which we enabled with the migration to Rails 6.0, we need to pass the cache_version in combination with the cache_key (which now is a stable value) in order to receive the most recent data. Related to openSUSE#9352
https://build.opensuse.org/package/show/hardware:boot/raspberrypi-firmware shows two "raspberry-firmware.changes" file, identical in size. But in reality there are two different files:
sisyphus ~/work/obs/hardware:boot/raspberrypi-firmware > sha1sum *.changes
8b484e2bf0ad6dabdfe12eaab73e403e73d1a4bd raspberrypi-firmware-config.changes
8b484e2bf0ad6dabdfe12eaab73e403e73d1a4bd raspberrypi-firmware.changes
... with same content & hash. Probably this results in showing the wrong filename for the -config variant.
The text was updated successfully, but these errors were encountered: