datopian / ckanext-versioning

Deprecated. See https://github.com/datopian/ckanext-versions. ⏰ CKAN extension providing data versioning (metadata and files) based on git and github.
https://tech.datopian.com/versioning/
GNU Affero General Public License v3.0
7 stars 4 forks source link

Editing Versions Info causes the order in which they are listed to change when using filesystem backend #30

Open pdelboca opened 4 years ago

pdelboca commented 4 years ago

This may be as well an issue in metastore-lib but I'm not sure if this is something we need to adress on the UX level or in the backend. When editing a Version the order in which they are displayed changes making it confusing to know which version is the first and which one is the last.

Steps to Reproduce:

As far as I tested, this is not happening when using a github backend. Even so, it would be nice to the behaviour of both backends to be the same.

rufuspollock commented 4 years ago

@pdelboca good bug find.

As an aside can we consistently use RevisionTag (or Release if you want a nicer word) at least internally (i saw title and was not sure what this was about).

shevron commented 4 years ago

This should be reported in metastore-lib, in any case good catch. We need to find the expected behavior of tag_list - is it sort by creation time or alphabetically, and if creation time should it be newest first or oldest.