Changes between Version 6 and Version 7 of FirstCommit


Ignore:
Timestamp:
11/29/12 22:12:34 (21 months ago)
Author:
MayankSingh
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FirstCommit

    v6 v7  
     1We generally treat the Mercurial repositories for PySoy as wikis - fairly easy to get to, but we do want to keep it tidy.   
     2Toward that end, first commit should be done to the mailing list to ensure the metadata is correct.   
     3 
    14= Linux Instructions = 
    2 We generally treat the Mercurial repositories for PySoy as wikis - fairly easy to get to, but we do want to keep it tidy.   
    3 Toward that end, first commit should be done to the mailing list to ensure the metadata is correct.  Mercurial makes this really simple, edit your ~/.hgrc file with your name, email address, and SMTP password. Note that if you use GMail, you'll need to [https://accounts.google.com/b/0/IssuedAuthSubTokens?hl=en create an application-specific password].   
     5On linux, edit your ~/.hgrc file with your name, email address, and SMTP password. Note that if you use GMail, you'll need to [https://accounts.google.com/b/0/IssuedAuthSubTokens?hl=en create an application-specific password].  Use the application-specific password in your .hgrc file rather than your actual password if using GMail. 
    46 
    57Some points to remember: 
     
    1113 
    1214 
    13 = ~/.hgrc = 
     15== ~/.hgrc == 
    1416 
    1517{{{ 
     
    3436}}} 
    3537 
    36 = Command = 
     38== Command == 
    3739 
    3840After you add this, which notably ensures your username (full name and email) are recorded so you get proper credit for your work, commit your work (potentially more than one commit) and run this using the revision of the ''first'' commit in the series: 
     
    4648 
    4749Subscribe to the mailing list [http://lists.pysoy.org/mailman/listinfo/pysoy-dev here] to check whether your mail was actually sent. Please prevent multiple mails for the same patch. 
     50 
     51= Windows Instructions =  
     52 
     53On windows, you should use tortoisehg as a client. Here are some instructions on how to perform certain necessary tasks on it: 
     541. Cloning repositories -  you should create an empty folder with project name and right click -> clone. Replace source with the repository address and click clone. 
     552. Setting up mercurial.ini - To setup mercurial on windows, right click on project -> TortoiseHg -> Global Settings. Click on edit file and copy the format from below. Don't forget to save. Also, if you are using GMail, use the application specific password instead of your account password. 
     56 
     57{{{ 
     58[ui] 
     59username = Arc Riley <arcriley@gmail.com> 
     60merge = kdiff3 
     61 
     62[email] 
     63from = Arc Riley <arcriley@gmail.com> 
     64to = pysoy-dev@pysoy.org 
     65 
     66[smtp] 
     67host = smtp.gmail.com 
     68port = 587 
     69tls = True 
     70username = arcriley@gmail.com 
     71password = smtp_password 
     72 
     73[extensions] 
     74color = 
     75patchbomb = 
     76}}} 
     77 
     783. Committing - Right click project and click on "Hg commit" to commit your work. Don't forget to put a nice commit message before pressing commit. 
     794. Pulling and pushing - One your repository is cloned, use the sync option in the context-sensitive TortoiseHg menu on right clicking your project to pull and push.  
     805. Emailing commits - The Hg email option is also found in the sync dialog box. If your email settings are correct, you are good to go. Select your commits and mail them. You won't be able see whether your mail was sent unless you are subscribed to the mailing list. It WON'T appear on the gci site. Subscribe to the mailing list [http://lists.pysoy.org/mailman/listinfo/pysoy-dev here] to check whether your mail was actually sent. Please prevent multiple mails for the same patch.