Skip to content

Instantly share code, notes, and snippets.

View codicesoftware's full-sized avatar

Codice Software codicesoftware

View GitHub Profile
@codicesoftware
codicesoftware / remoting-client.conf
Last active October 8, 2018 16:10
Plastic SCM SSL configuration files
<!-- save this file as %PROGRAMFILES%\PlasticSCM5\client\remoting.conf or /opt/plasticscm5/client/remoting.conf -->
<configuration>
<system.runtime.remoting>
<application>
<channels>
<channel type="Codice.Channels.PlasticTcpChannel, plastictcpchannel" name="normal">
<clientProviders>
<provider type="Codice.Channels.ClientSinkProvider, plastictcpchannel" />
<formatter ref="binary" />
</clientProviders>
@codicesoftware
codicesoftware / upgrade-linux.xml
Created October 5, 2018 14:49
Plastic SCM upgrade configuration files
<!-- NOTE: Replace "@@VERSION@@" by the installed PlasticSCM server version. Example: Replace "@@VERSION@@" by "5.4.16.619" -->
<ScriptActions>
<Actions>
<SetStatus Msg = "Downloading Plastic SCM installer (@@VERSION@@) ..." />
<SetDistraction Msg = "" />
<SetProgress Value = "20" />
<Download
@codicesoftware
codicesoftware / svn.bat
Created October 5, 2018 14:45
Windows script to migrate your SVN repos to Plastic SCM
svnrepo=https://SVNSERVER/svn/REPO
plasticserver=PLASTICSERVER:PORT
for project in `svn ls $svnrepo`; do
project=${project%/} # strip final slash
echo Processing project $project...
echo ---------------------------------------------------
# check if repo already exists at Plastic server
grepcount=`cm lrep | grep -c $project`;
if [ "$grepcount" == "0" ]; then
git svn clone $svnrepo/$project --stdlayout
@codicesoftware
codicesoftware / plastic.log.conf
Created October 5, 2018 14:45
Plastic SCM GUI log configuration file
<log4net>
<appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
<file value="plastic" />
<staticLogFileName value="false"/>
<appendToFile value="false" />
<rollingStyle value="Date" />
<datePattern value="yyyyMMdd-HH&quot;.log.txt&quot;" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date %-5level %logger - %message%newline" />
@codicesoftware
codicesoftware / cm.log.conf
Created October 5, 2018 14:43
Plastic SCM CLI log configuration file
<log4net>
<appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender">
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date %-5level %thread %logger - %message%newline" />
</layout>
</appender>
<appender name="FileAppender" type="log4net.Appender.FileAppender">
<file value="cm.log.txt" />
<appendToFile value="true" />