Subject: Rare project developers
List archive
- From: Alexander Gall <>
- To: mc36 <>
- Cc: <>, Frédéric LOUI <>
- Subject: Re: [rare-dev] Automated profile optimizer
- Date: Tue, 7 Feb 2023 14:24:28 +0100
On Tue, 7 Feb 2023 14:14:23 +0100, mc36 <> said:
> hi,
> On 2/7/23 14:00, Alexander Gall wrote:
>>
>>> So it failed again. It's very strange.
> at least it's deterministic :)
>> The script reads the message
>>> body (which is a piece of JSON) like this
>>
>>> read -n "$CONTENT_LENGTH" body
>>
>>> I can see in the CGI log that the script is stuck right there
>>
>>> Feb 07 11:02:46 hydra-nix fcgiwrap[1327450]: + read -n 1266 body
>>
>>> That suggests that somehow there are not enough bytes in the input and
>>> the read blocks. It doesn't happen when I add the tag, so I'm a bit
>>> confused right now :/
>>
>> I still don't understand it. Maybe "read" somehow chokes on the
>> non-ASCII characters in your name (part of the JSON blob that the
>> webhook receives from Bitbucket).
>>
> tried to update my profile without the utf8 characters but logging back in,
> these fancy characters are back again... imho these came from kifu idp?
> (one thing sure, not from me, i always type on en-us keyboard layout:)
Interesting :) Well, it could also be irrelevant, I have no clue :/
>> In order to not lose more time I initiated the optimizer myself (by
>> doing exactly what you did except that I use "git push origin
>> :optimize_profiles" to delete the remote tag, but that certainly
>> shouldn't make any difference). We need to debug this some other time.
>>
>> You can now use the /progress command in the Slack channel to check
>> the progress.
>>
> thanks!
> when it finishes, i should accept the pr and commit to the rare-nix repo,
> right?
Exactly (and you can select to automatically delete the branch when
you accept the PR). Let's see if my script actually manages to create
the PR. I tested it, but plenty of things that I might have messed up
anyway :)
--
Alex
- Re: [rare-dev] Automated profile optimizer, mc36, 02/07/2023
- Re: [rare-dev] Automated profile optimizer, Alexander Gall, 02/07/2023
- Re: [rare-dev] Automated profile optimizer, Alexander Gall, 02/07/2023
- Re: [rare-dev] Automated profile optimizer, mc36, 02/07/2023
- Re: [rare-dev] Automated profile optimizer, mc36, 02/07/2023
- Re: [rare-dev] Automated profile optimizer, Alexander Gall, 02/07/2023
- Re: [rare-dev] Automated profile optimizer, Alexander Gall, 02/07/2023
- Re: [rare-dev] Automated profile optimizer, mc36, 02/07/2023
- Re: [rare-dev] Automated profile optimizer, Alexander Gall, 02/07/2023
- Re: [rare-dev] Automated profile optimizer, Alexander Gall, 02/08/2023
- Re: [rare-dev] Automated profile optimizer, mc36, 02/08/2023
- Re: [rare-dev] Automated profile optimizer, Alexander Gall, 02/08/2023
- Re: [rare-dev] Automated profile optimizer, Alexander Gall, 02/08/2023
- Re: [rare-dev] Automated profile optimizer, Alexander Gall, 02/08/2023
- Re: [rare-dev] Automated profile optimizer, mc36, 02/08/2023
- Re: [rare-dev] Automated profile optimizer, Alexander Gall, 02/08/2023
- Re: [rare-dev] Automated profile optimizer, mc36, 02/08/2023
- Re: [rare-dev] Automated profile optimizer, mc36, 02/07/2023
- Re: [rare-dev] Automated profile optimizer, Alexander Gall, 02/07/2023
- Re: [rare-dev] Automated profile optimizer, Alexander Gall, 02/07/2023
- Re: [rare-dev] Automated profile optimizer, mc36, 02/07/2023
- Re: [rare-dev] Automated profile optimizer, Alexander Gall, 02/07/2023
Archive powered by MHonArc 2.6.19.