New to community, From where to get started with?

I am new here. I want to contribute to this organization. Can any guide me on how to start with?
I started with “getting involved” but after installing this and that with a lot of errors and doubt. I got frustrated.
0. I start with: Get the Haiku Source Code / Pushing Patches to Haiku 101 | Haiku Project

  1. Install Git
  2. clone buildtools
  3. clone haiku
  4. config git
  5. I start with this: Pre-requisite Software | Haiku Project .
  6. Install Ubuntu.
    Get struck. What to do next?
    I use windows, Not able to figure out what to install. I have at last installed Ubuntu and my file of haiku is in the windows folder.

Welcome to the forum! You don’t have to do actual coding to contribute if that is something you are not experienced with. Here are a few off the top of my head:

Publicity is good. Introduce Haiku to your household and community! And, if able to do so, consider making a small recurring financial donation.

I want to do coding stuff. I experience with working with git and some of web dev technology but not have contribute in any organization till now.
Github: anuragdw710 (Hydracody) · GitHub

Hello,

It is not really possible to work on Haiku code from Windows. Maybe the simplest thing to do is installing Haiku in a virtual machine and working from inside that?

1 Like

I’d suggest installing Haiku first (nightly or Beta4) to familiarize yourself with the OS. You can install it on a spare machine if you have one or, like @PulkoMandy mentioned, install it on your windows machine in a virtual machine (VMware Player, VirtualBox, HyperV). You can find configuration details here: Virtualizing Haiku | Haiku Project.
Also has the advantage of having all the necessary development tools already installed. Haiku development is mostly in C++, if you’re not yet familiar with it yet there are some beginner tutorials here: Learning to Program with Haiku | Haiku Project
To get started with contributing you can pick some easy tasks from Haiku’s bugtracker or get involved with one of the apps on HaikuArchives (Haiku Software Archives · GitHub), a collection of applications for Haiku.

Anyway, welcome to the community. Have fun!

4 Likes

Thanks for your reply. It helps me a lot. Sorry for my bad English.

  1. I set up my system on VM with haiku.
  2. Go through beginner tutorials. I am familiar with C++ so I have no problem with this. Haiku API was new to me.
    Now, I am going to go through various repositories to understand them and find improvements.
    Currently, I have involved in Calendar application. Going through the codebase.
    Now, Figuring out
    → How to understand a large number of files?
    → If I make a clone of the repo and changes in the codebase How to test?
    Any help?

I’m not a good teacher. But I think I can answer this.

You need to compile it. Usually you find instructions how to do that in the “Readme” file.

Then perhaps install it (see Readme, too) or run it directly from the source directory.

If that doesn’t answer your question, simply ask further.

You could check the build process described in the current recipe?

Since you’re familiar with C++ I guess you are not asking how to compile the program. This would be a simple “make” in most cases, some Haiku apps are also using jam as a build system. It’s usually explained in the readme.md file.
How you are actually testing your changes depends on the program and what changes you have made. Some apps make use of testing frameworks, others do not. If you need to debug something, familiarize yourself with Haiku’s debugger, it’s really worth it.

I’m not familiar with the Calendar source code, it seems to be a rather large codebase. I’d say just dive into it, and ask for help if you don’t understand something specific.

If you install HaikuPorter, it will build recipe files from an automated process. It downloads and installs any dependencies required for the build process including GCC, CMake, Make, NinjaBuild and so on. It also is part of the package manager system. Getting familiar with HaikuPorter recipes is probably the most impotant thing you can learn about code creation on Haiku.

If you are going to work on the sourcecode of one application, HaikuPorter is not needed at all. It is much easier to just build and run that application locally without making any package. So, no, for code creation it isn’t important at all. Especially for apps like Calendar which already have a package, updating that will be very easy.

1 Like