Should we keep Readium modules' versions synchronized? #53
Replies: 0 comments 4 replies
-
To go in more depth, Gradle actually supports dynamic versions, so one could write this to get all patch versions of the 2.1 releases:
However, this is actively discouraged by Google because Gradle will automatically upgrade to the latest possible versions, making it difficult to have reproducible builds.
Now I think this could actually be solved by locking the dependencies with Gradle. But it's such a fringe Gradle feature in Android development that I'm not sure we should promote it. |
Beta Was this translation helpful? Give feedback.
-
"My vote is for Keep only the major versions synchronized " Also would like frequent minor releases whenever there is a fix or improvements is merged to develop branch, so it enables external integrators like me to implement and test quicker. |
Beta Was this translation helpful? Give feedback.
-
I'm torn between this. I like being able to specify a version for a "common" library, as you show in the cons section. If I need Android Room, I put this in my gradle file:
A release is done for all of those at the same time. I don't know if they all always have changes, or if they just do a blank release to keep them synchronized. On the other hand, I imagine it's probably a pain to do a release if one module needs a simple bug fix. I think at the very least the major versions should always be the same. Otherwise I'm indifferent to the rest. |
Beta Was this translation helpful? Give feedback.
-
UPDATE: This question is obsolete now that we have a single repository. All the modules are released together.
For the whole 2.0.0 early release path, we kept the versions of all Readium modules in sync. This helped prevent too much issues with incompatible changes.
Now that the 2.0.0 toolkit reached a stable point, if we don't mess up with semantic versioning every minor versions should be compatible with each other.
So should each module be released independently until we move to 3.x?
Pros
Cons
2.1.+
)Vote
State one or two preferences as a reaction to this thread. Votes will be pondered in the final decision, but will not enforce it.
2.1.+
)2.+
)Beta Was this translation helpful? Give feedback.
All reactions