Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move service worker spec into w3c #881

Closed
jakearchibald opened this issue Apr 12, 2016 · 12 comments
Closed

Move service worker spec into w3c #881

jakearchibald opened this issue Apr 12, 2016 · 12 comments

Comments

@jakearchibald
Copy link
Contributor

No description provided.

@jakearchibald jakearchibald changed the title Move service worker spec and cache api spec onto w3c Move service worker spec into w3c Apr 12, 2016
@jakearchibald jakearchibald added this to the Version 1 milestone Apr 12, 2016
@jakearchibald
Copy link
Contributor Author

F2F: Do this sooner rather than later

@jakearchibald
Copy link
Contributor Author

F2F: We need to decide if we want the repo to redirect, or the pages.

We should ask github if they can help us do both.

@jakearchibald
Copy link
Contributor Author

F2F: we don't care too much where the project lives, we care way more about broken links

@slightlyoff
Copy link
Contributor

Re "doing both", the proximate issue we're facing is that we don't know of any way (today) to redirect both project links and GH Pages URLs to the new location at the same time. It seems possible to do one or the other, but not both. See: https://github.com/blog/1508-repository-redirects-are-here

@ylafon
Copy link
Member

ylafon commented Apr 13, 2016

IIRC you need to create a 'slightlyoff.github.io' repo in which you can create a ServiceWorker dir, then the tree to the document you want to redirect, finally a minimal document with some js to redirect fragments.

@jungkees
Copy link
Collaborator

Transferring the repo to github.com/w3c/ and then replace /spec/service_worker/index.html in the gh-pages branch of the original repo with a minimal document having the following script may work? (the same for /spec/service_worker_1/index.html)

<script>
  var element = document.createElement('meta');
  element.setAttribute('http-equiv', 'refresh');
  element.setAttribute('content', '0; url=https://w3c.github.io/ServiceWorker/spec/service_worker/' + location.hash);
  document.getElementsByTagName('head')[0].appendChild(element);
</script>

/cc @slightlyoff @jakearchibald @mkruisselbrink

@mkruisselbrink
Copy link
Collaborator

Transferring the repo to github.com/w3c/ and then replace /spec/service_worker/index.html in the gh-pages branch of the original repo

The problem is that by recreating the original repo you lose redirects for things like issues. But I believe that what @ylafon suggested should work: put that redirect document in a "slightlyoff.github.io" repo as ServiceWorker/spec/service_worker/index.html.

@ylafon
Copy link
Member

ylafon commented Jun 10, 2016

Btw, ping me when you plan to do this, as specific right are required for the move.

@jakearchibald
Copy link
Contributor Author

Pre F2F notes: Alex says this can be done on Saturday.

@aliams
Copy link
Contributor

aliams commented Aug 3, 2016

Is this still on track to be moved?

@jakearchibald
Copy link
Contributor Author

@slightlyoff what's the status on this?

@slightlyoff
Copy link
Contributor

Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants