OpenClinica / enketo-express-oc

A fork of Enketo Smart Paper for OpenClinica
Apache License 2.0
5 stars 23 forks source link

Switch to monorepo - first phase #717

Closed MartijnR closed 6 months ago

MartijnR commented 1 year ago

Potentially a significant amount of work

kkrumlian commented 1 year ago

What are the components that would be included in this? Which components will be supported by ODK

Today this is what happens

They fork

Why would we want to fork ?

MartijnR commented 11 months ago

The monorepo includes:

I believe the idea is to add more packages in the future (e.g. maybe enketo-validate).

We would create OpenClinica/enketo-oc and archive OpenClinica/enketo-express-oc.

At a high level, it's only the organization of those 4 repos that changes. After we move OpenClinica to the monorepo, the procedure for updating the OC monorepo fork with the ODK changes and updating OC's customizations should remain largely the same.

Disadvantage is that I think we'll loose our git history for the OC customizations in the new enketo-oc monorepo. I think all OC customizations so far will be combined in one big commit. Naturally we'll still be able to see the full git history in this old (archived) enketo-express-oc repo.

An advantage is that we can probably do OC customizations a bit cleaner (eventually) than we have done so far. It should also be easier for a developer to get started with working on Enketo.

More to follow (or in our next meeting perhaps?). Some of your questions are not about the monorepo change, I think, but I'll clarify.

kkrumlian commented 11 months ago

I think all OC customizations so far will be combined in one big commit. Is there a way to preserve the history ... Not sure how git those that ?

kkrumlian commented 11 months ago

When making changes for our repo ... How often would we have to make breaking changes in upstream aka enketo/enketo repo.

kkrumlian commented 11 months ago

How active do you think the contributions from other members will be to the upstream repo.

MartijnR commented 11 months ago

Is there a way to preserve the history ... Not sure how git those that ?

I think I would have to remove the enketo-express package and re-add the enketo-express-oc package. That would then no longer allow us to update it from enketo/enketo.

How often would we have to make breaking changes in upstream aka enketo/enketo repo.

I don't understand.

How active do you think the contributions from other members will be to the upstream repo.

I may not understand the question. The enketo/* repositories are just reorganized differently. That doesn't have an impact on contributions. It/they will remain under active development by ODK & co.

kkrumlian commented 11 months ago

Summary of conversation with Martijn

MartijnR commented 11 months ago

Highlights for OC devops: