Welcome to the forums. Please post in English or French.

You are not logged in.

#1 2011-10-26 22:12:29

JMB365
Member
Registered: 2008-01-19
Posts: 781

Limit CodeAster to a certain weekly update

Hello,

Is it possible to update CA_11.0+ only upto a certain weekly update say 11.0.27?  I think it would be useful to be able to do that if one needs a certain feature, but is wary of the pitfalls of a subsequent update.  If so how can one do that without a step by step approach.  If it is not possible could this be incorporated into a future release?   Ideally of course a GUI based "place a check mark in the box" type of upgrade process would be nice...  (am I dreaming? wink )

Regards, JMB

Last edited by JMB365 (2011-10-26 22:14:35)


SalomeMeca 2021
Ubuntu 20.04, 22.04

Offline

#2 2011-10-27 07:04:15

jeanpierreaubry
Guru
From: nantes (france)
Registered: 2009-03-12
Posts: 3,829

Re: Limit CodeAster to a certain weekly update

hello

the verys simple way is to download the various "aster-maj-src-11.x.yz-t.tar.gz" in some directory, lets say "asterupdate"
and then run
/opt/aster11/bin/as_run --update  .../asterupdate/aster-maj-src-11.x.yz-t.tar.gz
another advantage is that you keep by yourself the updates, just in case

jean pierre aubry


consider reading my book
freely available here https://framabook.org/beginning-with-code_aster/

Offline

#3 2011-10-27 13:30:12

JMB365
Member
Registered: 2008-01-19
Posts: 781

Re: Limit CodeAster to a certain weekly update

jeanpierreaubry wrote:

/opt/aster11/bin/as_run --update  .../asterupdate/aster-maj-src-11.x.yz-t.tar.gz

Hello jeanpierreaubry,

Thank you for the suggestion.  I was partially aware that one could do something like that.  However, it has the dis-advantage that when there are numerous updates starting from a stable release, one would have to do each one in turn, unless one writes a shell script to iteratively accomplish that.  My request stems more from the fact that when I used:

/opt/aster/bin/as_run --auto_update --nolocal --vers=NEW11.0

I discovered that my PC was upgraded to version 11.0.30, which until yesterday did not appear on the website's human readable listing, but was made available to the --auto-update process.  This caused one of the PCs in the small cluster I am building and testing to be out of sync with the others.  Of course I can avoid that imbalance in many other ways, but it was a needless surprise...

Regards, JMB


SalomeMeca 2021
Ubuntu 20.04, 22.04

Offline

#4 2011-10-27 17:05:59

Thomas DE SOZA
Guru
From: EDF
Registered: 2007-11-23
Posts: 3,066

Re: Limit CodeAster to a certain weekly update

Another option though not exactly what you want is to use --keep_increment while auto_updating.

TdS

Offline