Template talk:Pkg: Difference between revisions

From Alpine Linux
('arch=' default to all architectures)
Line 17: Line 17:
(The same argument may apply for '''branch=''' too but I have no opinion.)
(The same argument may apply for '''branch=''' too but I have no opinion.)
--[[User:Encode|Encode]] ([[User talk:Encode|talk]]) 00:54, 27 May 2024 (UTC)
--[[User:Encode|Encode]] ([[User talk:Encode|talk]]) 00:54, 27 May 2024 (UTC)
:Yes I agree, the current version of the {{ic|pkg}} template defaults to {{ic|branch{{=}}edge{{!}}arch{{=}}x86_64}} because that is what the previous versions of the template was hardcoded to. &ndash;[[User:zcrayfish|zcrayfish]] <small>([[User talk:zcrayfish|talk]]•[[Special:Contributions/zcrayfish|contribs]]•[[Special:EmailUser/zcrayfish|send email]])</small> 17:27, 28 May 2024 (UTC)

Revision as of 17:27, 28 May 2024

This template should have options to specify the architecture and maybe also the repository. Currently packages which are not available in the x86_64 architecture (eg. `linux-asahi`) can't be linked with this template. Sertonix (talk) 22:52, 8 November 2023 (UTC)

:Hey Sertonix, I've been working on this lately, check out the potential new template @ Template:Sandbox, and I'd love for you to add some test cases to @ Sandbox too just in case I've missed something!

Thanks –zcrayfish (talkcontribssend email) 20:32, 2 January 2024 (UTC)

✔️ Done

The pkg template has been updated!
zcrayfish (talkcontribssend email) 21:40, 9 January 2024 (UTC)
Thanks! Sertonix (talk) 14:45, 10 January 2024 (UTC)

arch= default to all architectures

Most of the time what you say will apply regardless of the architecture, so this will cut down on the amount of text you need for the common case.
(The same argument may apply for branch= too but I have no opinion.) --Encode (talk) 00:54, 27 May 2024 (UTC)

Yes I agree, the current version of the pkg template defaults to branch=edge|arch=x86_64 because that is what the previous versions of the template was hardcoded to. –zcrayfish (talkcontribssend email) 17:27, 28 May 2024 (UTC)