From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sahithi Yarlagadda Subject: Re: Next steps Date: Tue, 3 Jul 2018 07:59:32 +0530 Message-ID: References: <8ea5d026-fab9-7b12-198e-610ad7743cb2@swecha.net> <02e1a59a-ebc1-dfce-e1d6-22e97e742214@swecha.net> <874lifypeb.fsf@elephly.net> <648f81fc-0607-2c3b-f9a3-ca3b29cd637b@swecha.net> <87bmck22uz.fsf@elephly.net> <8736xv1xvq.fsf@elephly.net> <64dfaf0c-3bcf-7b76-5831-b1c41d3f5563@swecha.net> <877en4ccut.fsf@elephly.net> <2b03fcec-c2d8-0604-156c-70fe7643a6cb@swecha.net> <87zhzzbqn6.fsf@elephly.net> <8f509759-c798-a150-bf5a-9b13cd07ac5b@swecha.net> <87lgbibir5.fsf@elephly.net> <564233bd-9511-7f84-3350-6a3a905534a8@swecha.net> <87r2l767sg.fsf@elephly.net> <874lhwtn5a.fsf@elephly.net> <204a32d1-f216-dedd-2234-cd05e3d406a9@swecha.net> <4b5ce9b0-a2d1-30e3-489b-a0028d227c5c@swecha.net> <87k1qmmx0m.fsf@elephly.net> <7769bf50-f0bd-8698-d40b-20fbcd005b2a@swecha.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60634) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1faB4Y-0001rG-VV for guix-devel@gnu.org; Mon, 02 Jul 2018 22:29:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1faB4V-000378-Mv for guix-devel@gnu.org; Mon, 02 Jul 2018 22:29:42 -0400 In-Reply-To: <7769bf50-f0bd-8698-d40b-20fbcd005b2a@swecha.net> Content-Language: en-US List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ricardo Wurmus Cc: guix-devel Hi Please review the patch and assign me the what to do next. On Saturday 30 June 2018 04:21 AM, Sahithi Yarlagadda wrote: > 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>### 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