Comment by ~xenrox on ~xenrox/hut
0.7.0
- pages ACL handling
--count
flag
Ticket created by ~xenrox on ~xenrox/hut
This issue is for tracking upcoming releases.
Comment by ~xenrox on ~xenrox/hut
Are you using a token with a limited scope? hut checks the validity of a token by trying to retrieve the username of the token owner. If the token does not have the
PROFILE:RO
grant, it cannot do this andhut init
will fail.
Comment by ~xenrox on ~xenrox/hut
Since I have no access to a Mac, I cannot test iTerm but I just installed Rio and tried
hut init
and everything worked as expected - the key got accepted just fine and no keystroke was ignored.My best guess would be that you have some strange shell setup/configuration. If you could post some minimal config that can reliably reproduce the bug, I can try to fix it but otherwise there is not much that I can do.
enhancement added by ~xenrox on ~xenrox/hut
Comment by ~xenrox on ~xenrox/hut
Yes that is expected for now. When directly invoked from the terminal, hut will send a single request to fetch 25 resources (repos, issues, build jobs...) and if you continue to scroll though the output it will send additional requests.
When piping to a file, there will only be one request for now, so that the API does not get flooded unnecessarily. I have planned a
count
flag in the future, that will allow users to specify the number of desired resources (hut will add backoff).
Comment by ~xenrox on ~xenrox/hut
Tim Hårek Andreassen referenced this ticket in commit af9d503.
Comment by ~xenrox on ~xenrox/hut
I will close this for now.
Will re-open if there are changes to the API.
REPORTED
RESOLVED CLOSEDComment by ~xenrox on ~xenrox/hut
There is nothing on hut's side that can be currently done to support this use case. The pages.sr.ht API would need to implement this first, maybe you can ask in IRC or on the mailing list.
Otherwise you could create a new dedicated folder for assets which get uploaded by a different pipeline. Then you would not overwrite your other files.