{"action":"created","issue":{"url":"https://api.github.com/repos/fedora-modularity/libmodulemd/issues/12","repository_url":"https://api.github.com/repos/fedora-modularity/libmodulemd","labels_url":"https://api.github.com/repos/fedora-modularity/libmodulemd/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/fedora-modularity/libmodulemd/issues/12/comments","events_url":"https://api.github.com/repos/fedora-modularity/libmodulemd/issues/12/events","html_url":"https://github.com/fedora-modularity/libmodulemd/issues/12","id":299484163,"number":12,"title":"How should the multilib work?","user":{"login":"hanzz","id":109158,"avatar_url":"https://avatars0.githubusercontent.com/u/109158?v=4","gravatar_id":"","url":"https://api.github.com/users/hanzz","html_url":"https://github.com/hanzz","followers_url":"https://api.github.com/users/hanzz/followers","following_url":"https://api.github.com/users/hanzz/following{/other_user}","gists_url":"https://api.github.com/users/hanzz/gists{/gist_id}","starred_url":"https://api.github.com/users/hanzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanzz/subscriptions","organizations_url":"https://api.github.com/users/hanzz/orgs","repos_url":"https://api.github.com/users/hanzz/repos","events_url":"https://api.github.com/users/hanzz/events{/privacy}","received_events_url":"https://api.github.com/users/hanzz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-22T19:47:47Z","updated_at":"2018-02-23T10:55:30Z","closed_at":null,"author_association":"NONE","body":"I'm going to implement proper multilib in Pungi, spec.v2.yaml says:\r\n\r\n```\r\n# A list of architectures with multilib\r\n# installs, i.e. both i686 and x86_64\r\n# versions will be installed on x86_64.\r\n# TODO: This needs to be reworked or dropped as it's not at all useful in the current state.\r\n# Optional, defaults to no multilib.\r\nmultilib: [ x86_64 ]\r\n```\r\n\r\nI talked with @contyk about this and he says the TODO basically means it is not clear what the arches should be in multilib field and if the current way how multilib field is defined is enough. We should have the final way how to define multilib so I can implement that in Pungi.\r\n\r\nFrom the Pungi perspective, the current way with `multilib: [x86_64]` would be enough. It would work like this:\r\n\r\n- When component has x86_64 multilib set in modulemd, the binary RPMs built from this component for x86_64 and also for other multilib arches would be considered for x86_64 compose.\r\n- Depending on compose variant the Pungi's `multilib` strategy (see \"multilib\" [here](https://docs.pagure.org/pungi/configuration.html)) would really be the option defining whether the particular RPMs end up in compose or not. So it might be possible that component with \"multilib\" set in modulemd won't appear in resulting variant, because the `multilib` Pungi option will disallow that for particular variant."},"comment":{"url":"https://api.github.com/repos/fedora-modularity/libmodulemd/issues/comments/367977374","html_url":"https://github.com/fedora-modularity/libmodulemd/issues/12#issuecomment-367977374","issue_url":"https://api.github.com/repos/fedora-modularity/libmodulemd/issues/12","id":367977374,"user":{"login":"ignatenkobrain","id":2866862,"avatar_url":"https://avatars1.githubusercontent.com/u/2866862?v=4","gravatar_id":"","url":"https://api.github.com/users/ignatenkobrain","html_url":"https://github.com/ignatenkobrain","followers_url":"https://api.github.com/users/ignatenkobrain/followers","following_url":"https://api.github.com/users/ignatenkobrain/following{/other_user}","gists_url":"https://api.github.com/users/ignatenkobrain/gists{/gist_id}","starred_url":"https://api.github.com/users/ignatenkobrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ignatenkobrain/subscriptions","organizations_url":"https://api.github.com/users/ignatenkobrain/orgs","repos_url":"https://api.github.com/users/ignatenkobrain/repos","events_url":"https://api.github.com/users/ignatenkobrain/events{/privacy}","received_events_url":"https://api.github.com/users/ignatenkobrain/received_events","type":"User","site_admin":false},"created_at":"2018-02-23T10:55:30Z","updated_at":"2018-02-23T10:55:30Z","author_association":"MEMBER","body":"I don't think this field should be in there at all... or it should be simple true/false.\r\n\r\nAnother option is to set multilib per-component which probably would be best. Now you have to ask releng to tweak pungi configuration which means in modular world this won't be possible. So if we allow users to do per-component multilib -- would be awesome.\r\n\r\nGetting back to value of multilib.. Having arch where we **do** multilib is probably useful too..."}}
{"actor":{"display_login":"ignatenkobrain"}}