Xvc Devlog

Iโ€™ll start a new series to record my Xvc development progress. I think itโ€™s nice to have dialog between ๐Ÿข and ๐Ÿ‡ to explain the decisions and progress. These will be published in my personal blog for now. In the future, we can have a dedicated blog for this.

๐Ÿ‡ LGTM. I think you can also link to commits here when they occur.

๐Ÿข I think thatโ€™s a bit too much work but PRโ€™s may be linked.

๐Ÿ‡ Ok. Letโ€™s start with the PRs. What do you work on these days?

๐Ÿข I started fixing warnings in https://github.com/iesahin/xvc/issues/3 and now fixing missing documentation warnings.

๐Ÿ‡ Do you really think that weโ€™ll have a use for [RMNStore] in the future?

๐Ÿข Iโ€™m not sure. Possibly any M-N relationship can be tracked by two 1-N relationships. Under the hood this is what RMNStore does actually.

๐Ÿ‡ Maybe we should just remove it.

๐Ÿข I want to save it for the time being. If [xvc-ecs] will be used in other places, it may be needed.

๐Ÿ‡ Ok. Probably YAGNI, but letโ€™s keep it for the time being.


๐Ÿข Writing documentation may be a debugging method too. I think Iโ€™ve found the reason for a bug here

๐Ÿ‡ Umm, how could it lead to a bug?

๐Ÿข Insert mean new event happened. But when converting a VStore to an XvcStore, new events are not happening. We are simply converting from one store to another.

๐Ÿ‡ That means, they are added to XvcStore::current events, not XvcStore::previous , and when save_dir is called, they are saved.

๐Ÿข Yeah, that was the bug. Time to time I was seeing duplicate JSON files.

๐Ÿ‡ Then maybe itโ€™s better to limit all insert usage.

๐Ÿข Yeah, I should review that too.

๐Ÿ‡ Added a bug report .


๐Ÿข Iโ€™m installing cargo-geiger to show that there is no unsafe code.

๐Ÿ‡ Do you think youโ€™ll maintain Xvc that way? It wonโ€™t require any unsafe code?

๐Ÿข Maintain the forbidden(unsafe) status? I think so. Xvc doesnโ€™t seem to need any unsafe blocks by itself. Most of the dependencies may need though.

๐Ÿ‡ Working on it. and will be merged today.


๐Ÿข I worked about that s3cmd bug yesterday and it turned out that my modification on the configuration was the cause.

๐Ÿ‡ You were thinking that itโ€™s about R2 all along?

๐Ÿข I should suspect with my custom config more.

๐Ÿ‡ Anyway, congratulations ๐ŸŒ  that Xvc now has Cloudflare R2 support.

/xvc/ /cargo-geiger/ /unsafe_code/ /debug/