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

Update online DPDB URL #220

Merged
merged 4 commits into from
Apr 20, 2017
Merged

Update online DPDB URL #220

merged 4 commits into from
Apr 20, 2017

Conversation

thoragio
Copy link
Contributor

Following on from the comment by @toji recently, I am resubmitting this PR to point to the DPDB cache I have been maintaining.

I'm happy to keep it updated and will watch this repo for any requests to add new devices to it.

Copy link
Contributor

@cvan cvan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

many thanks for taking this on 👍 see my comment about the hosting.

src/dpdb/dpdb.js Outdated
@@ -19,7 +19,8 @@ var DPDB_CACHE = require('./dpdb-cache.js');
var Util = require('../util.js');

// Online DPDB URL.
var ONLINE_DPDB_URL = 'https://storage.googleapis.com/cardboard-dpdb/dpdb.json';
var ONLINE_DPDB_URL =
'https://rawgit.com/thoragio/webvr-polyfill-dpdb/master/dpdb.json';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would you be able to publish the master branch of https://github.com/thoragio/webvr-polyfill-dpdb to GitHub Pages so it's served from https://thoragio.github.io/webvr-polyfill-dpdb? (the benefit is the caching is better on GitHub Pages than on RawGit.)

not absolutely necessary for this pass, but if you can easily do it, lmk. otherwise, we can probably still merge this (per @toji's approval).

Copy link
Contributor Author

@thoragio thoragio Apr 17, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, I have added a second commit that serves the file from GitHub Pages.

@cvan
Copy link
Contributor

cvan commented Apr 18, 2017

@toji, @HalfdanJ: when you get a chance, could you review this PR?

src/dpdb/dpdb.js Outdated
@@ -19,7 +19,8 @@ var DPDB_CACHE = require('./dpdb-cache.js');
var Util = require('../util.js');

// Online DPDB URL.
var ONLINE_DPDB_URL = 'https://storage.googleapis.com/cardboard-dpdb/dpdb.json';
var ONLINE_DPDB_URL =
'https://thoragio.github.io/webvr-polyfill-dpdb/dpdb.json';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if you want to transfer this to the WebVRRocks org, I'd be happy to help you maintain this as well. if you want to keep it on your GH Pages, that's quite all right too 😄

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would make more sense to transfer it to WebVRRocks rather than keeping it in my own repo. Let me know how you want to go about that. Thanks.

Copy link
Contributor

@cvan cvan Apr 19, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thank you. Load https://github.com/thoragio/webvr-polyfill-dpdb/settings and scroll to the bottom and find the "Transfer ownership" section. When the modal form appears, enter webvr-polyfill-dpbdb and webvrrocks, respectively.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, I've done this just now. FYI, I got the following message upon screen reload: You don’t have the permission to create repositories on WebVRRocks.

Copy link
Contributor

@cvan cvan Apr 19, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

invitation updated 👍 is it good now?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK. All done. GH Pages link is working: https://webvrrocks.github.io/webvr-polyfill-dpdb/dpdb.json

I'll update my PR.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sweet, thanks! 👍

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gladly done!

src/dpdb/dpdb.js Outdated
@@ -19,7 +19,8 @@ var DPDB_CACHE = require('./dpdb-cache.js');
var Util = require('../util.js');

// Online DPDB URL.
var ONLINE_DPDB_URL = 'https://storage.googleapis.com/cardboard-dpdb/dpdb.json';
var ONLINE_DPDB_URL =
'https://webvrrocks.github.io/webvr-polyfill-dpdb/dpdb.json';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just created a new subdomain for this, and apologies for asking for yet another change (!), could you change this URL to https://dpdb.webvr.rocks/dpdb.json?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No problem. I've updated the PR.

@cvan
Copy link
Contributor

cvan commented Apr 19, 2017

@thoragio: you rock - thanks!
@toji: if this looks good by you, can you merge this?

@toji toji merged commit bf1c155 into immersive-web:master Apr 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants