待辦事項 #39775

please enable direct download for pamac package manager.

啟用日期: 2019-11-18 23:27 最後更新: 2019-11-25 11:16

回報者:
負責人:
(無)
類型:
狀態:
關閉
元件:
里程碑:
(無)
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
修正
檔案:
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

細節

Please enable pamac, the gui package manager for Manjaro Linux, to direct download files. At present it downloads a web page instead of a db file located on osdn.

Ticket History (3/7 Histories)

2019-11-18 23:27 Updated by: kilz
  • New Ticket "please enable direct download for pamac package manager." created
2019-11-19 00:20 Updated by: sado
評語

The current OSDN download system determines whether to download directly based on the value of useragent. If you let us know pamac's useragent, we will modify the system so that we can immediately download it directly.

2019-11-19 02:29 Updated by: kilz
評語

Im not sure how to get that. But looking at the sourcecode for pamac (https://gitlab.manjaro.org/applications/pamac/blob/1656246d332bc694fb61da6d64e30137a10f10f6/src/transaction_interface_root.vala) the user agent seems to be pamac.

// set user agent var utsname = Posix.utsname(); Environment.set_variable ("HTTP_USER_AGENT", "pamac (%s %s)".printf (utsname.sysname, utsname.machine), true);

2019-11-19 02:30 Updated by: kilz
評語

Im not sure how to get that. But looking at the sourcecode for pamac (https://gitlab.manjaro.org/applications/pamac/blob/1656246d332bc694fb61da6d64e30137a10f10f6/src/transaction_interface_root.vala) the user agent seems to be pamac.

// set user agent var utsname = Posix.utsname(); Environment.set_variable ("HTTP_USER_AGENT", "pamac (%s %s)".printf (utsname.sysname, utsname.machine), true);

2019-11-19 13:29 Updated by: ishikawa
  • 元件 Update from (無) to Other
  • 處理結果 Update from to 修正
評語

We've added direct download rule for pamac.

2019-11-21 03:26 Updated by: kilz
評語

Thanks!

2019-11-25 11:16 Updated by: ishikawa
  • 狀態 Update from 開啟 to 關閉

Attachment File List

No attachments

編輯

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » 登入