Subject: Rare project developers
List archive
- From: mc36 <>
- To: Alexander Gall <>
- Cc:
- Subject: Re: [rare-dev] Integration of the release manager
- Date: Wed, 6 Apr 2022 06:03:49 +0200
hi,
On 4/5/22 11:12, Alexander Gall wrote:
what about adding "alias exec tna-switch-to-generation cmd2nd reload warm" ?There is a slight problem with the cmd2nd mechanism, because it is run
(the rationale here is that once someone issued this, there is the intent...:)
unconditionally after the main command. The problem is that the main
command can fail when the user enters a non-existent profile name. The
main command can also be called without argument and then prints
information about which RARE generation will be activated at the next
restart. In both cases, we obviously don't want to perform a warm
start.
What you could do is to make the execution of the cmd2nd depend on the
exit status of the main command. What do you think?
bad news here, at least partially... :)
so the exec commands in freerouter does not have exit status,
but the convention that they output nothing if everything went ok...
it's a good observation that the cmd2nd now gets blindly executed,
but it's easy-peasy to check if the previous command printed anything...
any opinion?
thanks,
cs
- [rare-dev] Integration of the release manager, Alexander Gall, 04/01/2022
- Re: [rare-dev] Integration of the release manager, Alexander Gall, 04/01/2022
- Re: [rare-dev] Integration of the release manager, mc36, 04/01/2022
- Re: [rare-dev] Integration of the release manager, Alexander Gall, 04/01/2022
- Re: [rare-dev] Integration of the release manager, mc36, 04/01/2022
- Re: [rare-dev] Integration of the release manager, Alexander Gall, 04/04/2022
- Re: [rare-dev] Integration of the release manager, mc36, 04/04/2022
- Re: [rare-dev] Integration of the release manager, Alexander Gall, 04/05/2022
- Re: [rare-dev] Integration of the release manager, mc36, 04/05/2022
- Re: [rare-dev] Integration of the release manager, Alexander Gall, 04/05/2022
- Re: [rare-dev] Integration of the release manager, mc36, 04/04/2022
- Re: [rare-dev] Integration of the release manager, Alexander Gall, 04/04/2022
- Re: [rare-dev] Integration of the release manager, mc36, 04/01/2022
- Re: [rare-dev] Integration of the release manager, Alexander Gall, 04/05/2022
- Re: [rare-dev] Integration of the release manager, mc36, 04/06/2022
- Re: [rare-dev] Integration of the release manager, mc36, 04/06/2022
- Re: [rare-dev] Integration of the release manager, mc36, 04/06/2022
- Re: [rare-dev] Integration of the release manager, Alexander Gall, 04/06/2022
- Re: [rare-dev] Integration of the release manager, mc36, 04/06/2022
- Re: [rare-dev] Integration of the release manager, Alexander Gall, 04/06/2022
- Re: [rare-dev] Integration of the release manager, mc36, 04/06/2022
- Re: [rare-dev] Integration of the release manager, Alexander Gall, 04/06/2022
- Re: [rare-dev] Integration of the release manager, mc36, 04/06/2022
- Re: [rare-dev] Integration of the release manager, Alexander Gall, 04/06/2022
- Re: [rare-dev] Integration of the release manager, mc36, 04/06/2022
- Re: [rare-dev] Integration of the release manager, Alexander Gall, 04/06/2022
- Re: [rare-dev] Integration of the release manager, mc36, 04/06/2022
- Re: [rare-dev] Integration of the release manager, mc36, 04/06/2022
- Re: [rare-dev] Integration of the release manager, mc36, 04/06/2022
- Re: [rare-dev] Integration of the release manager, Alexander Gall, 04/01/2022
Archive powered by MHonArc 2.6.19.