-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Renaming / reorganization #5
Comments
This is done and I decided to just call it Edit: I realized the steps:
# ...
- name: Setup Rust3DS toolchain
uses: rust3ds/actions/setup@v1
- name: Build and run tests
uses: rust3ds/actions/run-tests@v1 It might feel a bit odd to have the test-runner = { git = "https://github.com/rust3ds/actions", tag = "v1" }
# or if we rename and publish to crates.io ?
test-runner-3ds = "1.0.0" For now we can leave as-is but something to think about especially if other project start using this framework at all. |
I wouldn't exclude this crate from the "release list". One day people may want to use it to implement automated testing in their own applications (which now that I think about it, I've never seen a 3DS app with automated tests like ours before). Obviously the actions/test-runner have to be matching, but we should think of the possibility of publishing this crate to crates.io and see people using it easily from there. That also means it needs a cool name 😉. |
Not sure if this is a "cool" name exactly, but how about I was thinking it might not need to exactly be named as test-related, since it might also eventually be used to run examples or other binaries, with a bit of tweaking. So now I'm thinking maybe we split this into two repositories, so we can version the actions separately at least:
Thoughts? |
CTR* names are a bit overused already in my opinion. There is the cedrus tree which comes to mind when thinking about Citra (
That’s a very good point. Imo we can keep the repository as one for now, but we should also keep in mind the possibility of splitting it if one or both modules grow independent of each other. |
It might be worth moving this to the ctru-rs repo, since they're interdependent. test-runner uses ctru-rs as a dependency, and ctru-rs uses test-runner as a dev dependency. For example, this PR on ctru-rs (rust3ds/ctru-rs#86) causes test-runner to require a change (#15), but this test-runner change is required to make the ctru-rs PR checks pass. Edit: The test-runner PR isn't needed anymore after recent changes in the ctru-rs PR, but the dependency is still there. |
Yeah, and this was one reason I originally thought it might be better to leave in the
After I've thought about it enough to write all that down, I think you might be right:
Does that sound like a reasonable plan? I think it eliminates the kinds of concerns @AzureMarker brought up in terms of the |
I’ve had problems with |
The issue is closed, but we should take the chance and rename the repo to avoid confusion. |
Done. I think GitHub will keep forwarding references to the old name here, but we'll probably want to go through and update them for clarity at some point too. |
There are a couple of things I want to consider here. Each of these could probably be a separate issue, but I think to some extent they'll all happen together at once so just tracking here for now:
Moving
.github/actions/*
to either the top level or their own repository. I think this repo makes sense, particularly since the Citra test runner requires some level of coordination with the GDB test runner, but it's not necessarily the recommended location. This would also make it easier to version the two actions (setup and run) separately, otherwise we might need to use tags likesetup@setup-v1
or something.Also, if actions are moved to the top level, maybe the
test-runner
crate should also be moved down into its own directory?Naming; this crate doesn't ever need to be published to https://crates.io, but if if is published it will need a sufficiently unambiguous name.
test-runner-3ds
is kinda long, maybe just liketest3ds
or something more creative?Moving to the
rust3ds
org. This seems obvious and is just a matter of making sure the CI and everything still works once moved.Finish documenting the actions in the README at least, to make it more obvious how they're meant to work.
The text was updated successfully, but these errors were encountered: