Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a first little bit of dataset admin guide #126

Merged
merged 1 commit into from
Jun 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion data/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
# <span>💾</span> Data

For the details of how we structure datasets at the lab, see:

```{toctree}
:maxdepth: 1
dataset-curation
```

For instructions on how to do various admin tasks on our data server, see:

```{toctree}
:maxdepth: 1
admin-guide
```

MRI, microscopy and other research data are stored in the following servers:

```{toctree}
Expand All @@ -14,4 +23,4 @@ duke
django
```

[Here](https://docs.google.com/spreadsheets/d/1yjcA8Z0COn4OZxusIDHjStH2DpeXvscsj-aWE2X-_sg) useful list of MRI data to use for various projects.
[Here](https://docs.google.com/spreadsheets/d/1yjcA8Z0COn4OZxusIDHjStH2DpeXvscsj-aWE2X-_sg) is a useful list of MRI data to use for various projects.
29 changes: 29 additions & 0 deletions data/admin-guide.md
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very helpful. Thanks!

Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Dataset admin guide

TODO: list the places where we have datasets (data.neuro.polymtl.ca, github, aws, compute canada, spineimage.ca)

TODO: describe our current access rules

TODO: give some API examples/scripts

See also: [the user guide](git-datasets.md)

## New repository

We have a [dataset template](https://data.neuro.polymtl.ca/datasets/template) that we use for new repositories. When someone at the lab asks for a new dataset on <https://data.neuro.polymtl.ca/>, the steps to take are:

1. Make sure they've opened [an issue in data-management](https://github.com/neuropoly/data-management/issues) with the name they want. Note that we only use **lowercase letters** and **hyphens** (no underscores).
2. Log in to Neurogitea and go to [the repository creation page](https://data.neuro.polymtl.ca/repo/create?org=2). Then:
1. Select the organization "NeuroPoly datasets" as owner.
2. Fill in the repository name.
3. "Make Repository Private" should already be checked.
4. Select "datasets/template" as the template.
5. For template items, check the box for "Git Content (Default Branch)".
6. Click "Create Repository".
3. In the new repository, click "Watch" so that at least one admin gets notifications (that is, you).
4. Give write access to the requesting student:
1. Go to the repository's "Settings" tab.
2. Select "Collaborators" from the left-hand menu.
3. Search for the student's name and click "Add Collaborator".
4. Make sure the student's Neurogitea user account contains their actual human-readable name ("Site Administration" -> "User Accounts" -> search for the user -> edit).
5. Reply on the original [data-management issue](https://github.com/neuropoly/data-management/issues) that you've created the repo and given them write access, with a link to the repo.