-
Notifications
You must be signed in to change notification settings - Fork 383
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve directory structure #1216
Comments
Current issues
|
I think the current layout is pretty clean compared to e.g. libmypaint. I propose the following change to use same layout as most other GTK apps (e.g. Builder):
|
This is my first GTK project so I really appreciate your input -- this directory structure looks seriously good! I would perhaps move I'll update my PR to attempt to recreate this |
Yeah, I would like moving |
I'm in the process (beginning, really) of vastly improving the developer documentation, so I think if we're both in agreement here we can make up for discrepancies in consistency with improved documentation. Aside from logical scoping of directories, it should be trivial to give new developers an overview of the project directories. |
Yeah, after giving it a thought, we do not really need Though, I would caution against relying on documentation too much, especially for stuff that people actually need to know. Maintaining docs has a real cost and, when documentation is too big, finding the important bits will be hard and people will skip reading it. Best documentation is one that is not needed. <rant> If I understand the process right, the separation is to allow to test merged changes for a while before considering them stable and then merging them to What GitKraken calls “GitLab flow” (not sure why, the same process has been used e.g. by GNOME project for years before GitLab was a thing) is much easier and natural since it gets rid of the |
I realised when you wanted to merge to the primary branch instead of development that you may not have known that we use Git flow. Immediately this is not a problem, as the codebase is similar. But very quickly after several commits to the development branch a contributor may make a fix based of the primary branch, instead of the development branch. I'll open a discussion about this. For the time being I'll merge development back into master, because I really do not want to make any contributors rebase because of something stupid like this. |
Motivations
New contributors should need to know as little about the code base as possible before they can start hacking code, this means that the project should be structured in a way that makes it as easy as possible to form a mental model of the scope of each directory.
Proposal
build-aux
– files for building packages and developmentdata
– non-code filespo
– translationsdoc
src
tests
The text was updated successfully, but these errors were encountered: