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

compose: Provide a switch to use absolute URLs instead of media_baseurl #505

Closed
barthalion opened this issue Jun 29, 2023 · 3 comments
Closed

Comments

@barthalion
Copy link

A comment in the neighbouring repository mentions a knob that would allow avoiding media_baseurl when --media-baseurl and --media-dir are used. We would like to use that for Flathub to keep backwards compatibility with distributions using too old appstream-glib/libappstream to understand media_baseurl attribute, but it's at least undocumented, or not available with CLI.

@razzeee
Copy link
Contributor

razzeee commented Aug 2, 2023

FYI, this is one of the issues we need to have solved to migrate flathub (again)

@ximion
Copy link
Owner

ximion commented Aug 2, 2023

Sorry, I had a bit too much to do the past months, currently working through the task backlog.

Looks like this feature is actually implemented, but completely unusable / broken (as most people don't seem to want their software stores to callout to random websites).

I'll have a look if there's a sensible way to fix this :-)

@ximion
Copy link
Owner

ximion commented Aug 2, 2023

This patch ^ adds this feature to compose.
I also backported it to the stable series, at it is fairly small and self-contained (even though it's a new feature).

hfiguiere added a commit to hfiguiere/flatpak-builder that referenced this issue Dec 28, 2023
Only when mirroring. This is to be compatible with existing flatpak
deployment and appstream-glib

See ximion/appstream#505

Should fix flatpak#573

Signed-off-by: Hubert Figuière <[email protected]>
hfiguiere added a commit to hfiguiere/flatpak-builder that referenced this issue Jan 23, 2024
Only when mirroring. This is to be compatible with existing flatpak
deployment and appstream-glib

See ximion/appstream#505

Should fix flatpak#573

Signed-off-by: Hubert Figuière <[email protected]>
hfiguiere added a commit to hfiguiere/flatpak-builder that referenced this issue Jan 23, 2024
Only when mirroring. This is to be compatible with existing flatpak
deployment and appstream-glib

See ximion/appstream#505

Should fix flatpak#573

Signed-off-by: Hubert Figuière <[email protected]>
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

3 participants