[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Next steps
From: |
Sahithi Yarlagadda |
Subject: |
Re: Next steps |
Date: |
Sat, 30 Jun 2018 04:21:11 +0530 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 |
Hi
>> a spinning animation. For each line the animation could be advanced by
>> one (so it will spin really fast).
>>
>> Danny previously suggested this implementation:
>>
>> https://lists.gnu.org/archive/html/guix-patches/2017-07/msg00068.html
I have tried the Spinner code and it worked fine for me
https://paste.debian.net/1031385/
I used usleep so that I could to see the characters spinning with a
little delay to understand the code.
I tried to use the same for ui.scm, the i replaced str with
spinner-port in handle-string code. I got the following
15fb4d0>#<output: file 15fb4d0>#<output: file 15fb4d0>#<output: file
15fb4d0>#<output: file 15fb4d0>
I understood that i am working on a softport and unable to figure out
how to pass the string without invoking the display/write. I took a lot
of time and failed.
Here comes the actual part,
Later i discussed with #ArneBab in #guile who helped be finish the code.
I felt that invoking the spinner each time a string is triggered would
be sufficient and it doesnt matter whatever might be the string apart
from the expressions which are colorized, so went on to write the code
which i am submitting as a patch. For this i had to try a lot of new
syntaxes.
Now the spinner is working fine, build messages are colored and the
whole build process looks understandable to the user.
Actually im a bit excited!!!! to see the spinner code working and the
build output. Just wanted to share that to the community.
Please review the patch and push it to wip-sahithi if the progress is
correct.
> Have fun!
>
> --
> Ricardo
>
>
--
Regards
Sahithi
0001-guix-Adding-Spinner-to-replace-the-Build-Messages.patch
Description: Text Data
- Re: Fwd: Re: Patch file for colorize module, (continued)
- Re: Fwd: Re: Patch file for colorize module, Sahithi Yarlagadda, 2018/06/13
- Re: Fwd: Re: Patch file for colorize module, Ricardo Wurmus, 2018/06/13
- Re: Fwd: Re: Patch file for colorize module, Sahitihi, 2018/06/15
- Next steps, Ricardo Wurmus, 2018/06/15
- Re: Next steps, Sahitihi, 2018/06/16
- Re: Next steps, Ricardo Wurmus, 2018/06/22
- Re: Next steps, Sahithi Yarlagadda, 2018/06/21
- Re: Next steps, Sahithi Yarlagadda, 2018/06/25
- Re: Next steps, Ricardo Wurmus, 2018/06/25
- Re: Next steps, Gábor Boskovits, 2018/06/26
- Re: Next steps,
Sahithi Yarlagadda <=
- Re: Next steps, Sahithi Yarlagadda, 2018/06/24
- Re: Next steps, Ricardo Wurmus, 2018/06/24
- Re: Next steps, Sahithi Yarlagadda, 2018/06/24
- Re: Fwd: Re: Patch file for colorize module, Ricardo Wurmus, 2018/06/11
- Re: Fwd: Re: Patch file for colorize module, Sahitihi, 2018/06/11
- Re: Fwd: Re: Patch file for colorize module, Ludovic Courtès, 2018/06/04