๐ Itโs the last day of October. How are you doing, mister?
๐ข Yep. It was a nice October. I would like to finish by increasing the coverage.
๐ How about setting up a runner on your machine to test them locally?
๐ข Not now. I should fix the tests as always. Later I can take a look at it. I donโt want to distract myself with it.
๐ Youโll need to create Apple Silicon binaries, though.
๐ข I think I can cross-compile for aarch.
๐ You were doing this in the past, trying to build all binaries on a single Ubuntu VM. It didnโt work, as far as I remember.
๐ข I hadnโt even read this section then, and there is a dedicated project for it. The proper way is to use that. Iโll return to this after fixing the tests. I think we can release Xvc on all platforms supported by Rust.
๐ Using cross-rs on GitHub Actions may be challenging. It seems Apple Silicon doesnโt need that much work either. You can set up cross-compilation with rustup targets.
๐ข Yeah. It looks so. Letโs take a look at the previous devlog.
๐ The page seems missing. Would you like to fix your site first?
๐ข Ah, yeah. I should, maybe. Now itโs time to fix those PRs. Iโll take care of the site later. I should change the theme anyway.
๐ Ok. Letโs take a look at outstanding PRs.
๐ข I want to fix the failed tests locally first. Yesterday I wasnโt able to redirect the output. It looks like the correct way of doing it is cargo test --all-features --no-fail-fast > $TMPDIR/xvc-test.log 2>&1. Itโs required to put 2>&1 at the end, not between the redirection and output.
๐ There is also the &> operator that you may want to use. cargo test --all-features --no-fail-fast &> $TMPDIR/xvc-test.log should be equivalent to this.
๐ข Iโll try it when the tests finish.
๐ In the meantime, you can work to fix the documentation. In another repository, perhaps.
๐ข Good idea. Let me clone that.
๐ Looks like the tests have finished and the only error is Minio. It couldnโt find the env variables you defined.
๐ข Restarted the shell and the tests. Returned to docs now.
๐ข Added a few function docs. Storage tests seem to pass. Probably they will fail in GA because of rsync tests using one.emresult.com login in my name.
๐ If thatโs expected, you can push and begin to fix it.
๐ข Yeah, letโs push the tests.
๐ข It looks like connecting to localhost also poses a challenge. Instead, I can create a user for xvc on the server and limit its usage.
๐ Hmm. Good idea for now.
๐ข I created a new user xvc-test@one.emresult.com and its SSH keys. Iโll update the action to write the secret to the keyfile.
๐ Looks like you forgot to install mc for Minio connection.
๐ข Yeah, I must convert Minio tests to use s3cmd.
๐ And your region in s3 configuration seems to be wrong.
๐ข Iโll need to check this.
๐ There is this line in the tests let region = env::var("AWS_DEFAULT_REGION").unwrap_or("us-east-1".to_string()); thatโs probably causing that error. You should define the region properly.
๐ข I set this to eu-central-1 directly and will check the Minio error in the next session.
๐ ๐
๐ข Itโs working except for the rsync tests now.
๐ I think you can just use localhost to run the tests. You may need to install openssh-server, but it should work with localhost without configuration.
๐ข There may be a step missing in the configuration. Iโll try to make it run.
๐ข Iโm trying to use .ssh/config in GA to allow connections to the server. It doesnโt work for some reason.
๐ You may try to log in to the server outside of the tests and check if itโs running.
๐ข Yesterdayโs last attempt was successful, and now we have working remote storage tests.
๐ ๐๐๐๐ฅณ
๐ข Iโm merging the PR.