






























Great job ! Many thanks :)
@draco31fr try the new release!
Hi @acaibowlz
Can't found how to submit issues on Git repo, so posting my bug here.
It seems the tool scrap HTML page, and only recognize "English" one.
When my Arch account is located to French, I've got this error :
❯ aur-sync-vote --explicit
💾 Using saved credentials
📦 Logging in to AUR...
ℹ️ Collecting voted packages...
🗳️ Voting for package: aur-sync-vote... ❌ Unexpected error: pkgbase not shown in pkginfo table for aur-sync-vote
I am not a Python dev, but it looks like it can't found Package Base: row.
I've tried with LANG=C aur-sync-vote ... with no luck.
But, after switching my arch web account to English, all is working fine :
❯ aur-sync-vote --explicit
💾 Using saved credentials
📦 Logging in to AUR...
ℹ️ Collecting voted packages...
🗳️ Voting for package: aur-sync-vote... ✅ done
🗳️ Voting for package: (...) ✅ done
...
🗳️ Unvoting for package: (...) ✅ done
...
🎉 Sync done!
Could you please update the HTML parsing so it is language agnostic ?
One solution could be to add HTTP Header Accept-Language: en-US, or parse HTML row for href content ?
FYI, here is the "Package Base" row when using french account :
<tr>
<th>Paquet de base:</th>
<td class="wrap">
<a href="/pkgbase/aur-sync-vote">
aur-sync-vote
</a>
</td>
</tr>
@acaibowlz Thanks for the fix, it votes every non-debtap package properly now!
Hi @TheSingular thanks for the feedback. I have fixed that in the latest update (v0.2.2).
I have a non-aur package from deb via debtap, it simply exits when encountering such packages, leaving me unable to vote on the packages after the first such package.
@djspacewhale Thanks for using this package and your feedback. I will think of a better way to include this option in a future release. Meanwhile, you can edit or remove ~/.local/share/aur-sync-vote/credentials.
I'm not sure if I entered my password incorrectly but did certainly goof using the -r flag first run. any way to force reauthenticating?
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
In the optdepends you have
all of those (and oo7 and whichever else) all have in their provides
org.freedesktop.secretsso you could & i think should just have optdepends=(org.freedesktop.secrets: password saving) or just put it in depends. unless for some reason you specifically requireone of those 3 and not oo7 or other alternatives