{"action":"created","comment":{"url":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/comments/28929040","id":28929040,"diff_hunk":"@@ -0,0 +1,135 @@\n+===========================================\n+Le chargement de jeux de données (fixtures)\n+===========================================\n+\n+Zeste de savoir étant un projet très complet il est nécessaire de pouvoir charger un ensemble de jeux de données\n+de manière automatique pour créer une nouvelle instance à des fins de test ou pour forker le site.\n+\n+Pour faciliter la tâche, trois outils sont mis à disposition des développeurs, testeurs et utilisateurs.\n+\n+Les données sérialisables pour une base fonctionnelle\n+-----------------------------------------------------\n+\n+Un premier ensemble de données simples est accessible par la commande intégrée à django `python manage.py loaddata`.\n+\n+Cette commande s'attend à une liste de fichier au format yaml et supporte les widecards.\n+Nous possédons un ensemble de données sérialisées dans le dossier fixtures:\n+\n+- ``categories.yaml`` : contient le chargement de 3 catégories de tutoriels, 2 sous catégories de tutoriels rangées dans les bonnes catégories parentes\n+- ``forums.yaml`` : contient le chargment de 4 catégories de forum et de 10 forums dans ces catégories\n+- ``licences.yaml`` : contient le chargement de 2 licences dont la licence par défaut (tous droit réservés)\n+- ``mps.yaml`` : /!\\ nécessite le chargement des users, contient la création d'un MP d'un membre à un admin","path":"doc/source/utils/fixture_loaders.rst","position":21,"original_position":21,"commit_id":"455db30845a577697ad5d0963ec58cad15d0e691","original_commit_id":"455db30845a577697ad5d0963ec58cad15d0e691","user":{"login":"pierre-24","id":7889675,"avatar_url":"https://avatars.githubusercontent.com/u/7889675?v=3","gravatar_id":"","url":"https://api.github.com/users/pierre-24","html_url":"https://github.com/pierre-24","followers_url":"https://api.github.com/users/pierre-24/followers","following_url":"https://api.github.com/users/pierre-24/following{/other_user}","gists_url":"https://api.github.com/users/pierre-24/gists{/gist_id}","starred_url":"https://api.github.com/users/pierre-24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pierre-24/subscriptions","organizations_url":"https://api.github.com/users/pierre-24/orgs","repos_url":"https://api.github.com/users/pierre-24/repos","events_url":"https://api.github.com/users/pierre-24/events{/privacy}","received_events_url":"https://api.github.com/users/pierre-24/received_events","type":"User","site_admin":false},"body":"ReST aime pas les `/!\\` ;)","created_at":"2015-04-23T00:57:06Z","updated_at":"2015-04-23T00:57:06Z","html_url":"https://github.com/zestedesavoir/zds-site/pull/2578#discussion_r28929040","pull_request_url":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/2578","_links":{"self":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/comments/28929040"},"html":{"href":"https://github.com/zestedesavoir/zds-site/pull/2578#discussion_r28929040"},"pull_request":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/2578"}}},"pull_request":{"url":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/2578","id":33755833,"html_url":"https://github.com/zestedesavoir/zds-site/pull/2578","diff_url":"https://github.com/zestedesavoir/zds-site/pull/2578.diff","patch_url":"https://github.com/zestedesavoir/zds-site/pull/2578.patch","issue_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/2578","number":2578,"state":"open","locked":false,"title":"documentation fixtures","user":{"login":"artragis","id":1523653,"avatar_url":"https://avatars.githubusercontent.com/u/1523653?v=3","gravatar_id":"","url":"https://api.github.com/users/artragis","html_url":"https://github.com/artragis","followers_url":"https://api.github.com/users/artragis/followers","following_url":"https://api.github.com/users/artragis/following{/other_user}","gists_url":"https://api.github.com/users/artragis/gists{/gist_id}","starred_url":"https://api.github.com/users/artragis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artragis/subscriptions","organizations_url":"https://api.github.com/users/artragis/orgs","repos_url":"https://api.github.com/users/artragis/repos","events_url":"https://api.github.com/users/artragis/events{/privacy}","received_events_url":"https://api.github.com/users/artragis/received_events","type":"User","site_admin":false},"body":"| Q                             | R\r\n| ----------------------------- | -------------------------------------------\r\n| Correction de bugs ?          | [non]\r\n| Nouvelle Fonctionnalité ?     | [non]\r\n| Tickets (_issues_) concernés  | ZestMeeting\r\n\r\nVOici la documentation à propos des commandes pour générer les fixtures. Tout y est théoriquement.","created_at":"2015-04-21T12:26:14Z","updated_at":"2015-04-23T00:57:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cc3a7196465ddeda4d646527729f968ac064ff32","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/2578/commits","review_comments_url":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/2578/comments","review_comment_url":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/2578/comments","statuses_url":"https://api.github.com/repos/zestedesavoir/zds-site/statuses/455db30845a577697ad5d0963ec58cad15d0e691","head":{"label":"artragis:doc_about_fixtures","ref":"doc_about_fixtures","sha":"455db30845a577697ad5d0963ec58cad15d0e691","user":{"login":"artragis","id":1523653,"avatar_url":"https://avatars.githubusercontent.com/u/1523653?v=3","gravatar_id":"","url":"https://api.github.com/users/artragis","html_url":"https://github.com/artragis","followers_url":"https://api.github.com/users/artragis/followers","following_url":"https://api.github.com/users/artragis/following{/other_user}","gists_url":"https://api.github.com/users/artragis/gists{/gist_id}","starred_url":"https://api.github.com/users/artragis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artragis/subscriptions","organizations_url":"https://api.github.com/users/artragis/orgs","repos_url":"https://api.github.com/users/artragis/repos","events_url":"https://api.github.com/users/artragis/events{/privacy}","received_events_url":"https://api.github.com/users/artragis/received_events","type":"User","site_admin":false},"repo":{"id":20302770,"name":"zds-site","full_name":"artragis/zds-site","owner":{"login":"artragis","id":1523653,"avatar_url":"https://avatars.githubusercontent.com/u/1523653?v=3","gravatar_id":"","url":"https://api.github.com/users/artragis","html_url":"https://github.com/artragis","followers_url":"https://api.github.com/users/artragis/followers","following_url":"https://api.github.com/users/artragis/following{/other_user}","gists_url":"https://api.github.com/users/artragis/gists{/gist_id}","starred_url":"https://api.github.com/users/artragis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artragis/subscriptions","organizations_url":"https://api.github.com/users/artragis/orgs","repos_url":"https://api.github.com/users/artragis/repos","events_url":"https://api.github.com/users/artragis/events{/privacy}","received_events_url":"https://api.github.com/users/artragis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/artragis/zds-site","description":"Dépot ZDS","fork":true,"url":"https://api.github.com/repos/artragis/zds-site","forks_url":"https://api.github.com/repos/artragis/zds-site/forks","keys_url":"https://api.github.com/repos/artragis/zds-site/keys{/key_id}","collaborators_url":"https://api.github.com/repos/artragis/zds-site/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/artragis/zds-site/teams","hooks_url":"https://api.github.com/repos/artragis/zds-site/hooks","issue_events_url":"https://api.github.com/repos/artragis/zds-site/issues/events{/number}","events_url":"https://api.github.com/repos/artragis/zds-site/events","assignees_url":"https://api.github.com/repos/artragis/zds-site/assignees{/user}","branches_url":"https://api.github.com/repos/artragis/zds-site/branches{/branch}","tags_url":"https://api.github.com/repos/artragis/zds-site/tags","blobs_url":"https://api.github.com/repos/artragis/zds-site/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/artragis/zds-site/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/artragis/zds-site/git/refs{/sha}","trees_url":"https://api.github.com/repos/artragis/zds-site/git/trees{/sha}","statuses_url":"https://api.github.com/repos/artragis/zds-site/statuses/{sha}","languages_url":"https://api.github.com/repos/artragis/zds-site/languages","stargazers_url":"https://api.github.com/repos/artragis/zds-site/stargazers","contributors_url":"https://api.github.com/repos/artragis/zds-site/contributors","subscribers_url":"https://api.github.com/repos/artragis/zds-site/subscribers","subscription_url":"https://api.github.com/repos/artragis/zds-site/subscription","commits_url":"https://api.github.com/repos/artragis/zds-site/commits{/sha}","git_commits_url":"https://api.github.com/repos/artragis/zds-site/git/commits{/sha}","comments_url":"https://api.github.com/repos/artragis/zds-site/comments{/number}","issue_comment_url":"https://api.github.com/repos/artragis/zds-site/issues/comments{/number}","contents_url":"https://api.github.com/repos/artragis/zds-site/contents/{+path}","compare_url":"https://api.github.com/repos/artragis/zds-site/compare/{base}...{head}","merges_url":"https://api.github.com/repos/artragis/zds-site/merges","archive_url":"https://api.github.com/repos/artragis/zds-site/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/artragis/zds-site/downloads","issues_url":"https://api.github.com/repos/artragis/zds-site/issues{/number}","pulls_url":"https://api.github.com/repos/artragis/zds-site/pulls{/number}","milestones_url":"https://api.github.com/repos/artragis/zds-site/milestones{/number}","notifications_url":"https://api.github.com/repos/artragis/zds-site/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/artragis/zds-site/labels{/name}","releases_url":"https://api.github.com/repos/artragis/zds-site/releases{/id}","created_at":"2014-05-29T17:51:23Z","updated_at":"2015-04-22T18:34:21Z","pushed_at":"2015-04-22T18:34:20Z","git_url":"git://github.com/artragis/zds-site.git","ssh_url":"git@github.com:artragis/zds-site.git","clone_url":"https://github.com/artragis/zds-site.git","svn_url":"https://github.com/artragis/zds-site","homepage":null,"size":86356,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":33,"forks":2,"open_issues":33,"watchers":0,"default_branch":"zep_12_double_stack"}},"base":{"label":"zestedesavoir:dev","ref":"dev","sha":"b139a5a51ff07342e7b77a8ace6a995a5f55ff30","user":{"login":"zestedesavoir","id":7406239,"avatar_url":"https://avatars.githubusercontent.com/u/7406239?v=3","gravatar_id":"","url":"https://api.github.com/users/zestedesavoir","html_url":"https://github.com/zestedesavoir","followers_url":"https://api.github.com/users/zestedesavoir/followers","following_url":"https://api.github.com/users/zestedesavoir/following{/other_user}","gists_url":"https://api.github.com/users/zestedesavoir/gists{/gist_id}","starred_url":"https://api.github.com/users/zestedesavoir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zestedesavoir/subscriptions","organizations_url":"https://api.github.com/users/zestedesavoir/orgs","repos_url":"https://api.github.com/users/zestedesavoir/repos","events_url":"https://api.github.com/users/zestedesavoir/events{/privacy}","received_events_url":"https://api.github.com/users/zestedesavoir/received_events","type":"Organization","site_admin":false},"repo":{"id":14778920,"name":"zds-site","full_name":"zestedesavoir/zds-site","owner":{"login":"zestedesavoir","id":7406239,"avatar_url":"https://avatars.githubusercontent.com/u/7406239?v=3","gravatar_id":"","url":"https://api.github.com/users/zestedesavoir","html_url":"https://github.com/zestedesavoir","followers_url":"https://api.github.com/users/zestedesavoir/followers","following_url":"https://api.github.com/users/zestedesavoir/following{/other_user}","gists_url":"https://api.github.com/users/zestedesavoir/gists{/gist_id}","starred_url":"https://api.github.com/users/zestedesavoir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zestedesavoir/subscriptions","organizations_url":"https://api.github.com/users/zestedesavoir/orgs","repos_url":"https://api.github.com/users/zestedesavoir/repos","events_url":"https://api.github.com/users/zestedesavoir/events{/privacy}","received_events_url":"https://api.github.com/users/zestedesavoir/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zestedesavoir/zds-site","description":"Dépot ZDS","fork":false,"url":"https://api.github.com/repos/zestedesavoir/zds-site","forks_url":"https://api.github.com/repos/zestedesavoir/zds-site/forks","keys_url":"https://api.github.com/repos/zestedesavoir/zds-site/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zestedesavoir/zds-site/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zestedesavoir/zds-site/teams","hooks_url":"https://api.github.com/repos/zestedesavoir/zds-site/hooks","issue_events_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/events{/number}","events_url":"https://api.github.com/repos/zestedesavoir/zds-site/events","assignees_url":"https://api.github.com/repos/zestedesavoir/zds-site/assignees{/user}","branches_url":"https://api.github.com/repos/zestedesavoir/zds-site/branches{/branch}","tags_url":"https://api.github.com/repos/zestedesavoir/zds-site/tags","blobs_url":"https://api.github.com/repos/zestedesavoir/zds-site/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zestedesavoir/zds-site/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zestedesavoir/zds-site/git/refs{/sha}","trees_url":"https://api.github.com/repos/zestedesavoir/zds-site/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zestedesavoir/zds-site/statuses/{sha}","languages_url":"https://api.github.com/repos/zestedesavoir/zds-site/languages","stargazers_url":"https://api.github.com/repos/zestedesavoir/zds-site/stargazers","contributors_url":"https://api.github.com/repos/zestedesavoir/zds-site/contributors","subscribers_url":"https://api.github.com/repos/zestedesavoir/zds-site/subscribers","subscription_url":"https://api.github.com/repos/zestedesavoir/zds-site/subscription","commits_url":"https://api.github.com/repos/zestedesavoir/zds-site/commits{/sha}","git_commits_url":"https://api.github.com/repos/zestedesavoir/zds-site/git/commits{/sha}","comments_url":"https://api.github.com/repos/zestedesavoir/zds-site/comments{/number}","issue_comment_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/comments{/number}","contents_url":"https://api.github.com/repos/zestedesavoir/zds-site/contents/{+path}","compare_url":"https://api.github.com/repos/zestedesavoir/zds-site/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zestedesavoir/zds-site/merges","archive_url":"https://api.github.com/repos/zestedesavoir/zds-site/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zestedesavoir/zds-site/downloads","issues_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues{/number}","pulls_url":"https://api.github.com/repos/zestedesavoir/zds-site/pulls{/number}","milestones_url":"https://api.github.com/repos/zestedesavoir/zds-site/milestones{/number}","notifications_url":"https://api.github.com/repos/zestedesavoir/zds-site/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zestedesavoir/zds-site/labels{/name}","releases_url":"https://api.github.com/repos/zestedesavoir/zds-site/releases{/id}","created_at":"2013-11-28T14:23:48Z","updated_at":"2015-04-23T00:53:44Z","pushed_at":"2015-04-23T00:53:44Z","git_url":"git://github.com/zestedesavoir/zds-site.git","ssh_url":"git@github.com:zestedesavoir/zds-site.git","clone_url":"https://github.com/zestedesavoir/zds-site.git","svn_url":"https://github.com/zestedesavoir/zds-site","homepage":null,"size":164048,"stargazers_count":92,"watchers_count":92,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":82,"mirror_url":null,"open_issues_count":225,"forks":82,"open_issues":225,"watchers":92,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/2578"},"html":{"href":"https://github.com/zestedesavoir/zds-site/pull/2578"},"issue":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/issues/2578"},"comments":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/issues/2578/comments"},"review_comments":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/2578/comments"},"review_comment":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/2578/commits"},"statuses":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/statuses/455db30845a577697ad5d0963ec58cad15d0e691"}}}}