thom4parisot / grunt-crx

Grunt task used to package private Chrome Extensions.
https://npmjs.com/grunt-crx
MIT License
118 stars 21 forks source link

Handle Chrome Web Store ID #19

Closed thom4parisot closed 8 years ago

thom4parisot commented 11 years ago

And thus, package as ZIP instead of CRX.

constantx commented 11 years ago

Would be great! I'm doing this manually with a compress task.

thom4parisot commented 11 years ago

The same :-)

constantx commented 11 years ago

question: since it's a zip file, how can Chrome Store tell if it's the same extension? while the crx file need a private key to pack?

thom4parisot commented 11 years ago

It knows that because you upload it on the Webstore admin page. It generates a crx and distributes it for you.

constantx commented 11 years ago

I see. Is there an easy way to auto migrate users from the chrome extension from the Chrome store to a self-hosted version?

thom4parisot commented 11 years ago

Well I think you can grab the signing key from the Webstore admin UI, not sure about it though.

Otherwise you can restrict the extension to a specific Google Apps domain.

Google announced they will remove manual installs of extensions on Windows soon so you should take that into account in your shift.

joshperry commented 10 years ago

Does the chrome web store have an API that would allow us to automate publishing new revs?

joshperry commented 10 years ago

Answer my own question: https://developer.chrome.com/webstore/using_webstore_api

Man I hate OAuth for APIs like this that are meant for automation... I wish they would just let you use SSH keys.

thom4parisot commented 10 years ago

@joshperry oh this is new! I did not know about that. A good way with oauth is to store the OAuth with root access only (if the user has root access…).

joshperry commented 10 years ago

I found this project and forked it, don't dig the underscore naming style, not very idiomatic Grunt, and I would like a flow that doesn't involve popping a browser: https://github.com/joshperry/grunt-webstore-upload

Looks like the functionality of these two code-bases may be good candidates for merging.

thom4parisot commented 10 years ago

@joshperry well I would suggest you to make it a non-grunt specific package so as grunt-crx could use it as a dependency :-) Is it something you would be confident to do?

joshperry commented 10 years ago

It would be simple enough to make the packaging and uploading for the web store separate grunt tasks that could be used by grunt-crx.

thom4parisot commented 10 years ago

@joshperry excellent! Keep me posted :-)