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

Deposit from GitHub #5372

Closed
5 tasks
TaniaSchlatter opened this issue Dec 5, 2018 · 2 comments
Closed
5 tasks

Deposit from GitHub #5372

TaniaSchlatter opened this issue Dec 5, 2018 · 2 comments

Comments

@TaniaSchlatter
Copy link
Member

TaniaSchlatter commented Dec 5, 2018

This issue is phase 1 of three phases to allow depositers to add code to Dataverse (#2739).

Planned functionality and next steps:

Upload:
Provide URL input with import functionality. Create a .zip of what is available from the URL. Users must paste the URL of the repo’s landing page (easily found in their browser’s address bar). If they paste the default landing page, they get the default branch up to the latest commit. If desired, they can use the URL for a specific branch, release, or commit.

System uses "repoName-branchName" or repoName-releaseNameNumber as ZIP name. User can edit the name.

Users could add more than one file to the dataset. If this happens, the concept of archiving a GitHub repository as a dataset would be broken.

  • Messaging/tool tip stating if they want to maintain their repository as a dataset, they should not add any other files.
  • If a user adds one or more files to the dataset, having a DOI that refers only to the GitHub repository would rely on file-level DOIs, and not all installations have file-level DOIs enabled.

Metadata:
User can add metadata to the Description field (as now – no change).
The repo URL is saved in the database and displayed on the page.

Edit:
Edit the ZIP just like any other file deposited into a dataset. For a user to update the ZIP, go to replace pg just like any other file, same upload method widgets available on upload pg will be available on replace pg.

  • For consideration: could the upload widget on the replace pg retain the GitHub repo URL?

Replace:
See Edit. Allow users to replace the ZIP just like any other file deposited into a dataset.
For a published 2.0 version, the new zip to be a replaced version of the zip in the 1.0 version. Users can see that files were replaced vs deleted and added on the versions tab.

To do:

  • Mock up (digital) the UI and relevant messages (on-page help, tool tips, success/error message text) for release 1:
    • Create dataset page
    • File replace page
  • Review and refine
  • Create test plan, recruit participants, conduct testing
  • Revise if/as needed
  • Finalize mockups and UI behavior for development
@pdurbin
Copy link
Member

pdurbin commented Feb 14, 2020

I promised @ethomson and @neovintage from GitHub that I would link up the notes from the fantastic meeting we had with them today. Here they are: https://groups.google.com/d/msg/dataverse-community/uEJRcNoghjY/RVnXkuxoBgAJ

@pdurbin
Copy link
Member

pdurbin commented Oct 3, 2022

@atrisovic created an awesome GitHub integration using GitHub Actions.

I think we should close this issue. We can create a fresh one for the next level of GitHub integration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants