-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
filter out replaced models #953
Comments
I like this idea. It won't be that hard to filter as soon as we know on what we need to filter. Just having the highest version number according to the name is one thing - others have dates as suffix. Others are the date in the models version, this is more resource consuming, because we need to parse every model (not sure if this is appropriate) and what is when the naming convention is not considered (like the mentioned AV)? Another thing is that deprecated models are sometimes in dedicated folders and sometimes not... |
Usually there is a e.g. Maybe we could find some good practise documented also here: https://interlis.discourse.group/c/repositories/8 |
Ah yes @romanmeyerblch mentioned it already. Exactly, there it would be good to know what the best practice is. If you find this info, this would be great. I remember an INTERLIS Userday where we talked about this (I think you where even sitting next to me @sjib ) but I don't know the current status. If no best practice exists, then we might still find out what is currently used and define it here (shouldn't be that hard to find it out). |
@signedav Du hast ja eigentlich schon die Informationen im ilimodels.xml welches dir sagt, welches das aktuellste Modell ist und welches die Precursor Modelle sind https://405.sia.ch/models/ilimodels.xml
Man müsste das jetzt quasi rückwärts durchsuchen und nur jeweils das neueste Modell nehmen. Beim Beispiel VSA-DSS fände ich aber, dass man sowohl die neueste Version von Release 2020_1, 2020 als auch von Release 2015 zeigen sollte - beim VSA und sia sind die jeweils in einem eigenen Subordner. Beim Bund und den Kantonen ist das vielleicht etwas anders strukturiert - Feedbacks erwünscht (und könnte man vielleicht auch via interlis.discours abholen) Aufbau Repositories siehe schöne Dokumentation von @beistehen - u.a. Bedeutung der einzelnen Tags in ilimodels.xml: |
great to see the enthusiastic discussion here! :-) just one change to my initial post: it would probably make sense to make this a setting in the model baker settings instead of another (confusing) checkbox in the GUI. But that's ultimately up to @signedav |
@signedav cc @olivergrimm |
I really like to import models using the search bar. However, 99.9% of the time, I need the current version of the model. Please consider adding a checkbox 'current versions only' that is checked by default. Basically, it should hide any model that is in a 'replaced' folder. This is certainly not a major issue for now, but will become more important as versions keep piling up.
I'm adding a screenshot of 'Rodungen', which is very simple, but it gets more confusing if you look at i.e. AV instead... Thanks!
The text was updated successfully, but these errors were encountered: