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

RPM friendly path structure in config #107

Open
xsuchy opened this issue Jul 26, 2022 · 2 comments
Open

RPM friendly path structure in config #107

xsuchy opened this issue Jul 26, 2022 · 2 comments

Comments

@xsuchy
Copy link
Contributor

xsuchy commented Jul 26, 2022

As I am experimenting with appstream-generator, I found the path structure inconvinient.

appstream-generator concat section and architecture. Which enforces the path section/architecture/os - and I found no way to customize this. In rpm world, we use just $section-$version-$arch. E.g. fedora-36-x86_64, fedora-rawhide-s390x.

I tried to workaround it by specifying . as architecture which resulted in fedora/./ which is a valid pathname for path fedora/ but appstream-generator fails to use such a path.

@ximion
Copy link
Owner

ximion commented Jul 26, 2022

Maybe we can make this configurable, or dependent on the use of the rpmmd backend... (but I wouldn't mind an extra configuration option for this at all, seems to be quite straightforward and easy to maintain).

@Conan-Kudo
Copy link
Contributor

It would probably make sense to make this fully configurable, because the Open Build Service generates "simple" debian repositories too, which would also benefit from being able to have their appstream data generated too.

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

No branches or pull requests

3 participants