Skip to Content.
Sympa Menu

rare-dev - Re: [rare-dev] Integration of the release manager

Subject: Rare project developers

List archive

Re: [rare-dev] Integration of the release manager


Chronological Thread 
  • From: mc36 <>
  • To: Alexander Gall <>
  • Cc:
  • Subject: Re: [rare-dev] Integration of the release manager
  • Date: Tue, 12 Apr 2022 14:28:26 +0200

hi,

On 4/12/22 13:08, Alexander Gall wrote:

It would be nice if the system would inform the user that what he
tried to do is a NOP when the sticky-onlychanged option is in
action. There is no feedback now, which could be confusing.

But, of course, the message would also be printed when the sticky
command is executed during a revert or rollback where you might not
want it...

so as long as it's just a printed text (and not an user input) then it
would not cause harm, but again, printing in such a situation would ruin
the clean boot logs....

But the script isn't even called in this case. The message would have
to come from freerouter. OTOH, freerouter knows the context in which
it executes the sticky alias and could print the message only when it
is invoked by the user :)


ohhh my, that was so trivial that i even not thought about it... :)

https://github.com/mc36/freeRouter/commit/aac5fa483214111340cf5da80681cf372ad24e1c

(sorry for the dirty commit, i just noticed that my ide put some spaces
again...)

br,
cs



sid#show config-differences
alias exec asdf command atta shell3 /bin/echo
alias exec asdf sticky-onlychanged
alias exec asdf sticky-param asdf

sid#asdf asdf
% already selected
sid#asdf asdf
% already selected
sid#asdf qwer
qwer
sid#asdf qwer
% already selected
sid#asdf qwer
% already selected
sid#asdf asdf
asdf
sid#asdf asdf
% already selected
sid#asdf asdf
% already selected
sid#




Archive powered by MHonArc 2.6.19.

Top of Page