{"push_id":1042138681,"size":5,"distinct_size":5,"ref":"refs/heads/dev/rewriteDelagentPermissions","head":"cc17579e9f9cc0e5b45629ead12588850e921c42","before":"4958b9218d80d7226394a732ffb8dcd946a95135","commits":[{"sha":"e3248d4e57761ff635c3578d4e88453f87e246ab","author":{"email":"93dde7492c28bec355a77b281e74a20637e800e5@tngtech.com","name":"maximilianhuber"},"message":"refactor(delagent): rewrite DeleteUpload and more\n\n- rewritten /refactored functions:\n  - `DeleteUpload`\n  - `DeleteLicense`\n  - `UnlinkContent`\n  - and more\n- rewrite naming of `TempTable`\n- remove all unnecessary `memset` calls\n- make return codes more consistend\n- remove dead code\n- die on permission failure\n  - this change was made to show delagent jobs, which have had permission\n    problems, as failed agents (i.e. red).","distinct":true,"url":"https://api.github.com/repos/siemens/fossology/commits/e3248d4e57761ff635c3578d4e88453f87e246ab"},{"sha":"a91c7882bff41a42626b7583762bce694b082ebf","author":{"email":"93dde7492c28bec355a77b281e74a20637e800e5@tngtech.com","name":"maximilianhuber"},"message":"fix(delagent): repair generation of hash for authentication\n\n* The function `SHA1(...)` could generate strings containing `\\000`\n  which did not work with the following call of `strlen(...)`\n* This is solved, since one knows that a SHA1 hash as hex is 40\n  characters long (20 chars for the raw value)\n* The old test, whether the creation of the sha1 failed, can not work\n  since the first char could also be `\\000` ==> removed","distinct":true,"url":"https://api.github.com/repos/siemens/fossology/commits/a91c7882bff41a42626b7583762bce694b082ebf"},{"sha":"f43713f8bc4f7852508b35a6e2b551afa0378ad2","author":{"email":"93dde7492c28bec355a77b281e74a20637e800e5@tngtech.com","name":"maximilianhuber"},"message":"refactor(delagent): refactor function names\n\nas suggested by @joshovi","distinct":true,"url":"https://api.github.com/repos/siemens/fossology/commits/f43713f8bc4f7852508b35a6e2b551afa0378ad2"},{"sha":"117d7cb71a0f3e81497a7d276205829f98319703","author":{"email":"93dde7492c28bec355a77b281e74a20637e800e5@tngtech.com","name":"maximilianhuber"},"message":"refactor(delagent): rewrite SQL query","distinct":true,"url":"https://api.github.com/repos/siemens/fossology/commits/117d7cb71a0f3e81497a7d276205829f98319703"},{"sha":"cc17579e9f9cc0e5b45629ead12588850e921c42","author":{"email":"93dde7492c28bec355a77b281e74a20637e800e5@tngtech.com","name":"maximilianhuber"},"message":"refactor(delagent): refactor return codes\n\n`rc=0` should always be the \"good\" case\n`rc>0` is a permission problem\n`rc<0` is a database connection problem, which has to be propagated out","distinct":true,"url":"https://api.github.com/repos/siemens/fossology/commits/cc17579e9f9cc0e5b45629ead12588850e921c42"}]}