Django

Code

Changeset 1857

Show
Ignore:
Timestamp:
01/08/06 00:24:17 (3 years ago)
Author:
adrian
Message:

Added 'Committing code' section to docs/contributing.txt and made a few cleanups

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/contributing.txt

    r1762 r1857  
    1818      patches`_, below, for details on how to submit a patch. 
    1919 
    20     * Join the `django-dev`_ mailing list and share your ideas for how to improve 
    21       Django.  We're always open to suggestions, although we're likely to be skeptical 
    22       of large-scale suggestions without some code to back it up. 
     20    * Join the `django-developers`_ mailing list and share your ideas for how 
     21      to improve Django.  We're always open to suggestions, although we're 
     22      likely to be skeptical of large-scale suggestions without some code to 
     23      back it up. 
    2324 
    2425That's all you need to know if you'd like to join the Django development 
     
    5152 
    5253    * **Don't** use the ticket system to make large-scale feature requests. 
    53       We like to discuss any big changes to Django's core on the `django-dev`_ 
     54      We like to discuss any big changes to Django's core on the `django-developers`_ 
    5455      list before actually working on them. 
    5556 
    5657    * **Don't** reopen issues that have been marked "wontfix". This mark means 
    5758      that the decision has been made that we can't or won't fix this particular 
    58       issue.  If you're not sure why, please ask on `django-dev`_. 
     59      issue.  If you're not sure why, please ask on `django-developers`_. 
    5960 
    6061    * **Don't** use the ticket tracker for lengthy discussions, because they're 
    6162      likely to get lost. If a particular ticket is controversial, please move 
    62       discussion to `django-dev`_. 
     63      discussion to `django-developers`_. 
    6364 
    6465Reporting security issues 
     
    168169          {{foo}} 
    169170 
     171Committing code 
     172=============== 
     173 
     174Please follow these guidelines when committing code to Django's Subversion 
     175repository: 
     176 
     177    * Write detailed commit messages in the past tense, not present tense. 
     178 
     179          * Good: "Fixed bug in RSS API." 
     180          * Bad: "Fixes bug in RSS API." 
     181          * Bad: "Fixing bug in RSS API." 
     182 
     183    * For commits to a branch, prefix the commit message with the branch name. 
     184      For example: "magic-removal: Added support for mind reading." 
     185 
     186    * Limit commits to the most granular change that makes sense. This means, 
     187      use frequent small commits rather than infrequent large commits. For 
     188      example, if implementing feature X requires a small change to library Y, 
     189      first commit the change to library Y, then commit feature X in a separate 
     190      commit. This goes a *long way* in helping all core Django developers 
     191      follow your changes. 
     192 
     193    * For any medium-to-big changes, where "medium-to-big" is according to your 
     194      judgment, please bring things up on the `django-developers`_ mailing list 
     195      before making the change. 
     196 
    170197Requesting features 
    171198=================== 
     
    174201part of that. Here are some tips on how to most effectively make a request: 
    175202 
    176     * Request the feature on `django-dev`_, not in the ticket tracker; it'll get 
    177       read more closely if it's on the mailing list. 
     203    * Request the feature on `django-developers`_, not in the ticket tracker; 
     204      it'll get read more closely if it's on the mailing list. 
    178205 
    179206    * Describe clearly and concisely what the missing feature is and how you'd 
     
    202229encapsulated in a single patch, or changes that need multiple eyes on them -- 
    203230will have dedicated branches. See, for example, the `i18n branch`_. If you 
    204 have a change of this nature that you'd like to work on, ask on `django-dev`_ for 
    205 a branch to be created for you. We'll create a branch for pretty much any kind of 
    206 experimenting you'd like to do. 
     231have a change of this nature that you'd like to work on, ask on 
     232`django-developers`_ for a branch to be created for you. We'll create a branch 
     233for pretty much any kind of experimenting you'd like to do. 
    207234 
    208235We will only branch entire copies of the Django tree, even if work is only 
     
    214241 
    215242Once the branch is stable and ready to be merged into the trunk, alert 
    216 `django-dev`_. 
     243`django-developers`_. 
    217244 
    218245After a branch has been merged, it should be considered "dead"; write access to 
     
    286313 
    287314Whenever possible, we strive for a rough consensus. To that end, we'll often 
    288 have informal votes on django-dev about a feature. In these votes we follow th
    289 voting style invented by Apache and used on Python itself, where votes are given 
    290 as +1, +0, -0, or -1.  Roughly translated, these votes mean: 
     315have informal votes on `django-developers`_ about a feature. In these votes w
     316follow the voting style invented by Apache and used on Python itself, where 
     317votes are given as +1, +0, -0, or -1.  Roughly translated, these votes mean: 
    291318 
    292319    * +1: "I love the idea and I'm strongly committed to it." 
     
    299326      into reality." 
    300327 
    301 Although these votes on django-dev are informal, they'll be taken very 
     328Although these votes on django-developers are informal, they'll be taken very 
    302329seriously. After a suitable voting period, if an obvious consensus arises 
    303330we'll follow the votes. 
     
    338365.. _community page: http://www.djangoproject.com/community/ 
    339366.. _ticket tracker: http://code.djangoproject.com/newticket 
    340 .. _django-dev: http://groups.google.com/group/django-developers 
     367.. _django-developers: http://groups.google.com/group/django-developers 
    341368.. _FAQ: http://www.djangoproject.com/documentation/faq/ 
    342369.. _search the tracker: http://code.djangoproject.com/search