Skip to contentSkip to conversation

librados: Bump the version to 0.48

PATCH In review Wido den Hollander 3 participants 6 messages Jul 4, 2012 – Jul 6, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 librados: Bump the version to 0.48

---
 src/include/rados/librados.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/include/rados/librados.h +1 -1
index 9f723f7..4870b0f 100644
@@ -23,7 +23,7 @@ extern "C" {
 #endif
 
 #define LIBRADOS_VER_MAJOR 0
-#define LIBRADOS_VER_MINOR 44
+#define LIBRADOS_VER_MINOR 48
 #define LIBRADOS_VER_EXTRA 0
 
 #define LIBRADOS_VERSION(maj, min, extra) ((maj << 16) + (min << 8) + extra)
Signature · 1 line
1.7.9.5
#1 lore raw

Hmmm — we generally try to modify these versions when the API changes, not on every sprint. It looks to me like Sage added one function in 0.45 where we maybe should have bumped it, but that was a long time ago and at this point we should maybe just eat it? -Greg

Quoted 26 lines · Wido den Hollander
Signed-off-by Wido den Hollander <[email protected] (mailto:[email protected])>

---
src/include/rados/librados.h | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
src/include/rados/librados.h +1 -1
index 9f723f7..4870b0f 100644
@@ -23,7 +23,7 @@ extern "C" {
 #endif
 
 #define LIBRADOS_VER_MAJOR 0
-#define LIBRADOS_VER_MINOR 44
+#define LIBRADOS_VER_MINOR 48
 #define LIBRADOS_VER_EXTRA 0
 
 #define LIBRADOS_VERSION(maj, min, extra) ((maj << 16) + (min << 8) + extra)
Signature · 6 lines
1.7.9.5
 
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected] (mailto:[email protected])
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
Quoted 4 lines · Gregory Farnum

Hmmm ÿÿ we generally try to modify these versions when the API changes, not on every sprint. It looks to me like Sage added one function in 0.45 where we maybe should have bumped it, but that was a long time ago and at this point we should maybe just eat it?

Yeah, I went ahead and applied this to stable (argonaut) since it's as good a reference point as any. Moving forward, we should try to sync this up with API changes as they happen. Hmm, like that assert ObjectOperation that just went into master...

sage

#3 lore raw
Quoted 10 lines · Sage Weil
Quoted 4 lines · Gregory Farnum

Hmmm ÿÿ we generally try to modify these versions when the API changes, not on every sprint. It looks to me like Sage added one function in 0.45 where we maybe should have bumped it, but that was a long time ago and at this point we should maybe just eat it?

Yeah, I went ahead and applied this to stable (argonaut) since it's as good a reference point as any. Moving forward, we should try to sync this up with API changes as they happen. Hmm, like that assert ObjectOperation that just went into master...

That was my reasoning. I compiled phprados against 0.48 and saw that librados was reporting 0.44 as version.

That could confuse users and they might think they still have an old library in place.

Imho the version numbering should be totally different from Ceph if you only want to bump the version on an API change.

Wido

Quoted 3 lines

sage

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw
In reply to Sage Weil
Quoted 10 lines · Sage Weil
Quoted 4 lines · Gregory Farnum

Hmmm ÿÿ we generally try to modify these versions when the API changes, not on every sprint. It looks to me like Sage added one function in 0.45 where we maybe should have bumped it, but that was a long time ago and at this point we should maybe just eat it?

Yeah, I went ahead and applied this to stable (argonaut) since it's as good a reference point as any.  Moving forward, we should try to sync this up with API changes as they happen.  Hmm, like that assert ObjectOperation that just went into master...

Yep, should probably bump it to .49 then! (Since that's the version it will be part of, and nobody will get confused and try to bump it again before that release.)

Quoted 8 lines · Wido den Hollander

That was my reasoning. I compiled phprados against 0.48 and saw that librados was reporting 0.44 as version.

That could confuse users and they might think they still have an old library in place.

Imho the version numbering should be totally different from Ceph if you only want to bump the version on an API change.

Well, the problem with bumping it on every Ceph version is that it becomes a lot harder for tools to sync up to a known version of the API. Perhaps we should have divorced it from the Ceph versioning completely, but I don't know if we can still do that in a reasonable way or not. :/
-Greg
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#5 lore raw
Quoted 24 lines · Gregory Farnum
Quoted 10 lines · Sage Weil
Quoted 4 lines · Gregory Farnum

Hmmm ÿÿ we generally try to modify these versions when the API changes, not on every sprint. It looks to me like Sage added one function in 0.45 where we maybe should have bumped it, but that was a long time ago and at this point we should maybe just eat it?

Yeah, I went ahead and applied this to stable (argonaut) since it's as good a reference point as any. Moving forward, we should try to sync this up with API changes as they happen. Hmm, like that assert ObjectOperation that just went into master...

Yep, should probably bump it to .49 then! (Since that's the version it will be part of, and nobody will get confused and try to bump it again before that release.)

Quoted 6 lines · Wido den Hollander

That was my reasoning. I compiled phprados against 0.48 and saw that librados was reporting 0.44 as version.

That could confuse users and they might think they still have an old library in place.

Quoted 8 lines
Quoted 2 lines

Imho the version numbering should be totally different from Ceph if you only want to bump the version on an API change.

Well, the problem with bumping it on every Ceph version is that it becomes a lot harder for tools to sync up to a known version of the API. Perhaps we should have divorced it from the Ceph versioning completely, but I don't know if we can still do that in a reasonable way or not. :/

You could always say: 0.48 was the "stable" release, from here on we are only going to bump the librados version if any API change happends.

Sent out an e-mail on the devel list and write a blogpost? I don't think we have a lot of developers using native librados at the moment.

Wido

Quoted 6 lines

-Greg
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html