rock-core / autoproj

Rock (Robot Construction Kit) package-oriented build system
http://rock-robotics.org/rock-and-syskit/workspace
23 stars 22 forks source link

autoproj update selects old version of autoproj #391

Closed planthaber closed 1 year ago

planthaber commented 1 year ago

It seems like having autoproj_version = ">= 2.0.0" in the gemfile now selects autoproj version 2.0.3 (and also downgrades the installed version).

I had to set it manually to 2.1.0 in the .autoproj/Gemfile. remove the .autoproj/Gemfile.lock file and update to get the most recent version (2.16.0).

I already did a quick fix on the rock homepage version of autoproj_bootstrap: https://github.com/rock-core/rock-core.github.io/commit/bdf6a41899e257d95ec008c297504d3546b4f78b

But still don't have a good idea why this happened.

planthaber commented 1 year ago

https://github.com/rubygems/rubygems/issues/6226

doudou commented 1 year ago

Cf. #392 and #389

doudou commented 1 year ago

Should be fixed on master. Update autoproj_bootstrap or (better yet) use directly the one from git, e.g.

https://www.rock-robotics.org/rock-and-syskit/basics/installation.html

planthaber commented 1 year ago

Sadly github.io is not capable of 301/302 redirects, only http meta redirects.

The idea of having https://rock-robotics.org/autoproj_bootstrap is to have an easy to remember url for use with wget/curl.

While jekyll now supports http redirects (https://stackoverflow.com/questions/9276817/301-redirect-for-site-hosted-at-github), it can be used by browsers, but e.g. wget will not follow the redirect and download the generated html file containing the redirect.

I'll update the script on https://www.rock-robotics.org

planthaber commented 1 year ago

Renamed and reopened.

We still have this issue on existing workspaces where a .autoproj/Gemfile is present that used the old version of the bootstrap script.

These older Gemfiles are still having: gem "autoproj", ">= 2.0.0" in them

doudou commented 1 year ago

The idea of having https://rock-robotics.org/autoproj_bootstrap is to have an easy to remember url for use with wget/curl.

It's a very rare action, and it's not very hard to remember "open the install page and copy/paste the URL". But suit yourself, we only use rock-and-syskit here.

doudou commented 1 year ago

We still have this issue on existing workspaces where a .autoproj/Gemfile is present that used the old version of the bootstrap script.

Yes, we do. Which can be solved by communication - just sent an email to rock-* mailing lists.

At this stage, there's nothing I'm planning to do on Autoproj's side, so I'm closing.