Githawk: プライベートリポジトリからの通知が表示されない

作成日 2017年07月05日  ·  22コメント  ·  ソース: GitHawkApp/GitHawk

スターを付けたりコメントしたりしたリポジトリからの通知のみが表示されます。 私のプライベートリポジトリからは何もありません。 また、私自身の公開リポジトリからは何も表示されません。

これは私のgitURLです-https ://github.com/narup

ありがとう

🐛 bug

最も参考になるコメント

@BasThomasいいえ、Web認証ではありません。 吸うが、GHは実際にはそれをサポートしていないので、私もそれをハックするつもりはない。

全てのコメント22件

ログイン時に何の権限も要求しないことを考えると、公開情報しか表示できないと思いますが、これはすばらしい機能です。

@narup@Sherloukの両方に+ 1-ユーザーがメンバーであり、PRに参加しているプラ​​イベートリポジトリからの通知を確認しディスカッションを発行したり便利です。

おそらく2.0の機能ですか?

Octobox(http://octobox.io)を確認すると、Githubクライアントは、メンバーである組織のリポジトリにアクセスするためのアクセス許可を要求する必要があることがわかりました。

image

権限が利用できない場合、Githubクライアントがプライベートリポジトリからの通知にアクセスできるかどうかはわかりません。

別の考え-認証が成功したときにFreetimeがGithubAPIを使用してユーザーのリポジトリのリストを要求し、リポジトリのリスト(プライベートリポジトリを含む)を表示した場合、アプリはユーザーに承認するリポジトリを選択させ、通知を利用できるようにすることができます。

ええ、私はoauthを介して要求された権限を追加する必要があると思います

👍

スコープにuserを追加すると、それが修正されるかどうかがわかります。 Webフローを使用していないので、何も要求する必要はありません。 Oauth APIを使用して、ログイン時に新しいアクセストークンを作成するだけです(ローカルに保存されます)。 これが機能するかどうかを確認します...

@narup @burnflare @Malecks @Sherlouk @indyfromoz私は追加user最後のビルドにスコープを、しかし、あなたは(新しいトークンのw /新しいスコープを作成する)再認証する必要があります。 ログアウトして再度ログインし、もう一度チェックしてみませんか?

自分でテストするために、プライベート組織のセットアップを取得する必要があります。 ドキュメントを組み合わせて、Oauthを使用して組織で行う特別なことは何も表示されません。 オクトボックスの人々にpingを送信する可能性があります。

@rnystromサインイン/サインアウト、アプリの

追加のアクセス許可の入力を求められませんでした-違いはないようです!

😞

スコープは何も要求せず、 userがバックエンドパーマの動作を要求することを望んでいました。 しかし、プライベート組織リポジトリには追加の権限が必要なようです。 掘ります。

確認のために独自のプライベートリポジトリを設定し、問題を再現します。 これが/notificationsエンドポイントの制限である場合、私は創造性を発揮するか、(最後の手段として)プライベートリポジトリのサポートをやめる必要があります...

screen shot 2017-07-08 at 11 13 03 am

img_4603

了解しました。わかりました。 Web OAuthフローに切り替えます。これが、組織アクセスを要求/許可する唯一の方法です。

Webフローを使用した解決済みの組織アクセス:

https://developer.github.com/apps/building-integrations/setting-up-and-registering-oauth-apps/about-authorization-options-for-oauth-apps/

新しいプライベート組織の通知はRESTクライアントに表示されますが、アプリには表示されません。 それを理解する。

現在、複数のアカウントを持つことはできませんか?

@BasThomasいいえ、Web認証ではありません。 吸うが、GHは実際にはそれをサポートしていないので、私もそれをハックするつもりはない。

プライベートリポジトリからの通知が表示されておらず、応答にも表示されません-リグレッション?

[
  {
    "unread" : true,
    "reason" : "subscribed",
    "id" : "270587808",
    "repository" : {
      "private" : false,
      "downloads_url" : "https://api.github.com/repos/rnystrom/GitHawk/downloads",
      "issues_url" : "https://api.github.com/repos/rnystrom/GitHawk/issues{/number}",
      "archive_url" : "https://api.github.com/repos/rnystrom/GitHawk/{archive_format}{/ref}",
      "id" : 89921801,
      "tags_url" : "https://api.github.com/repos/rnystrom/GitHawk/tags",
      "trees_url" : "https://api.github.com/repos/rnystrom/GitHawk/git/trees{/sha}",
      "branches_url" : "https://api.github.com/repos/rnystrom/GitHawk/branches{/branch}",
      "notifications_url" : "https://api.github.com/repos/rnystrom/GitHawk/notifications{?since,all,participating}",
      "pulls_url" : "https://api.github.com/repos/rnystrom/GitHawk/pulls{/number}",
      "releases_url" : "https://api.github.com/repos/rnystrom/GitHawk/releases{/id}",
      "html_url" : "https://github.com/rnystrom/GitHawk",
      "forks_url" : "https://api.github.com/repos/rnystrom/GitHawk/forks",
      "url" : "https://api.github.com/repos/rnystrom/GitHawk",
      "description" : "A GitHub project manager app for iOS.",
      "hooks_url" : "https://api.github.com/repos/rnystrom/GitHawk/hooks",
      "stargazers_url" : "https://api.github.com/repos/rnystrom/GitHawk/stargazers",
      "issue_comment_url" : "https://api.github.com/repos/rnystrom/GitHawk/issues/comments{/number}",
      "assignees_url" : "https://api.github.com/repos/rnystrom/GitHawk/assignees{/user}",
      "languages_url" : "https://api.github.com/repos/rnystrom/GitHawk/languages",
      "full_name" : "rnystrom/GitHawk",
      "subscribers_url" : "https://api.github.com/repos/rnystrom/GitHawk/subscribers",
      "comments_url" : "https://api.github.com/repos/rnystrom/GitHawk/comments{/number}",
      "merges_url" : "https://api.github.com/repos/rnystrom/GitHawk/merges",
      "contributors_url" : "https://api.github.com/repos/rnystrom/GitHawk/contributors",
      "name" : "GitHawk",
      "issue_events_url" : "https://api.github.com/repos/rnystrom/GitHawk/issues/events{/number}",
      "commits_url" : "https://api.github.com/repos/rnystrom/GitHawk/commits{/sha}",
      "git_commits_url" : "https://api.github.com/repos/rnystrom/GitHawk/git/commits{/sha}",
      "keys_url" : "https://api.github.com/repos/rnystrom/GitHawk/keys{/key_id}",
      "labels_url" : "https://api.github.com/repos/rnystrom/GitHawk/labels{/name}",
      "git_refs_url" : "https://api.github.com/repos/rnystrom/GitHawk/git/refs{/sha}",
      "blobs_url" : "https://api.github.com/repos/rnystrom/GitHawk/git/blobs{/sha}",
      "owner" : {
        "id" : 739696,
        "organizations_url" : "https://api.github.com/users/rnystrom/orgs",
        "received_events_url" : "https://api.github.com/users/rnystrom/received_events",
        "following_url" : "https://api.github.com/users/rnystrom/following{/other_user}",
        "login" : "rnystrom",
        "avatar_url" : "https://avatars2.githubusercontent.com/u/739696?v=4",
        "url" : "https://api.github.com/users/rnystrom",
        "subscriptions_url" : "https://api.github.com/users/rnystrom/subscriptions",
        "type" : "User",
        "repos_url" : "https://api.github.com/users/rnystrom/repos",
        "html_url" : "https://github.com/rnystrom",
        "events_url" : "https://api.github.com/users/rnystrom/events{/privacy}",
        "site_admin" : false,
        "starred_url" : "https://api.github.com/users/rnystrom/starred{/owner}{/repo}",
        "gists_url" : "https://api.github.com/users/rnystrom/gists{/gist_id}",
        "gravatar_id" : "",
        "followers_url" : "https://api.github.com/users/rnystrom/followers"
      },
      "subscription_url" : "https://api.github.com/repos/rnystrom/GitHawk/subscription",
      "deployments_url" : "https://api.github.com/repos/rnystrom/GitHawk/deployments",
      "milestones_url" : "https://api.github.com/repos/rnystrom/GitHawk/milestones{/number}",
      "contents_url" : "https://api.github.com/repos/rnystrom/GitHawk/contents/{+path}",
      "events_url" : "https://api.github.com/repos/rnystrom/GitHawk/events",
      "teams_url" : "https://api.github.com/repos/rnystrom/GitHawk/teams",
      "collaborators_url" : "https://api.github.com/repos/rnystrom/GitHawk/collaborators{/collaborator}",
      "git_tags_url" : "https://api.github.com/repos/rnystrom/GitHawk/git/tags{/sha}",
      "statuses_url" : "https://api.github.com/repos/rnystrom/GitHawk/statuses/{sha}",
      "fork" : false,
      "compare_url" : "https://api.github.com/repos/rnystrom/GitHawk/compare/{base}...{head}"
    },
    "subscription_url" : "https://api.github.com/notifications/threads/270587808/subscription",
    "subject" : {
      "latest_comment_url" : "https://api.github.com/repos/rnystrom/GitHawk/issues/comments/339895997",
      "title" : "Report bug from screenshot",
      "url" : "https://api.github.com/repos/rnystrom/GitHawk/issues/755",
      "type" : "Issue"
    },
    "last_read_at" : "2017-10-27T04:53:55Z",
    "updated_at" : "2017-10-27T07:32:55Z",
    "url" : "https://api.github.com/notifications/threads/270587808"
  }
]

(上記の通知を既読としてマークした後)
screen shot 2017-10-27 at 09 57 32

リポジトリはGitHawkへのアクセスを許可していますか?

ああ、それはそれかもしれません👍

GitHawkで送信

誤警報でごめんなさい😬

GitHawkで送信

どういうわけかもっと明確にできるのではないかと思います...おそらく、提出する前に「新しい問題」をスキャンすることが役立つでしょう。

GitHawkで送信

たぶん簡単なFAQ? 問題テンプレートからこれに言及することもできます

GitHawkで送信

このページは役に立ちましたか?
0 / 5 - 0 評価

関連する問題

rnystrom picture rnystrom  ·  3コメント

rnystrom picture rnystrom  ·  3コメント

rizwankce picture rizwankce  ·  3コメント

weyert picture weyert  ·  3コメント

BasThomas picture BasThomas  ·  3コメント