-
Notifications
You must be signed in to change notification settings - Fork 110
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
Removing Tock 1.0 crates (timing?) #327
Comments
I don't think a 17 minute CI is a reason to remove anything, that is pretty quick. I think it makes sense to keep the 1.0 crates around until the 2.0 is ready. With efforts like #325 it's worth keeping around |
For the record, I don't think I am going to put in the effort to polish / finish #325 . I don't think it is worthwhile to merge in its current state because most drivers have not been ported, and merging it also risks some out-of-tree user coming to depend on that 2.0 API which we do not plan to maintain in the future. I shared it as a PR in case anyone was interested, but it is at the point where it is temporarily usable for my downstream uses, and I am inclined to focus future effort on Johnathan's 2.0 work. |
I want to update the toolchain to I'm inclined to remove |
Before we delete the crates, I think we should tag the repository version from before their removal. In fact, I think we should tag a version from before #365 is merged. That way, users who want access to the Tock 1.0 I propose creating the following GitHub release on this repository, please let me know what you think: Tag
TitleTock 1 crate archive DescriptionThis is a snapshot of the source tree from shortly before the Tock 1 crates were removed. This is a pre-releaseYes |
That sounds like a good plan to me |
I'm not sure that
In the future, when we decide on a versioning scheme for |
We can just do another decimal place for changes to libtock-rs. So for example, Tock 1.6 is released with libtock-rs 1.6 as well. Then libtock-rs fixes a bug and releases 1.6.1. Then Tock fixes a bug and releases 1.6.1. We only tie in the first two numbers, as Tock won't break API inside a major release I just think that Either way, I don't care that much. I still think tagging and removing the old stuff is fine |
The problem isn't bugfixes, it's that |
I don't think we're stuck with it forever. If we decide to rename it, we can create a new release with the same commit ID but a different name and description. |
Release created: https://github.com/tock/libtock-rs/releases/tag/last-tock-1 I'll start sending PRs to clean up the Tock 1 crates soon. |
#372 removed the Tock 1.0 crates. |
Currently, the repository contains both Tock 1.0 crates (
libtock
and its dependencies) and Tock 2.0 crates (libtock2
and its dependencies). The Tock 2.0 crates are not finished yet (tracked in #322), so it's not clear whether we should delete the Tock 1.0 crates now or later.The obvious benefit of leaving the Tock 1.0 crates around is it makes it easier for users to continue to use them while they wait for the 2.0 crates to be ready. However, there's also a drawback to keeping the Tock 1.0 crates: they are slowing down the CI, which currently takes about 17 minutes.
Should we keep the crates until the 2.0 crates are ready, or can I go ahead and remove them? Alternatively, as a halfway measure, I can remove them from CI but keep them around in the repository (they shouldn't break if no-one touches them).
I'm personally in favor of removing them sooner rather than later.
The text was updated successfully, but these errors were encountered: