Open CsatiZoltan opened 6 years ago
Nice issue. I am in a bit of a rush, so here are, briefly, my first thoughts.
@sylph1o
@CsatiZoltan I find all your suggestions quite exhaustive and satisfying, except for the second essential rule. I think a new folder is needed if more than one file need to be committed. Combined with @sylph1o 's item (1), it would make a fair rule. As for soft rules, items (2) and (3) totally make sense to me as well. Finally, I suggest as a soft rules a few hints for commit message format. We could use these short and effective quidelines, and summarize them like that guy did for example.
@neerby
I think a new folder is needed if more than one file need to be committed.
Of course. I was not precise.
I completely agree with all of your suggestions. I just have one (obvious) comment about item 1 of soft rules "Folder naming conventions": it is better if files names are explicits so that names like test2-v4.cc are avoided
I suggest to add to 2 something along the lines of "If you create a folder, do not create sub-folders unless absolutely necessary". I have yet to imagine a case where that would be "absolutely necessary"; maybe with a great number of files (e.g. >50).
@neerby, I agree about commit guidelines. What you linked is well-thought, and I think that it should be ever simpler in our case: a few simple rules, then one or two examples.
Where should we put these rules? Here are a two ideas:
I believe that the Meta.wiki is the superior location choice, but we could/should also add a link in every main README. edit: just realized that this is precisely what you suggested first. Agreed!
@sylph1o, @neerby My idea is the following: Make use of Github's contribution guidelines support (see also #1), i.e create a new CONTRIBUTING.md file in the Meta repository. The advantage is that whenever somebody wants to create an issue, it will pop-up. What Baptiste said: I also thought of putting a link to this contribution into every README (to the very beginning, so that users see it and do not skip).
@sylph1o
In Meta's wiki, and every repository's README links it. Thus the information is centralised and easy to maintain.
I think these rules apply to all the repositories, so I opt for this.
@neerby, @CsatiZoltan I agree with the both of you.
I edited the first post to take the discussion into account. We can probably start implementing the CONTRIBUTING.md
.
Then links can be added in Getting-started wikipage and main READMEs.
I would like to take the occasion to formalize the format guidelines for READMEs and wikis after the discussion we started on gitter. Would that belong to this issue ? Or should I start another one?
@neerby It sounds like a discussion as big as this one. If this is the case, it would be worth another issue (in which this one could be referenced).
Nice job, thanks again.
Tiny remark:
Moreover, moving files with git messes up the log and gives extra work to the admin.
I suggest to remove "to the admin" since every member is an admin. It gives the impression that some people have more rights and duties than others.
Ok, I will remove it when the next version is ready.
To minimize admin works, it is important to lay own the rules for using and contributing to the repositories. It is especially important as the added material continuously grows. My idea is to declare so-called "essential" and "soft" rules. Essential rules are expected to be followed to maintain the basic structure of the repositories. On the other hand, soft rules are rather guidelines containing recommendations of common sense. Here comes a preliminary set. Feel free to edit and append. There is a related project too. I propose that we first agree in the rules broadly before typing them to the corresponding Readme and Wiki pages.
Essential rules
[x] Do not create a new folder in an existing repository unless
your contribution consists of several files
or you are sure that this is really a new topic
If in doubt, ask other people in the main room.
The rationale behind the first two rules is that moving files with git messes up the log. Plus your contribution probably already fits in an existing repository/directory.
[ ] Do not upload anything illegal
[ ] Prefer text files to binaries
*.pdf,*.exe
) should not be in the repository, unless users may not be able to compile it (e.g. fontastic.pdf) or there is no way to store it remotely and permanently. Alternatives:Soft rules
Once these rules are accepted and implemented, the corresponding checkboxes should be ticked.