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

Create a worker that synchronizes with an instance of the PDC for base fields #756

Open
slifty opened this issue Feb 2, 2024 · 5 comments
Assignees

Comments

@slifty
Copy link
Member

slifty commented Feb 2, 2024

No description provided.

@slifty slifty self-assigned this Feb 2, 2024
@bickelj
Copy link
Contributor

bickelj commented Apr 17, 2024

@slifty Is it like the following? There exists a PDC instance somewhere that we treat as canonical (cough) and whatever data state it has we treat that data as canonical and connect to it to get the most up-to-date base fields? In other words, there is no way to recreate from code the state of base fields at all?

@slifty
Copy link
Member Author

slifty commented Apr 17, 2024

Essentially yes -- we would not have seed data in this repository. We would want to have database backups so as not to lose the data in PDC production, but overall base fields are user data and really ought not to be in the domain of developers at all / the code base should be agnostic to them.

@bickelj
Copy link
Contributor

bickelj commented Apr 17, 2024

More thought required. I wish it were so simple to say "data are not our jam" but experience proves otherwise.

@slifty
Copy link
Member Author

slifty commented Apr 17, 2024

Sure! We can keep talking about it -- there was a fair bit of work done to design base field admin interfaces, though they haven't been implemented yet (e.g. PhilanthropyDataCommons/front-end#516)

Our ownership of base fields was a function of the tooling we had in place in early stages of the project, and even if we do own it I think that ownership should be in a third party repository / we should manage them via the API as API clients.

@bickelj
Copy link
Contributor

bickelj commented Apr 17, 2024

@slifty OK, that helps me put it together more. If we have an admin interface on the front-end to edit base fields (which is fantastic, by the way) it makes sense to synchronize instead of trying to recreate state from code.

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

No branches or pull requests

2 participants