| 126 | |
| 127 | Difference between revisions 3 and 4 for the privileges.xml file for metadata record 10: |
| 128 | |
| 129 | {{{ |
| 130 | svn diff -r 3:4 |
| 131 | Index: 10/privileges.xml |
| 132 | =================================================================== |
| 133 | --- 10/privileges.xml (revision 3) |
| 134 | +++ 10/privileges.xml (revision 4) |
| 135 | @@ -1,12 +1,52 @@ |
| 136 | <response> |
| 137 | <record> |
| 138 | + <group_name>intranet</group_name> |
| 139 | + <operation_id>0</operation_id> |
| 140 | + <operation_name>view</operation_name> |
| 141 | + </record> |
| 142 | + <record> |
| 143 | <group_name>sample</group_name> |
| 144 | <operation_id>0</operation_id> |
| 145 | <operation_name>view</operation_name> |
| 146 | </record> |
| 147 | <record> |
| 148 | + <group_name>all</group_name> |
| 149 | + <operation_id>0</operation_id> |
| 150 | + <operation_name>view</operation_name> |
| 151 | + </record> |
| 152 | + <record> |
| 153 | + <group_name>intranet</group_name> |
| 154 | + <operation_id>1</operation_id> |
| 155 | + <operation_name>download</operation_name> |
| 156 | + </record> |
| 157 | + <record> |
| 158 | + <group_name>all</group_name> |
| 159 | + <operation_id>1</operation_id> |
| 160 | + <operation_name>download</operation_name> |
| 161 | + </record> |
| 162 | + <record> |
| 163 | <group_name>sample</group_name> |
| 164 | <operation_id>3</operation_id> |
| 165 | <operation_name>notify</operation_name> |
| 166 | </record> |
| 167 | + <record> |
| 168 | + <group_name>intranet</group_name> |
| 169 | + <operation_id>5</operation_id> |
| 170 | + <operation_name>dynamic</operation_name> |
| 171 | + </record> |
| 172 | + <record> |
| 173 | + <group_name>all</group_name> |
| 174 | + <operation_id>5</operation_id> |
| 175 | + <operation_name>dynamic</operation_name> |
| 176 | + </record> |
| 177 | + <record> |
| 178 | + <group_name>intranet</group_name> |
| 179 | + <operation_id>6</operation_id> |
| 180 | + <operation_name>featured</operation_name> |
| 181 | + </record> |
| 182 | + <record> |
| 183 | + <group_name>all</group_name> |
| 184 | + <operation_id>6</operation_id> |
| 185 | + <operation_name>featured</operation_name> |
| 186 | + </record> |
| 187 | </response> |
| 188 | }}} |
| 189 | |
| 190 | Examination of this diff file shows that privileges for the 'All' and 'Intranet' groups have been added between revision 3 and 4 - in short, the record has been published. |
| 191 | |
| 192 | Here is an example of a change that has been made to a metadata record: |
| 193 | |
| 194 | {{{ |
| 195 | svn diff -r 2:3 |
| 196 | Index: 10/metadata.xml |
| 197 | =================================================================== |
| 198 | --- 10/metadata.xml (revision 2) |
| 199 | +++ 10/metadata.xml (revision 3) |
| 200 | @@ -61,7 +61,7 @@ |
| 201 | </gmd:CI_ResponsibleParty> |
| 202 | </gmd:contact> |
| 203 | <gmd:dateStamp> |
| 204 | - <gco:DateTime>2012-01-10T01:47:51</gco:DateTime> |
| 205 | + <gco:DateTime>2012-01-10T01:48:06</gco:DateTime> |
| 206 | </gmd:dateStamp> |
| 207 | <gmd:metadataStandardName> |
| 208 | <gco:CharacterString>ISO 19115:2003/19139</gco:CharacterString> |
| 209 | @@ -85,7 +85,7 @@ |
| 210 | <gmd:citation> |
| 211 | <gmd:CI_Citation> |
| 212 | <gmd:title> |
| 213 | - <gco:CharacterString>Template for Vector data in ISO19139 (preferr |
| 214 | ed!)</gco:CharacterString> |
| 215 | + <gco:CharacterString>fobblers foibblers</gco:CharacterString> |
| 216 | </gmd:title> |
| 217 | <gmd:date> |
| 218 | <gmd:CI_Date> |
| 219 | |
| 220 | }}} |
| 221 | |
| 222 | This example shows that the editor has made a change to the title and the dateStamp. |
| 223 | |
| 224 | Note these examples were created using command line subversion tools. The viewvc subversion repository tool has a graphical interface that allows side-by-side comparison of changes/differences between files: |
| 225 | |