From b4646cc2522f204550d97998d727d12108896ffa Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Thu, 17 Aug 2017 04:33:39 +0200 Subject: Add GitRemoteSetOrigin plugin This plugin provides a command to set a git commit repo URL for use with the `GitHubCommit` plugin. Typing git remote set origin URL in chat will set that URL to the current channel. Problems: * Can't figure out how to use capture groups, so the entire matched message string comes back, not just the URL * Need to upsert instead of insert into the database --- sorbot.cabal | 1 + 1 file changed, 1 insertion(+) (limited to 'sorbot.cabal') diff --git a/sorbot.cabal b/sorbot.cabal index f27aff6..d69d7eb 100644 --- a/sorbot.cabal +++ b/sorbot.cabal @@ -21,6 +21,7 @@ library , Plugin , Plugin.Base , Plugin.GitHubCommit + , Plugin.GitRemoteSetOrigin build-depends: base >= 4.7 && < 5 , bytestring , irc-client -- cgit v1.2.3