rails / jquery-rails

A gem to automate using jQuery with Rails
MIT License
948 stars 406 forks source link

Any way to avoid duplication between git repos #205

Closed justin808 closed 9 years ago

justin808 commented 9 years ago

I noticed that the jquery-ujs is in 2 places on github:

rafaelfranca commented 9 years ago

One is the source code other is the packaged version.

How are these kept in sync?

They don't need to. Only when we need to release a new version of jquery-rails https://github.com/rails/jquery-rails/blob/04fcfa29b859eef9479f89b6a799d00212902385/Rakefile#L53-L57.

Are there advantages (or necessities) doing it this way?

We decouple the development of jquery-rails and jquery-ujs. So we don't need to have things like upgrading jquery version on the jquery-ujs repository.

In the long term, should the duplication be avoided, and maybe jquery-rails could refer to the version number?

I don't see why. It already refer to the version number.