-
Notifications
You must be signed in to change notification settings - Fork 194
Add unwatch request #473
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add unwatch request #473
Conversation
b120986
to
5281a50
Compare
@Mergifyio rebase |
✅ Branch has been successfully rebased |
5281a50
to
7498a53
Compare
@414owen : Can this PR be complemented by a test case or a demonstration in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please supply a testcase or demo.
@andreasabel I've added a sample to demonstrate usage of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the update!; see my comment.
samples/Repos/Watching/Unwatch.hs
Outdated
@@ -0,0 +1,17 @@ | |||
{-# LANGUAGE OverloadedStrings #-} | |||
|
|||
module Unwatch where |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please add this to the executables in samples/github-samples.cabal
so that it gets built by the CI?
(You will likely have to delete the module header or change it to Main
to get ghc to build the executable.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I suspected, a main module can only have name Main
(or no name):
Building executable 'github-unwatch-repo' for github-samples-0..
[1 of 1] Compiling Unwatch ( Repos/Watching/Unwatch.hs, /__w/github/github/dist-newstyle/build/x86_64-linux/ghc-8.0.2/github-samples-0/x/github-unwatch-repo/noopt/build/github-unwatch-repo/github-unwatch-repo-tmp/Unwatch.o )
<no location info>: error:
output was redirected with -o, but no output will be generated
because there is no Main module.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix CI problems (Main module).
4ae5f0a
to
c527dbe
Compare
Thanks a lot, @414owen ! |
I ended up subscribed to a bunch of repositories, through some automated process.
This helped clear it up.
@phadej