-
Notifications
You must be signed in to change notification settings - Fork 121
Please publish specs with the gems #68
Comments
I'm sorry. I'm super blind. I saw only the line before. And that the vmc 0.3.23 gem doesn't have specs packaged in them. |
Why isn't the gemspec and other root files also being bundled? That is, why are there any files not being bundled into the gems? |
Will you accept a patch to move to the gemspec that
|
I'm intrigued, why would you want that stuff? We're moving to not package specs with the gem in general, because all it does it make the gem files bigger. These days it's easy enough to go find the gem source on github if you want to see how the sausage is made. |
Just realised this repo is deprecated and its now cf repo. Versioned gems are forever; repos change. For example, vmc => cf repo. I cannot easily find the specs & gemspec for the older vmc releases that work with CF v1. In part perhaps; and I'm not sure; but all the tags have been lost for the old gems. Why does bundler's generated gemspec bundle every file if its not useful? I don't think there are any large development-only assets in the vmc/cf gem? So just how big are we scared this gem will get? |
Bundler's generated gemspec is probably a sane default because it can't know what you'll be doing with the structure of your project. I also don't like that loading the gemspec requires In general gems should only have what they need to be used - I certainly wouldn't want vmc and all of its dependencies to be grabbing code that's irrelevant to its functioning. For example, spec assets would be a concern, as we're starting to expand CF's integration specs and it's starting to include dummy rails/sinatra apps, etc. We've started using a deployment script that automatically tags the repository when gems are cut, so you should be able to use those in the future. https://github.com/cloudfoundry/cf/tags - v0.6.0 is when we cut over to |
Also: VMC 0.3.x had no specs. So, there's that. And CF does export some spec files, for example spec support libraries that its plugins can use to write their specs. But perhaps these should be extracted into a gem instead. |
Ok, thanks guys. |
No description provided.
The text was updated successfully, but these errors were encountered: