GNU bug report logs -
#75147
[PATCH maintenance] hydra: services: guix-packages-website: Update to 0.3.0-0.e669a5e963.
Previous Next
Reported by: sirgazil <at> zoho.com
Date: Fri, 27 Dec 2024 20:37:01 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 75147 in the body.
You can then email your comments to 75147 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#75147
; Package
guix-patches
.
(Fri, 27 Dec 2024 20:37:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
sirgazil <at> zoho.com
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Fri, 27 Dec 2024 20:37:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From: Luis Felipe <sirgazil <at> zoho.com>
* hydra/modules/sysadmin/services.scm (%guix-packages-website): Update
commit, version and hash accordingly.
(guix-packages-website-shepherd-services): Add a new environment
variable "GUIX_PACKAGES_WEBSITE_DOMAIN_NAME".
---
hydra/modules/sysadmin/services.scm | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/hydra/modules/sysadmin/services.scm b/hydra/modules/sysadmin/services.scm
index 9170b1c..4e0bbf2 100644
--- a/hydra/modules/sysadmin/services.scm
+++ b/hydra/modules/sysadmin/services.scm
@@ -1205,8 +1205,8 @@ to a selected directory.")
;;;
(define %guix-packages-website
- (let* ((commit "927b073740c9a12a1f414ce9aee6008add4ef310")
- (version (git-version "0" "0" commit)))
+ (let* ((commit "e669a5e9630f474145796d26917f4fa30aef3227")
+ (version (git-version "0.3.0" "0" commit)))
(origin
(method git-fetch)
(uri (git-reference
@@ -1215,7 +1215,7 @@ to a selected directory.")
(file-name (git-file-name "guix-packages-website" version))
(sha256
(base32
- "0zl5dkz2cipfqhy95y5v3l5l0q1zak7f900q97zvdx9sz8k30wbx")))))
+ "16dgzd7hw65dhapcsny1gf13cy13yb53pb7n67yckhplj8xxhj50")))))
(define-record-type* <guix-packages-website-configuration>
guix-packages-website-configuration make-guix-packages-website-configuration
@@ -1290,7 +1290,8 @@ to a selected directory.")
'("conf" "ENTRY" "gweb" "icon.svg" "pub")))
#:directory "/var/lib/guix-packages-website"
#:namespaces (delq 'net %namespaces)
- #:preserved-environment-variables '("GUIX_LOCPATH" "LC_ALL" "HOME")))
+ #:preserved-environment-variables
+ '("GUIX_LOCPATH" "LC_ALL" "HOME" "GUIX_PACKAGES_WEBSITE_DOMAIN_NAME")))
(list (shepherd-service
(provision '(guix-packages-website))
@@ -1310,7 +1311,8 @@ to a selected directory.")
#:environment-variables
(list "GUIX_LOCPATH=/run/current-system/locale"
"LC_ALL=en_US.utf8"
- "HOME=/var/lib/guix-packages-website")))
+ "HOME=/var/lib/guix-packages-website"
+ "GUIX_PACKAGES_WEBSITE_DOMAIN_NAME=packages.guix.gnu.org")))
(stop #~(make-kill-destructor))
(documentation "Run the Guix Packages website.")))))
base-commit: 7f0a2cd25f24491b2dbf3d498d15f901882a06e7
--
2.46.0
Reply sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
You have taken responsibility.
(Sat, 11 Jan 2025 23:25:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
sirgazil <at> zoho.com
:
bug acknowledged by developer.
(Sat, 11 Jan 2025 23:25:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 75147-done <at> debbugs.gnu.org (full text, mbox):
Hi Luis,
sirgazil <at> zoho.com skribis:
> From: Luis Felipe <sirgazil <at> zoho.com>
>
> * hydra/modules/sysadmin/services.scm (%guix-packages-website): Update
> commit, version and hash accordingly.
> (guix-packages-website-shepherd-services): Add a new environment
> variable "GUIX_PACKAGES_WEBSITE_DOMAIN_NAME".
Pushed, thanks!
We have yet to deploy it (on bayfront). Hopefully one of us sysadmins
will get around to doing it soon.
Ludo’.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#75147
; Package
guix-patches
.
(Sun, 12 Jan 2025 00:03:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 75147-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On 11/01/25 23:23, Ludovic Courtès wrote:
> Hi Luis,
>
> sirgazil <at> zoho.com skribis:
>
>> From: Luis Felipe <sirgazil <at> zoho.com>
>>
>> * hydra/modules/sysadmin/services.scm (%guix-packages-website): Update
>> commit, version and hash accordingly.
>> (guix-packages-website-shepherd-services): Add a new environment
>> variable "GUIX_PACKAGES_WEBSITE_DOMAIN_NAME".
> Pushed, thanks!
>
> We have yet to deploy it (on bayfront). Hopefully one of us sysadmins
> will get around to doing it soon.
Great, thank you very much.
[OpenPGP_0x0AB0D067012F08C3.asc (application/pgp-keys, attachment)]
[OpenPGP_signature.asc (application/pgp-signature, attachment)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#75147
; Package
guix-patches
.
(Wed, 15 Jan 2025 14:13:01 GMT)
Full text and
rfc822 format available.
Message #16 received at 75147-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Luis Felipe <sirgazil <at> zoho.com> writes:
> On 11/01/25 23:23, Ludovic Courtès wrote:
>> Hi Luis,
>>
>> sirgazil <at> zoho.com skribis:
>>
>>> From: Luis Felipe <sirgazil <at> zoho.com>
>>>
>>> * hydra/modules/sysadmin/services.scm (%guix-packages-website): Update
>>> commit, version and hash accordingly.
>>> (guix-packages-website-shepherd-services): Add a new environment
>>> variable "GUIX_PACKAGES_WEBSITE_DOMAIN_NAME".
>> Pushed, thanks!
>>
>> We have yet to deploy it (on bayfront). Hopefully one of us sysadmins
>> will get around to doing it soon.
>
> Great, thank you very much.
I think I've managed to reconfigure and restart the
guix-packages-website service now, I had to create this directory
manually since I think something was doing mkdir without creating the
hierarchy properly.
/var/lib/guix-packages-website/sys/i18n
Thnaks,
Chris
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#75147
; Package
guix-patches
.
(Wed, 15 Jan 2025 22:56:01 GMT)
Full text and
rfc822 format available.
Message #19 received at 75147-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On 15/01/25 14:12, Christopher Baines wrote:
> Luis Felipe <sirgazil <at> zoho.com> writes:
>
>> On 11/01/25 23:23, Ludovic Courtès wrote:
>>> Hi Luis,
>>>
>>> sirgazil <at> zoho.com skribis:
>>>
>>>> From: Luis Felipe <sirgazil <at> zoho.com>
>>>>
>>>> * hydra/modules/sysadmin/services.scm (%guix-packages-website): Update
>>>> commit, version and hash accordingly.
>>>> (guix-packages-website-shepherd-services): Add a new environment
>>>> variable "GUIX_PACKAGES_WEBSITE_DOMAIN_NAME".
>>> Pushed, thanks!
>>>
>>> We have yet to deploy it (on bayfront). Hopefully one of us sysadmins
>>> will get around to doing it soon.
>> Great, thank you very much.
> I think I've managed to reconfigure and restart the
> guix-packages-website service now, I had to create this directory
> manually since I think something was doing mkdir without creating the
> hierarchy properly.
>
> /var/lib/guix-packages-website/sys/i18n
Sounds like this issue:
https://lists.gnu.org/archive/html/guile-user/2025-01/msg00013.html
I tested the app with Artanis 0.6 before sending the patch, and then
with 1.0 while the patch was pending, and things worked in my testing
environment. In the meantime though, Artanis 1.1.0 was released, and it
introduced changes related to i18n.
> Thnaks,
No, no, thank you, Chris.
By the way, I see that the search box in the navigation bar is not
displaying as expected. I see that nginx is serving obsolete static
files (CSS for example), no matter if you ask the browser to request new
resources (using Crtl+F5 or the "Disable cache" option).
[OpenPGP_0x0AB0D067012F08C3.asc (application/pgp-keys, attachment)]
[OpenPGP_signature.asc (application/pgp-signature, attachment)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#75147
; Package
guix-patches
.
(Sat, 18 Jan 2025 07:19:01 GMT)
Full text and
rfc822 format available.
Message #22 received at 75147-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Luis Felipe <sirgazil <at> zoho.com> writes:
>> Thnaks,
>
> No, no, thank you, Chris.
>
> By the way, I see that the search box in the navigation bar is not
> displaying as expected. I see that nginx is serving obsolete static
> files (CSS for example), no matter if you ask the browser to request
> new resources (using Crtl+F5 or the "Disable cache" option).
I think the situation has resolved itself now.
Maybe this can be avoided in the future by tweaking the NGinx
configuration or deleting the NGinx cache when updating. I think the
most reliable approach I've seen to address this is use content specific
URLs for CSS from within the HTML (e.g. include the hash of the file
you're linking to), I'm not sure Artanis has a feature for this yet
though.
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#75147
; Package
guix-patches
.
(Sat, 18 Jan 2025 13:26:02 GMT)
Full text and
rfc822 format available.
Message #25 received at 75147-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On 18/01/25 7:18, Christopher Baines wrote:
> Luis Felipe <sirgazil <at> zoho.com> writes:
>
>>> Thnaks,
>> No, no, thank you, Chris.
>>
>> By the way, I see that the search box in the navigation bar is not
>> displaying as expected. I see that nginx is serving obsolete static
>> files (CSS for example), no matter if you ask the browser to request
>> new resources (using Crtl+F5 or the "Disable cache" option).
> I think the situation has resolved itself now.
Yeah, I noticed :)
> Maybe this can be avoided in the future by tweaking the NGinx
> configuration or deleting the NGinx cache when updating. I think the
> most reliable approach I've seen to address this is use content specific
> URLs for CSS from within the HTML (e.g. include the hash of the file
> you're linking to), I'm not sure Artanis has a feature for this yet
> though.
I recently added a Content Security Policy (CSP) to the application, and
would like to upgrade it to a Strict CSP, which I think requires using
hashes or nonces too, so I need to ask Artanis about them.
Thanks,
[OpenPGP_0x0AB0D067012F08C3.asc (application/pgp-keys, attachment)]
[OpenPGP_signature.asc (application/pgp-signature, attachment)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 16 Feb 2025 12:24:09 GMT)
Full text and
rfc822 format available.
This bug report was last modified 25 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.