-
Notifications
You must be signed in to change notification settings - Fork 32
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
Version comparison and build-skipping is broken #337
Comments
A while back we stopped removing releases from the versions list for go-ipfs to simplify the job of seeing what has changed for automations that use it to check for new releases like https://github.com/ipfs/npm-go-ipfs/blob/master/.github/actions/check-for-go-ipfs-release/entrypoint.sh Is removing old versions a feature that we want? I was kinda channeling the permaweb vibe and assumed we wouldn't do that. |
@hsanjuan Why would we want to override history and remove old releases? Protecting users from known security issues? |
I only remove release candidates. They take space. It may be that something is built by mistake, I don' t know... Just wanted to highlight behavior change. |
Before: the list of releases in
version
could be updated and the build script would build what is needed to be built according toversions
if it was not already available in dist.ipfs.ioNow: if the
version
file is updated to, for example, cleanup older version or remove older rc releases that should not be published anymore, the comparison between the existing version file and the current file returns a wrong list of releases to build because it lists lines that are in a position that was not expected, regardless of whether they are already built or not.This was done in 0e510b9 and later in 19448fd . It seems there is an assumption that version files are append-only, but it is not the case. The way it was done before (or not done) just worked.
@aschmahmann @olizilla
The text was updated successfully, but these errors were encountered: