Posted on :: Tags: , , , , ,

Iโ€™ll start a new series to record my Xvc development progress. I think itโ€™s nice to have a dialogue between ๐Ÿข and ๐Ÿ‡ to explain the decisions and progress. These will be published on 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 PRs may be linked.

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

๐Ÿข I started fixing warnings in issue #3 and am 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] is used in other places, it may be needed.

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


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

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

๐Ÿข Insert means a 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. From 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? That 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 it, though.

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


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

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

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

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