Making The Repo and Codebase More Accessible #25
Replies: 2 comments 2 replies
-
There are many thoughts that come to mind as a result of your suggestion:
Having said that I can feel you ;-) But perhaps those questions would be better as discussions? I'm happy to try to answer, perhaps we together can find formulations that can fit in the design documentation. And you are probably right that there are some basic "README"s that probably should exist. And as a final comment, I strongly believe in not doing anything that is not driven by a "real" need. If you are interested in looking at the sources, then we are two (probably) and we can manage it without filling yet another list with "good to have" items. If, and when, there are more people interested, this urgency rises, and then we should definitely work in this area. At this point I feel the needs of the user community (including you ;-) is much more valueable to fulfil. But if you feel that these new (and not bad) ideas and requests are the most important I should focus on, then... Well, perhaps then we need to talk about that ;-) So I suggest you open up discussions for your questions. Those will also help me understand what needs to be clearer, in code or documentation and we can figure out what to do about it along the way. Ok? |
Beta Was this translation helpful? Give feedback.
-
There are two reasons for the many branches. One is that at one point the previous CVS repository was migrated to git using a script that created many branches. The second is that early on, when moving between platforms was more cumbersome, a common pattern was to create a tag when releasing the "main" platform from the main branch. Any changes that were necessary to make that release happen was made on a separate branch for that release work, created at that tag, and the later merged back. When the release for another platform was started the same procedure applied. This is why many end with As we can see many of those "release work" branches have a few, one or no commits. We could probably go through those 79 branches and see which contains useful commits, but I think that is over-doing it. Over time we should probably replace (at least) the branches with no extra commits with a tag with the same name. Some branches could even be considered obsolete (or of no value any longer) and be removed. |
Beta Was this translation helpful? Give feedback.
-
I would like to propose some improvements in terms of documenting the repository (README files, etc.), the source code by adding more comments on what does what, and of course the Wiki, which should provide extra info with more freedom in terms of what one wishes to unravel.
Having spent some time sifting through the ALAN source code, I got the impression that adding some extra comments here and there might make it easier for users who approach the codebase for the first time — the project is quite big, and it also contains/uses some legacy third party modules/tool which might not be so well known today.
It would also be nice to have documents explaining what's what in the compiler and interpreter subfolders, since along with the C sources there are various test files, compiler generator files, etc., so having a commented list of the files (or the various file extensions at play) would simplify grasping the big picture of what's in these folders.
I still haven't quite understood why there are some many branches in the project (instead of just tags pointing to the various releases), and which branch is used for the latest development — this is worth mentioning in the main README.
So, if it's OK with you, I could create an Issue for specific requests which I have in mind (and maybe create some associated labels, or even a Project or a Milestone), and keep discussing here more general ideas and suggestions.
Beta Was this translation helpful? Give feedback.
All reactions