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
Oxygen font error: font-metainfo-but-no-font #40
Comments
|
I reprocessed the package and now it shows up (not exported yet). etc. I would guess that the time of the upload of oxygen-fonts, our version of asgen was behind what Debian had deployed. It would be a good contribution for someone to provide a forget/retry action for the generator so that uploaders can do this themselves. I think you should forward that metainfo if you didn't already. |
What would you have in mind? The generator itself providing a REST API somewhere, or just writing a config file somewhere (created by another tool) which is read by asgen to reprocess stuff? To make this work sanely directly in asgen, asgen would need some kind of task queue in the database, where people can add requests like "reprocess X" or "run cleanup next time" or even "process Y" if there is an interface with the archive software. |
|
On Tue, Mar 14, 2017 at 07:21:15AM -0700, Matthias Klumpp wrote:
> It would be a good contribution for someone to provide a forget/retry action for the generator so that uploaders can do this themselves.
What would you have in mind? The generator itself providing a REST API somewhere, or just writing a config file somewhere (created by another tool) which is read by asgen to reprocess stuff?
To make this work sanely directly in asgen, asgen would need some kind of task queue in the database, where people can add requests like "reprocess X" or "run cleanup next time" or even "process Y" if there is an interface with the archive software.
Don't know if that's overengineered though.
I don't know TBH, that would be up the implementer. Having it external
would probably be easier.
Cheers,
…--
Iain Lane [ iain@orangesquash.org.uk ]
Debian Developer [ laney@debian.org ]
Ubuntu Developer [ laney@ubuntu.com ]
|
|
@iainlane Yeah, external sounds better at time... |
|
I didn't realize Ubuntu didn't run the generator across the whole archive daily (in the development release), but just against updated packages. I would at least have expected a full rebuild after a new asgen was deployed. How long does a full rebuild take? Is Debian's asgen deployment incremental too? |
|
@jbicha Depending on how much RAM and CPU is available, a full rebuild takes multiple hours. Every package in the archive needs to be opened up, which takes a bit of time. Asgen has a Debian's rebuilds are incremental too, but I refresh the data from time to time using |
|
@jbicha Btw, by looking at http://appstream.ubuntu.com/zesty/universe/metainfo/fonts-cantarell.html: The file should really have one or multiple provides->font entries. If there are none, asgen will just try to guess the font and that usually works out poorly, for example a random font face will be picked for the default font example screenshot and for the font's icon. See https://www.freedesktop.org/software/appstream/docs/sect-Metadata-Fonts.html for information on font metainfo files. |
Ubuntu 17.04
appstream-generator 0.6.3
The same version (5.4.3-3) of fonts-oxygen is present in both Debian and Ubuntu, but Ubuntu's appstream generator gives an error:
http://appstream.ubuntu.com/zesty/universe/issues/fonts-oxygen.html
https://appstream.debian.org/sid/main/metainfo/fonts-oxygen.html
(No issues page on Debian)
fonts-oxygen does contain these fonts:
https://sources.debian.net/src/oxygen-fonts/unstable/debian/patches/01_add-metainfo.patch
A different font works
I recently added appstream metainfo for Cantarell in Ubuntu 17.04. I didn't specify any Provides but it shows up in Software (only if you explicitly search for Cantarell; I don't see it listed in any Category or in Installed.)
The text was updated successfully, but these errors were encountered: