Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Remove ability to publish via github #51

Open
bloodearnest opened this issue Mar 29, 2022 · 20 comments
Open

Remove ability to publish via github #51

bloodearnest opened this issue Mar 29, 2022 · 20 comments
Assignees

Comments

@bloodearnest
Copy link
Member

We want to stop this as soon as possible.

We need to:

a) build a list of active workspaces still pushing releases to github
b) convince them to stop/migrate to job-server.
c) turn this off.

@sebbacon
Copy link
Contributor

sebbacon commented Apr 6, 2022

In terms of (b) - whoever picks this up should enlist the help of researchers who may know the individuals concerned; and @amirmehrkar in case there are problems convincing people.

I suggest we pick an arbitrary date when we are going to turn off access (say in about 6 weeks) and arrange with each individual still using the old system a handover meeting where we describe how to do it the new way. Or - perhaps more efficient - screen-record the first handover meeting and then just share that in the first instance.

@sebbacon
Copy link
Contributor

sebbacon commented Apr 6, 2022

In terms of (a) and (c), @bloodearnest should be able to advice - Simon, if you get a chance, perhaps post some pointers here?

@ghickman ghickman self-assigned this Apr 11, 2022
@ghickman
Copy link
Contributor

@bloodearnest – do you think workspaces with jobs created in the last 6 months is a reasonable measure of active here?

@bloodearnest
Copy link
Member Author

Possibly, but I think we need github activity here.

A possibly proxy for that is /d/osrelease/log.txt, which has logs going back to Nov 2021

image

@bloodearnest
Copy link
Member Author

A lot of those are internal projects, interestingly

@ghickman
Copy link
Contributor

One repo has already moved over: https://github.com/opensafely/immunosuppressant-meds-research

It used to have a release-candidates branch but that's gone now, and the PRs (eg) don't link to commits or files any more. Do we need to anything further for this one?

@ghickman
Copy link
Contributor

ghickman commented Apr 12, 2022

@bloodearnest
Copy link
Member Author

os-sch-children-2021 has been archive, possibly some of the others have too.

This raises an interesting question. Should we block releasing to an archived workspace?

@ghickman
Copy link
Contributor

I've checked job-server, all of these repos have at least one active (non-archived) workspace, apart from os-sch-children-2021.

We should definitely discuss releasing to an archived workspace, but I don't think we need to block this ticket on that discussion.

@ghickman
Copy link
Contributor

ghickman commented May 5, 2022

Reports will be able to use outputs released to job-server once opensafely-core/reports#291 is in.

@ghickman
Copy link
Contributor

covid-vaccine-neuro-research is right at the end of their study (they're responding to reviewers and just about to re-submit). They're going to stick with releasing to GitHub rather than move over since they're wrapping up.

@ghickman
Copy link
Contributor

All workspaces for the list of repos above have been switched to outputting to job-server or have a reason not to move.

@sebbacon
Copy link
Contributor

Epic work!

...or have a reason not to move

Does that technically mean that ability to publish via github is still "switched on"?

@ghickman
Copy link
Contributor

@sebbacon – yes. I've only looked at repos in the list above (so anything which has pushed to github in the last ~6mo). A couple of studies are just wrapping up so it made sense to not disrupt them when they're so close to being done.

Should we leave this ticket open until they're over the finish line?

It's just occurred to me that we need something to track the removal of functionality from this tool too, should that be this ticket?

@sebbacon
Copy link
Contributor

I don't mind - but we do need some kind of ticket to track that we need to turn it off -- how to tell when we can do that, who to chase, and what to do. If you open a new one, please highlight to to me so I can prioritise. Thanks!

@ghickman
Copy link
Contributor

ghickman commented May 17, 2022

Yep, good point, I'll reopen this one, so close!


ToDo:

  • Chase wrapping up repos (George: get the names of those)
  • Remove GitHub functionality from osrelease
  • Lower request size in github-proxy to ~2k

@ghickman ghickman reopened this May 17, 2022
@bloodearnest
Copy link
Member Author

I would consider this done when we can reduce the request size in the github-proxy down to maybe ~2k (which is enough to clone, but not enough to push).

That's what will improve our security posture.

@lucyb
Copy link

lucyb commented Jul 19, 2022

Superseded by #54

@lucyb lucyb closed this as completed Jul 19, 2022
@ghickman
Copy link
Contributor

@lucyb – I don't think it is, my latest comment has a todo list with items that #54 doesn't cover.

@lucyb
Copy link

lucyb commented Jul 22, 2022

Apologies @ghickman , I'll reopen it.

@lucyb lucyb reopened this Jul 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants