best-practices-badge icon indicating copy to clipboard operation
best-practices-badge copied to clipboard

Autodetect version tags

Open raboof opened this issue 1 year ago • 2 comments

Towards #2139

raboof avatar Jun 17 '24 13:06 raboof

I would suggest just to make a new test-repo and add a new test case. It's not a good practice to edit the VCR cassettes by hand unless very trivial edits that don't relate to the object under test. You should erase those cassettes and re-record them if you need to, but otherwise, just make a new test case so you can record cassettes against a real API instead of copying it in.

I agree it would be better to record cassettes instead of hand-editing them. I cannot create repo's under ciitest/coreinfrastructure, though, and it'd be a bit awkward to record them against repo's not under ciitest/coreinfrastructure control - which is why I asked to add a version tag to https://github.com/ciitest/test-repo .

If no-one can create a tag on https://github.com/ciitest/test-repo (or create a new repo under ciitest/coreinfrastructure) I'll indeed create a repo under my own account and test against that.

raboof avatar Dec 19 '24 08:12 raboof

Someone probably can but I don't know who it is. @david-a-wheeler might know. But fine to use your own repo for now. Or make a fake github user called ciitest4. That is what some of the other stuff is.

andrewfader avatar Dec 19 '24 08:12 andrewfader