/irc-logs / w3c / #css / 2015-08-10 / end

Options:

Previous day, Next day

  1. # Session Start: Mon Aug 10 00:00:00 2015
  2. # Session Ident: #css
  3. # [01:07] <fantasai> plinss: Noticed that the .htaccess file is no longer in the csswg repo. Where did the rewrite rules / configuration go?
  4. # [01:08] <plinss> they’re part of the server config
  5. # [01:08] <plinss> what do you need changed?
  6. # [01:08] <plinss> (many of them should be automatic based on spec data in the DB)
  7. # [01:09] <fantasai> Nothing, was just wanting to set up an additional redirect, and wondered where the others disappeared to
  8. # [01:09] <fantasai> I'm thinking of setting up a redirect from css-grid/issues to the latest issues list
  9. # [01:09] <plinss> that would have to be in the server config, lmk if you want one set up
  10. # [01:10] <fantasai> we don't read htaccess anymore?
  11. # [01:10] <plinss> not sure actually, let me check the server
  12. # [01:11] <fantasai> I tink we'd have to, or else css-fonts-3 wouldn't serve correctly
  13. # [01:11] <plinss> no, that one is handled by the server software and the spec db
  14. # [01:12] <fantasai> The DirectoryIndex Fonts.html is set up by the spec db?
  15. # [01:12] <plinss> yes
  16. # [01:12] <fantasai> interesting
  17. # [01:12] <fantasai> why the switch to the server config?
  18. # [01:13] <plinss> in fact I just fixed that last week (it used to be serving Overview.html
  19. # [01:13] <plinss> well, for the most part the old redirects are handled by the software now
  20. # [01:13] <plinss> the server config is just for a few odd ones
  21. # [01:13] <fantasai> well, yeah, but why not use htaccess?
  22. # [01:13] <plinss> all that’s in the server config at the moment is:
  23. # [01:13] <plinss> RewriteRule ^/css3-grid-align/(.*)$ /css3-grid-layout/$1
  24. # [01:13] <plinss> RewriteRule ^/css3-text-layout/(.*)$ /css-writing-modes-3/$1
  25. # [01:13] <plinss> RewriteRule ^/css3-2d-transforms/(.*)$ /css3-transforms/$1
  26. # [01:13] <plinss> RewriteRule ^/css3-3d-transforms/(.*)$ /css3-transforms/$1
  27. # [01:13] <plinss> RewriteRule ^/mediaqueries3/(.*)$ /mediaqueries-3/$1
  28. # [01:13] <plinss> RewriteRule ^/mediaqueries4/(.*)$ /mediaqueries/$1
  29. # [01:13] <plinss> RewriteRule ^/css-namespaces-1/(.*)$ /css-namespaces/$1
  30. # [01:14] <plinss> IRC there was an issue getting rewrite rules to play nice between the server config (needed for the software) and the .htaccess
  31. # [01:14] <fantasai> ah
  32. # [01:14] <plinss> but it looks like it will still read the .htacces
  33. # [01:14] <fantasai> cool
  34. # [01:14] <plinss> so you can try adding a rule there, but test carefully afterwards, it might screw some other things up
  35. # [01:15] <fantasai> I guess the ideal thing would be to have spec/issues redirect to the spec/issues-whatever that has the greatest timestamp
  36. # [01:15] <fantasai> I'd use Alias, except it wants absolute URL paths :/
  37. # [01:15] <fantasai> Would a symlink work through hg?
  38. # [01:16] <plinss> most likely
  39. # [01:16] <plinss> and that would be farly safe as well
  40. # [01:17] <fantasai> okay, I'll do that for now
  41. # [01:17] * fantasai has no idea what happens to symlinks on Windows
  42. # [01:18] <plinss> ¯\_(ツ)_/¯
  43. # [01:18] <plinss> I thikn it depends on the file system, htfs might handle it these days
  44. # [01:19] <plinss> since bikeshed has an issue list generator, I can look at adding automatic issue list generation to the app…
  45. # [01:19] <plinss> let’s talk about how that should work in Paris?
  46. # [01:21] <fantasai> Yeah, sure :)
  47. # [01:21] <fantasai> what app?
  48. # [01:21] <plinss> the draft server/generator app
  49. # [01:22] <plinss> (what’s actially serving drafts.csswg.org)
  50. # [01:23] <fantasai> Is that also in hg?
  51. # [01:23] <plinss> http://hg.csswg.org/dev/drafts/
  52. # [01:23] <fantasai> I think we need to update http://hg.csswg.org/index.html
  53. # [01:23] <plinss> yeah…
  54. # [01:24] <plinss> now that everything is there...
  55. # [01:26] * fantasai adds that to the agenda
  56. # [01:26] <fantasai> Not to talk about, just to not forget about :)
  57. # [01:26] <plinss> thanks
  58. # [01:27] <plinss> that’s just a plain file on the server, happy to take suggestions for content (or a whole new file to drop in)
  59. # [01:30] <fantasai> Delete middle two sentences, append a list of links to all repos on the server
  60. # [01:31] <fantasai> plinss: https://pastebin.mozilla.org/8842244
  61. # [01:32] <fantasai> Not pretty, but it'll do :)
  62. # [01:48] <plinss> Thanks, will post it when I get back from lunch
  63. # [02:27] * Joins: jdaggett (~jdaggett@public.cloak)
  64. # [02:27] * fantasai wonders why Apache *still* doesn't have a way to do redirects without putting an absolute path into the .htaccess
  65. # [02:27] <fantasai> Is this not a super-basic problem that lots of people have?
  66. # [03:30] * Joins: estellevw (~estellevw@public.cloak)
  67. # [03:38] * Joins: dbaron (~dbaron@public.cloak)
  68. # [03:45] * Quits: dbaron (~dbaron@public.cloak) (Ping timeout: 180 seconds)
  69. # [03:49] * Quits: estellevw (~estellevw@public.cloak) ("Snuggling with the puppies")
  70. # [03:50] * Joins: estellevw (~estellevw@public.cloak)
  71. # [04:30] * Joins: shepazu (schepers@public.cloak)
  72. # [04:40] * Quits: estellevw (~estellevw@public.cloak) ("Snuggling with the puppies")
  73. # [04:57] * Joins: dbaron (~dbaron@public.cloak)
  74. # [05:08] <fantasai> plinss: If it's obvious to you what's wrong with http://hg.csswg.org/drafts/file/tip/css-grid/.htaccess let me know? https://drafts.csswg.org/css-grid/issues just returns 404
  75. # [05:09] * plinss looking, fwiw https://drafts.csswg.org/css-grid/ returns 500 now
  76. # [05:09] <fantasai> oh :|
  77. # [05:10] <plinss> did the link in hg not work?
  78. # [05:10] <fantasai> I wanted to do an external redirect
  79. # [05:13] <fantasai> Well, at least the draft is still serving up now
  80. # [05:15] <plinss> yeah the [L] flag is probably problematic with the other rewrites going on
  81. # [05:15] <fantasai> yeah, I dropped it, and that fixed the 500
  82. # [05:16] <fantasai> issues still returns 404
  83. # [05:17] <plinss> I think this is coming back to me, what I recall is that the other rewrites (which make the drafts work) happen before your rewrite, so it gets sent to the app which then returns the 404
  84. # [05:17] <plinss> I think this is why I had to move the other rewrites from htaccess to the server config
  85. # [05:17] <fantasai> ah
  86. # [05:18] <fantasai> in that case this isn't possible anymore
  87. # [05:18] <fantasai> since the rewrite has to be updated every now and then
  88. # [05:18] * fantasai wonders what plinss's app does, that it returns a 404 here
  89. # [05:20] <plinss> it looks for a draft with generated content in the cache and serves it (also figures out which draft to serve)
  90. # [05:20] <plinss> if there was a file inthe repo, the server serves it rather than hadning off to the app
  91. # [05:20] <plinss> but redirects don’t get processed early enough in the food chain
  92. # [05:21] * fantasai looking at apache.conf
  93. # [05:21] <fantasai> Does the app only serve up Overview.html?
  94. # [05:21] <fantasai> Or does it serve up all files?
  95. # [05:21] <plinss> just the generated files
  96. # [05:22] <plinss> unless you’re looking for a dated version, then it pulls files from the repo on that date
  97. # [05:22] <fantasai> Do we generate anything that's not called Overview.html?
  98. # [05:22] <plinss> we generate anything that matches *.bs
  99. # [05:22] <plinss> and the output will be *.html
  100. # [05:22] <plinss> (if the *.html isn’t in the repo)
  101. # [05:23] <fantasai> How about a RewriteCond that checks for the existence of *.bs before passing off to the app?
  102. # [05:25] * fantasai wonders where in the food chain here the DirectoryIndex kicks in
  103. # [05:26] <plinss> I moved your rewrite into the srever config for now
  104. # [05:26] <plinss> fwiw, it needed to be:
  105. # [05:27] <plinss> RewriteRule ^/css-grid(.*)/issues$ %{REQUEST_URI}-wd-20150806 [R,L]
  106. # [05:27] <plinss> (you were missing the 0 before the 6 and the comma between the R &L
  107. # [05:27] <fantasai> ah
  108. # [05:27] <fantasai> Thanks :)
  109. # [05:27] <plinss> np
  110. # [05:30] <plinss> I just tested the .htaccess again with the fixes and it does work, but isn’t redirecting for some reason
  111. # [05:32] <plinss> scratch that, browser cache issue
  112. # [05:32] <fantasai> oh, cool, so in that case we can keep it in the htaccess?
  113. # [05:33] <plinss> no, I don’t think so
  114. # [05:33] <plinss> turns out it wasn’t working at all, browser just had chached the 302
  115. # [05:34] <plinss> so the rule in the servef config works for now, at some point soon I can add logic to the app to handle this automatically
  116. # [05:35] <plinss> (like maybe this week)
  117. # [05:37] <fantasai> Like, /issues -> issues-[blabla containing latest datestamp] ?
  118. # [05:37] <plinss> yeah, that should be easy
  119. # [05:37] <fantasai> In that case, you'll want to pull out [\d-]+
  120. # [05:37] <fantasai> s/-//
  121. # [05:37] <fantasai> and do a string comparison
  122. # [05:38] <fantasai> to find the latest file in a list of files
  123. # [05:39] <fantasai> That should work fine in most situations; it'll only fail if someone is numbering 1, 2, 3 etc. and gets up past 10
  124. # [05:39] <plinss> k
  125. # [05:39] <fantasai> The string comparison'll handle datestamp mixes better, though, which is a more likely situation
  126. # [05:41] <plinss> I can also make the app autogenerate issues-*.html from issues-*.txt...
  127. # [05:42] <fantasai> We might want to check on that. I'm not sure everyone is using my issuelist tool
  128. # [05:42] <fantasai> I use it because I personally find it convenient
  129. # [05:42] <plinss> doesn’t bikeshed have it built in now?
  130. # [05:43] <fantasai> yeah
  131. # [05:43] <plinss> (and it would only autogenerate if there’s a issues-*.txt and no issues-*.hmtl in the repo)
  132. # [05:43] <plinss> so if people want to use a different tool, or generate by hand, just check in the .html version
  133. # [05:55] * fantasai issues a publication announcement for css-grid
  134. # [05:56] <fantasai> I really dislike the fact that I haven't kept up with publication announcements the last two years
  135. # [06:42] <fantasai> SimonSapin: So... I'm not sure what exactly should be the edits to accept supports(<supports-condition> | <declaration>) given we don't have a <declaration> type
  136. # [07:12] * fantasai checks something in; neither MQ3 nor css-conditional uses the new syntax system anyway
  137. # [07:13] <fantasai> https://drafts.csswg.org/css-cascade/#at-import
  138. # [07:14] * fantasai thinks that section needs some reorganization and some subheadings
  139. # [07:15] * fantasai doesn't know where exactly to split it, though
  140. # [07:16] <fantasai> TabAtkins, SimonSapin: Look over https://hg.csswg.org/drafts/rev/1c144732dbc5 and let me know if it's good? If so, I'll put it into the publication pipeline.
  141. # [07:29] * fantasai rearranges the sentences and adds headings.
  142. # [07:29] <TabAtkins> fantasai: I'll review tomorrow.
  143. # [07:30] <TabAtkins> MQ3 will never use the new stuff, because I'm not willing to put in the time to switch it over. MQ4 does.
  144. # [07:30] <TabAtkins> CSS Conditional needs to be switched over.
  145. # [07:30] <fantasai> I'd rather not gate on those conversions, which are editorial, so I went with using more prose.
  146. # [07:31] <TabAtkins> Also I can add a <declaration> to Syntax if necessary. It currently has <declaration-list> to aid in rule definitions.
  147. # [07:31] <TabAtkins> And <declaration-value>.
  148. # [07:31] <fantasai> Sure, that makes sense.
  149. # [07:32] <fantasai> And wrt css-conditional, we could just add a <supports-condition> definition
  150. # [07:32] <TabAtkins> Yeah.
  151. # [07:32] <fantasai> We don't really need to add any of the internal structures
  152. # [07:32] <fantasai> It'd just be an editorial addition, kindof like adding qname to Namespaces
  153. # [07:33] <fantasai> So, <dfn>s for <supports-condition> and "supports condition" (prose) would be nice there.
  154. # [07:35] <fantasai> Anyway, bedtime for me. :)
  155. # [07:35] <fantasai> I'll be in SF the week after this, btw
  156. # [07:36] <fantasai> TabAtkins: So I can come in Wed/Thurs the 19th/20th. Let me know what works for you.
  157. # [08:53] * Joins: antonp (~Thunderbird@public.cloak)
  158. # [09:17] * Joins: Ms2ger (~Ms2ger@public.cloak)
  159. # [09:18] * Quits: dbaron (~dbaron@public.cloak) (Ping timeout: 180 seconds)
  160. # [09:29] * Quits: Ms2ger (~Ms2ger@public.cloak) (Ping timeout: 180 seconds)
  161. # [09:34] * Joins: zcorpan (~zcorpan@public.cloak)
  162. # [09:39] * Joins: Ms2ger (~Ms2ger@public.cloak)
  163. # [09:55] * Quits: zcorpan (~zcorpan@public.cloak) (Client closed connection)
  164. # [09:57] <SimonSapin> fantasai: aascading
  165. # [10:00] <SimonSapin> fantasai: It’s not great that <supports-condition> and supports_condition mean different things. I’d prefer a different name, even if it’s stupidly verbose like <supports-condition-or-declaration>
  166. # [10:20] * Quits: jdaggett (~jdaggett@public.cloak) (Ping timeout: 180 seconds)
  167. # [10:50] * Quits: hgl (~hgl@public.cloak) (hgl)
  168. # [10:50] * Joins: hgl (~hgl@public.cloak)
  169. # [11:43] * Quits: hgl (~hgl@public.cloak) (hgl)
  170. # [11:43] * Joins: hgl (~hgl@public.cloak)
  171. # [12:04] * Quits: hgl (~hgl@public.cloak) (hgl)
  172. # [12:05] * Joins: hgl (~hgl@public.cloak)
  173. # [12:07] * Quits: hgl (~hgl@public.cloak) (hgl)
  174. # [12:08] * Joins: hgl (~hgl@public.cloak)
  175. # [12:41] * Quits: hgl (~hgl@public.cloak) (hgl)
  176. # [12:41] * Joins: hgl (~hgl@public.cloak)
  177. # [14:21] * Quits: stryx` (~stryx@public.cloak) (Client closed connection)
  178. # [14:22] * Joins: stryx` (~stryx@public.cloak)
  179. # [14:34] * Quits: liam (liam@public.cloak) (Ping timeout: 180 seconds)
  180. # [15:18] * Quits: hgl (~hgl@public.cloak) (hgl)
  181. # [15:18] * Joins: liam (liam@public.cloak)
  182. # [15:18] * Joins: hgl (~hgl@public.cloak)
  183. # [15:18] * Joins: dauwhe (~dauwhe@public.cloak)
  184. # [15:23] * Joins: dbaron (~dbaron@public.cloak)
  185. # [15:33] * Quits: Ms2ger (~Ms2ger@public.cloak) (Ping timeout: 180 seconds)
  186. # [15:43] * Joins: Ms2ger (~Ms2ger@public.cloak)
  187. # [15:53] * Quits: hgl (~hgl@public.cloak) (hgl)
  188. # [15:57] * Joins: hgl (~hgl@public.cloak)
  189. # [16:14] * Quits: hgl (~hgl@public.cloak) (hgl)
  190. # [16:20] * Joins: hgl (~hgl@public.cloak)
  191. # [16:27] * Quits: dbaron (~dbaron@public.cloak) (Ping timeout: 180 seconds)
  192. # [16:27] * Quits: hgl (~hgl@public.cloak) (hgl)
  193. # [16:28] * Joins: hgl (~hgl@public.cloak)
  194. # [16:33] * Joins: renoirb (renoirb@public.cloak)
  195. # [16:56] * Quits: renoirb (renoirb@public.cloak) (Client closed connection)
  196. # [17:37] * Joins: renoirb (renoirb@public.cloak)
  197. # [17:54] * Joins: darktears (~darktears@public.cloak)
  198. # [17:55] * Joins: {Darktears} (~darktears@public.cloak)
  199. # [17:59] * Quits: renoirb (renoirb@public.cloak) (Client closed connection)
  200. # [18:02] * Quits: darktears (~darktears@public.cloak) (Ping timeout: 180 seconds)
  201. # [18:17] * Joins: renoirb (renoirb@public.cloak)
  202. # [18:26] * Quits: liam (liam@public.cloak) (Ping timeout: 180 seconds)
  203. # [18:29] * Joins: renoirb_ (renoirb@public.cloak)
  204. # [18:32] * Quits: renoirb (renoirb@public.cloak) (Ping timeout: 180 seconds)
  205. # [18:34] * Joins: zcorpan (~zcorpan@public.cloak)
  206. # [18:44] * Quits: renoirb_ (renoirb@public.cloak) (Client closed connection)
  207. # [18:51] * Joins: renoirb (renoirb@public.cloak)
  208. # [18:53] * Quits: zcorpan (~zcorpan@public.cloak) (Client closed connection)
  209. # [18:58] * Joins: dauwhe_ (~dauwhe@public.cloak)
  210. # [19:03] * Quits: renoirb (renoirb@public.cloak) (Client closed connection)
  211. # [19:03] * Quits: dauwhe (~dauwhe@public.cloak) (Ping timeout: 180 seconds)
  212. # [19:05] * Joins: renoirb (renoirb@public.cloak)
  213. # [19:13] * Joins: dauwhe (~dauwhe@public.cloak)
  214. # [19:13] * Quits: dauwhe_ (~dauwhe@public.cloak) (Client closed connection)
  215. # [19:17] * Joins: liam (liam@public.cloak)
  216. # [19:36] * Joins: zcorpan (~zcorpan@public.cloak)
  217. # [19:43] * Quits: zcorpan (~zcorpan@public.cloak) (Client closed connection)
  218. # [19:48] * Joins: adenilson (~anonymous@public.cloak)
  219. # [20:26] * Joins: zcorpan (~zcorpan@public.cloak)
  220. # [20:27] * Quits: {Darktears} (~darktears@public.cloak) ("Leaving...")
  221. # [20:31] <TabAtkins> SimonSapin: We can put that in the Appendix G grammar, rather than cluttering up the grammar term we'll use going forward.
  222. # [20:32] * Quits: zcorpan (~zcorpan@public.cloak) ("Leaving...")
  223. # [20:34] * Joins: zcorpan (~zcorpan@public.cloak)
  224. # [20:36] * Quits: zcorpan (~zcorpan@public.cloak) ("Leaving...")
  225. # [20:38] * Joins: darktears (~darktears@public.cloak)
  226. # [20:41] * Quits: darktears (~darktears@public.cloak) ("Linkinus - http://linkinus.com")
  227. # [20:48] * Quits: dauwhe (~dauwhe@public.cloak) (Client closed connection)
  228. # [20:48] * Joins: dauwhe (~dauwhe@public.cloak)
  229. # [22:21] * Quits: antonp (~Thunderbird@public.cloak) (antonp)
  230. # [22:28] * Joins: myles (~Adium@public.cloak)
  231. # [22:31] * Quits: myles (~Adium@public.cloak) ("Leaving.")
  232. # [22:36] * Joins: estellevw (~estellevw@public.cloak)
  233. # [22:37] * Joins: myles (~Adium@public.cloak)
  234. # [22:38] * Quits: myles (~Adium@public.cloak) ("Leaving.")
  235. # [22:40] * Quits: Ms2ger (~Ms2ger@public.cloak) ("nn")
  236. # [22:43] * Quits: estellevw (~estellevw@public.cloak) ("Snuggling with the puppies")
  237. # [22:45] * Joins: estellevw (~estellevw@public.cloak)
  238. # [22:53] * Quits: estellevw (~estellevw@public.cloak) ("Snuggling with the puppies")
  239. # [22:53] * Joins: darktears (~darktears@public.cloak)
  240. # [23:02] * Joins: myles (~Adium@public.cloak)
  241. # [23:12] * Joins: dauwhe_ (~dauwhe@public.cloak)
  242. # [23:12] * Quits: dauwhe (~dauwhe@public.cloak) (Client closed connection)
  243. # [23:37] * Quits: liam (liam@public.cloak) (Ping timeout: 180 seconds)
  244. # Session Close: Tue Aug 11 00:00:00 2015

Previous day, Next day

Think these logs are useful? Then please donate to show your gratitude (and keep them up, of course). Thanks! — Krijn