timex: unambiguous time conversion macros#6399
Conversation
|
You forgot to replace |
|
I was a bit sloppy - as you can see from the commands pasted above. Should be fixed now by using the proper arguments for grep and adding a 'g' flag for |
|
ccn-lite needs an update |
Wouldn't git grep -l MIN_IN_SEC | xargs sed -i 's/MIN_IN_SEC/SEC_PER_MIN/'
git grep -l SEC_IN_CS | xargs sed -i 's/SEC_IN_CS/CS_PER_SEC/'
git grep -l SEC_IN_MS | xargs sed -i 's/SEC_IN_MS/MS_PER_SEC/'
git grep -l MS_IN_USEC | xargs sed -i 's/MS_IN_USEC/USEC_PER_MS/'
git grep -l USEC_IN_NS | xargs sed -i 's/USEC_IN_NS/NS_PER_USEC/'make much more sense? |
|
see #6399 (comment) |
|
Sorry :-/ |
|
But as the discussion does not provide a consensus in #4211: what about |
|
I have no strong opinion, can do, if you prefer. |
|
I prefer it, but you 1 and @BytesGalore 2 (quoting SI units) disagreed in #4211, with no reply to my argument why I still prefer it 3 (e.g. |
|
Actually, I interpreted #4211 as a consensus. |
|
On the |
|
Which I read as an agreement on this solution. The only one who voted for SI units was @BytesGalore who kept silent during the later discussion with can be interpreted as agreement. How about we make a quick poll tonight? |
|
For the record, I would prefer SEC for seconds and MS, NS, US and CS for the rest - even if it is not 100% consistent. |
👍 |
👍 |
4e7789a to
774d031
Compare
We talked about it offline, and I agree now. |
|
Updated accordingly. |
|
Updated CCN-lite and removed patches. Ready to squash? |
|
|
Fixed the new test. Should I squash? |
|
👍 squash please |
14b65ff to
059df41
Compare
|
squashed |
|
needs rebase, now |
059df41 to
65b3ab7
Compare
|
rebased |
|
requires merge of ccn-lite PR 104 and update ccn-lite pkg_version here, afterwards |
|
cn-uofbasel/ccn-lite#104 was merged |
pkg/ccn-lite/Makefile
Outdated
| PKG_NAME=ccn-lite | ||
| PKG_URL=https://github.com/cn-uofbasel/ccn-lite/ | ||
| PKG_VERSION=0b1de2da1ef407ee5793c0e7eda420391ae056dc | ||
| PKG_VERSION=3bddb34dbb27d814acaca922655d760481b2998a |
|
I don't understand what cn-uofbasel/ccn-lite#104 has to do with this PR? |
|
@OlegHahm nothing directly, but if you update the package version (which you have to do) and make you PR get through CI, you need the fixed ccn-lite version, that is with pr 104 merged. |
|
see error log from jenkins here |
|
Ah, I wasn't aware that cn-uofbasel/ccn-lite@d720a6c was already merged. |
|
Updated |
65b3ab7 to
dd58ea3
Compare
Fixes #4211.
I used: