×

INDI Library v1.9.7 Released (29 Jul 2022)

Bi-monthly INDI Library released with new drivers and bug fixes.

How to start developing for KStars

  • Posts: 878
  • Thank you received: 419
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.
AP1100 & Orion Atlas Pro, WO/ZS105 w/Moonlight V2 focus, GSO RC10 w/RSF focus
ZWO ASI1600, Astronomik Filters, ST80, QHY 5L-IIm.
KStars/Ekos/Indi on NUC10 & RPi4 w/SSD -- Ubuntu
Projects: Greedy Scheduler, Terrain, Polar Align, Analyze, Linear Focuser, SEP MultiStar & GPG Guide, FITS autostretch.
Last edit: 2 years 4 months ago by Hy Murveit. Reason: Development process changed
2 years 9 months ago #47153

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

  • Posts: 878
  • Thank you received: 419
--deleted--
AP1100 & Orion Atlas Pro, WO/ZS105 w/Moonlight V2 focus, GSO RC10 w/RSF focus
ZWO ASI1600, Astronomik Filters, ST80, QHY 5L-IIm.
KStars/Ekos/Indi on NUC10 & RPi4 w/SSD -- Ubuntu
Projects: Greedy Scheduler, Terrain, Polar Align, Analyze, Linear Focuser, SEP MultiStar & GPG Guide, FITS autostretch.
Last edit: 2 years 4 months ago by Hy Murveit.
2 years 9 months ago #47154

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

  • Posts: 878
  • Thank you received: 419
-deleted-
AP1100 & Orion Atlas Pro, WO/ZS105 w/Moonlight V2 focus, GSO RC10 w/RSF focus
ZWO ASI1600, Astronomik Filters, ST80, QHY 5L-IIm.
KStars/Ekos/Indi on NUC10 & RPi4 w/SSD -- Ubuntu
Projects: Greedy Scheduler, Terrain, Polar Align, Analyze, Linear Focuser, SEP MultiStar & GPG Guide, FITS autostretch.
Last edit: 2 years 4 months ago by Hy Murveit.
2 years 9 months ago #47155

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

  • Posts: 878
  • Thank you received: 419
AP1100 & Orion Atlas Pro, WO/ZS105 w/Moonlight V2 focus, GSO RC10 w/RSF focus
ZWO ASI1600, Astronomik Filters, ST80, QHY 5L-IIm.
KStars/Ekos/Indi on NUC10 & RPi4 w/SSD -- Ubuntu
Projects: Greedy Scheduler, Terrain, Polar Align, Analyze, Linear Focuser, SEP MultiStar & GPG Guide, FITS autostretch.
Last edit: 2 years 4 months ago by Hy Murveit.
2 years 9 months ago #47156

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

  • Posts: 878
  • Thank you received: 419
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
AP1100 & Orion Atlas Pro, WO/ZS105 w/Moonlight V2 focus, GSO RC10 w/RSF focus
ZWO ASI1600, Astronomik Filters, ST80, QHY 5L-IIm.
KStars/Ekos/Indi on NUC10 & RPi4 w/SSD -- Ubuntu
Projects: Greedy Scheduler, Terrain, Polar Align, Analyze, Linear Focuser, SEP MultiStar & GPG Guide, FITS autostretch.
Last edit: 2 years 4 months ago by Hy Murveit.
2 years 9 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.
2 years 5 months ago #52230

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

  • Posts: 878
  • Thank you received: 419
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
AP1100 & Orion Atlas Pro, WO/ZS105 w/Moonlight V2 focus, GSO RC10 w/RSF focus
ZWO ASI1600, Astronomik Filters, ST80, QHY 5L-IIm.
KStars/Ekos/Indi on NUC10 & RPi4 w/SSD -- Ubuntu
Projects: Greedy Scheduler, Terrain, Polar Align, Analyze, Linear Focuser, SEP MultiStar & GPG Guide, FITS autostretch.
Last edit: 2 years 4 months ago by Hy Murveit.
2 years 5 months ago #52289

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

  • Posts: 209
  • Thank you received: 39
Are there any document explaining the "entry path" for a Mac developer? Thanks in advance!
2 years 5 months ago #52307

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

  • Posts: 878
  • Thank you received: 419
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.
AP1100 & Orion Atlas Pro, WO/ZS105 w/Moonlight V2 focus, GSO RC10 w/RSF focus
ZWO ASI1600, Astronomik Filters, ST80, QHY 5L-IIm.
KStars/Ekos/Indi on NUC10 & RPi4 w/SSD -- Ubuntu
Projects: Greedy Scheduler, Terrain, Polar Align, Analyze, Linear Focuser, SEP MultiStar & GPG Guide, FITS autostretch.
Last edit: 2 years 4 months ago by Hy Murveit.
2 years 5 months ago #52308

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

Time to create page: 0.710 seconds