Tweak irc notifications
This commit is contained in:
parent
a403637f7e
commit
51c0de4d5c
|
@ -41,7 +41,7 @@ namespace SparkleLib {
|
|||
{
|
||||
|
||||
Server = server;
|
||||
//Channel = GetSHA1 (folder_name);
|
||||
//Channel = GetSHA1 (server + folder_name);
|
||||
Channel = folder_name;
|
||||
|
||||
if (!user_email.Equals ("") && user_email != null)
|
||||
|
|
|
@ -381,6 +381,7 @@ namespace SparkleLib {
|
|||
|
||||
} else {
|
||||
|
||||
// Not really needed as we won't be notified about our own messages
|
||||
SparkleHelpers.DebugInfo ("Irc",
|
||||
"[" + Name + "] False alarm, already up to date. (" + _CurrentHash + ")");
|
||||
|
||||
|
@ -541,7 +542,6 @@ namespace SparkleLib {
|
|||
string message = FormatCommitMessage ();
|
||||
Commit (message);
|
||||
|
||||
CheckForRemoteChanges ();
|
||||
Push ();
|
||||
|
||||
} else {
|
||||
|
@ -611,8 +611,9 @@ namespace SparkleLib {
|
|||
return;
|
||||
|
||||
base.Commit (message);
|
||||
_CurrentHash = Head.CurrentCommit.Hash;
|
||||
|
||||
SparkleHelpers.DebugInfo ("Commit", "[" + Name + "] " + message);
|
||||
SparkleHelpers.DebugInfo ("Commit", "[" + Name + "] " + message + " (" + _CurrentHash);
|
||||
|
||||
SparkleEventArgs args = new SparkleEventArgs ("Commited") {
|
||||
Message = message
|
||||
|
@ -809,6 +810,8 @@ namespace SparkleLib {
|
|||
if (PushingFailed != null)
|
||||
PushingFailed (this, args);
|
||||
|
||||
CheckForChanges ();
|
||||
|
||||
} else {
|
||||
|
||||
SparkleHelpers.DebugInfo ("Git", "[" + Name + "] Changes pushed.");
|
||||
|
@ -826,6 +829,9 @@ namespace SparkleLib {
|
|||
if (PushingFinished != null)
|
||||
PushingFinished (this, args);
|
||||
|
||||
if (!_IsPolling)
|
||||
Listener.Client.SendMessage (SendType.Message, Listener.Channel, _CurrentHash);
|
||||
|
||||
}
|
||||
|
||||
};
|
||||
|
|
|
@ -2,14 +2,14 @@
|
|||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string></string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>sparkleshare</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>org.sparkleshare.sparkleshare</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>SparkleShare</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>10.6</string>
|
||||
<key>NSMainNibFile</key>
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
<RootNamespace>SparkleShare</RootNamespace>
|
||||
<AssemblyName>SparkleShare</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<ReleaseVersion>0.2</ReleaseVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
|
|
|
@ -16,5 +16,6 @@ Global
|
|||
EndGlobalSection
|
||||
GlobalSection(MonoDevelopProperties) = preSolution
|
||||
StartupItem = SparkleShare.csproj
|
||||
version = 0.2
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
|
Loading…
Reference in a new issue