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

Merge record packages (and merge stream ordered by OCID) #114

Open
jpmckinney opened this issue Dec 31, 2019 · 0 comments
Open

Merge record packages (and merge stream ordered by OCID) #114

jpmckinney opened this issue Dec 31, 2019 · 0 comments
Labels
CLI command Relating to a new CLI command CLI option Relating to a new CLI option

Comments

@jpmckinney
Copy link
Member

jpmckinney commented Dec 31, 2019

Follow-up to #83

A user might have record packages to which they want to add compiled releases and/or versioned releases. With these as input, releases are already grouped by OCID. We can then skip the first phase of the merge function that groups releases by OCID.

We can already create a single record package from input record packages if we set --root-path records.item.releases.item, but we would lose package metadata and the individual packages. A new option/command is needed to preserve these.

If a release in a record is a linked release, we should error for now, given that requesting a remote release is an expensive operation.

Note: We can create a single record package from input individual records, using the command as-is (it'll be treated as a release package).


Similarly, if the user can already provide a list of release packages and/or individual releases such that releases with the same OCID are consecutive, they should be able to indicate this (e.g. with a --pre-grouped flag), and we can then skip the first phase of grouping releases by OCID.

@jpmckinney jpmckinney changed the title Merge record packages, and stream ordered by OCID Merge record packages, and merge stream ordered by OCID Dec 31, 2019
@jpmckinney jpmckinney changed the title Merge record packages, and merge stream ordered by OCID compile: Merge record packages, and merge stream ordered by OCID Dec 31, 2019
@jpmckinney jpmckinney changed the title compile: Merge record packages, and merge stream ordered by OCID compile: Merge record packages (and merge stream ordered by OCID) Jan 2, 2020
@jpmckinney jpmckinney changed the title compile: Merge record packages (and merge stream ordered by OCID) Merge record packages (and merge stream ordered by OCID) Jan 4, 2020
@jpmckinney jpmckinney added CLI command Relating to a new CLI command and removed feature labels Mar 2, 2020
@jpmckinney jpmckinney added the CLI option Relating to a new CLI option label May 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLI command Relating to a new CLI command CLI option Relating to a new CLI option
Projects
None yet
Development

No branches or pull requests

1 participant