×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

How to start developing for KStars

  • Posts: 1208
  • Thank you received: 559
PLEASE NOTE (5/22/2020): The development process has recently changed, and the original post is no longer valid. Updated to the current process.

The basic process is outlined on the KStars README.md file invent.kde.org/education/kstars/-/blob/master/README.md in the KStars online repository invent.kde.org/education/kstars. See the development section and the Git Tips section.
Last edit: 3 years 10 months ago by Hy Murveit. Reason: Development process changed
4 years 3 months ago #47153

Please Log in or Create an account to join the conversation.

  • Posts: 1208
  • Thank you received: 559
--deleted--
Last edit: 3 years 10 months ago by Hy Murveit.
4 years 3 months ago #47154

Please Log in or Create an account to join the conversation.

  • Posts: 1208
  • Thank you received: 559
-deleted-
Last edit: 3 years 10 months ago by Hy Murveit.
4 years 3 months ago #47155

Please Log in or Create an account to join the conversation.

  • Posts: 1208
  • Thank you received: 559
Last edit: 3 years 10 months ago by Hy Murveit.
4 years 3 months ago #47156

Please Log in or Create an account to join the conversation.

  • Posts: 1208
  • Thank you received: 559
www.raspberrypi.org/forums/viewtopic.php?t=232813
opensource.com/article/18/2/how-clone-mo...add-delete-git-files

Also, I recently switched my development (code editing, compiling, debugging and testing) to a mac laptop.
I used Rob's (rlancaste) scripts for that.
github.com/rlancaste/kstars-on-osx-craft/blob/master/README.md
Highly recommended, takes a little effort to get working, but makes development easier/quicker for sure.

Good luck!
Hy
Last edit: 3 years 10 months ago by Hy Murveit.
4 years 3 months ago #47157

Please Log in or Create an account to join the conversation.

  • Posts: 554
  • Thank you received: 138
Thanks for this, I'm in the process of trying to make it all work.

I've run 'arc feature UsePierSideForFlip' to create a branch for my changes, the changes seem to be there.

now the line after that says to make sure I'm on the master branch, shouldn't that be my new branch?

'arc which' seems to tell me there is no repository.callsign and gives a lot of things that seem to saye there is no repository, but then finishes by saying a new revision will be created. So I guess that is OK.

'git diff' walked me through editing the commit messages but failed to recognise the reviewers so I left that and the subscribers lines blank.
I finally got a message:
Linting...
No lint engine configured for this project.
Running unit tests...
No unit test engine is configured for this project.
SKIP STAGING Unable to determine repository for this change.
Updating commit message...
Created a new Differential revision:
Revision URI: phabricator.kde.org/D29008

Included changes:
M kstars/ekos/capture/capture.cpp
M kstars/ekos/capture/capture.h
M kstars/ekos/mount/mount.cpp
M kstars/ekos/mount/mount.h
M kstars/ekos/mount/mount.ui
M kstars/kstars.kcfg

Hopefully that worked, let's see what happened.

Thanks for the guidance HY, it was a great help.
3 years 11 months ago #52230

Please Log in or Create an account to join the conversation.

  • Posts: 1208
  • Thank you received: 559
Chris,

[NOTE: below out-of-date. arc feature is no longer used.]
My intention was to say "make sure you are in the master branch when you run the 'arc feature' command". That will, as you said, make a new branch and place you in it.
Looks like you did everything well. Good job in adding mutlaqja (Jasem) as the reviewer.

Please let me know if something's unclear or should be added to my instructions above and I'll edit and make it more clear.

Hy
Last edit: 3 years 10 months ago by Hy Murveit.
3 years 11 months ago #52289

Please Log in or Create an account to join the conversation.

  • Posts: 219
  • Thank you received: 41
Are there any document explaining the "entry path" for a Mac developer? Thanks in advance!
3 years 11 months ago #52307

Please Log in or Create an account to join the conversation.

  • Posts: 1208
  • Thank you received: 559
Yes, Rob (rlancaste on this forum) has created the excellent github.com/rlancaste/KStars-INDI-Mac-Dev which is what I use (switched from RPi developmet to mac-based after starting this thread).
There is a readme page there github.com/rlancaste/KStars-INDI-Mac-Dev/blob/master/README.md

[NOTE: below no longer applicable--arcanist/phabricator no longer used.]
You still need several of the steps detailed above related to arcanist and phabricator, but this should be clear.
If it is clear, please add on to this thread ;)
If not, ask and I'd be happy to take a shot at the answer.
Last edit: 3 years 10 months ago by Hy Murveit.
3 years 11 months ago #52308

Please Log in or Create an account to join the conversation.

Time to create page: 0.449 seconds