GSOC 2021:Progress Report of Improvements to clang-format

Blog post by saloni on Tue, 2021-07-27 12:17

This blog will contain all the information about what I have done till now.

I started with the input preferences directory and started solving the issues according to haiku guidelines.

A few changes have been made to clang-format. This work takes a lot of time because it needs a complete understanding of how the llvm code works. As there was number of files, it was difficult to figure out which file should contain the solution of the problem but PulkoMandy really helps me alot. While working on this project I learn new things which were really good!

GSoC 2021 Progress Update 3: Coding style checker bot for Gerrit

Blog post by ritz on Wed, 2021-07-21 17:55

Tl;dr I have completed the bot with basic functionality for my local gerrit instance

Link to Introductory blog
Link to Progress 1
Link to Progress 2

As I have said before I divided my project in the following parts

  • For every event (change, patch etc.), trigger the Concourse CI pipeline.
  • Implement pipeline in concourse CI for fetching the Git repo and running the haiku-format tool on the relevant files and creating appropriate reports out of the tool.
  • Implement REST API call to post the result back to Gerrit reviews as a robot comment.

Since last time I started working on creating a report that could be displayed under patchset comments by the bot. I started by looking at various flags of clang-format command out of which --dry-run, --Werror seemed to be working just fine. But I wanted to run the tool only on the files that have been updated/added since last commit and not the entire project. Eventually I found a better way for this i.e. git-clang-format python script which is already present in the llvm project. After installing clang-format, we just need to put this script in /usr/bin/ folder. We can invoke the script using git clang-format directly. git clang-format --diff --style=haiku HEAD~1 would run clang-format with haiku style on the files that have been updated/added since last commit and showcase the diff of it. In order to use this diff information later I dumped the output of the previous command in a file named diff.txt. To use it in my concourse workflow, I added the git-clang-format script on my local server that I created last time using golang to host the clang-format file. Now this seemed rather promising so I went ahead onto the next task i.e. Implement REST API call to post the result back to Gerrit reviews as a robot comment.

Haiku activity report - June 2021

Blog post by PulkoMandy on Sat, 2021-07-10 08:53

Hello, it’s time for the June activity report! (yes, not much innovation in the tagline for these reports lately. I’m out of ideas, or maybe just lazy to find new ones).

Before we dig into the report, two important announcements (in case you are not following the other news on the website, since both were already announced separately).

The beta 3 release process is going well, and there are some testing candidate images available for testing. If you have some time to install one of these and see if everything is running fine on your hardware, that would be great!

GSoC 2021 Progress Update 2: Modernizing Cardie (Caya)

Blog post by JadedCtrl on Fri, 2021-07-09 11:58

Looks like it’s time for me to clutter the blog again!

To start: Since the last update, Caya has been hard-forked and renamed to “Cardie” (short for “cardinal”), which at least fits the “bird theme” of libpurple clients.

… And the name’s fitting, since it’s now a fairly functional libpurple client. :-)

libpurple support

There are a few features not implemented yet, which keeps it behind the XMPP add-on in terms of functionality, but the core is there: Configuring and managing accounts for any protocol, joining/creating/leaving rooms, chatting, sending/receiving your own status, room invitations, managing roster, purple-side chat commands, etc.

GSoC 2021: XFS support progress update

Blog post by Xiaojie on Tue, 2021-07-06 01:33

XFS project progress

Hi, I am going to make a short summary of the XFS project work since last post.

Anyway, you can find my post named ‘GSoC 2021 Project: XFS support progress’ on the forum. It records part of the work. Of course, the most is on Gerrit. topic:“xfs” on Gerrit

We could find all remaining patches are merged. But, by the way, not all problems. There is a problem leaving. To be honest, I just learned how to use GDB under linux to debug today… I lack big project experience before so it is also new skills for me. Now I need to fix it soon and then move to next step quickly, if there is no other changes, it will be attributes read support. So it is also why I choose to write summary at this time. I need to continue my attempt afterwards.

GSoC 2021 Progress Update 2: Coding style checker bot for Gerrit

Blog post by ritz on Sun, 2021-06-27 14:50

Link to Introductory blog
Link to Progress 1

On my quest to finding a way to trigger my jobs anytime a commit happens in gerrit I was looking into this repo and trying to make it work. I tried using it as a resource but it turns out either it’s not public anymore or it was deleted. Then I went through the list of forks in that repo and found this. He claimed to have a base for a somewhat working resource after he made some changes. I cloned his repo and tried building the Dockerfile but it threw some errors. After struggling on it for quite some time and making some minor changes to the files I finally managed to build it and upload it to dockerhub. Then I tried using it as a resource but it failed to fetch my local gerrit repo. Also, the whole thing was written in go which was totally new to me so I started by learning “go” and after some time when I got the hang of it, I started the debugging phase.

Translation Work Needed in Preparation for Beta 3

Blog post by jt15s on Tue, 2021-06-08 14:34

As we get closer to the release of Beta 3, it is important we ensure our translations are updated.

Current State of Translation Work

  • As of now, no new language has currently reached over 60% since Beta 2 was released last year.
  • Croatian translations are at 58%. If no progress is made, this translation risks being removed from Beta 3!
  • Korean, Hindi, Bulgarian, Czech and Norwegian were already under 60% in beta2 and are still under 60%, somewhere between 45% and 60% complete. It would be really appreciated if these translations were made more complete so they can be included with the Beta 3 release.
  • Languages that are already available on Pootle, but need a lot more work:
    • Punjabi
    • Slovenian
    • Arabic (unfortunately this translation can’t be displayed due to lack of right-to-left text support in Haiku)
    • Serbian (both Latin and Cyrillic versions)
    • Macedonian
    • Maori
    • Low German
    • Persian
    • Na’vi

Pootle

Translation Cut-off for Haiku's User Interface
The cut-off for interface translations on Pootle remains at 60%.

GSoC 2021 Progress Update 1: Modernizing Caya

Blog post by JadedCtrl on Mon, 2021-06-07 09:19

It’s the end of the first GSoC period, so it’s about time I clutter the blog again!

A good few changes have been made to Caya― most obviously support for multi-user rooms and some UI changes. Multi-protocol add-ons are now supported, the program is oriented around “Conversations” rather than “Contacts,” basic moderation (kicking, banning, muting) works, etc.

The protocol API’s expanded because of these general changes, and I don’t think it could be called “stable” for another couple weeks at least― I still need to document it, and some of the new additions might still be consolidated into others.

GSoC 2021 Progress Update 1: Coding style checker bot for Gerrit

Blog post by ritz on Sat, 2021-06-05 19:46

Hey everyone! I am Hrithik (ritz), You can find about my project in my introductory blog. Here’s what I have done so far.

I started by reading Concourse CI documentation in order to get myself familiarise with ci pipeline and various schema involved in it. I also looked at other resources provided by my mentors i.e. Suhel Mehta @suhel_mehta and Alexander von Gluck @kallisti5 . Below are some links if anyone wants to check out.

Haiku activity report - May 2021

Blog post by PulkoMandy on Thu, 2021-06-03 08:53

Hello, it’s time for the May activity report!

Before starting the report, we would like to thank our donors for their donations. Your donations help us cover our expenses and help us reach our goal to hire people to work on Haiku full-time. We would also like to thank all the community for their countless hours of effort of implementing new features, triaging bugs, translating, supporting other users, and spreading the Haiku word all around.