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

Remove removable flag from package manifest #532

Merged
merged 5 commits into from
Jun 25, 2020

Conversation

ruflin
Copy link
Member

@ruflin ruflin commented Jun 22, 2020

Based on the discussion in #455 it is not up to the package to decide which packages can be removed but Kibana. Because of this, the removable flag is removed from the registry and the packages.

Closing #455

@ruflin ruflin added the Ingest Management:beta1 Group issues for ingest management beta1 label Jun 22, 2020
@ruflin ruflin self-assigned this Jun 22, 2020
@ruflin
Copy link
Member Author

ruflin commented Jun 22, 2020

This PR should only be merged if changes made it into Kibana. @paul-tavares Could you ping us here when this happened?

@elasticmachine
Copy link

elasticmachine commented Jun 22, 2020

💚 Build Succeeded

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Branch indexing]

  • Start Time: 2020-06-25T12:18:32.146+0000

  • Duration: 8 min 32 sec

Test stats 🧪

Test Results
Failed 0
Passed 143
Skipped 0
Total 143

@mtojek mtojek self-requested a review June 23, 2020 07:59
@mtojek
Copy link
Contributor

mtojek commented Jun 23, 2020

Did you check if the flag is used in the integrations repository?

@ruflin
Copy link
Member Author

ruflin commented Jun 23, 2020

@mtojek It is for the system package. Al others are set to true (the default): https://github.com/elastic/integrations/blob/0ae2f28fa667952f1b8c682ebec4163bbfe3bef6/dev/import-beats/packages.go#L26 I'll follow up on the integrations repo as soon as we get this in, but first work must happen in Kibana.

@jfsiii
Copy link

jfsiii commented Jun 24, 2020

elastic/kibana#69761 is ready but without #204 & the corresponding Kibana change we can't push changes independently

@ruflin
Copy link
Member Author

ruflin commented Jun 25, 2020

@jfsiii Not sure I follow why elastic/kibana#69761 can't be merged as it only removes a field and I assume if the registry still ships it, it should not affect the Kibana?

If we would use the versioned API for every breaking change we do at the moment, we would already be at v25. This will of course change when we hit 7.9.

Based on the discussion in elastic#455 it is not up to the package to decide which packages can be removed but Kibana. Because of this, the removable flag is removed from the registry and the packages.

Closing elastic#455
@jfsiii
Copy link

jfsiii commented Jun 25, 2020

@ruflin You're right elastic/kibana#69761 can go in before this change, just not the other way around. I'll merge that PR now

If we would use the versioned API for every breaking change we do at the moment, we would already be at v25.

Having a strategy doesn't mean we need to use that strategy but we can discuss that in the relevant issue

@ruflin
Copy link
Member Author

ruflin commented Jun 25, 2020

@jfsiii I kicked off #560 related to the above.

@ruflin
Copy link
Member Author

ruflin commented Jun 25, 2020

Merging as elastic/kibana#69906 is merged.

@ruflin ruflin merged commit 4849aa1 into elastic:master Jun 25, 2020
@ruflin ruflin deleted the remove-removable branch June 25, 2020 13:17
ruflin added a commit to ruflin/integrations that referenced this pull request Jun 25, 2020
The field removable is not supported anymore in the registry, see elastic/package-registry#532. This removes it from the importer script.

Also removed it from the existing packages so the next releases will not contain anymore. It is not an issue that some of the existing packages contain it.
ruflin added a commit to ruflin/integrations that referenced this pull request Jun 29, 2020
The field removable is not supported anymore in the registry, see elastic/package-registry#532. This removes it from the importer script.

Also removed it from the existing packages so the next releases will not contain anymore. It is not an issue that some of the existing packages contain it.
ruflin added a commit to ruflin/integrations that referenced this pull request Jun 29, 2020
The field removable is not supported anymore in the registry, see elastic/package-registry#532. This removes it from the importer script.

Also removed it from the existing packages so the next releases will not contain anymore. It is not an issue that some of the existing packages contain it.
ruflin added a commit to elastic/integrations that referenced this pull request Jun 29, 2020
The field removable is not supported anymore in the registry, see elastic/package-registry#532. This removes it from the importer script.

Also removed it from the existing packages so the next releases will not contain anymore. It is not an issue that some of the existing packages contain it.
eyalkraft pushed a commit to build-security/integrations that referenced this pull request Mar 30, 2022
The field removable is not supported anymore in the registry, see elastic/package-registry#532. This removes it from the importer script.

Also removed it from the existing packages so the next releases will not contain anymore. It is not an issue that some of the existing packages contain it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ingest Management:beta1 Group issues for ingest management beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants