diff options
author | Teddy Wing | 2017-08-17 04:33:39 +0200 |
---|---|---|
committer | Teddy Wing | 2017-08-17 04:33:39 +0200 |
commit | b4646cc2522f204550d97998d727d12108896ffa (patch) | |
tree | c13aa70023776b0af305b98ba617a272667d9d94 /sorbot.cabal | |
parent | 5acf337a778d4806f2a4ed84b04d2d8fc3415949 (diff) | |
download | sorbot-b4646cc2522f204550d97998d727d12108896ffa.tar.bz2 |
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
Diffstat (limited to 'sorbot.cabal')
-rw-r--r-- | sorbot.cabal | 1 |
1 files changed, 1 insertions, 0 deletions
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 |