On Mon, 2019-03-04 at 08:47 +0100, Miroslav Suchý wrote:
> Dne 04. 03. 19 v 7:36 Richard W.M. Jones napsal(a):
> > Why is the --setopt parameter needed?  Couldn't that be based on
> > $releasever?
> 
> For the record - we are speaking about:
> 
>   --setopt=module_platform_id=platform:f30
> 
> I spoke to DNF team and:
> 
>   * there is no definition of platform_id
>   * while it seams that it can be constructed from $RELEASEVER, there is no 
> guarantee that it will be this way in future
> (even soft gurantee, i.e. there is no documentation)
>   * it is only defined that module_platform_id is derived from PLATFORM_ID 
> from /etc/os-release
>   * that package we get only after upgrade
>   * but for the upgrade we need new PLATFORM_ID
>   * DNF cannot construct it, because the construction method is not defined
> 
> ... and circle is closed. So yes, we need it until there will be 
> documentation how to derive PLATFORM_ID of (next) release.

Well, we have had a bug open on this for some time - at least, as I
understand it, they're the same:

https://bugzilla.redhat.com/show_bug.cgi?id=1656509

which suggests that this is intended to be a fix for it:

https://github.com/rpm-software-management/dnf-plugins-extras/pull/143

though it seems like it may not exactly be complete...

It would be good if DNF team could clarify this, because if they are
expecting that this will stay as-is and people will need to explicitly
specify the module_platform_id on upgrade, we are gonna need to have a
conversation about that and, if it sticks, update the documentation and
also ensure GNOME Software DTRT for graphical upgrades.
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
http://www.happyassassin.net
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to