thanks for your mail. Answers inline:
On Wed, Oct 16, 2019 at 9:26 PM Wiktor Kwapisiewicz <
I just found Distri and it looks like the project is very interesting
(both from the current design principles and the general idea of trying
out something new).
I've got some questions about packages and versioning if you don't mind.
I see Distri already supports custom repositories with "distri install
--repo" option (e.g. "distri install --repo=https://example.com curl";)
where the target textproto URL is constructed from several concatenated
Maybe a simpler alternative would be using system similar to what Go
uses for imports (and other projects borrow, such as Docker): embedding
the repo name in the package name (so having packages such as
"example.com/curl") and then directly fetching that URL (Go always uses
"https://" scheme). Details here:
How is versioning handled in Distri?
I've seen some code comparing versions:
but it looks like it's comparing strings and this could produce
non-intuitive behavior (e.g.: https://play.golang.org/p/kZFL_UOI9kz ;).
Android separates the visible, marketing important version (versionName)
from version used for comparisons if the package should be upgraded
(versionCode). VersionCode is an integer increased on each new version
where the value is not significant. Details here:
Thank you for your time!