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

Can't provide updates to frozen suites #29

Open
iainlane opened this issue Oct 18, 2016 · 2 comments
Open

Can't provide updates to frozen suites #29

iainlane opened this issue Oct 18, 2016 · 2 comments
Assignees

Comments

@iainlane
Copy link
Collaborator

For Ubuntu we would like to update from the old appstream-dep11 to asgen in Xenial and Yakkety, which released with data from -dep11.

I thought we could deliver the updates via the -updates suite, as another Components and icons file: Components-fixup or so. The component would have a dataPriority higher than the release but lower than proposed and `updates.

Then the config would have something like

"Suites":
  {
    "yakkety":
      {
        "redirect-to": "yakkety-updates",
        "useIconTheme": "Humanity",
        "sections": ["main"],
        "architectures": ["amd64"]
      }
  }

redirect-to means that the output is placed in yakkety-updates/Component-fixup.tar.xz.

Questions

  • How does this interact with immutable? I think redirect-to probably sort of implies immutable. But what if it is added later on after the suite has already been immutable (and the data has been dropped)?
  • What about dropping data - how and when? We need to keep the data for the release so that people who don't have updates aren't broken.
@ximion
Copy link
Owner

ximion commented Oct 2, 2017

I think we will need an Override: <origin_name> field in the YAML data for sure, so a new metadata file can override an existing one entirely.
If redirect-to is added later after the data has been dropped, the logical choice would be to regenerate the data - we would just need to ensure statistics data is kept forever.
An Override property would ideally to go together with an OriginType property, that I wanted for a while to help libappstream deduplicate data.

In any case, we will need changes on the APT hook, libappstream/AppStream and appstream-generator.
As discussed last year in person, I want this to be resolved somehow, and I ideally want this to be resolved for the next Ubuntu LTS and Debian Stable. It's just a tricky thing ;-)

@ximion ximion self-assigned this Oct 2, 2017
@ximion
Copy link
Owner

ximion commented Jan 4, 2019

This will - sort of - be fixed with the next asgen release. Suites with higher priority already override lower-priority data, and soon components can be marked as deleted as well, although that is a manual process by the person maintaining the appstream-generator.

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

No branches or pull requests

2 participants