From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adolf Belka To: development@lists.ipfire.org Subject: Re: Migrating fireinfo to Python 3 Date: Mon, 17 May 2021 15:59:07 +0200 Message-ID: In-Reply-To: <926A0A28-BC49-4E9C-AC41-3884DD3BEF8A@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4202562295449193969==" List-Id: --===============4202562295449193969== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Michael, I ran the python3 fireinfo on my vm testbed system and can confirm that the i= d stayed the same as with the original python2 files. Both links also worked = and gave me the same web page in terms of system details. Regards, Adolf. On 14/05/2021 14:13, Michael Tremer wrote: > Hello, >=20 > You can use Stefan=E2=80=99s build if you are on x86_64: >=20 > https://people.ipfire.org/~stevee/fireinfo_python3_x86_64.tar.gz >=20 > He was even very smart and renamed the =E2=80=9Csendprofile=E2=80=9D comman= d into =E2=80=9Csendprofile3=E2=80=9D so that you can run both versions and c= ompare. >=20 > I didn=E2=80=99t upload a binary version here because I do not want to enco= urage to download and extract tarballs as root on the firewall. But it should= be fine on a development system :) >=20 > -Michael >=20 >> On 14 May 2021, at 13:10, Adolf Belka wrote: >> >> Hi All, >> >> On 07/05/2021 13:16, Michael Tremer wrote: >>> Hello, >>> >>> I went ahead and converted fireinfo to Python 3. >>> >>> This was a little bit more work than usual because it has a little >>> helper module written in C. >>> >>> I could mainly use 2to3, but some things needed some manual attention. I >>> split those into individual commits. >>> >>> I would now like to invite everyone to manually install this version on >>> their systems and let me know if it >> >> The patches are for application to the build system. I can do the patching= and then do a clean build but what do I then need to manually install. Is it= just the fireinfo.cgi file that I need to install or are there other files I= need to copy/replace into my testbed system? >> >> >> Regards, >> >> Adolf. >> >>> a) works >>> >>> and >>> >>> b) does it keep the same ID? >>> >>> The ID is being generated by a number of factors and if one bit in those >>> changes, the system would receive a different ID which is something we >>> would like to avoid. >>> >>> It worked fine on my system, but I would like to have some larger sample >>> size to be sure. >>> >>> Best, >>> -Michael >>> >>> >=20 --===============4202562295449193969==--