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 4ZLCbd2gF0z331J for ; Sun, 23 Mar 2025 10:49:01 +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) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "R10" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4ZLCbY5k6pz32vy for ; Sun, 23 Mar 2025 10:48:57 +0000 (UTC) Received: from resqmta-c2p-570503.sys.comcast.net (resqmta-c2p-570503.sys.comcast.net [IPv6:2001:558:fd00:56::5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPS id 4ZLCbX21PWz5S7 for ; Sun, 23 Mar 2025 10:48:56 +0000 (UTC) Authentication-Results: mail01.ipfire.org; dkim=pass header.d=comcastmailservice.net header.s=20211018a header.b=sgqZzMhR; spf=none (mail01.ipfire.org: domain of stephen@firemypi.org has no SPF policy when checking 2001:558:fd00:56::5) smtp.mailfrom=stephen@firemypi.org; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=lists.ipfire.org; s=202003rsa; t=1742726936; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding:dkim-signature; bh=LVVX/4YS7Jq8xIiBuRTNMt+TlzQlEWNrrJa9xAEiMjk=; b=alRRfG8HoiQiImKyTIrgvpyYsmIu8lYNLJ/yZyNI1NahCHa86v30gwRbUejmPGRb9W/vGy V0FvVchiLu4ryy1aMuwytcu6B7AIy5KS4L85tLlKm4kdbgOH0hgCvJAl9Ypt76CTTQ0R33 2CCulNiVpRL58YNwjl/eR+iSGib12p6tLn65/pU4pSVPDZlC3YWJ/qWzggcfcYRkMC7sKa /GvKzSR3/nzHwYBmvWr1nGLa9th3biGu29T6kVbTpBzMBv5OPceZbuwYecjWADzPTuwjIm vCRsWdQlzQbYTnUSVcMgjCCxWbDYEYL1tzKiQL7aI9YKzSSfobIoOLtvAsKqcg== ARC-Authentication-Results: i=1; mail01.ipfire.org; dkim=pass header.d=comcastmailservice.net header.s=20211018a header.b=sgqZzMhR; spf=none (mail01.ipfire.org: domain of stephen@firemypi.org has no SPF policy when checking 2001:558:fd00:56::5) smtp.mailfrom=stephen@firemypi.org; dmarc=none ARC-Seal: i=1; s=202003rsa; d=lists.ipfire.org; t=1742726936; a=rsa-sha256; cv=none; b=fZ2GrjsyZRZZp2BJQKZ3MOdm1aWbpO9505JjOOyG+REDkdzm09XXq0ALHdouC7dv3Cagj0 yYV9ETK964QqYLoxMq9zCM12Vnb3TttCkLZK2t/JBffEXkQQ6ScELHqCe3px9Tw4+NHMyI NjPjYa+o1PflALzysODuuA7s+FunOBYE+pUgYpa8jW4SrBjgJk2CFMSk++XvBStZJaBhRT gmmqOyS8VRZmy2M0/v31p8VClrhiU8M5SDZwvzH66auoETCu4cuVweJ1wl01reUXp4Me7+ LtNIQgACp/CLdPmMiAnCHSS3UPOZAmvRhAizTQI4dfntFbhSqe9oUgCpOdpfyA== Received: from resomta-c2p-555440.sys.comcast.net ([96.102.18.231]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 256/256 bits) (Client did not present a certificate) by resqmta-c2p-570503.sys.comcast.net with ESMTPS id wIsVtEqLwRWi8wIsutyYcV; Sun, 23 Mar 2025 10:48:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcastmailservice.net; s=20211018a; t=1742726932; bh=LVVX/4YS7Jq8xIiBuRTNMt+TlzQlEWNrrJa9xAEiMjk=; h=Received:Received:Message-ID:Date:MIME-Version:From:Subject:To: Content-Type:Xfinity-Spam-Result; b=sgqZzMhRW9X0Ovbv4AxY3SpyQbNaTpNh8B32Hj7YMDP/iuzxOooeqrnZVj4EBrm54 1SH9dEDFaNQhSZvo0NDlT3uykCsyERX5wEs0hSaHSZIQPUkhX7fxjjOSxuR2009YcQ g82Mdr4wm4kBb/9RtTS3gAWRnB+g7V+ntOWpmSXVR/f++GOT82Hc2H7idPLLFwh2mT m5t/tMpqNlhHr11mRkNPykrILmMEmEghjsv0PF1hOuspQAQV/55eYIytwbCXvTzqnb M/GAr9GOg/67JTNIrgP1pLWX/e8LmFf2lo9yQ+MUMaN9VlXXfzyBpWrjRvGLNWzbmW ywpmSkGeqULVA== Received: from [192.168.3.30] ([75.70.122.243]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 256/256 bits) (Client did not present a certificate) by resomta-c2p-555440.sys.comcast.net with ESMTPSA id wIsrtppvVHbeXwIsstjHj9; Sun, 23 Mar 2025 10:48:51 +0000 Message-ID: Date: Sun, 23 Mar 2025 04:48:49 -0600 Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US From: Stephen Cuka Subject: Upcoming pakfire.cgi changes. To: development@lists.ipfire.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfDSls1wtMas3zR5ePaiIZdeFZMcx5cQ0qx0kMVwwtPSbv1dhyZCQ3SFwt4Fzana7kEAUlZ0d7grsvMcssCyUDHSiQxMmJhpCY1LU0FC9PMQvY5COZU/c hX30RKySZsAaDbfjj/cBHHFdzyTXSJXzEHLImJQ1qdKIODsiB+yjl85x/6WhLvIcP87K50nxgOzdeN3RcfsFIkifDGkfuT5hKx4= X-Rspamd-Server: mail01.haj.ipfire.org X-Rspamd-Queue-Id: 4ZLCbX21PWz5S7 X-Spamd-Result: default: False [1.23 / 11.00]; HFILTER_HELO_5(3.00)[resqmta-c2p-570503.sys.comcast.net]; NEURAL_HAM(-1.00)[-0.998]; BAYES_HAM(-0.25)[73.33%]; IP_REPUTATION_HAM(-0.21)[asn: 7922(-0.20), country: US(-0.01), ip: 2001:558:fd00:56::(0.00)]; R_DKIM_ALLOW(-0.20)[comcastmailservice.net:s=20211018a]; MIME_GOOD(-0.10)[text/plain]; MX_GOOD(-0.01)[]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FUZZY_RATELIMITED(0.00)[rspamd.com]; DMARC_NA(0.00)[firemypi.org]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; R_SPF_NA(0.00)[no SPF record]; RCVD_TLS_ALL(0.00)[]; DKIM_TRACE(0.00)[comcastmailservice.net:+]; RCVD_COUNT_TWO(0.00)[2]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_SIGNED(0.00)[lists.ipfire.org:s=202003rsa:i=1]; RECEIVED_SPAMHAUS_PBL(0.00)[75.70.122.243:received]; DKIM_REPUTATION(0.00)[0]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:7922, ipnet:2001:558::/29, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[96.102.18.231:received] X-Rspamd-Action: no action Hello, In reference to the community post: https://community.ipfire.org/t/core-192-unexpected-upgrade/13760 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. 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. Below is the list of changes that I'm planning to make. Let me know of questions, comments or concerns. Regards, Stephen ========== pakfire.cgi patches 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. 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. 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. 4.  Add translation 'pakfire refresh list'.  pakfire.cgi currently uses 'calamaris refresh list'. 5.  Add translations 'pakfire resolvedeps wait', 'pakfire dependencies found' and 'pakfire no dependencies found' to use on install and remove confirmation pages. 6.  Add new translations 'pakfire confirm updates' and 'pakfire updating' for new upgrade confirmation page. 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'. 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. 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'. 10.  Update pakfire.cgi to change box titles for install and remove confirmation pages from 'request' to 'pakfire install' and 'remove'. 11.  Update pakfire.cgi to change 'abort' on confirmation screens to 'cancel'. 12.  Update pakfire.cgi install and remove confirmation pages. Display 'pakfire resolve wait' while 'pakfire resolvedeps' is running.  Only display 'Need to install...' lines from 'pakfire resolvedeps' output.  Remove spaces between resolvedeps output lines to tighten up the output.  Display "Dependancies found:' before list of dependancies or 'No dependancies found.' if none found.  The 'Checking 13.  Update pakfire.cgi to change 'uninstall' to 'remove' on confirmation page.  The main page uses 'remove' for the minus sign, but the confirmation page uses 'uninstall'. 14.  Update pakfire.cgi to adjust some spacing and alignment. 15.  Add missing translations for the cases where the translations are English=>English instead of English=>Language. 16.  Clean up         Delete 'upgrade' tr.  It is now unused.         Delete 'available updates' tr.  It is now unused.         Delete 'abort' tr.  It is now unused.         Delete 'request' tr.  It is now unused.         Delete 'uninstall' tr.  It is now unused.         Delete 'pakfire possible dependancy' tr.  It is now unused.         Delete 'pakfire core update auto' tr.  It is not used.         Delete 'pakfire health check' tr.  It is not used.         Delete 'pakfire update daily' tr.  It is not used. Note on translations: I am doing translations with multiple web based translation utilities.  Where the results don't match between the utilities, I look for other similar translations in the applicable *language*.pl file and pick the one that seems to be most in context or consistent. Where titles and button text have multiple words.  I capitalize the words.  For example 'Available updates:' becomes 'Available Updates:' and 'Liste aktualisieren' becomes 'Liste Aktualisieren'. ==========