Options:
Previous day, Next day
- # Session Start: Mon Aug 10 00:00:00 2015
- # Session Ident: #css
- # [01:07] <fantasai> plinss: Noticed that the .htaccess file is no longer in the csswg repo. Where did the rewrite rules / configuration go?
- # [01:08] <plinss> they’re part of the server config
- # [01:08] <plinss> what do you need changed?
- # [01:08] <plinss> (many of them should be automatic based on spec data in the DB)
- # [01:09] <fantasai> Nothing, was just wanting to set up an additional redirect, and wondered where the others disappeared to
- # [01:09] <fantasai> I'm thinking of setting up a redirect from css-grid/issues to the latest issues list
- # [01:09] <plinss> that would have to be in the server config, lmk if you want one set up
- # [01:10] <fantasai> we don't read htaccess anymore?
- # [01:10] <plinss> not sure actually, let me check the server
- # [01:11] <fantasai> I tink we'd have to, or else css-fonts-3 wouldn't serve correctly
- # [01:11] <plinss> no, that one is handled by the server software and the spec db
- # [01:12] <fantasai> The DirectoryIndex Fonts.html is set up by the spec db?
- # [01:12] <plinss> yes
- # [01:12] <fantasai> interesting
- # [01:12] <fantasai> why the switch to the server config?
- # [01:13] <plinss> in fact I just fixed that last week (it used to be serving Overview.html
- # [01:13] <plinss> well, for the most part the old redirects are handled by the software now
- # [01:13] <plinss> the server config is just for a few odd ones
- # [01:13] <fantasai> well, yeah, but why not use htaccess?
- # [01:13] <plinss> all that’s in the server config at the moment is:
- # [01:13] <plinss> RewriteRule ^/css3-grid-align/(.*)$ /css3-grid-layout/$1
- # [01:13] <plinss> RewriteRule ^/css3-text-layout/(.*)$ /css-writing-modes-3/$1
- # [01:13] <plinss> RewriteRule ^/css3-2d-transforms/(.*)$ /css3-transforms/$1
- # [01:13] <plinss> RewriteRule ^/css3-3d-transforms/(.*)$ /css3-transforms/$1
- # [01:13] <plinss> RewriteRule ^/mediaqueries3/(.*)$ /mediaqueries-3/$1
- # [01:13] <plinss> RewriteRule ^/mediaqueries4/(.*)$ /mediaqueries/$1
- # [01:13] <plinss> RewriteRule ^/css-namespaces-1/(.*)$ /css-namespaces/$1
- # [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
- # [01:14] <fantasai> ah
- # [01:14] <plinss> but it looks like it will still read the .htacces
- # [01:14] <fantasai> cool
- # [01:14] <plinss> so you can try adding a rule there, but test carefully afterwards, it might screw some other things up
- # [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
- # [01:15] <fantasai> I'd use Alias, except it wants absolute URL paths :/
- # [01:15] <fantasai> Would a symlink work through hg?
- # [01:16] <plinss> most likely
- # [01:16] <plinss> and that would be farly safe as well
- # [01:17] <fantasai> okay, I'll do that for now
- # [01:17] * fantasai has no idea what happens to symlinks on Windows
- # [01:18] <plinss> ¯\_(ツ)_/¯
- # [01:18] <plinss> I thikn it depends on the file system, htfs might handle it these days
- # [01:19] <plinss> since bikeshed has an issue list generator, I can look at adding automatic issue list generation to the app…
- # [01:19] <plinss> let’s talk about how that should work in Paris?
- # [01:21] <fantasai> Yeah, sure :)
- # [01:21] <fantasai> what app?
- # [01:21] <plinss> the draft server/generator app
- # [01:22] <plinss> (what’s actially serving drafts.csswg.org)
- # [01:23] <fantasai> Is that also in hg?
- # [01:23] <plinss> http://hg.csswg.org/dev/drafts/
- # [01:23] <fantasai> I think we need to update http://hg.csswg.org/index.html
- # [01:23] <plinss> yeah…
- # [01:24] <plinss> now that everything is there...
- # [01:26] * fantasai adds that to the agenda
- # [01:26] <fantasai> Not to talk about, just to not forget about :)
- # [01:26] <plinss> thanks
- # [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)
- # [01:30] <fantasai> Delete middle two sentences, append a list of links to all repos on the server
- # [01:31] <fantasai> plinss: https://pastebin.mozilla.org/8842244
- # [01:32] <fantasai> Not pretty, but it'll do :)
- # [01:48] <plinss> Thanks, will post it when I get back from lunch
- # [02:27] * Joins: jdaggett (~jdaggett@public.cloak)
- # [02:27] * fantasai wonders why Apache *still* doesn't have a way to do redirects without putting an absolute path into the .htaccess
- # [02:27] <fantasai> Is this not a super-basic problem that lots of people have?
- # [03:30] * Joins: estellevw (~estellevw@public.cloak)
- # [03:38] * Joins: dbaron (~dbaron@public.cloak)
- # [03:45] * Quits: dbaron (~dbaron@public.cloak) (Ping timeout: 180 seconds)
- # [03:49] * Quits: estellevw (~estellevw@public.cloak) ("Snuggling with the puppies")
- # [03:50] * Joins: estellevw (~estellevw@public.cloak)
- # [04:30] * Joins: shepazu (schepers@public.cloak)
- # [04:40] * Quits: estellevw (~estellevw@public.cloak) ("Snuggling with the puppies")
- # [04:57] * Joins: dbaron (~dbaron@public.cloak)
- # [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
- # [05:09] * plinss looking, fwiw https://drafts.csswg.org/css-grid/ returns 500 now
- # [05:09] <fantasai> oh :|
- # [05:10] <plinss> did the link in hg not work?
- # [05:10] <fantasai> I wanted to do an external redirect
- # [05:13] <fantasai> Well, at least the draft is still serving up now
- # [05:15] <plinss> yeah the [L] flag is probably problematic with the other rewrites going on
- # [05:15] <fantasai> yeah, I dropped it, and that fixed the 500
- # [05:16] <fantasai> issues still returns 404
- # [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
- # [05:17] <plinss> I think this is why I had to move the other rewrites from htaccess to the server config
- # [05:17] <fantasai> ah
- # [05:18] <fantasai> in that case this isn't possible anymore
- # [05:18] <fantasai> since the rewrite has to be updated every now and then
- # [05:18] * fantasai wonders what plinss's app does, that it returns a 404 here
- # [05:20] <plinss> it looks for a draft with generated content in the cache and serves it (also figures out which draft to serve)
- # [05:20] <plinss> if there was a file inthe repo, the server serves it rather than hadning off to the app
- # [05:20] <plinss> but redirects don’t get processed early enough in the food chain
- # [05:21] * fantasai looking at apache.conf
- # [05:21] <fantasai> Does the app only serve up Overview.html?
- # [05:21] <fantasai> Or does it serve up all files?
- # [05:21] <plinss> just the generated files
- # [05:22] <plinss> unless you’re looking for a dated version, then it pulls files from the repo on that date
- # [05:22] <fantasai> Do we generate anything that's not called Overview.html?
- # [05:22] <plinss> we generate anything that matches *.bs
- # [05:22] <plinss> and the output will be *.html
- # [05:22] <plinss> (if the *.html isn’t in the repo)
- # [05:23] <fantasai> How about a RewriteCond that checks for the existence of *.bs before passing off to the app?
- # [05:25] * fantasai wonders where in the food chain here the DirectoryIndex kicks in
- # [05:26] <plinss> I moved your rewrite into the srever config for now
- # [05:26] <plinss> fwiw, it needed to be:
- # [05:27] <plinss> RewriteRule ^/css-grid(.*)/issues$ %{REQUEST_URI}-wd-20150806 [R,L]
- # [05:27] <plinss> (you were missing the 0 before the 6 and the comma between the R &L
- # [05:27] <fantasai> ah
- # [05:27] <fantasai> Thanks :)
- # [05:27] <plinss> np
- # [05:30] <plinss> I just tested the .htaccess again with the fixes and it does work, but isn’t redirecting for some reason
- # [05:32] <plinss> scratch that, browser cache issue
- # [05:32] <fantasai> oh, cool, so in that case we can keep it in the htaccess?
- # [05:33] <plinss> no, I don’t think so
- # [05:33] <plinss> turns out it wasn’t working at all, browser just had chached the 302
- # [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
- # [05:35] <plinss> (like maybe this week)
- # [05:37] <fantasai> Like, /issues -> issues-[blabla containing latest datestamp] ?
- # [05:37] <plinss> yeah, that should be easy
- # [05:37] <fantasai> In that case, you'll want to pull out [\d-]+
- # [05:37] <fantasai> s/-//
- # [05:37] <fantasai> and do a string comparison
- # [05:38] <fantasai> to find the latest file in a list of files
- # [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
- # [05:39] <plinss> k
- # [05:39] <fantasai> The string comparison'll handle datestamp mixes better, though, which is a more likely situation
- # [05:41] <plinss> I can also make the app autogenerate issues-*.html from issues-*.txt...
- # [05:42] <fantasai> We might want to check on that. I'm not sure everyone is using my issuelist tool
- # [05:42] <fantasai> I use it because I personally find it convenient
- # [05:42] <plinss> doesn’t bikeshed have it built in now?
- # [05:43] <fantasai> yeah
- # [05:43] <plinss> (and it would only autogenerate if there’s a issues-*.txt and no issues-*.hmtl in the repo)
- # [05:43] <plinss> so if people want to use a different tool, or generate by hand, just check in the .html version
- # [05:55] * fantasai issues a publication announcement for css-grid
- # [05:56] <fantasai> I really dislike the fact that I haven't kept up with publication announcements the last two years
- # [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
- # [07:12] * fantasai checks something in; neither MQ3 nor css-conditional uses the new syntax system anyway
- # [07:13] <fantasai> https://drafts.csswg.org/css-cascade/#at-import
- # [07:14] * fantasai thinks that section needs some reorganization and some subheadings
- # [07:15] * fantasai doesn't know where exactly to split it, though
- # [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.
- # [07:29] * fantasai rearranges the sentences and adds headings.
- # [07:29] <TabAtkins> fantasai: I'll review tomorrow.
- # [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.
- # [07:30] <TabAtkins> CSS Conditional needs to be switched over.
- # [07:30] <fantasai> I'd rather not gate on those conversions, which are editorial, so I went with using more prose.
- # [07:31] <TabAtkins> Also I can add a <declaration> to Syntax if necessary. It currently has <declaration-list> to aid in rule definitions.
- # [07:31] <TabAtkins> And <declaration-value>.
- # [07:31] <fantasai> Sure, that makes sense.
- # [07:32] <fantasai> And wrt css-conditional, we could just add a <supports-condition> definition
- # [07:32] <TabAtkins> Yeah.
- # [07:32] <fantasai> We don't really need to add any of the internal structures
- # [07:32] <fantasai> It'd just be an editorial addition, kindof like adding qname to Namespaces
- # [07:33] <fantasai> So, <dfn>s for <supports-condition> and "supports condition" (prose) would be nice there.
- # [07:35] <fantasai> Anyway, bedtime for me. :)
- # [07:35] <fantasai> I'll be in SF the week after this, btw
- # [07:36] <fantasai> TabAtkins: So I can come in Wed/Thurs the 19th/20th. Let me know what works for you.
- # [08:53] * Joins: antonp (~Thunderbird@public.cloak)
- # [09:17] * Joins: Ms2ger (~Ms2ger@public.cloak)
- # [09:18] * Quits: dbaron (~dbaron@public.cloak) (Ping timeout: 180 seconds)
- # [09:29] * Quits: Ms2ger (~Ms2ger@public.cloak) (Ping timeout: 180 seconds)
- # [09:34] * Joins: zcorpan (~zcorpan@public.cloak)
- # [09:39] * Joins: Ms2ger (~Ms2ger@public.cloak)
- # [09:55] * Quits: zcorpan (~zcorpan@public.cloak) (Client closed connection)
- # [09:57] <SimonSapin> fantasai: aascading
- # [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>
- # [10:20] * Quits: jdaggett (~jdaggett@public.cloak) (Ping timeout: 180 seconds)
- # [10:50] * Quits: hgl (~hgl@public.cloak) (hgl)
- # [10:50] * Joins: hgl (~hgl@public.cloak)
- # [11:43] * Quits: hgl (~hgl@public.cloak) (hgl)
- # [11:43] * Joins: hgl (~hgl@public.cloak)
- # [12:04] * Quits: hgl (~hgl@public.cloak) (hgl)
- # [12:05] * Joins: hgl (~hgl@public.cloak)
- # [12:07] * Quits: hgl (~hgl@public.cloak) (hgl)
- # [12:08] * Joins: hgl (~hgl@public.cloak)
- # [12:41] * Quits: hgl (~hgl@public.cloak) (hgl)
- # [12:41] * Joins: hgl (~hgl@public.cloak)
- # [14:21] * Quits: stryx` (~stryx@public.cloak) (Client closed connection)
- # [14:22] * Joins: stryx` (~stryx@public.cloak)
- # [14:34] * Quits: liam (liam@public.cloak) (Ping timeout: 180 seconds)
- # [15:18] * Quits: hgl (~hgl@public.cloak) (hgl)
- # [15:18] * Joins: liam (liam@public.cloak)
- # [15:18] * Joins: hgl (~hgl@public.cloak)
- # [15:18] * Joins: dauwhe (~dauwhe@public.cloak)
- # [15:23] * Joins: dbaron (~dbaron@public.cloak)
- # [15:33] * Quits: Ms2ger (~Ms2ger@public.cloak) (Ping timeout: 180 seconds)
- # [15:43] * Joins: Ms2ger (~Ms2ger@public.cloak)
- # [15:53] * Quits: hgl (~hgl@public.cloak) (hgl)
- # [15:57] * Joins: hgl (~hgl@public.cloak)
- # [16:14] * Quits: hgl (~hgl@public.cloak) (hgl)
- # [16:20] * Joins: hgl (~hgl@public.cloak)
- # [16:27] * Quits: dbaron (~dbaron@public.cloak) (Ping timeout: 180 seconds)
- # [16:27] * Quits: hgl (~hgl@public.cloak) (hgl)
- # [16:28] * Joins: hgl (~hgl@public.cloak)
- # [16:33] * Joins: renoirb (renoirb@public.cloak)
- # [16:56] * Quits: renoirb (renoirb@public.cloak) (Client closed connection)
- # [17:37] * Joins: renoirb (renoirb@public.cloak)
- # [17:54] * Joins: darktears (~darktears@public.cloak)
- # [17:55] * Joins: {Darktears} (~darktears@public.cloak)
- # [17:59] * Quits: renoirb (renoirb@public.cloak) (Client closed connection)
- # [18:02] * Quits: darktears (~darktears@public.cloak) (Ping timeout: 180 seconds)
- # [18:17] * Joins: renoirb (renoirb@public.cloak)
- # [18:26] * Quits: liam (liam@public.cloak) (Ping timeout: 180 seconds)
- # [18:29] * Joins: renoirb_ (renoirb@public.cloak)
- # [18:32] * Quits: renoirb (renoirb@public.cloak) (Ping timeout: 180 seconds)
- # [18:34] * Joins: zcorpan (~zcorpan@public.cloak)
- # [18:44] * Quits: renoirb_ (renoirb@public.cloak) (Client closed connection)
- # [18:51] * Joins: renoirb (renoirb@public.cloak)
- # [18:53] * Quits: zcorpan (~zcorpan@public.cloak) (Client closed connection)
- # [18:58] * Joins: dauwhe_ (~dauwhe@public.cloak)
- # [19:03] * Quits: renoirb (renoirb@public.cloak) (Client closed connection)
- # [19:03] * Quits: dauwhe (~dauwhe@public.cloak) (Ping timeout: 180 seconds)
- # [19:05] * Joins: renoirb (renoirb@public.cloak)
- # [19:13] * Joins: dauwhe (~dauwhe@public.cloak)
- # [19:13] * Quits: dauwhe_ (~dauwhe@public.cloak) (Client closed connection)
- # [19:17] * Joins: liam (liam@public.cloak)
- # [19:36] * Joins: zcorpan (~zcorpan@public.cloak)
- # [19:43] * Quits: zcorpan (~zcorpan@public.cloak) (Client closed connection)
- # [19:48] * Joins: adenilson (~anonymous@public.cloak)
- # [20:26] * Joins: zcorpan (~zcorpan@public.cloak)
- # [20:27] * Quits: {Darktears} (~darktears@public.cloak) ("Leaving...")
- # [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.
- # [20:32] * Quits: zcorpan (~zcorpan@public.cloak) ("Leaving...")
- # [20:34] * Joins: zcorpan (~zcorpan@public.cloak)
- # [20:36] * Quits: zcorpan (~zcorpan@public.cloak) ("Leaving...")
- # [20:38] * Joins: darktears (~darktears@public.cloak)
- # [20:41] * Quits: darktears (~darktears@public.cloak) ("Linkinus - http://linkinus.com")
- # [20:48] * Quits: dauwhe (~dauwhe@public.cloak) (Client closed connection)
- # [20:48] * Joins: dauwhe (~dauwhe@public.cloak)
- # [22:21] * Quits: antonp (~Thunderbird@public.cloak) (antonp)
- # [22:28] * Joins: myles (~Adium@public.cloak)
- # [22:31] * Quits: myles (~Adium@public.cloak) ("Leaving.")
- # [22:36] * Joins: estellevw (~estellevw@public.cloak)
- # [22:37] * Joins: myles (~Adium@public.cloak)
- # [22:38] * Quits: myles (~Adium@public.cloak) ("Leaving.")
- # [22:40] * Quits: Ms2ger (~Ms2ger@public.cloak) ("nn")
- # [22:43] * Quits: estellevw (~estellevw@public.cloak) ("Snuggling with the puppies")
- # [22:45] * Joins: estellevw (~estellevw@public.cloak)
- # [22:53] * Quits: estellevw (~estellevw@public.cloak) ("Snuggling with the puppies")
- # [22:53] * Joins: darktears (~darktears@public.cloak)
- # [23:02] * Joins: myles (~Adium@public.cloak)
- # [23:12] * Joins: dauwhe_ (~dauwhe@public.cloak)
- # [23:12] * Quits: dauwhe (~dauwhe@public.cloak) (Client closed connection)
- # [23:37] * Quits: liam (liam@public.cloak) (Ping timeout: 180 seconds)
- # 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