镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

AppStream upstream metadata is missing #344

Open

Description

@SaptarshiSarkar12

I'm submitting a…

  • bug report
  • feature request
  • other

Short description of the issue/suggestion:
When the Drifty application is packaged using JavaPackager Maven plugin via GitHub Action, it shows the below error 👇

WARNING: AppStream upstream metadata is missing, please consider creating it

How can I fix it?

Do you have outputs, screenshots, demos or samples which demonstrate the problem or enhancement?
You can check the GitHub Action output to see the error.

Please tell us about your environment:

  • JavaPackager version: 1.7.2
  • OS version: ubuntu-22.04 (Ubuntu-latest for GitHub Action)
  • JDK version: 20.0.1
  • Build tool:
    • Maven
    • Gradle

Other Information
You can check the pom.xml file to see if any changes needs to be made in that.

Activity

  1. SaptarshiSarkar12 commented on Jul 1, 2023

    @SaptarshiSarkar12
    ContributorAuthor

    @fvarrui Please look into the issue.

  2. fvarrui commented on Jul 4, 2023

    @fvarrui
    Collaborator

    Hi @SaptarshiSarkar12!

    I fear you can fix it ... unless you code a patch for JavaPackager and make a PR.

    I'll take a look into it ASAP.

    Anyway, it's showing a warning message, not an error. Have you tried to run the generated AppImage?

  3. SaptarshiSarkar12 commented on Jul 5, 2023

    @SaptarshiSarkar12
    ContributorAuthor

    Hi @SaptarshiSarkar12!

    I fear you can fix it ... unless you code a patch for JavaPackager and make a PR.

    I'll take a look into it ASAP.

    Anyway, it's showing a warning message, not an error. Have you tried to run the generated AppImage?

    @fvarrui Yes, the AppImage runs pretty well.

  4. SaptarshiSarkar12 commented on Jul 5, 2023

    @SaptarshiSarkar12
    ContributorAuthor

    Thank you for giving your valuable time to resolve the issue!

  5. SaptarshiSarkar12 commented on Jul 11, 2023

    @SaptarshiSarkar12
    ContributorAuthor

    @fvarrui Please check this docs of freedesktop about metadata file.
    It says to create a app_name.metadata.xml file in /usr/share/metainfo/ directory before building the AppImage. I think this file can be auto-created by JavaPackager before initiating the building of AppImages. So, it might be a good feature we should bring in this project.
    @fvarrui Let me know your opinion.

  6. fvarrui commented on Jul 13, 2023

    @fvarrui
    Collaborator

    @SaptarshiSarkar12 Ok, I've just check this example and it seems that all required data is available in JP. As it's related to issue-345, and there's already a branch for this issue, changes will be made in this branch.

    As far as I understand, this is not only for AppImage, but DEB and RPM too, right?

  7. added
    working onWork in progress on this issue
    and removed
    feedbackWaiting for feedback
    on Jul 13, 2023
  8. SaptarshiSarkar12 commented on Jul 13, 2023

    @SaptarshiSarkar12
    ContributorAuthor

    @SaptarshiSarkar12 Ok, I've just check this example and it seems that all required data is available in JP. As it's related to issue-345, and there's already a branch for this issue, changes will be made in this branch.

    As far as I understand, this is not only for AppImage, but DEB and RPM too, right?

    Ok @fvarrui, that's great!
    No, there is some problems regarding DEB and might be RPM also. The problem is that the description shown by Software Install application in ubuntu (when trying to install DEB package) is not as what is provided to JavaPackager. Below are the required relevant screenshots and links :

    Deb package in Software Install

    Link to pom.xml : https://github.com/SaptarshiSarkar12/Drifty/blob/master/pom.xml

  9. fvarrui commented on Jul 13, 2023

    @fvarrui
    Collaborator

    No, there is some problems regarding DEB and might be RPM also. The problem is that the description shown by Software Install application in ubuntu (when trying to install DEB package) is not as what is provided to JavaPackager.

    So, do you mean that metadata file has also to be provided by DEB and RPM packages?

  10. SaptarshiSarkar12 commented on Jul 13, 2023

    @SaptarshiSarkar12
    ContributorAuthor

    No, there is some problems regarding DEB and might be RPM also. The problem is that the description shown by Software Install application in ubuntu (when trying to install DEB package) is not as what is provided to JavaPackager.

    So, do you mean that metadata file has also to be provided by DEB and RPM packages?

    Yeah @fvarrui, it might help. Also, the application icon is not present when opening DEB (might be the same case with RPM) through Software Install application in Ubuntu 23.04.

  11. added
    enhancementNew feature or request
    and removed
    working onWork in progress on this issue
    on Oct 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions