no news ?2016-08-30 23:36 GMT+02:00 niphlod <nip...@gmail.com>:As proposed here https://groups.google.com/d/msg/web2py-developers/4G2VVGVZOJg/FcJuXr_OCQAJ I'd start (from the next release) to use a semantic versioning that is also compliant with pep440 (another step towards packaging web2py to pypi). You agreed, too (in case you forgot :P)I thought about it for a bit and originally started to code yet another fallback for parse_version in gluon.fileutils.... but then thought harder and rewrote everything in one single piece.
Which I think is both readable and translates "human" versioning well. It could very well be the last parse_version we'll ever need.
Of course, it doesn't check STRICTLY that the version is pep440 compliant, but we just need it in web2py to detect a new version......You will be the one to check a new version is pep440 compliant when touching the VERSION file.What do you think about this ?
No strong opinion but I am ok with this with one caveat.Internally we use a version that starts with an ISO datetime. That is important for sorting and it is used in determining upgrades. We should not break the admin upgrade logic.massimo
Some projects may choose to use a version scheme which requires translation in order to comply with the public version scheme defined in this PEP. In such cases, the project specific version can be stored in the metadata while the translated public version is published in the version field.
This allows automated distribution tools to provide consistently correct ordering of published releases, while still allowing developers to use the internal versioning scheme they prefer for their projects.
--
-- mail from:GoogleGroups "web2py-developers" mailing list
make speech: web2py-developers@googlegroups.com
unsubscribe: web2py-developers+unsubscribe@googlegroups.com
details : http://groups.google.com/group/web2py-developers
the project: http://code.google.com/p/web2py/
official : http://www.web2py.com/
---
You received this message because you are subscribed to the Google Groups "web2py-developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.