Hey folks,
This is not a very important issue request, so please feel free to close it.
The htop repository currently has about, give or take (I just visually counted it, so this
may not be an absolutely correct finding), about ~70 files in the base directory, such as:
AffinityPanel.c
AffinityPanel.h
AvailableColumnsPanel.c
AvailableColumnsPanel.h
and so forth.
Could we perhaps move this into one, or a few, subdirectories?
A logical one would be src/ but there could be several subdirectories named differently,
depending on the internal code logic and structure of htop; I do not have any real
preference here for the names, or the number of subdirectories, though a single
one called src/ may seem logical, initially. The rationale for this is mostly to have the
repository a bit more orderly and logical. This also may include restructuring of other
directories, so there could be a general clean-up - perhaps next year.
If possible, could some of the core devs and contributor chime in, if time permits?
Naturally this is not very important, as the net result is what matters, but I feel that
the repository could be "cleaner", which is of course a subjective opinion. I assume
that in part the structure is because Hisham started the project many years ago,
and there were probably fewer files in it initially. I think having this all a bit more
ordered or structured, perhaps in one or a few more subdirectories (if these be
logical), could be "visually" nicer, e. g. when people look at the main repository
here and wonder where they could contribute, or, even without that, find the names
logical, as much as that is possible.
Other files seem to be new, such as TESTPLAN
https://github.com/htop-dev/htop/blob/main/TESTPLAN
which was added 3 years ago. But this seems more a documentation file? Could
this be put under doc/ or somewhere else? That was just one example though,
it may be useful to have some kind of semi-loose policy with this regard, in
particular when people come and people go (contribute and then may be
inactive for a long while again).
Hey folks,
This is not a very important issue request, so please feel free to close it.
The htop repository currently has about, give or take (I just visually counted it, so this
may not be an absolutely correct finding), about ~70 files in the base directory, such as:
and so forth.
Could we perhaps move this into one, or a few, subdirectories?
A logical one would be src/ but there could be several subdirectories named differently,
depending on the internal code logic and structure of htop; I do not have any real
preference here for the names, or the number of subdirectories, though a single
one called src/ may seem logical, initially. The rationale for this is mostly to have the
repository a bit more orderly and logical. This also may include restructuring of other
directories, so there could be a general clean-up - perhaps next year.
If possible, could some of the core devs and contributor chime in, if time permits?
Naturally this is not very important, as the net result is what matters, but I feel that
the repository could be "cleaner", which is of course a subjective opinion. I assume
that in part the structure is because Hisham started the project many years ago,
and there were probably fewer files in it initially. I think having this all a bit more
ordered or structured, perhaps in one or a few more subdirectories (if these be
logical), could be "visually" nicer, e. g. when people look at the main repository
here and wonder where they could contribute, or, even without that, find the names
logical, as much as that is possible.
Other files seem to be new, such as TESTPLAN
https://github.com/htop-dev/htop/blob/main/TESTPLAN
which was added 3 years ago. But this seems more a documentation file? Could
this be put under doc/ or somewhere else? That was just one example though,
it may be useful to have some kind of semi-loose policy with this regard, in
particular when people come and people go (contribute and then may be
inactive for a long while again).