Replies: 15 comments 36 replies
-
Hi
install.md is a very good starting point to set up a build environment.
simplescreenrecorder-2023-12-20_22.54.35.mp4The same operations can be done to import "/tuxguitar/desktop/build-scripts/tuxguitar-linux-jfx-x86_64", and "tuxguitar/desktop/TuxGuitar-test" (see below about tests).
That is something I am clearly not skilled enough to do
A difficult point also. Each time I start to address a new topic I discover new areas of the code, which is quite wide. So I cannot say I have a global view. I did not find any comment/document about global architecture.
This is a significant pain point. When I discovered this code a few months ago I was quite surprised not to find any test in the code base. It seems "manual ad hoc testing" was the test strategy. I am really missing a serious test infrastructure, but again I'm not skilled enough to put this in place.
I guess that needs to be created from scratch. With essentially 2 persons involved up to now we did not need to dig into this subject. Hope this can help. |
Beta Was this translation helpful? Give feedback.
-
Dear @guiv42 , thanks a lot. That will give me a starting point. I think the working process does not have to been described from scratch. First it is sure that github itself and git in special form the working process. So a link to as description of theses working process definition will be a good start. But you both have to make clear, who is the one who checks the new code and decides to put it in the master brunch. That's something what totally unclear to me. Another question: Is one of you both the admin of the URL tuxguitar.app? If so, you MUST put an so called "impressum" on it and a way to contact the admin. I am sure that you live in the European Union, I guess like me in germany, and you have a risk for paying a penalty. Lawyers are searching for those websites with crawlers! So how I help not only with this teacher like hints? My time consuming job, my working on a honary capacity and the doing exercises on the guitar for playing in an orchestra does not allow me to dig deep into the code, probably. I will see. If tuxguitar.app has a CMS, I could be active as a writer and I also can support the documentation. So where do you need (a bit) help? |
Beta Was this translation helpful? Give feedback.
-
Guten Tag ;)
Well that is pretty clear: @helge17 created this repo and owns exclusive write access (I'm perfectly ok with that). Currently there is no such thing as a robust code review in place, it's just a matter of available workforce (help welcome!).
This site has been created recently, and is maintained by @helge17. Content is now available here in this repo.
There are a lot of things to do. Here are just a few ideas, don't hesistate to propose others.
Note: we use this thread to discuss the next steps for development, don't hesitate to contribute. |
Beta Was this translation helpful? Give feedback.
-
Dear @guiv42 , here are my first steps with maven in eclipse. I have used eclipse from time to time since years know and use it for ABAP development (SAP) every week. I have never coded java but am familiar with the concept of object oriented design. Following a little maven tutorial I was able to create a new "Hello world" project, build, run and debug it out of eclipse. But I am not able to build tuxguitar out of eclipse. So I'm also not able to debug. If you could give a screenrecording about building and start debugging, it would be great. Some screenshots of the main build and run configurations needed will also help. |
Beta Was this translation helpful? Give feedback.
-
First experience with Eclipse on my side, and I know I use it in a sub-optimal way. Especially the debugger, that I only used from my test module.
simplescreenrecorder-2023-12-21_18.49.19.mp4If I add "native-modules" in "Profiles" field, I get the following error when it builds tuxguitar-alsa-linux: So, most of the times I build without the native-modules, then before submitting a pull request I always check it still works correctly with the native-modules, running command |
Beta Was this translation helpful? Give feedback.
-
Yesterday evening after a long workday I have followed the install.md instructions. Today, batch history shows the commands. They are listed in the attachment. In line 199 I just can see a git command. Have I really done a git clone of the repository? I must have done, because the build went fine. tuxguitar has started. In eclipse you gave me good build starting point. I used to do a build in a context of a single project. So I tried on the tuxguitar project itself. You do It for the whole opened projects and your starting point is different. So I tried it But still build out of eclipse fails (see attachment). There is a problem with freebsd-swt-x86_64 SNAPSHOT. Between yesterday and today I just have done a release upgrade of my develop VM from Ubuntu 20.04 to 22.04. Is the main method in the tuxguitar project the start of the app? And how to debug. |
Beta Was this translation helpful? Give feedback.
-
I'm sorry but this time I do not understand the questions:
Attachment seems to be missing.
Are we using the same words for the same thing? When I say "build out of eclipse" I mean "build from a shell". Here I do not understand where you try to build: in Eclipse (as shown in my video) or in a shell with
I don't understand how you trigger the build, how comes it tries to build freebsd version? For sure it cannot work from Linux. |
Beta Was this translation helpful? Give feedback.
-
Oh sorry, missed the attachment. Did some further test. I proof read the install.md and found out, that the release upgrade from ubuntu 20.04 to 22.04 uninstalled some packages. So I did the first step (Install Prerequisites) again and then the build process from command line works. But the eclipse did not. I will start from the beginning tomorrow with importing in eclipse. We will see. If you've got a hint for me, ok, but I will switch off my computer now. |
Beta Was this translation helpful? Give feedback.
-
Good point :)
And about some previous questions:
From start script, I interpret that the entry point of the app is
That's a good question I would like to have the answer to! I don't really know how to use the debugger in Eclipse. Up to now I only used it from tuxguitar-test module, to run/debug Junit tests. |
Beta Was this translation helpful? Give feedback.
-
@BeFrankly congratulations for your first contribution. Just for information, here is what I usually do after a pull request was merged. Note that I'm also a beginner in git/github, so there might be other ways to reach the same result
|
Beta Was this translation helpful? Give feedback.
-
@guiv42, I think it's time to give you write permissions to the repository. I'm not that familiar with the permissions on Github, but I think I need to make you a "collaborator". Would that be okay with you? |
Beta Was this translation helpful? Give feedback.
-
@BeFrankly : good news, I made significant progress in the analysis of the debugging issue.
after that, debugger seems to work |
Beta Was this translation helpful? Give feedback.
-
@BeFrankly , about debugging
|
Beta Was this translation helpful? Give feedback.
-
Hi @BeFrankly Thanks for your "contribute.md" document, I just pushed an updated version (essentially added info for non-developers).
We currently have some inconsistencies between "install.md" and "contribute.md" that need to be solved. For example, following steps are defined in both documents, in an inconsistent manner (user won't do these steps twice):
"install.md" file has the advantage of describing all dependencies which need to be installed before trying to build TuxGuitar. It's also the only place where the process is defined to build the native modules.
What do you think? Independently, @BeFrankly just a few hints for your next pull requests:
Edit: we also need to fix erroneous link in readme |
Beta Was this translation helpful? Give feedback.
-
Because this discussion has got a long history and many aspects are within it, I decided to close it now an create some new discussion. @guiv42 , there are some aspects that you have told about from my point of view they do not belong to this discussion. The main goal why I had started this discussion was to have a starting point for contributing as a developer. We have this starting point now an much more. On this long run we dropped a not used main method, found out something about dependencies and had a better understanding of who we are and what our role is. The aspects your are talking about, mainly the problems in building native moduls, where to but the swt library and the maven installation instruction should be issues that can be solved. So lets start new issues and new discussions so that it will be better readable for others. |
Beta Was this translation helpful? Give feedback.
-
In spite of the fact, that there are many places one can find more or less old code of tuxguitar, this project here seem to be the most active and up to date. So congratuations for that.
As you might now, Karl Fogel, the autor of the book "Producing Open Source Software" (https://producingoss.com/) has given a lot of hints and ideas on how to let a open source software project come to success. Some of these ideas are related to the question, how to get more developers.
So if you really want others to contribute, you should give a clear description on how to set up a development environment, some coding guidelines, naming the main modules, how to test, how to commit fixes and how to get in contact with other developers. Describe the working process.
I know that this is a hard job at the beginning, but it is not worth nothing.
At the moment i.e. I did not find a description on how to set up the eclipse environment. I found some post in the sourceforge area, but they are all outdated an embedded links are not working anymore.
So do you think you can give other developers a good start?
Beta Was this translation helpful? Give feedback.
All reactions