{"title":"Conseils pour les nouveaux contributeurs","version":"2.1","locale":"fr","docname":"internals/contributing/new-contributors","url":"/fr/2.1/internals/contributing/new-contributors/","canonical":"https://djangodocs.dev/fr/2.1/internals/contributing/new-contributors/","summary":"Nouveau contributeur et vous ne savez pas que faire ? Vous souhaitez aider mais ne savez pas par où commencer ? Cette section est pour vous. Outils de base et flux…","html":"<h1>Conseils pour les nouveaux contributeurs<a class=\"heading-anchor\" href=\"#advice-for-new-contributors\"><span class=\"visually-hidden\">Lien vers cette rubrique</span><span aria-hidden=\"true\">#</span></a></h1>\n<p>Nouveau contributeur et vous ne savez pas que faire ? Vous souhaitez aider mais ne savez pas par où commencer ? Cette section est pour vous.</p>\n<aside class=\"admonition-basic-tools-and-workflow admonition\">\n<p class=\"admonition-title\">Outils de base et flux de travail</p>\n<p>Si vous débutez dans la contribution à Django, le tutoriel <a class=\"reference internal\" href=\"/fr/2.1/intro/contributing/\"><span class=\"doc\">Écriture de votre premier correctif pour Django</span></a> vous donne une introduction aux outils et au flux de travail.</p>\n</aside>\n<section id=\"first-steps\">\n<h2>Premiers pas<a class=\"heading-anchor\" href=\"#first-steps\"><span class=\"visually-hidden\">Lien vers cette rubrique</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>Commencez par ces tâches faciles pour découvrir le processus de développement de Django.</p>\n<ul>\n<li><p><strong>Signer l’accord de licence de contribution</strong></p>\n<p>Le code que vous écrivez vous appartient ou il appartient à votre employeur. Si votre contribution dépasse une ou deux lignes de code, vous devez signer le <a class=\"reference external\" href=\"https://www.djangoproject.com/foundation/cla/\">CLA</a>. Voir la <a class=\"reference external\" href=\"https://www.djangoproject.com/foundation/cla/faq/\">FAQ sur l’accord de licence de contribution</a> pour une explication plus complète.</p>\n</li>\n<li><p><strong>Trier des tickets</strong></p>\n<p>If an <a class=\"reference external\" href=\"https://code.djangoproject.com/query?status=!closed&amp;stage=Unreviewed\">unreviewed ticket</a> reports a bug, try and reproduce it. If you\ncan reproduce it and it seems valid, make a note that you confirmed the bug\nand accept the ticket. Make sure the ticket is filed under the correct\ncomponent area. Consider writing a patch that adds a test for the bug’s\nbehavior, even if you don’t fix the bug itself. See more at\n<a class=\"reference internal\" href=\"/fr/2.1/internals/contributing/triaging-tickets/#how-can-i-help-with-triaging\"><span class=\"std std-ref\">Commet puis-je aider à trier les tickets ?</span></a></p>\n</li>\n<li><p><strong>Look for tickets that are accepted and review patches to build familiarity\nwith the codebase and the process</strong></p>\n<p>Mark the appropriate flags if a patch needs docs or tests. Look through the\nchanges a patch makes, and keep an eye out for syntax that is incompatible\nwith older but still supported versions of Python. <a class=\"reference internal\" href=\"/fr/2.1/internals/contributing/writing-code/unit-tests/\"><span class=\"doc\">Run the tests</span></a> and make sure they pass.\nWhere possible and relevant, try them out on a database other than SQLite.\nLeave comments and feedback!</p>\n</li>\n<li><p><strong>Garder les anciens correctifs à jour</strong></p>\n<p>Oftentimes the codebase will change between a patch being submitted and the\ntime it gets reviewed. Make sure it still applies cleanly and functions as\nexpected. Simply updating a patch is both useful and important! See more on\n<a class=\"reference internal\" href=\"/fr/2.1/internals/contributing/writing-code/submitting-patches/\"><span class=\"doc\">Soumission de correctifs</span></a>.</p>\n</li>\n<li><p><strong>Écrire de la documentation</strong></p>\n<p>La documentation de Django est bien faite mais elle peut toujours être améliorée. Avez-vous trouvé une faute d’orthographe ? Pensez-vous que quelque chose devrait être clarifié ? Lancez-vous et proposez un correctif de la documentation ! Voir aussi le guide sur <a class=\"reference internal\" href=\"/fr/2.1/internals/contributing/writing-documentation/\"><span class=\"doc\">Écrire la documentation</span></a>.</p>\n<aside class=\"admonition admonition-note\" role=\"note\">\n<p class=\"admonition-title\">Note</p>\n<p>La <a class=\"reference external\" href=\"https://code.djangoproject.com/wiki/Reports\">page des rapports</a> contient des liens vers de nombreuses requêtes Trac utiles, y compris certaines orientées sur le triage des tickets et la relecture de correctifs comme suggéré ci-dessus.</p>\n</aside>\n</li>\n</ul>\n</section>\n<section id=\"guidelines\">\n<h2>Lignes de conduite<a class=\"heading-anchor\" href=\"#guidelines\"><span class=\"visually-hidden\">Lien vers cette rubrique</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>En tant que nouveau venu dans un vaste projet, on peut facilement ressentir de la frustration. Voici quelques conseils pour que votre contribution à Django soit la plus utile et gratifiante possible.</p>\n<ul>\n<li><p><strong>Choisissez un thème qui vous tient à cœur, qui vous est familier ou sur lequel vous souhaitez en apprendre davantage</strong></p>\n<p>Vous n’avez pas besoin d’être déjà un expert du domaine sur lequel vous souhaitez travailler ; on le devient progressivement au fil des contributions de code.</p>\n</li>\n<li><p><strong>Analysez le contexte et l’historique des tickets</strong></p>\n<p>Trac isn’t an absolute; the context is just as important as the words.\nWhen reading Trac, you need to take into account who says things, and when\nthey were said. Support for an idea two years ago doesn’t necessarily mean\nthat the idea will still have support. You also need to pay attention to who\n<em>hasn’t</em> spoken – for example, if an experienced contributor hasn’t been\nrecently involved in a discussion, then a ticket may not have the support\nrequired to get into Django.</p>\n</li>\n<li><p><strong>Commencez petit</strong></p>\n<p>Il est plus facile de recevoir des retours sur de petits problèmes que sur des sujets plus vastes. Voir les tickets marqués comme <a class=\"reference external\" href=\"https://code.djangoproject.com/query?status=!closed&amp;easy=1\">easy pickings</a> (résolution facile).</p>\n</li>\n<li><p><strong>If you’re going to engage in a big task, make sure that your idea has\nsupport first</strong></p>\n<p>This means getting someone else to confirm that a bug is real before you fix\nthe issue, and ensuring that there’s consensus on a proposed feature before\nyou go implementing it.</p>\n</li>\n<li><p><strong>Be bold! Leave feedback!</strong></p>\n<p>Sometimes it can be scary to put your opinion out to the world and say « this\nticket is correct » or « this patch needs work », but it’s the only way the\nproject moves forward. The contributions of the broad Django community\nultimately have a much greater impact than that of any one person. We can’t\ndo it without <strong>you</strong>!</p>\n</li>\n<li><p><strong>Err on the side of caution when marking things Ready For Check-in</strong></p>\n<p>If you’re really not certain if a ticket is ready, don’t mark it as\nsuch. Leave a comment instead, letting others know your thoughts.  If you’re\nmostly certain, but not completely certain, you might also try asking on IRC\nto see if someone else can confirm your suspicions.</p>\n</li>\n<li><p><strong>Wait for feedback, and respond to feedback that you receive</strong></p>\n<p>Focus on one or two tickets, see them through from start to finish, and\nrepeat. The shotgun approach of taking on lots of tickets and letting some\nfall by the wayside ends up doing more harm than good.</p>\n</li>\n<li><p><strong>Soyez rigoureux</strong></p>\n<p>When we say « <span class=\"target\" id=\"index-0\"></span><a class=\"pep reference external\" href=\"https://peps.python.org/pep-0008/\"><strong>PEP 8</strong></a>, and must have docs and tests », we mean it. If a patch\ndoesn’t have docs and tests, there had better be a good reason. Arguments\nlike « I couldn’t find any existing tests of this feature » don’t carry much\nweight–while it may be true, that means you have the extra-important job of\nwriting the very first tests for that feature, not that you get a pass from\nwriting tests altogether.</p>\n</li>\n</ul>\n</section>\n<section id=\"faq\">\n<span id=\"new-contributors-faq\"></span><h2>FAQ<a class=\"heading-anchor\" href=\"#faq\"><span class=\"visually-hidden\">Lien vers cette rubrique</span><span aria-hidden=\"true\">#</span></a></h2>\n<ol class=\"arabic\">\n<li><p><strong>Ce ticket qui me tient à cœur a été ignoré depuis des jours/semaines/mois ! Que puis-je faire pour qu’il reçoive de l’attention ?</strong></p>\n<p>Premièrement, il n’y a rien de personnel. Django est entièrement développé par des volontaires (à l’exception du compagnon Django) et il se trouve que le temps manque parfois. La meilleure chose à faire est d’envoyer un rappel poli à la liste de diffusion <a class=\"reference internal\" href=\"/fr/2.1/internals/mailing-lists/#django-developers-mailing-list\"><span class=\"std std-ref\">django-developers</span></a> en demandant une analyse du ticket ou en parler sur le canal IRC #django-dev.</p>\n</li>\n<li><p><strong>Je suis certain que mon ticket est absolument parfait à 100%, puis-je le marquer moi-même comme RFC (prêt pour le commit) ?</strong></p>\n<p>Réponse courte : non. Il est toujours préférable qu’une autre paire d’yeux examine un ticket. Si vous peinez à obtenir cette deuxième paire d’yeux, relisez la question 1 ci-dessus.</p>\n</li>\n</ol>\n</section>","rootId":"advice-for-new-contributors","toc":[{"title":"Premiers pas","anchor":"first-steps","children":[]},{"title":"Lignes de conduite","anchor":"guidelines","children":[]},{"title":"FAQ","anchor":"faq","children":[]}],"breadcrumbs":[{"docname":"internals/index","title":"Fonctionnement interne du projet Django","url":"/fr/2.1/internals/"},{"docname":"internals/contributing/index","title":"Contribuer à Django","url":"/fr/2.1/internals/contributing/"}],"prev":{"docname":"internals/contributing/index","title":"Contribuer à Django","url":"/fr/2.1/internals/contributing/"},"next":{"docname":"internals/contributing/bugs-and-features","title":"Signalement d’anomalies ou demandes de fonctionnalités","url":"/fr/2.1/internals/contributing/bugs-and-features/"},"formats":{"html":"/fr/2.1/internals/contributing/new-contributors/","markdown":"/fr/2.1/internals/contributing/new-contributors.md","json":"/fr/2.1/internals/contributing/new-contributors.json"},"source":"https://github.com/django/django/blob/stable/2.1.x/docs/internals/contributing/new-contributors.txt","official":"https://docs.djangoproject.com/fr/2.1/internals/contributing/new-contributors/","inVersions":["6.1","6.0","5.2","5.1","5.0","4.2","4.1","4.0","3.2","3.1","3.0","2.2","2.1","2.0","1.11","1.10","1.9"],"inLocales":["en","zh-hans","fr","ja","id","pt-br","ko","es","el","pl"]}