Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: 5a83a195ffbdc1115566ed28b38c8c2665e50ba3
https://github.com/openSUSE/open-build-service/commit/5a83a195ffbdc1115566ed...
Author: marco
Date: 2017-10-27 (Fri, 27 Oct 2017)
Changed paths:
M docs/api/api/api.txt
M src/api/app/controllers/source_controller.rb
M src/backend/BSSrcrep.pm
M src/backend/BSXML.pm
M src/backend/bs_srcserver
Log Message:
-----------
[backend] [api] check the sha256 of file if needed
This will set $entry->{'hash'} = 'missing' if there is already a
file on the server with the same md5sum, but in another project
with the same package name.
The client(osc) will then calculate the sha256 for the file and return
it to the srcserver.
The sha256 sum of the uploaded file will be compared to the one from
the one already existing on the server.
added sha256 check in BSSrcrep::addfile
Commit: 0ca1facc1845f3c99a9e154b2e04b76ee174fb2e
https://github.com/openSUSE/open-build-service/commit/0ca1facc1845f3c99a9e15...
Author: Michael Schroeder
Date: 2017-10-27 (Fri, 27 Oct 2017)
Changed paths:
M docs/api/api/api.txt
M src/api/app/controllers/source_controller.rb
M src/backend/BSSrcrep.pm
M src/backend/BSXML.pm
M src/backend/bs_srcserver
Log Message:
-----------
Merge pull request #4066 from lethliel/check_sha_hash
[backend] [api] check the sha256 of file if needed
Compare: https://github.com/openSUSE/open-build-service/compare/10d63da8347e...0ca1fa...