New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Developers/SVN_QuickReference (diff) – NEMO

Changes between Version 24 and Version 25 of Developers/SVN_QuickReference


Ignore:
Timestamp:
2017-12-08T14:27:29+01:00 (6 years ago)
Author:
nicolasmartin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Developers/SVN_QuickReference

    v24 v25  
    11= '''Working with SVN and tickets''' 
    22 
    3 [[PageOutline(2)]] 
     3[[PageOutline(2-3)]] 
    44 
    55Last edited at '''[[Wikinfo(changed_ts)]]''' by '''[[Wikinfo(changed_by)]]''' 
    66 
    7 == How to get permissions for committing on the SVN repository 
     7== How to get write permissions to the repository 
    88 
    99First and foremost, if you don't already have a user account then you have to '''[/register create it]'''. 
     
    1212 
    1313If you have a user account or had a developer account before, see with your local NEMO Officer. 
     14 
     15{{{#!td 
     16{{{#!SQLTable 
     17SELECT value AS "Name" FROM session_attribute  
     18WHERE 
     19name IN ('name') 
     20AND 
     21sid IN (SELECT sid FROM session_attribute WHERE name = 'role' AND value = 'Officer') 
     22}}} 
     23}}} 
     24{{{#!td 
     25{{{#!SQLTable 
     26SELECT value AS "Office" FROM session_attribute  
     27WHERE 
     28name IN ('office') 
     29AND 
     30sid IN (SELECT sid FROM session_attribute WHERE name = 'role' AND value = 'Officer') 
     31}}} 
     32}}} 
     33[[UserProfilesList(role=Officer)]] 
    1434 
    1535=== For external users 
     
    6888setenv SVN_EDITOR='your_favourite_editor' 
    6989# Commit and write the log message (ticket link #.... and so on) in your editor 
    70 svn ci 'files list' 
     90svn ci files_list # `svn ci` without files list will commit all modified files recursively from the current directory 
    7191# or directly from the command line of the shell session 
    72 svn ci  -m 'log message with ticket link #.... and so on' 'files list' 
     92svn ci  -m 'log message' files_list 
    7393}}} 
     94 
     95==== Commit message syntax 
     96 
     97New syntax to add in commit message to enable extended functionalities `[command #ticket_number]` 
     98* Add commit message as comment in the ticket: `[see #ticket_number]` 
     99* Close a ticket with the commit: `[fix #ticket_number]` 
    74100 
    75101=== How to make a tag