/irc-logs / w3c / #webapps / 2013-04-16 / end

Options:

  1. # Session Start: Tue Apr 16 00:00:00 2013
  2. # Session Ident: #webapps
  3. # [00:17] * Quits: Hixie (~ianh@public.cloak) (Ping timeout: 60 seconds)
  4. # [00:22] * Joins: Hixie (~ianh@public.cloak)
  5. # [01:21] * heycam|away is now known as heycam
  6. # [01:36] * Quits: tantek (~tantek@public.cloak) (tantek)
  7. # [02:12] * heycam is now known as heycam|away
  8. # [02:13] * heycam|away is now known as heycam
  9. # [02:29] * Quits: jsbell (~jsbell@public.cloak) ("There's no place like home...")
  10. # [02:31] * Quits: ArtB (~abarsto@public.cloak) ("Leaving.")
  11. # [02:45] * Joins: richt (~richt@public.cloak)
  12. # [02:53] * Joins: shepazu (schepers@public.cloak)
  13. # [03:14] * Quits: smaug (~chatzilla@public.cloak) (Ping timeout: 60 seconds)
  14. # [04:12] * Joins: jarek (~jarek@public.cloak)
  15. # [04:12] * Quits: jarek (~jarek@public.cloak) (jarek)
  16. # [04:40] * heycam is now known as heycam|away
  17. # [04:43] * Quits: Lachy (~Lachy@public.cloak) ("Computer has gone to sleep.")
  18. # [04:50] * Joins: jarek (~jarek@public.cloak)
  19. # [04:50] * Quits: jarek (~jarek@public.cloak) (jarek)
  20. # [05:15] * heycam|away is now known as heycam
  21. # [06:20] * Quits: darobin (rberjon@public.cloak) (Client closed connection)
  22. # [06:20] * Joins: darobin (rberjon@public.cloak)
  23. # [07:57] * Quits: darobin (rberjon@public.cloak) (Client closed connection)
  24. # [08:51] * Joins: Ms2ger (~Ms2ger@public.cloak)
  25. # [09:05] * Joins: dom (dom@public.cloak)
  26. # [09:17] * Joins: darobin (rberjon@public.cloak)
  27. # [09:20] <jgraham> So I started implementing the PubSubHubbub stuff last night and then totally forgot to check it in or anything useful. But I should be able to finish it off this evening or something.
  28. # [09:27] <darobin> jgraham++
  29. # [09:36] <dom> jgraham++
  30. # [09:36] <dom> I have actually set up the webhook, but haven't tested it
  31. # [09:50] <Ms2ger> jgraham++
  32. # [09:50] <Ms2ger> Just because
  33. # [10:01] * heycam is now known as heycam|away
  34. # [10:03] * heycam|away is now known as heycam
  35. # [10:14] * Joins: smaug (~chatzilla@public.cloak)
  36. # [10:23] <MikeSmith> jgraham++
  37. # [10:33] * heycam is now known as heycam|away
  38. # [10:41] <jgraham> Ms2ger just made a pull request, so you might want to look in error.log about now to see what's broken
  39. # [10:42] <jgraham> (I am just assuming that something is)
  40. # [10:42] * Joins: sicking (~sicking@public.cloak)
  41. # [10:45] <Ms2ger> dom, ^
  42. # [10:45] * dom looking into it
  43. # [10:47] <dom> something must be broken since https://w3c-test.org/web-platform-tests/submissions/83/ hasn't been created
  44. # [10:48] <dom> but it doesn't sound like github used the webhook for some reason
  45. # [10:48] <dom> huh
  46. # [10:48] <dom> it didn't save my setting apparently
  47. # [10:48] <dom> probably a PEBCAK of mine
  48. # [10:50] <jgraham> I don't think it is possible to register non-push webhooks via the UI. I think you have to do it through the API
  49. # [10:50] <dom> oh
  50. # [10:51] <jgraham> (the PubSubHubub version should do this automatically. There is no reason that the existing version couldn't)
  51. # [10:51] <jgraham> s/should/will/
  52. # [10:51] <dom> so the one exposed in the WebUI is only for push, not for all events
  53. # [10:51] <dom> ok, I'll look into the registration API then
  54. # [10:52] <jgraham> http://developer.github.com/v3/repos/hooks/#create-a-hook
  55. # [10:52] <jgraham> The events you need are ["push", "pull_request", "issue_comment"]
  56. # [10:52] <jgraham> The content type must be json
  57. # [10:55] <jgraham> So you need to POST to https://api.github.com/repos/w3c/web-platform-tests/hooks something like {"name":"web", "active":true, "events":["push", "pull_request", "issue_comment"], "config":{"url":"http://url/to/sync/script", "content_type":"json"}}
  58. # [10:55] <jgraham> Oooh, I note that you can POST a secret too
  59. # [10:56] <jgraham> Means that PubSubHubbub probably isn't needed to get authentication of the sender
  60. # [10:57] <jgraham> Yay for going back to technologies I can type the name of
  61. # [11:00] * dom gets a 404 when trying to POST to https://api.github.com/repos/w3c/web-platform-tests/hooks ?!?
  62. # [11:01] <jgraham> You need to authenticate
  63. # [11:01] <jgraham> Forgot to mention that
  64. # [11:01] <dom> I do
  65. # [11:01] <dom> using basich auth, right?
  66. # [11:02] <jgraham> Yes
  67. # [11:04] <jgraham> I can GET it at least
  68. # [11:05] <dom> you can? I'm GETting 404
  69. # [11:05] <dom> can you paste your command line (assuming it doesn't have your password)
  70. # [11:06] <jgraham> I used python/requests
  71. # [11:06] <jgraham> requests.get("https://api.github.com/repos/w3c/web-platform-tests/hooks", auth=("jgraham", getpass.getpass()))
  72. # [11:07] <jgraham> (I presume you are using the right password?)
  73. # [11:08] <dom> hmm... indeed, worky with python/requests
  74. # [11:08] <dom> wtf??
  75. # [11:10] <dom> hmm... I think my POST tool might not send credentials unless it gets a 401 challenge
  76. # [11:10] <dom> that would explain
  77. # [11:13] <jgraham> Sounds reasonable
  78. # [11:17] <dom> "Problems parsing JSON" now
  79. # [11:17] <dom> I'm getting closer at least :)
  80. # [11:18] <dom> {"active": 1, "config": {"url": "http://w3c-test.org/webhook/sync.py", "secret": "XXXXX", "content_type": "json"}, "name": "mirror", "events": ["push", "pull_request", "issue_comment"]}
  81. # [11:20] <jgraham> What claimed problems parsing JSON?
  82. # [11:21] <dom> the github endpoint, but I think I've found why
  83. # [11:21] <dom> indeed; now getting a new error :)
  84. # [11:22] <dom> {u'message': u'Validation Failed', u'errors': [{u'field': u'name', u'code': u'invalid', u'resource': u'Hook', u'value': u'mirror'}]}
  85. # [11:24] <jgraham> Name should be "web"
  86. # [11:25] <jgraham> You don't get to make up a value there
  87. # [11:25] <dom> oh right
  88. # [11:25] <jgraham> github has a whole pile of built-in support for various things, but we are just using the generic API
  89. # [11:26] <dom> there you go, it worked
  90. # [11:27] <dom> now we need a new pull request :)
  91. # [11:29] * Ms2ger has some stuff...
  92. # [11:41] <Ms2ger> Let's see...
  93. # [11:42] <Ms2ger> https://github.com/w3c/web-platform-tests/pull/84
  94. # [11:42] <dom> yup, it did trigger the script, which did fail :)
  95. # [11:42] <Ms2ger> :D
  96. # [11:42] <dom> [Tue Apr 16 09:43:43 2013] [error] [client 204.232.175.75] ['git', 'fetch', 'origin']
  97. # [11:42] <dom> [Tue Apr 16 09:43:43 2013] [error] [client 204.232.175.75]
  98. # [11:42] <dom> [Tue Apr 16 09:44:04 2013] [error] [client 204.232.175.75] ['git', 'fetch', 'origin']
  99. # [11:42] <dom> [Tue Apr 16 09:44:04 2013] [error] [client 204.232.175.75]
  100. # [11:42] <dom> [Tue Apr 16 09:44:07 2013] [error] [client 204.232.175.75] Traceback (most recent call last):
  101. # [11:42] <dom> [Tue Apr 16 09:44:07 2013] [error] [client 204.232.175.75] File "/u/www.w3c-test.org/webhook/sync.py", line 205, in <module>
  102. # [11:43] <dom> [Tue Apr 16 09:44:07 2013] [error] [client 204.232.175.75] main(config)
  103. # [11:43] <dom> [Tue Apr 16 09:44:07 2013] [error] [client 204.232.175.75] File "/u/www.w3c-test.org/webhook/sync.py", line 163, in main
  104. # [11:43] <dom> [Tue Apr 16 09:44:07 2013] [error] [client 204.232.175.75] process_push(config, data, authorised_users)
  105. # [11:43] <dom> [Tue Apr 16 09:44:07 2013] [error] [client 204.232.175.75] File "/u/www.w3c-test.org/webhook/sync.py", line 124, in process_push
  106. # [11:43] <dom> [Tue Apr 16 09:44:07 2013] [error] [client 204.232.175.75] update_master(config["base_path"])
  107. # [11:43] <dom> [Tue Apr 16 09:44:07 2013] [error] [client 204.232.175.75] File "/u/www.w3c-test.org/webhook/sync.py", line 150, in update_master
  108. # [11:43] <dom> [Tue Apr 16 09:44:07 2013] [error] [client 204.232.175.75] checkout.update()
  109. # [11:43] <dom> [Tue Apr 16 09:44:07 2013] [error] [client 204.232.175.75] File "/u/www.w3c-test.org/webhook/sync.py", line 32, in update
  110. # [11:43] <dom> [Tue Apr 16 09:44:07 2013] [error] [client 204.232.175.75] git("fetch", "origin", cwd=self.path)
  111. # [11:43] <dom> [Tue Apr 16 09:44:07 2013] [error] [client 204.232.175.75] File "/u/www.w3c-test.org/webhook/sync.py", line 85, in git
  112. # [11:43] <dom> [Tue Apr 16 09:44:07 2013] [error] [client 204.232.175.75] raise IOError(stderr)
  113. # [11:43] <dom> [Tue Apr 16 09:44:07 2013] [error] [client 204.232.175.75] IOError: error: unable to create temporary sha1 filename .git/objects/11: File exists
  114. # [11:43] <dom> [Tue Apr 16 09:44:07 2013] [error] [client 204.232.175.75]
  115. # [11:43] <dom> [Tue Apr 16 09:44:07 2013] [error] [client 204.232.175.75] fatal: failed to write object
  116. # [11:43] <dom> [Tue Apr 16 09:44:07 2013] [error] [client 204.232.175.75] fatal: unpack-objects failed
  117. # [11:43] <dom> [Tue Apr 16 09:44:07 2013] [error] [client 204.232.175.75]
  118. # [11:43] <dom> [Tue Apr 16 09:44:07 2013] [error] [client 204.232.175.75] Premature end of script headers: sync.py
  119. # [11:43] <dom> [Tue Apr 16 09:44:10 2013] [error] [client 204.232.175.75] ['git', 'checkout', '-f', 'origin/master']
  120. # [11:43] <dom> " IOError: error: unable to create temporary sha1 filename .git/objects/11: File exists" being the gist of that long paste
  121. # [11:59] * Joins: Lachy (~Lachy@public.cloak)
  122. # [12:03] * Quits: richt (~richt@public.cloak) (Client closed connection)
  123. # [12:03] * Joins: richt (~richt@public.cloak)
  124. # [12:07] * Quits: richt (~richt@public.cloak) (Ping timeout: 60 seconds)
  125. # [12:18] * Quits: Ms2ger (~Ms2ger@public.cloak) ("bbl")
  126. # [12:21] * Quits: sicking (~sicking@public.cloak) (sicking)
  127. # [12:27] * heycam|away is now known as heycam
  128. # [12:28] * Joins: abarsto (~abarsto@public.cloak)
  129. # [12:28] * abarsto is now known as ArtB
  130. # [12:35] <jgraham> That… isn't making much sense to me
  131. # [12:37] <jgraham> If you do "git fetch origin" by hand in the checkout directory does it work?
  132. # [13:08] <dom> jgraham, seems like it does work when done by hand
  133. # [13:08] <dom> I'm puzzled as well
  134. # [13:09] <jgraham> The script is running with the required user/permissions, right?
  135. # [13:09] <dom> as far as I can tell
  136. # [13:10] <dom> (that is, I'm running the manual git fetch as the same user as I think apache is running, www-data)
  137. # [13:11] <jgraham> The following command ("git checkout -f origin/master") also works when run manually?
  138. # [13:11] <dom> git checkout -f origin/master
  139. # [13:11] <dom> HEAD is now at 46114d4... Merge pull request #81 from dontcallmedom/master
  140. # [13:11] <dom> sounds like it is
  141. # [13:11] <jgraham> Yes, it does
  142. # [13:14] * Joins: richt (~richt@public.cloak)
  143. # [13:15] * Joins: richt_ (~richt@public.cloak)
  144. # [13:18] * Quits: richt (~richt@public.cloak) (Ping timeout: 60 seconds)
  145. # [13:31] * Joins: richt (~richt@public.cloak)
  146. # [13:34] * Quits: richt_ (~richt@public.cloak) (Ping timeout: 60 seconds)
  147. # [13:45] * Quits: richt (~richt@public.cloak) (Client closed connection)
  148. # [13:45] * Joins: richt (~richt@public.cloak)
  149. # [13:49] * Quits: richt (~richt@public.cloak) (Ping timeout: 60 seconds)
  150. # [14:08] * Joins: richt (~richt@public.cloak)
  151. # [14:23] * Joins: Ms2ger (~Ms2ger@public.cloak)
  152. # [14:39] * Joins: tobie (tobie@public.cloak)
  153. # [14:50] * heycam is now known as heycam|away
  154. # [14:55] * Joins: sicking (~sicking@public.cloak)
  155. # [15:15] * Joins: davidb (~davidb@public.cloak)
  156. # [15:28] * Joins: davidb_ (~davidb@public.cloak)
  157. # [15:28] * Quits: davidb (~davidb@public.cloak) (Client closed connection)
  158. # [15:28] * davidb_ is now known as davidb
  159. # [15:29] * Joins: davidb_ (~davidb@public.cloak)
  160. # [15:32] * Quits: davidb (~davidb@public.cloak) (Ping timeout: 60 seconds)
  161. # [15:32] * davidb_ is now known as davidb
  162. # [16:21] * Quits: sicking (~sicking@public.cloak) (Ping timeout: 60 seconds)
  163. # [16:22] * Joins: sicking (~sicking@public.cloak)
  164. # [16:26] * Joins: davidb_ (~davidb@public.cloak)
  165. # [16:28] * Quits: davidb (~davidb@public.cloak) (Ping timeout: 60 seconds)
  166. # [16:28] * davidb_ is now known as davidb
  167. # [16:48] * Joins: jrossi2 (~Jacob@public.cloak)
  168. # [16:51] * Quits: richt (~richt@public.cloak) (Client closed connection)
  169. # [16:51] * Joins: richt (~richt@public.cloak)
  170. # [16:55] * Quits: richt (~richt@public.cloak) (Ping timeout: 60 seconds)
  171. # [16:57] * Joins: sicking_ (~sicking@public.cloak)
  172. # [16:58] * Quits: sicking (~sicking@public.cloak) (Ping timeout: 60 seconds)
  173. # [16:58] * sicking_ is now known as sicking
  174. # [16:59] * Joins: jeffh (~d871a880@public.cloak)
  175. # [17:00] * Quits: Ms2ger (~Ms2ger@public.cloak) ("bbl")
  176. # [17:30] * Quits: jeffh (~d871a880@public.cloak) ("http://www.mibbit.com ajax IRC Client")
  177. # [17:47] * Quits: chaals (~Adium@public.cloak) (Ping timeout: 60 seconds)
  178. # [17:49] * Joins: chaals (~Adium@public.cloak)
  179. # [17:51] * Joins: Ms2ger (~Ms2ger@public.cloak)
  180. # [18:18] * Quits: dom (dom@public.cloak) ("")
  181. # [18:21] * Joins: davidb_ (~davidb@public.cloak)
  182. # [18:23] * Quits: davidb (~davidb@public.cloak) (Ping timeout: 60 seconds)
  183. # [18:23] * davidb_ is now known as davidb
  184. # [18:27] * Quits: Lachy (~Lachy@public.cloak) ("Bye")
  185. # [18:37] * Quits: chaals (~Adium@public.cloak) (Ping timeout: 60 seconds)
  186. # [18:38] * Joins: chaals (~Adium@public.cloak)
  187. # [18:46] * Joins: Lachy (~Lachy@public.cloak)
  188. # [18:47] * Quits: darobin (rberjon@public.cloak) (Client closed connection)
  189. # [18:54] * Quits: glenn (~gadams@public.cloak) (Client closed connection)
  190. # [18:55] * Quits: sicking (~sicking@public.cloak) (sicking)
  191. # [19:08] * Joins: lgombos (~gombos@public.cloak)
  192. # [19:48] * Joins: jarek (~jarek@public.cloak)
  193. # [19:54] * Joins: davidb_ (~davidb@public.cloak)
  194. # [19:57] * Quits: davidb (~davidb@public.cloak) (Ping timeout: 60 seconds)
  195. # [19:57] * davidb_ is now known as davidb
  196. # [20:00] * Quits: davidb (~davidb@public.cloak) (Client closed connection)
  197. # [20:00] * Joins: davidb_ (~davidb@public.cloak)
  198. # [21:32] * Quits: jarek (~jarek@public.cloak) (jarek)
  199. # [21:52] * Quits: Ms2ger (~Ms2ger@public.cloak) (Ping timeout: 60 seconds)
  200. # [21:58] <ArtB> chaals, mounir, I just added App Manifest to the potential topics list for next week http://www.w3.org/wiki/Webapps/April2013Meeting#Potential_Topics
  201. # [21:58] <ArtB> If there are some relevant links to provide some context, let me know and I'll add them
  202. # [21:59] * Joins: jarek (~jarek@public.cloak)
  203. # [22:08] * Joins: Ms2ger (~Ms2ger@public.cloak)
  204. # [22:15] * Quits: davidb_ (~davidb@public.cloak) (Ping timeout: 60 seconds)
  205. # [22:17] * Quits: jarek (~jarek@public.cloak) (jarek)
  206. # [22:22] * Quits: Ms2ger (~Ms2ger@public.cloak) ("nn")
  207. # [22:22] * Joins: glenn (~gadams@public.cloak)
  208. # [22:36] * Quits: chaals (~Adium@public.cloak) ("Leaving.")
  209. # [22:38] * Joins: glenn_ (~gadams@public.cloak)
  210. # [22:38] * Quits: glenn (~gadams@public.cloak) (Client closed connection)
  211. # [22:41] * Joins: glenn (~gadams@public.cloak)
  212. # [22:41] * Quits: glenn_ (~gadams@public.cloak) (Client closed connection)
  213. # [22:47] * Joins: lgombos_ (~gombos@public.cloak)
  214. # [22:47] * Quits: lgombos (~gombos@public.cloak) (Client closed connection)
  215. # [22:51] * Quits: lgombos_ (~gombos@public.cloak) (Ping timeout: 60 seconds)
  216. # [23:17] * Quits: glenn (~gadams@public.cloak) (Client closed connection)
  217. # [23:17] * Joins: glenn (~gadams@public.cloak)
  218. # [23:24] * Quits: tobie (tobie@public.cloak) (Ping timeout: 60 seconds)
  219. # [23:29] * Joins: tobie (tobie@public.cloak)
  220. # [23:35] * Joins: chaals (~Adium@public.cloak)
  221. # [23:44] * Quits: ArtB (~abarsto@public.cloak) ("Leaving.")
  222. # Session Close: Wed Apr 17 00:00:00 2013

The end :)