Closed Bug 1711478 Opened 4 years ago Closed 4 years ago

Assess use of external addon Zenodo in Mozilla's GitHub organization mozilla

Categories

(mozilla.org :: Github: Administration, task)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: marco, Assigned: hwine)

Details

I want to use the Zenodo addon in mozilla for the following reasons:
Making bugbug and rust-code-analysis code citable.

Below are my answers to your stock questions:

** Which repositories do you want to have access?

** Are any of those repositories private?
No

** Provide link to vendor's description of permissions needed and why
A screenshot is present at https://guides.github.com/activities/citable-code/

** Provide the Install link for a GitHub app
The installation steps are explained in the link above.

Assigning to :hwine/secops for review.

Assignee: nobody → hwine

:marco -- unfortunately, Zenodo is using OAuth technology and asking for permissions we won't grant.

That doesn't mean you can't use it, just that you'll have to do some additional legwork. Zenodo is asking for excessive permissions so it can install the webhook for you. Zenodo support should be able to give you manual instructions for configuring the hook yourself. With the hook installed, you should be good to go.

Please report your success with this process in this bug, to help the next person out. I'll leave this open until we get resolution.

Flags: needinfo?(mcastelluccio)

I sent a request to Zenodo support via https://zenodo.org/support.

I've been waiting for a while now, but got no reply.
Are there other options?

Flags: needinfo?(mcastelluccio) → needinfo?(hwine)

From a brief site scan, it's not clear this can be done. However, it does appear that you can upload the repo as a zip file on each release (see the last question in the GitHub section of the Zenodo FAQ.

It looks as if the upload process is supported by a GitHub Action (first hit, there may be more) if you want to automate the process. (N.B. if you want an action enabled, please open a new bugzilla ticket for that process.)

Status: NEW → RESOLVED
Closed: 4 years ago
Flags: needinfo?(hwine)
Resolution: --- → FIXED

I did a couple of manual uploads, then Zenodo replied to me with the details to set up the Webhook. I did set it up and it is working correctly.

(In reply to Marco Castelluccio [:marco] from comment #6)

I did a couple of manual uploads, then Zenodo replied to me with the details to set up the Webhook. I did set it up and it is working correctly.

If the webhook instructions were generic, could you post them here please? Make the bug confidential if that's a concern. That'll help future users.

Flags: needinfo?(mcastelluccio)

:marco -- FYI, I see GitHub added more support for citations

(In reply to Hal Wine [:hwine] (use NI, please) from comment #7)

(In reply to Marco Castelluccio [:marco] from comment #6)

I did a couple of manual uploads, then Zenodo replied to me with the details to set up the Webhook. I did set it up and it is working correctly.

If the webhook instructions were generic, could you post them here please? Make the bug confidential if that's a concern. That'll help future users.

Unfortunately they were not generic, they had to apply some manual changes on their side.

(In reply to Hal Wine [:hwine] (use NI, please) from comment #8)

:marco -- FYI, I see GitHub added more support for citations

Thanks for the heads up!

Flags: needinfo?(mcastelluccio)
You need to log in before you can comment on or make changes to this bug.