{"action":"created","issue":{"url":"https://api.github.com/repos/CaraGk/gesseh/issues/143","repository_url":"https://api.github.com/repos/CaraGk/gesseh","labels_url":"https://api.github.com/repos/CaraGk/gesseh/issues/143/labels{/name}","comments_url":"https://api.github.com/repos/CaraGk/gesseh/issues/143/comments","events_url":"https://api.github.com/repos/CaraGk/gesseh/issues/143/events","html_url":"https://github.com/CaraGk/gesseh/issues/143","id":138685953,"number":143,"title":"#InstallBundle : automatiser les mises à jour","user":{"login":"CaraGk","id":2497072,"avatar_url":"https://avatars.githubusercontent.com/u/2497072?v=3","gravatar_id":"","url":"https://api.github.com/users/CaraGk","html_url":"https://github.com/CaraGk","followers_url":"https://api.github.com/users/CaraGk/followers","following_url":"https://api.github.com/users/CaraGk/following{/other_user}","gists_url":"https://api.github.com/users/CaraGk/gists{/gist_id}","starred_url":"https://api.github.com/users/CaraGk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CaraGk/subscriptions","organizations_url":"https://api.github.com/users/CaraGk/orgs","repos_url":"https://api.github.com/users/CaraGk/repos","events_url":"https://api.github.com/users/CaraGk/events{/privacy}","received_events_url":"https://api.github.com/users/CaraGk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"CaraGk","id":2497072,"avatar_url":"https://avatars.githubusercontent.com/u/2497072?v=3","gravatar_id":"","url":"https://api.github.com/users/CaraGk","html_url":"https://github.com/CaraGk","followers_url":"https://api.github.com/users/CaraGk/followers","following_url":"https://api.github.com/users/CaraGk/following{/other_user}","gists_url":"https://api.github.com/users/CaraGk/gists{/gist_id}","starred_url":"https://api.github.com/users/CaraGk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CaraGk/subscriptions","organizations_url":"https://api.github.com/users/CaraGk/orgs","repos_url":"https://api.github.com/users/CaraGk/repos","events_url":"https://api.github.com/users/CaraGk/events{/privacy}","received_events_url":"https://api.github.com/users/CaraGk/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-03-05T14:32:40Z","updated_at":"2016-03-05T14:57:31Z","closed_at":null,"body":"Les nouvelles versions sont publiées sur medlibre.fr au format bzip2 et 7zip. Il suffirait d'y rajouter ZIP pour la compatibilité et un checksum pour l'intégrité.\n\nIl suffit ensuite de mettre en place une procédure avec :\n- recherche d'une nouvelle archive\n- si existant, téléchargement (utilisation de curl ?)\n- si téléchargée, extraction (PHP ZIPArchive) dans un répertoire temporaire\n- si extraction OK, copie à la racine avec Symfony FileSystem\n- si copie OK, suppression du répertoire temporaire\n- mise à jour de la base de données avec `/update`"},"comment":{"url":"https://api.github.com/repos/CaraGk/gesseh/issues/comments/192664285","html_url":"https://github.com/CaraGk/gesseh/issues/143#issuecomment-192664285","issue_url":"https://api.github.com/repos/CaraGk/gesseh/issues/143","id":192664285,"user":{"login":"CaraGk","id":2497072,"avatar_url":"https://avatars.githubusercontent.com/u/2497072?v=3","gravatar_id":"","url":"https://api.github.com/users/CaraGk","html_url":"https://github.com/CaraGk","followers_url":"https://api.github.com/users/CaraGk/followers","following_url":"https://api.github.com/users/CaraGk/following{/other_user}","gists_url":"https://api.github.com/users/CaraGk/gists{/gist_id}","starred_url":"https://api.github.com/users/CaraGk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CaraGk/subscriptions","organizations_url":"https://api.github.com/users/CaraGk/orgs","repos_url":"https://api.github.com/users/CaraGk/repos","events_url":"https://api.github.com/users/CaraGk/events{/privacy}","received_events_url":"https://api.github.com/users/CaraGk/received_events","type":"User","site_admin":false},"created_at":"2016-03-05T14:57:31Z","updated_at":"2016-03-05T14:57:31Z","body":"Pour la recherche d'une nouvelle archive :\r\n- Prévoir latest.zip et latest.checksum\r\n- Télécharger les deux\r\n- Vérifier le checksum de latest.zip\r\n- Si ok, lancer l'installation\r\n- Si ok, copier latest.zip dans current.zip\r\n- Tester si latest.checksum correspond à current.zip alors il n'y a pas de nouvelle version\r\n- Sinon télécharger latest.zip, etc."}}