From 1af4ddb61800bb8adfd14f3e04b671d0b6f1c556 Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Thu, 24 May 2018 23:01:50 -0700 Subject: [PATCH 1/6] ProBot Lock: 90 days --- .github/lock.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/lock.yml b/.github/lock.yml index 9390a223..0f826050 100644 --- a/.github/lock.yml +++ b/.github/lock.yml @@ -1,4 +1,4 @@ # ProBot Lock (https://probot.github.io/apps/lock/) -daysUntilLock: 180 +daysUntilLock: 90 lockComment: false From 228d68b48844544069e6180f0d0c7a6e1b00a8ac Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Thu, 24 May 2018 23:02:28 -0700 Subject: [PATCH 2/6] ProBot Request Info: tweak comment --- .github/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/config.yml b/.github/config.yml index 87b5f8dc..95fec09b 100644 --- a/.github/config.yml +++ b/.github/config.yml @@ -1,7 +1,7 @@ # ProBot Request Info (https://probot.github.io/apps/request-info/) requestInfoReplyComment: > - We would appreciate it if you could provide us with more information about this + 👋 We would appreciate it if you could provide us with more information about this issue.

![](https://feross.net/s/cats/14.gif) requestInfoLabelToAdd: 'need more info' From 03a6ec346615bbf4a3d20a872a0a1c0d4e4151f5 Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Thu, 24 May 2018 23:03:17 -0700 Subject: [PATCH 3/6] ProBot Welcome: tweak comments --- .github/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/config.yml b/.github/config.yml index 95fec09b..3fcf78b9 100644 --- a/.github/config.yml +++ b/.github/config.yml @@ -8,10 +8,10 @@ requestInfoLabelToAdd: 'need more info' # ProBot Welcome (https://probot.github.io/apps/welcome/) newPRWelcomeComment: > - Thanks for opening this pull request! You're awesome. + 🙌 Thanks for opening this pull request! You're awesome.

![](https://feross.net/s/cats/6.gif) firstPRMergeComment: > - Congrats on getting your first pull request landed!

+ 🎉 Congrats on getting your first pull request landed!

![](https://feross.net/s/cats/29.gif) # ProBot WIP (https://probot.github.io/apps/wip/) From a2e5390d3034be55378889919fd2f72f5b92e160 Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Thu, 24 May 2018 23:03:22 -0700 Subject: [PATCH 4/6] ProBot No Response: tweak comment --- .github/no-response.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/no-response.yml b/.github/no-response.yml index 1c396cf1..714c1e16 100644 --- a/.github/no-response.yml +++ b/.github/no-response.yml @@ -3,9 +3,7 @@ daysUntilClose: 7 responseRequiredLabel: 'need more info' closeComment: > - This issue has been automatically closed because there was no response to the - maintainer's request for more information from the issue opener. With only the - information that is currently in the issue, we don't have enough information to - take action. Please leave a comment or open a new issue if you have the additional - information we need to investigate further.

- ![](https://feross.net/s/cats/7.gif) + This issue has been automatically closed because there was no response to a + request for more information from the issue opener. Please leave a comment or + open a new issue if you have additional information related to this issue. +

![](https://feross.net/s/cats/7.gif) From 6eac7405fd3c400d4d5e364104d8ccba4f322550 Mon Sep 17 00:00:00 2001 From: "greenkeeper[bot]" Date: Fri, 25 May 2018 07:23:55 +0000 Subject: [PATCH 5/6] fix(package): update parse-torrent to version 6.0.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c4dcfebc..069aaf9e 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "mkdirp": "^0.5.1", "music-metadata": "^1.0.0", "network-address": "^1.1.0", - "parse-torrent": "^5.7.3", + "parse-torrent": "^6.0.1", "prettier-bytes": "^1.0.1", "react": "^15.4.2", "react-dom": "^15.4.2", From 217ca9a0530391e2343758d457321330730cf07e Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Fri, 25 May 2018 01:10:40 -0700 Subject: [PATCH 6/6] If torrent is not private, leave private flag unset If torrent is not private, leave private flag unset. This ensures that the torrent info hash will match the result generated by other tools, including webtorrent-cli. --- src/renderer/pages/create-torrent-page.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/renderer/pages/create-torrent-page.js b/src/renderer/pages/create-torrent-page.js index 13d14d94..fe532a59 100644 --- a/src/renderer/pages/create-torrent-page.js +++ b/src/renderer/pages/create-torrent-page.js @@ -191,9 +191,14 @@ function handleSubmit () { path: this.state.basePath, files: this.state.files, announce: announceList, - private: this.state.isPrivate, comment: this.state.comment.trim() } + + // If torrent is not private, leave private flag unset. This ensures that + // the torrent info hash will match the result generated by other tools, + // including webtorrent-cli. + if (this.state.isPrivate) options.private = true + dispatch('createTorrent', options) }