Comments (6)
Hello @micheelengronne
Thank you for your patience. I was not able to look at this in more detail before.
I appreciate your effort in the PR and your desire of getting that incorporated. While I understand the scenario you present is valid (now that I fully understand it), I'm not aligned on the UX presented in your PR.
If you don't mind, I have a few changes pending for this project that I would like to close before I tackle this particular request.
Hopefully will have an update shortly.
Once again, thank you for your patience and your contribution.
Cheers.
from gem-compiler.
Hello @micheelengronne, thanks for your patience and your question.
There is no option to alter the gem version, and I would personally prefer to avoid that, as the new packaged version will not be the same as upstream, which can introduce version comparison issues.
You can test the gem by installing it locally before pushing to a gem server.
While I do understand the reason, I'm not convinced is the best approach.
Let me know if you have further questions.
Cheers.
from gem-compiler.
Of course we test a gem locally before pushing to a gem server. but in case of mistakes like a false-negative test, we are screwed.
As stated here rubygems/gemstash#266 (comment) it is advised to always publish a new version by using a 4th or 5th number in the version. That should avoid versions conflicts with the upstream and make mistakes less harmful.
from gem-compiler.
I created this PR to answer to my question: #59
from gem-compiler.
I coded it as an option. That way, if someone fear a potential conflict with the upstream gem version, they can not use it.
I would be very happy to see it merged as I have differents builds of a same gem in my CI waiting to be pushed in my Gemstash.
from gem-compiler.
No problem.
I am happy that you found my contribution useful.
from gem-compiler.
Related Issues (20)
- Lock down Ruby's ABI when packaging new gem HOT 4
- cannot compile nokogiri HOT 23
- Method to execute commands/scripts before packaging the new gem HOT 7
- Use only in gemfile? HOT 3
- Using these compiled gems with bundle HOT 1
- Testing with trunk ruby 2.5.0dev (2017-10-10 trunk 60155) [x64-mingw32] HOT 3
- Packaging gems with non-traditional extensions
- gem compile test-4.0.6.gem HOT 1
- Compiler errors when it finds nothing to do? HOT 5
- Using gem compiler in a restricted server environment HOT 4
- Benchmarks? HOT 3
- Specific case: puma with SSL support HOT 6
- Uploading multiple versions of ABI to rubygems HOT 4
- Thanks!!! HOT 1
- gem-compile fails when gem has no Gemfile (SUSE/OpenSUSE) HOT 11
- Fail when artifacts are empty? HOT 2
- Support for ruby 3.0 HOT 7
- Package not found HOT 4
- mysql2.so is not included in the packed gem HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gem-compiler.