[fossology/fossology] 1a9612: fix(migration): Make pfile sha calculation separat...

Shaheem Azmal M MD <noreply@...>
 

Branch: refs/heads/master
Home: https://github.com/fossology/fossology
Commit: 1a961298fb67dfa59213c2610878edeb7ff283aa
https://github.com/fossology/fossology/commit/1a961298fb67dfa59213c2610878edeb7ff283aa
Author: Gaurav Mishra <@gmishx>
Date: 2019-07-03 (Wed, 03 Jul 2019)

Changed paths:
M install/Makefile
M install/db/Makefile
M install/db/dbmigrate_3.5-3.6.php
A install/db/dbmigrate_pfile_calculate_sha256.php.in
M install/fo-postinstall.in
A install/fossinit-common.php
M install/fossinit.php
M src/www/ui/core-schema.dat

Log Message:
-----------
fix(migration): Make pfile sha calculation separate script

1. Make the script to calculate SHA256 of pfile as a separate script
which can run without fo-postinstall
2. Make PostgreSQL transactions more atomic.
3. Optimize update query.

Signed-off-by: Gaurav Mishra <@gmishx>


Commit: 238769d2fe1d8710b59ee173167111e8fa038f12
https://github.com/fossology/fossology/commit/238769d2fe1d8710b59ee173167111e8fa038f12
Author: Shaheem Azmal M MD <shaheem.azmal@...>
Date: 2019-07-03 (Wed, 03 Jul 2019)

Changed paths:
M install/Makefile
M install/db/Makefile
M install/db/dbmigrate_3.5-3.6.php
A install/db/dbmigrate_pfile_calculate_sha256.php.in
M install/fo-postinstall.in
A install/fossinit-common.php
M install/fossinit.php
M src/www/ui/core-schema.dat

Log Message:
-----------
Merge pull request #1389 from siemens/fix/migration/faster-pfile-updates

fix(migration): Make pfile sha calculation separate script
Reviewed-by : shaheem.azmal@...
Tested-by : shaheem.azmal@...


Compare: https://github.com/fossology/fossology/compare/dcb1ab80f07d...238769d2fe1d

Join fossology-commits@lists.fossology.org to automatically receive all group messages.