archive-com.com » COM » O » ORCAWARE.COM

Total: 284

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • Information for "Subversion configured for Windows Active Directory HTTPS" - SubversionWiki
    content page Yes Page protection Edit Allow all users infinite Move Allow all users infinite Edit history Page creator Anneb Talk contribs Date of page creation 17 54 7 December 2007 Latest editor GeorgePowell Talk contribs Date of latest edit 18 02 3 June 2011 Total number of edits 10 Total number of distinct authors 3 Recent number of edits within past 90 days 0 Recent number of distinct authors

    Original URL path: https://www.orcaware.com/svn/mediawiki/index.php?title=Subversion_configured_for_Windows_Active_Directory_HTTPS&action=info (2016-04-24)
    Open archived version from archive


  • Automatic lock-modify-unlock - SubversionWiki
    TRANSACTION 2 set SVNLOOK c Progra 1 Visual 1 bin svnlook exe set TEMP c Progra 1 Visual 1 if exist TEMP tempfile 2 del TEMP tempfile 2 REM Identify all property updates and added files in current transaction and print them to tempfile for f tokens 1 usebackq i in SVNLOOK changed t 2 1 do if i A echo j TEMP tempfile 2 for f tokens 1 usebackq i in SVNLOOK changed t 2 1 do if i U echo j TEMP tempfile 2 REM If no property updates or file additions occurred go to the end of the script if not exist TEMP tempfile 2 goto NOFILESADDED REM For each file with these extensions listed in the tempfile check that it has the needs lock property set for f tokens usebackq i in findstr E I R bmp gif ico jpeg jpg png tif tiff doc jar odt pdf ppt swf vsd xls zip TEMP tempfile 2 do REM echo SVNLOOK propget t 2 1 svn needs lock i 1 nul 2 nul 1 2 SVNLOOK propget t 2 1 svn needs lock i 1 2 REM If the property wasn t set if ERRORLEVEL 1 REM Display a helpful error message to the user echo commit denied binary files must have property svn needs lock 2 type TEMP tempfile 2 2 del TEMP tempfile 2 EXIT B 1 del TEMP tempfile 2 NOFILESADDED EXIT B 0 2 Recursively set svn needs lock property on binaries If you need to apply svn needs lock on already existing binaries in a repository do the following on a client not on the svn server checkout a repository add to following line to a cmd script Windows only FOR R c full path to repository v in bmp gif ico jpeg jpg png tif tiff doc jar odc odf odg odi odp ods odt pdf ppt ser swf vsd xls zip do svn propset svn needs lock yes fv run the script 3 Configure users to automatically use svn needs lock property on new binary files New binary files should have the svn needs lock property set this is verified by the script of step 1 This can be achieved automatically if users configure their svn client config file under windows the SVN config file is C Documents and Settings USER NAME Application Data Subversion config Replace or merge the miscellany and auto props sections in the svn config file with the following miscellany enable auto props yes auto props The format of the entries is file name pattern propname value propname value The file name pattern can contain wildcards such as and All entries which match will be applied to the file Note that auto props functionality must be enabled which is typically done by setting the enable auto props option bmp svn mime type image bmp svn needs lock gif svn mime type image gif svn needs lock ico svn mime type image x icon svn needs lock

    Original URL path: https://www.orcaware.com/svn/mediawiki/index.php?title=Automatic_lock-modify-unlock&oldid=1759 (2016-04-24)
    Open archived version from archive

  • View source for Automatic lock-modify-unlock - SubversionWiki
    EXIT B 1 del TEMP tempfile 2 NOFILESADDED EXIT B 0 pre As an alternative this modification to the script above handles long filenames and by default is setup to work with a VisualSVN Server installation pre set REPOS 1 set TRANSACTION 2 set SVNLOOK c Progra 1 Visual 1 bin svnlook exe set TEMP c Progra 1 Visual 1 if exist TEMP tempfile 2 del TEMP tempfile 2 REM Identify all property updates and added files in current transaction and print them to tempfile for f tokens 1 usebackq i in SVNLOOK changed t 2 1 do if i A echo j TEMP tempfile 2 for f tokens 1 usebackq i in SVNLOOK changed t 2 1 do if i U echo j TEMP tempfile 2 REM If no property updates or file additions occurred go to the end of the script if not exist TEMP tempfile 2 goto NOFILESADDED REM For each file with these extensions listed in the tempfile check that it has the needs lock property set for f tokens usebackq i in findstr E I R bmp gif ico jpeg jpg png tif tiff doc jar odt pdf ppt swf vsd xls zip TEMP tempfile 2 do REM echo SVNLOOK propget t 2 1 svn needs lock i 1 nul 2 nul 1 2 SVNLOOK propget t 2 1 svn needs lock i 1 2 REM If the property wasn t set if ERRORLEVEL 1 REM Display a helpful error message to the user echo commit denied binary files must have property svn needs lock 2 type TEMP tempfile 2 2 del TEMP tempfile 2 EXIT B 1 del TEMP tempfile 2 NOFILESADDED EXIT B 0 pre 2 Recursively set svn needs lock property on binaries If you need to apply svn needs lock on already existing binaries in a repository do the following on a client not on the svn server checkout a repository add to following line to a cmd script Windows only pre FOR R c full path to repository v in bmp gif ico jpeg jpg png tif tiff doc jar odc odf odg odi odp ods odt pdf ppt ser swf vsd xls zip do svn propset svn needs lock yes fv pre run the script 3 Configure users to automatically use svn needs lock property on new binary files New binary files should have the svn needs lock property set this is verified by the script of step 1 This can be achieved automatically if users configure their svn client config file under windows the SVN config file is C Documents and Settings USER NAME Application Data Subversion config Replace or merge the miscellany and auto props sections in the svn config file with the following pre miscellany enable auto props yes auto props The format of the entries is file name pattern propname value propname value The file name pattern can contain wildcards such as and All entries which match will be applied to the file Note that

    Original URL path: https://www.orcaware.com/svn/mediawiki/index.php?title=Automatic_lock-modify-unlock&action=edit (2016-04-24)
    Open archived version from archive

  • Revision history of "Automatic lock-modify-unlock" - SubversionWiki
    edit cur prev 17 01 19 February 2009 Aaron stover Talk contribs 6 077 bytes 1 485 cur prev 04 17 8 December 2007 Anneb Talk contribs 4 592 bytes 246 cur prev 03 32 8 December 2007 Anneb Talk contribs 4 346 bytes 4 346 New page Different versions of binary files cannot be merged Therefore versioning of binary files should follow the lock modify unlock model http svnbook

    Original URL path: https://www.orcaware.com/svn/mediawiki/index.php?title=Automatic_lock-modify-unlock&action=history (2016-04-24)
    Open archived version from archive

  • Pages that link to "Automatic lock-modify-unlock" - SubversionWiki
    talk Category Category talk Invert selection Filters Hide transclusions Hide links Hide redirects The following pages link to Automatic lock modify unlock View previous 50 next 50 20 50 100 250 500 Main Page links Subversion configured for Windows Active Directory HTTPS links View previous 50 next 50 20 50 100 250 500 Retrieved from https www orcaware com svn wiki Special WhatLinksHere Automatic lock modify unlock Navigation menu Personal

    Original URL path: https://www.orcaware.com/svn/wiki/Special:WhatLinksHere/Automatic_lock-modify-unlock (2016-04-24)
    Open archived version from archive

  • Automatic lock-modify-unlock - SubversionWiki
    svnlook exe set TEMP c Progra 1 Visual 1 if exist TEMP tempfile 2 del TEMP tempfile 2 REM Identify all property updates and added files in current transaction and print them to tempfile for f tokens 1 usebackq i in SVNLOOK changed t 2 1 do if i A echo j TEMP tempfile 2 for f tokens 1 usebackq i in SVNLOOK changed t 2 1 do if i U echo j TEMP tempfile 2 REM If no property updates or file additions occurred go to the end of the script if not exist TEMP tempfile 2 goto NOFILESADDED REM For each file with these extensions listed in the tempfile check that it has the needs lock property set for f tokens usebackq i in findstr E I R bmp gif ico jpeg jpg png tif tiff doc jar odt pdf ppt swf vsd xls zip TEMP tempfile 2 do REM echo SVNLOOK propget t 2 1 svn needs lock i 1 nul 2 nul 1 2 SVNLOOK propget t 2 1 svn needs lock i 1 2 REM If the property wasn t set if ERRORLEVEL 1 REM Display a helpful error message to the user echo commit denied binary files must have property svn needs lock 2 type TEMP tempfile 2 2 del TEMP tempfile 2 EXIT B 1 del TEMP tempfile 2 NOFILESADDED EXIT B 0 2 Recursively set svn needs lock property on binaries If you need to apply svn needs lock on already existing binaries in a repository do the following on a client not on the svn server checkout a repository add to following line to a cmd script Windows only FOR R c full path to repository v in bmp gif ico jpeg jpg png tif tiff doc jar odc odf odg odi odp ods odt pdf ppt ser swf vsd xls zip do svn propset svn needs lock yes fv run the script 3 Configure users to automatically use svn needs lock property on new binary files New binary files should have the svn needs lock property set this is verified by the script of step 1 This can be achieved automatically if users configure their svn client config file under windows the SVN config file is C Documents and Settings USER NAME Application Data Subversion config Replace or merge the miscellany and auto props sections in the svn config file with the following miscellany enable auto props yes auto props The format of the entries is file name pattern propname value propname value The file name pattern can contain wildcards such as and All entries which match will be applied to the file Note that auto props functionality must be enabled which is typically done by setting the enable auto props option bmp svn mime type image bmp svn needs lock gif svn mime type image gif svn needs lock ico svn mime type image x icon svn needs lock jpeg svn mime type image jpeg svn needs lock jpg

    Original URL path: https://www.orcaware.com/svn/mediawiki/index.php?title=Automatic_lock-modify-unlock&printable=yes (2016-04-24)
    Open archived version from archive

  • Information for "Automatic lock-modify-unlock" - SubversionWiki
    Allow all users infinite Move Allow all users infinite Edit history Page creator Anneb Talk contribs Date of page creation 03 32 8 December 2007 Latest editor Aaron stover Talk contribs Date of latest edit 17 01 19 February 2009 Total number of edits 3 Total number of distinct authors 2 Recent number of edits within past 90 days 0 Recent number of distinct authors 0 Retrieved from https www

    Original URL path: https://www.orcaware.com/svn/mediawiki/index.php?title=Automatic_lock-modify-unlock&action=info (2016-04-24)
    Open archived version from archive

  • Server performance tuning for Linux and Unix - SubversionWiki
    allows the revisions to be stored in subdirectories that don t grow past a specified size This allows repositories to store many more revisions than can efficiently be stored in one directory Modern filesystems can handle hundreds of thousands of files in a single directory However performance can suffer as the directory index starts to use multiple levels of indirection Some administration tools may also have trouble with very large directories Splitting the revision store into sub directories avoids all these problems The shard size can by adjusted by editing the layout sharded line in db format after svnadmin create but before populating the repository The default is 1000 revisions per subdirectory Non sharded repositories can be loaded into a new sharded repository using svnadmin load or svnsync Optimize write once files on NFS If the repository is on a NFS filesystem then a cache consistency check is made every time a file is opened Since the revision files in a FSFS repository never change it is worthwhile to skip the cache checks on these files The subversion 1 5 repository format store immutable files in specific subdirectories so that this can be done The NFS cache check can be disabled on Linux by passing the nocto option to the mount command note the man page claims this is ignored but it isn t on linux 2 6 You need coherency for some files so the NFS volume is also mounted without the option on a different mount point Symbolic links are made from the cache coherent mount point to the nocto mount for these directories revs and txn protorevs Implementation example not complete just an outline of the key steps stop all servers that can write to the repository sudo mount t nfs nfs server mount point mnt svn o rw nosuid tcp rsize 32768 wsize 32768 sudo mount t nfs nfs server mount point mnt svn nocto o rw nosuid tcp rsize 32768 wsize 32768 nocto actimeo 3600 cd mnt svn repo path mv revs revs nocto mv txn protorevs txn protorevs nocto ln s mnt svn nocto repo path db revs nocto revs ln s mnt svn nocto repo path db txn protorevs nocto txn protorevs start the servers Increase NFS caching timeout On Linux metadata on files from NFS is only kept for a finite period of time This can be changed by passing the actimeo option to the mount command The man page claims the default is 60 seconds but some experimentation suggests it may be higher than that For a nocto mount point this value can be raised to something much larger e g 3600 See the above example Distributing CPU load The subversion communicates with the clients by transmitting differences in state so the CPU load to calculate the difference can be significant By storing the repository on NFS you can have multiple front end FE systems that share the computational load and provide redundancy A network load balancer makes all front ends

    Original URL path: https://www.orcaware.com/svn/mediawiki/index.php?title=Server_performance_tuning_for_Linux_and_Unix&oldid=1751 (2016-04-24)
    Open archived version from archive



  •