Skip to content

Sync: adding collections and channels locally #1418

@josephjclark

Description

@josephjclark

How do we add collections and channels to a local project with v2 sync?

Collections and channels both live at the project level

We don't really represent the project level stuff on disk. You've got your workflow.yaml but that doesn't hold collections or channels

The project yaml file contains both keys at the top level. But you can't edit that locally (when you try and deploy it, we fetch the latest version and drop your local edits)

Probably the only place we currently do hold this is the project key in openfn.yaml. We can pull those details into the metadata, and users can edit it freely to add more.

That's got to be the answer, but it does slightly change my perception on what the openfn.yaml file is

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    New Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions