From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4ZLpYw6zxQz2yf1 for ; Mon, 24 Mar 2025 10:04:36 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R10" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4ZLpYs2yX9z2xS5 for ; Mon, 24 Mar 2025 10:04:33 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4ZLpYr5dG6zgC; Mon, 24 Mar 2025 10:04:32 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1742810672; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Hj9rgjuCL8deqkL5Be7BWtDuzh7HqWcPJG2EsMThUow=; b=OvjpkaQFQ/IhBMOQWfInS83/t5vKlHTnRdU3qCTELpzaTGGy5vMU0a39tgvxcB/xYyT8k5 4x8P8recN16XUVDw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1742810672; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Hj9rgjuCL8deqkL5Be7BWtDuzh7HqWcPJG2EsMThUow=; b=dWITNKsWgLUeEx5BwJIQsDdGu6I4IUSjla3GIh7kdQy/BMXZW/CZ+cpn/lt3gRBPtpcMIH M0/jJiC0z8SJNs4EK5oSuMSRKjYYX8+Cxr4DBsDirm73Lbh0GlD2+5ajQGP70jFdHHBDBi CnuHp7c3CSaEF8cAg3VBdhDFjZKyyTgVjYZtLRs7eMOkLNzRzbSVoqZcEHMPRu3MRrpdVS /B1eRiSPr3OUkIwUHhCE/SeNc8tPiEvz3+mrGTRoeJNSWSai/h8P5YS7dE0g3utPHRW88s 9zQWpABKaWNUhy2NS7FC2sKe5TWLjbRsCt0fevKwbGjt+UxDGEIiXFF1yJvBZg== Content-Type: text/plain; charset=utf-8 Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: Mime-Version: 1.0 Subject: Re: Upcoming pakfire.cgi changes. From: Michael Tremer In-Reply-To: <725b3ce8-4d36-448d-bc43-b6ef55f81fc0@firemypi.org> Date: Mon, 24 Mar 2025 10:04:32 +0000 Cc: development@lists.ipfire.org Content-Transfer-Encoding: quoted-printable Message-Id: <61F2E64A-1F40-467B-A017-5834D5BA8F11@ipfire.org> References: <40F9151E-D5E6-4186-9BEE-6EE7F002770A@ipfire.org> <725b3ce8-4d36-448d-bc43-b6ef55f81fc0@firemypi.org> To: Stephen Cuka Hello Stephen, > On 23 Mar 2025, at 19:11, Stephen Cuka wrote: >=20 > Hello, >=20 > On 3/23/25 06:32, Michael Tremer wrote: >> Hello, >>=20 >> Thanks for taking this conversation to here. Let=E2=80=99s also keep = it here... >>=20 >>> On 23 Mar 2025, at 10:48, Stephen Cuka wrote: >>>=20 >>> Hello, >>>=20 >>> In reference to the community post: >>>=20 >>> https://community.ipfire.org/t/core-192-unexpected-upgrade/13760 >>>=20 >>> I'm going to be submitting a set of patches for changes to = pakfire.cgi to fix some problems, do some cleanup, and hopefully improve = the overall consistency and appearance of the page. >>>=20 >>> I wanted to give advance notice of this so that when the patches = start coming through you'll be aware of what I'm up to. >> *Received* >>=20 >>> Below is the list of changes that I'm planning to make. >>>=20 >>> Let me know of questions, comments or concerns. >>>=20 >>> Regards, >>>=20 >>> Stephen >>>=20 >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>=20 >>> pakfire.cgi patches >>>=20 >>>=20 >>> 1. Add new translation 'pakfire upgrade' to replace 'upgrade'. The = 'upgrade' tr is only used in pakfire.cgi and this will move the tr into = the pakfire translation block. >>>=20 >>> 2. Add new translation 'pakfire install' to replace 'install'. The = 'install' tr is only used in pakfire.cgi and this will move the tr into = the pakfire translation block. >>>=20 >>> 3. Add translation 'pakfire updates' to en.pl and it.pl. It = already exists in the other languages. The 'available updates' tr used = in pakfire.cgi will be changed to 'pakfire updates' which will be in the = pakfire translation block. >>>=20 >>> 4. Add translation 'pakfire refresh list'. pakfire.cgi currently = uses 'calamaris refresh list'. >>>=20 >>> 5. Add translations 'pakfire resolvedeps wait', 'pakfire = dependencies found' and 'pakfire no dependencies found' to use on = install and remove confirmation pages. >>>=20 >>> 6. Add new translations 'pakfire confirm updates' and 'pakfire = updating' for new upgrade confirmation page. >>>=20 >>> 7. Update pakfire.cgi to use 'pakfire upgrade', 'pakfire install', = 'pakfire updates' and 'pakfire refresh list' instead of 'upgrade', = 'install', 'available updates' and 'calamaris refresh list'. >> The translation issues seem to be a much bigger problem than I = thought. >>=20 >>> 8. Update pakfire.cgi to convert icons to buttons on the main and = confirmation pages. Disable Install, Remove and Upgrade buttons if = nothing to do. >> Hmm, I think this could become a bit confusing, because even though = there might not be anything to do right now, a greyed-out button will = let the user know where to go whenever there is something to do. >>=20 >> I am also concerned about potential layout breakages if there are so = many changes. The entire web UI is incredibly based on tables and = removing a cell somewhere might either mess up the layout or you will = need to add a lot of code for simple things. I would rather look at = investing this time to replace the web UI as a whole. >>=20 >>> 9. Update pakfire.cgi to add confirmation page for upgrades. The = confirmation page will do a 'pakfire update' to ensure that the local = pakfire database is current and then display updates to be made and = request confirmation. The box title will be 'pakfire upgrade'. > The buttons will still be there but greyed out, so no layout changes. = The Install and Remove buttons will be activated by the onchange =