cedadev / cmip6-replication

CMIP6 replication procedures, status and requests at CEDA
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

Decide repository structure for managing requests #6

Open agstephens opened 3 years ago

agstephens commented 3 years ago

Initial idea:

requests/
  core_current/
  core_historical/
  user_current/
  user_historical/
agstephens commented 3 years ago

File-naming

File names for user requests

User requests:

user_id${numeric_user_id}_${submission_date}_hs${helpscout_ticket_number}_${request_number}.txt

Where:

Example:

user_id23445_20211204_hs34582_1.txt

File names for core requests

Core requests:

core_${submission_date}_${informative_label}.txt

Where:

Example:

core_20190627_historical-all-models.txt
agstephens commented 3 years ago

Issues regarding directory structure

Logging history of completed user requests

Take this example:

requests/user_current/user_23445_20211204_34582_1.txt

When completed, we move it to:

requests/user_historical/${completion_date}/user_23445_20211204_34582_1.txt

Where $completion_date is the date we manually/automatically moved the selection file from the user_current location to the user_historical location.

agstephens commented 3 years ago

@alaniwi Please create the structure and put the current request into it.

alaniwi commented 3 years ago

Done.

agstephens commented 3 years ago

Keep open until we have documented all this.