Hi Mateusz, > On 21/01/2022 18:22, Robert Riebisch via Svardos-users wrote: >> Usually one would go back to the previous version first. >> Maybe you can reverse the order of alternative versions? >> So in your example "dosmid-0.9.5" would be the leftmost version. It's >> easier to spot than at the end of the line, at least to me. > > I know, and I pondered about that when implementing the thing, and came > to the conclusion that displaying packages in reverse might look like > pretending that the sort order is consistent with versioning (it's not).
I see, but doesn't make sense to me. ;-) > Parsing version strings to figure out which one is older is not trivial. Adding a timestamp value to each package is the easiest way to figure out the age of a package. :-D > I did that at some point, here: > https://sourceforge.net/p/fdnpkg/code/HEAD/tree/trunk/helpers.c#l27 > > I will probably re-implement a similar mechanism for sorting versions in > SvarDOS, but time is scarce so development is slow. :) Take your time. >> I didn't think about it very hard, but would it be useful to users to >> backup the currently installed version before installing another version? > > One of the goals I have in SvarDOS is to make it technically as simple > as possible - almost a bare bone DOS, but with an extra online "market > place" to make finding and downloading DOS apps easier. In such context, > I avoid any complex mechanisms - that's also the reason why packages are > downloaded by one tool, and installed by another. The user is free to do > anything he wants in the meantime (incl. archiving downloaded packages > somewhere if he wants to). I appreciate that. I tend to over-engineer solutions. Nevertheless I prefer simple solutions. Less is more, but removing a feature is sometimes more difficult than adding one. > 10 years ago I had created FDNPKG, which is nowadays the official > FreeDOS package manager. I made FDNPKG very complex, it does lots of > stuff automatically. I realized after a few years that it was a mistake. > Tools should be as simple as possible and work in a possibly transparent > ways so the users know exactly what is going. But that's my opinion. :) To be honest: I never used FDNPKG. Cheers, Robert -- +++ BTTR Software +++ Home page: https://www.bttr-software.de/ DOS ain't dead: https://www.bttr-software.de/forum/ _______________________________________________ Svardos-users mailing list Svardos-users@lists.osdn.me https://lists.osdn.me/mailman/listinfo/svardos-users