You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@HorlogeSkynet - I am not aware of such a file. I would fully understand if you will not support AIX as the platform might not be the first choice for python development.
@jokurz thanks for your fast feedback ! We'll do our best to support (and maintain) what distro should.
I was asking about a specific "release" file, as sourcing such would be faster than calling another external program. Do you know a substitute for Linux strace command that you could run against oslevel to see what it does ? Bye 👋
@HorlogeSkynet, while I agree that a file would be nicer, I think that we can simply try to execute oslevel as a last resort (assuming nothing else is found, e.g. release file, uname, etc..).
If that's the case, it won't cost anything, as oslevel will indeed only run when no other option is available (supposedly, only on AIX, AFAIK).
@nir0s@jokurz So it looks like we could be doing something like that in version method (naive pseudo-code here, implementation must be tougher and tests written of course) :
@HorlogeSkynet, sounds good. However, while I don't know AIX, it doesn't make sense to me that there isn't a file with that info. Does AIX have a magical way of storing this info that we can't read?
Activity
nir0s commentedon May 20, 2019
Can you share the release file?
jokurz commentedon May 21, 2019
As far as I know there is no release file on AIX.
nir0s commentedon May 21, 2019
There must be something.. lsb.. something.. otherwise how would distro know that it's aix?
jokurz commentedon May 21, 2019
It seems that this information was gathered from
uname -rs:HorlogeSkynet commentedon Sep 26, 2021
Hey @jokurz, would it be possible to read these version components from a file instead of calling
oslevel? Thanks 🙇jokurz commentedon Sep 27, 2021
@HorlogeSkynet - I am not aware of such a file. I would fully understand if you will not support AIX as the platform might not be the first choice for python development.
HorlogeSkynet commentedon Sep 27, 2021
@jokurz thanks for your fast feedback ! We'll do our best to support (and maintain) what
distroshould.I was asking about a specific "release" file, as sourcing such would be faster than calling another external program. Do you know a substitute for Linux
stracecommand that you could run againstoslevelto see what it does ? Bye 👋nir0s commentedon Sep 27, 2021
@HorlogeSkynet, while I agree that a file would be nicer, I think that we can simply try to execute oslevel as a last resort (assuming nothing else is found, e.g. release file, uname, etc..).
If that's the case, it won't cost anything, as oslevel will indeed only run when no other option is available (supposedly, only on AIX, AFAIK).
WDYT?
HorlogeSkynet commentedon Sep 27, 2021
@nir0s Unless I'm missing something here, I don't think it would be that easy as
uname -rsoutput is definitely working (see #241 (comment)) 🙄nir0s commentedon Sep 28, 2021
Hehe, I'm the one missing something. I didn't read the previous comments.
HorlogeSkynet commentedon Sep 30, 2021
@nir0s @jokurz So it looks like we could be doing something like that in
versionmethod (naive pseudo-code here, implementation must be tougher and tests written of course) :@jokurz Homework chores if you don't mind :
osleveloutput another way ;oslevelwould be relevant in our case, according to AIX's terminology (manual).Thanks, bye 👋
nir0s commentedon Sep 30, 2021
@HorlogeSkynet, sounds good. However, while I don't know AIX, it doesn't make sense to me that there isn't a file with that info. Does AIX have a magical way of storing this info that we can't read?
Add support for AIX (closes #241)
Add support for AIX (closes #241)
Add support for AIX (closes #241)
Add support for AIX (closes #241)
HorlogeSkynet commentedon Oct 4, 2021
Closing here, please see #311.
An official review is expected from you @nir0s, but I'd be interested from yours too @jokurz. Bye 👋
Add support for AIX (closes #241)
Add support for AIX (closes #241)
Add support for AIX (closes #241)
Add support for AIX (closes #241)
Add support for AIX (closes #241)