• version number

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #19339  by ciropom
 
Hi to all,
I would like to know why in the version number only the second term increases.
If I upload multiple versions of the same file, I will see that the version number becomes 1.0, 1.1, 1.2 ...
there is a way to upgrade the first number?
so that I will start with 2.0, 2.1 ...

Thank you very much.

Danilo
 #19364  by jllort
 
Como para gustos no hay nada escrito a partir de la verion 6.x hicimos que el tema del versionado fuese extensible. Es decir tenemos un versionado por defecto pero te puedes implementar el que quieras y compartirlo después con el resto de la comunidad si te apetece.

la propiedad de openkm en cuestion es version.numeration.adapter=com.openkm.vernum.MajorMinorVersionNumerationAdapter y lo segundo como puedes observar es una clase. Simplemente cambiando esta clase por una implementada por ti el invento versionará con otra lógica. Ojo al dato esto es bueno hacerlo antes de empezar a subir documentos sino tendras que cambiar en la base de datos el versionado antiguo ( que tienes ) por el nuevo ( correspondiente ).
 #19389  by ciropom
 
Sorry but I don't speak spanish.. can you repeat in english?
 #19409  by jllort
 
Excuses - lapsus -

From version 6.x we have introduced I way you write your own version number. OpenKM comes by default with one, but you can change to other, take a look at this configuration parameter version.numeration.adapter=com.openkm.vernum.MajorMinorVersionNumerationAdapter where com.openkm.vernum.MajorMinorVersionNumerationAdapter is a java class than you can change by your own. The only problem you got is that if you have started with other number versioning you should change older numbers ( existing in your openkm ) to newer format ( basically with some database queries can be solved ).

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.