About_moja_global icon indicating copy to clipboard operation
About_moja_global copied to clipboard

Naming Convention for the Repositories

Open gmajan opened this issue 4 years ago • 11 comments

What does the current documentation state? We are using an unwritten naming convention for the repositories. As far as I know, we use . to indicate a sort of sub-directory and _ to connect words of 1 title. The top directory indicates the initiative the directory is under: e.g. GSoC so people know that adding to these repos might interfere with deliverables. If there is no initiative, then the repo is operational and thus open. The second layer is the tool the repo is under. FLINT for most repos but not all. Next is the name of the repo

If this is indeed how we work, it would be good to document this and make sure the existing names are in line.

Where is this stated? Nowhere yet

Why do you want to improve the statement? If we have a clear naming system, contributors feel at ease to make new repos and they can quickly understand what repos are for.

Proposed statement Follow an agreed naming system

Additional info None

gmajan avatar Jun 04 '20 13:06 gmajan

Set a meaningful name:

  1. Try to make purpose obvious in title 2 Use hyphens (-) instead of underscores (_) For ex. FLINT-Grassland-carbon-models GSoC-FLINT-Agricultural-Soil-Model Country-mapping-project
  2. Write a description: Write one or two sentences to quickly describe the project. (1repo has only 1 project in order to view all issues/new idea there)

Patamap avatar Jun 18 '20 00:06 Patamap

@gmajan @Tlazypanda this issue becomes a high priority due to creating more on the new repo nowadays. May I have your comment on the proposal, please?

Patamap avatar Jun 30 '20 00:06 Patamap

@Patamap When the title contains a dot (.) it is like a / in a regular file name: i.e. it is a different sub-division. Between the dots, the words are separated by underscores. Why do you want to get rid of the dots and underscores? Thank you. :)

gmajan avatar Jul 01 '20 20:07 gmajan

@gmajan thanks for your feedback. It is ok to have . and - as we agreed to choose what we want to have it together. Not missing up.

Patamap avatar Jul 06 '20 09:07 Patamap

UPDATE:

We ran through this name conversational together in a call yesterday.
The conventional rules are

  1. The Software name is the first and big capital.
    For example, FLINT, GCBM.
  2. The Subdirector will be after the software name and big capital for the first character. For example, FLINT.Module.
  3. The same name, _ will be used.
    For example, FLINT.Module.Forest_biomass_model.
  4. Program is the first name in repo, if available
    For example LEMP.GCBM.Module.Environmentally_sensitive_forest_module for Linux program. Google_Summer_of_Code for google program.
  5. Try to make purpose obvious in title. For example. GCBM.Chile.Data_Preprocessing

NEXT

These rules will be written in the github workflow and if anyone has the question or propose, a new issue can be raised for discussion.

Patamap avatar Jul 13 '20 22:07 Patamap

@all-contributors please add @jenkatesmits for data

gmajan avatar Dec 01 '20 15:12 gmajan

@gmajan

I couldn't determine any contributions to add, did you specify any contributions? Please make sure to use valid contribution names.

allcontributors[bot] avatar Dec 01 '20 15:12 allcontributors[bot]

@all-contributors please add @jenkatesmits for data

gmajan avatar Dec 01 '20 15:12 gmajan

@gmajan

I couldn't determine any contributions to add, did you specify any contributions? Please make sure to use valid contribution names.

allcontributors[bot] avatar Dec 01 '20 15:12 allcontributors[bot]

@all-contributors please add @jenkatesmits for documentation

gmajan avatar Dec 01 '20 15:12 gmajan

@gmajan

I've put up a pull request to add @jenkatesmits! :tada:

allcontributors[bot] avatar Dec 01 '20 15:12 allcontributors[bot]