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

Include stable JS builds in releases #43

Closed
parente opened this issue Feb 24, 2011 · 1 comment
Closed

Include stable JS builds in releases #43

parente opened this issue Feb 24, 2011 · 1 comment
Labels
Milestone

Comments

@parente
Copy link
Member

parente commented Feb 24, 2011

Most JS projects release minified, single file copies of libraries for stable releases. To name a few:

  • Dojo
  • cometd
  • jQuery
  • RequireJS

We're odd in that we provide the raw source and have scripts people have to run to grab JS dependencies (OpenAjax, cometd), setup a JS build environment (node.js, Rhino, Google Closure, etc.), and then run the build to minify our code. Big hurdle for adoption.

A simple answer would be to do the build of the core coweb code into a coweb.js upon each stable release. We could commit them right into a folder in the repo (e.g., www/libs/build/coweb-0.5.min.js) and then tag the release. Anyone that grabs the stable download will have them. Anyone that clones will have the current raw source plus all the old stable version if they want to use them (e.g., regression testing).

This also simplifies our server setup. People won't have to run scripts to go fetch OAA Hub and cometd anymore. They're baked into the built copy of coweb.js. The downside is now we have other deps in our repo, but they're license friendly and people understand these are builds, not source.

@parente
Copy link
Member Author

parente commented Mar 13, 2011

0.4 stable build committed along with new NOTICES file and updates to LICENSE to call out third-party code.

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

No branches or pull requests

1 participant